Exemplo n.º 1
0
<?php 
            }
            ?>
						| <a href="reportsv2.php?action=report&amp;id=<?php 
            echo $TorrentID;
            ?>
" class="tooltip" title="Report">RP</a>
					</span>
					&nbsp;&nbsp;&raquo;&nbsp; <a href="torrents.php?id=<?php 
            echo $GroupID;
            ?>
&amp;torrentid=<?php 
            echo $TorrentID;
            ?>
"><?php 
            echo Torrents::torrent_info($Torrent);
            ?>
</a>
				</td>
				<td class="number_column nobr"><?php 
            echo Format::get_size($Torrent['Size']);
            ?>
</td>
				<td class="number_column"><?php 
            echo number_format($Torrent['Snatched']);
            ?>
</td>
				<td class="number_column<?php 
            echo $Torrent['Seeders'] == 0 ? ' r00' : '';
            ?>
"><?php 
Exemplo n.º 2
0
    $TorrentTags = new Tags($TagList);
    if (!empty($ExtendedArtists[1]) || !empty($ExtendedArtists[4]) || !empty($ExtendedArtists[5]) || !empty($ExtendedArtists[6])) {
        unset($ExtendedArtists[2]);
        unset($ExtendedArtists[3]);
        $DisplayName = Artists::display_artists($ExtendedArtists);
    } else {
        $DisplayName = '';
    }
    $DisplayName .= "<a href=\"torrents.php?id={$GroupID}&amp;torrentid={$FlacID}\" class=\"tooltip\" title=\"View torrent\" dir=\"ltr\">{$GroupName}</a>";
    if ($GroupYear > 0) {
        $DisplayName .= " [{$GroupYear}]";
    }
    if ($ReleaseType > 0) {
        $DisplayName .= " [" . $ReleaseTypes[$ReleaseType] . "]";
    }
    $ExtraInfo = Torrents::torrent_info($Torrents[$FlacID]);
    if ($ExtraInfo) {
        $DisplayName .= ' - ' . $ExtraInfo;
    }
    ?>
		<tr class="torrent torrent_row<?php 
    echo $Torrents[$FlacID]['IsSnatched'] ? ' snatched_torrent' : '';
    ?>
">
			<td>
				<span class="torrent_links_block">
					<a href="torrents.php?action=download&amp;id=<?php 
    echo $FlacID;
    ?>
&amp;authkey=<?php 
    echo $LoggedUser['AuthKey'];
Exemplo n.º 3
0
	</tr>
<?
		}
	} else {
		// Viewing a type that does not require grouping

		list($TorrentID, $Data) = each($Torrents);
		$DisplayName .= "<a href=\"torrents.php?id=$GroupID&amp;torrentid=$TorrentID#torrent$TorrentID\" class=\"tooltip\" title=\"View torrent\" dir=\"ltr\">$GroupName</a>";
		if (isset($GroupedCategories[$CategoryID - 1])) {
			if ($GroupYear) {
				$DisplayName .= " [$GroupYear]";
			}
			if ($CategoryID == 1 && $ReleaseType > 0) {
				$DisplayName .= ' ['.$ReleaseTypes[$ReleaseType].']';
			}
			$ExtraInfo = Torrents::torrent_info($Data, true, true);
		} elseif ($Data['IsSnatched']) {
			$ExtraInfo = Format::torrent_label('Snatched!');
		} else {
			$ExtraInfo = '';
		}
		$SnatchedTorrentClass = $Data['IsSnatched'] ? ' snatched_torrent' : '';
?>
	<tr class="torrent<?php 
echo $SnatchedTorrentClass . $SnatchedGroupClass;
?>
">
<?		if ($GroupResults) { ?>
		<td></td>
<?		} ?>
		<td class="center cats_col">
Exemplo n.º 4
0
    $TorrentTags = new Tags($TagList);
    if (!empty($ExtendedArtists[1]) || !empty($ExtendedArtists[4]) || !empty($ExtendedArtists[5]) || !empty($ExtendedArtists[6])) {
        unset($ExtendedArtists[2]);
        unset($ExtendedArtists[3]);
        $DisplayName = Artists::display_artists($ExtendedArtists);
    } else {
        $DisplayName = '';
    }
    $DisplayName .= "<a href=\"torrents.php?id={$GroupID}&amp;torrentid={$TorrentID}#torrent{$TorrentID}\" class=\"tooltip\" title=\"View torrent\" dir=\"ltr\">{$GroupName}</a>";
    if ($GroupYear > 0) {
        $DisplayName .= " [{$GroupYear}]";
    }
    if ($ReleaseType > 0) {
        $DisplayName .= ' [' . $ReleaseTypes[$ReleaseType] . ']';
    }
    $ExtraInfo = Torrents::torrent_info($Torrents[$TorrentID]);
    if ($ExtraInfo) {
        $DisplayName .= ' - ' . $ExtraInfo;
    }
    ?>
		<tr class="torrent torrent_row<?php 
    echo $Torrents[$TorrentID]['IsSnatched'] ? ' snatched_torrent' : '';
    ?>
">
			<td>
				<span class="torrent_links_block">
					<a href="torrents.php?action=download&amp;id=<?php 
    echo $TorrentID;
    ?>
&amp;authkey=<?php 
    echo $LoggedUser['AuthKey'];
Exemplo n.º 5
0
            unset($ExtendedArtists[2]);
            unset($ExtendedArtists[3]);
            $DisplayName = Artists::display_artists($ExtendedArtists);
        } elseif (!empty($Artists)) {
            $DisplayName = Artists::display_artists(array(1 => $Artists));
        } else {
            $DisplayName = '';
        }
        $DisplayName .= '<a href="torrents.php?id=' . $GroupID . '&amp;torrentid=' . $TorrentID . '" class="tooltip" title="View torrent" dir="ltr">' . $GroupName . '</a>';
        if ($GroupYear > 0) {
            $DisplayName .= " [{$GroupYear}]";
        }
        if ($GroupVanityHouse) {
            $DisplayName .= ' [<abbr class="tooltip" title="This is a Vanity House release">VH</abbr>]';
        }
        $ExtraInfo = Torrents::torrent_info($Torrent);
        if ($ExtraInfo) {
            $DisplayName .= " - {$ExtraInfo}";
        }
        ?>
		<tr class="torrent torrent_row<?php 
        echo ($Torrent['IsSnatched'] ? ' snatched_torrent' : '') . ($GroupFlags['IsSnatched'] ? ' snatched_group' : '');
        ?>
">
			<td class="center cats_col">
				<div title="<?php 
        echo $TorrentTags->title();
        ?>
" class="tooltip <?php 
        echo Format::css_category($GroupCategoryID);
        ?>
Exemplo n.º 6
0
                }
                $MatchingArtistsText = !empty($MatchingArtists) ? 'Caught by filter for ' . implode(', ', $MatchingArtists) : '';
                $DisplayName = Artists::display_artists($GroupInfo['ExtendedArtists'], true, true);
            }
            $DisplayName .= "<a href=\"torrents.php?id={$GroupID}&amp;torrentid={$TorrentID}#torrent{$TorrentID}\" class=\"tooltip\" title=\"View torrent\" dir=\"ltr\">" . $GroupInfo['Name'] . '</a>';
            $GroupCategoryID = $GroupInfo['CategoryID'];
            if ($GroupCategoryID == 1) {
                if ($GroupInfo['Year'] > 0) {
                    $DisplayName .= " [{$GroupInfo['Year']}]";
                }
                if ($GroupInfo['ReleaseType'] > 0) {
                    $DisplayName .= ' [' . $ReleaseTypes[$GroupInfo['ReleaseType']] . ']';
                }
            }
            // append extra info to torrent title
            $ExtraInfo = Torrents::torrent_info($TorrentInfo, true, true);
            $TorrentTags = new Tags($GroupInfo['TagList']);
            if ($GroupInfo['TagList'] == '') {
                $TorrentTags->set_primary($Categories[$GroupCategoryID - 1]);
            }
            // print row
            ?>
	<tr class="torrent torrent_row<?php 
            echo ($TorrentInfo['IsSnatched'] ? ' snatched_torrent' : '') . ($GroupInfo['Flags']['IsSnatched'] ? ' snatched_group' : '') . ($MatchingArtistsText ? ' tooltip" title="' . display_str($MatchingArtistsText) : '');
            ?>
" id="torrent<?php 
            echo $TorrentID;
            ?>
">
		<td style="text-align: center;">
			<input type="checkbox" class="notify_box notify_box_<?php