Removed old code

This commit is contained in:
Kalle Fagerberg 2022-07-17 20:41:08 +02:00 committed by thrillfall
parent 4886afd8d6
commit eaa994be1a
1 changed files with 0 additions and 28 deletions

View File

@ -1,28 +0,0 @@
<?php
$subscriptions = $_["subscriptions"];
$subStats = $_["subStats"];
?>
<div class="section">
<h2>Synced subscriptions (<?= count($subscriptions) ?>)</h2>
<?php if (count($subscriptions) == 0) { ?>
<div>
Your account has no subscriptions (podcasts) synced.
</div>
<?php } else { ?>
<ul style="list-style: disc; margin-left: 1em; padding-left: 1em;">
<?php foreach ($subscriptions as $sub) { ?>
<li>
<?= $sub ?>
<dl>
<dt>Episodes started:</dt>
<dd><?= $subStats[$sub] ? $subStats[$sub]["started"] : 0 ?></dd>
</dl>
</li>
<?php } ?>
</ul>
<?php } ?>
</div>