summaryrefslogtreecommitdiffstats
path: root/site/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/functions.php')
-rw-r--r--site/functions.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/site/functions.php b/site/functions.php
index e930638..689326a 100644
--- a/site/functions.php
+++ b/site/functions.php
@@ -20,36 +20,6 @@
<?php
/* Functions */
-
- /* Generic function for showing a list of torrents */
- function torrent_list($arrayTorrentLink, $forIndexStart, $forIndexBelow) {
-
- if ((count($arrayTorrentLink)>=($forIndexStart+1)) && (count($arrayTorrentLink)>=$forIndexBelow)) {
- for ($release=$forIndexStart; $release<$forIndexBelow; $release++) {
-?>
- <h2><?php echo $arrayTorrentLink[$release][0][0]; ?></h2>
- <p>
- Released on <?php echo $arrayTorrentLink[$release][0][1]; ?>.
- </p>
- <ul>
-<?php
- for ($archive=1; $archive<count($arrayTorrentLink[$release]); $archive++) {
-?>
- <li><a href="<?php echo $arrayTorrentLink[$release][$archive][1]; ?>"><?php echo $arrayTorrentLink[$release][$archive][0]; ?></a></li>
-<?php
- }
-?>
- </ul>
-<?php
- }
- } else {
-?>
- <p>No torrents found.</p>
-<?php
- }
-
- return;
- }
/* Generic function for showing a list of URLs */
function list_items($arrayMirrors,$strNotFoundMessage,$forIndexStart,$forIndexbelow) {