Skip to content

Commit

Permalink
Add item count
Browse files Browse the repository at this point in the history
  • Loading branch information
phillmac committed Jun 1, 2021
1 parent 6ec39dd commit 839f97d
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions table.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<h3>
Count: <?= count($torrents); ?>
</h3>
<table>
<thead>
<th>Info Hash</th>
Expand All @@ -18,16 +21,16 @@
<td>
<a href="stats-hash-table.php?hash=<?= $t->infohash; ?>"><?= $t->infohash; ?></a>
</td>
<td><?php echo $t->name; ?></td>
<td><?php echo $t->link; ?></td>
<td><?php echo formatBytes($t->size_bytes); ?></td>
<td><?php echo $t->seeders ?></td>
<td><?php echo $t->leechers ?></td>
<td><?php echo $t->scraped_date ?></td>
<td><?php echo $t->dht_peers; ?></td>
<td><?php echo $t->dht_scraped; ?></td>
<td><?php echo $t->type; ?></td>
<td><?php echo secondsToTime(time() - $t->scraped_date ); ?></td>
<td><?= echo $t->name; ?></td>
<td><?= echo $t->link; ?></td>
<td><?= echo formatBytes($t->size_bytes); ?></td>
<td><?= echo $t->seeders ?></td>
<td><?= echo $t->leechers ?></td>
<td><?= echo $t->scraped_date ?></td>
<td><?= echo $t->dht_peers; ?></td>
<td><?= echo $t->dht_scraped; ?></td>
<td><?= echo $t->type; ?></td>
<td><?= echo secondsToTime(time() - $t->scraped_date ); ?></td>



Expand Down

0 comments on commit 839f97d

Please sign in to comment.