mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 02:21:36 +00:00
Empty commit
This commit is contained in:
parent
39f024a8be
commit
b6c5857f33
@ -883,6 +883,12 @@ CREATE TABLE `tags` (
|
|||||||
KEY `UserID` (`UserID`)
|
KEY `UserID` (`UserID`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
|
||||||
|
CREATE TABLE `temp_torrents_files` (
|
||||||
|
`TorrentID` int(10) NOT NULL,
|
||||||
|
`File` mediumblob NOT NULL,
|
||||||
|
PRIMARY KEY (`TorrentID`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `top10_history` (
|
CREATE TABLE `top10_history` (
|
||||||
`ID` int(10) NOT NULL AUTO_INCREMENT,
|
`ID` int(10) NOT NULL AUTO_INCREMENT,
|
||||||
`Date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`Date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
|
@ -60,7 +60,7 @@ function compare($X, $Y){
|
|||||||
} else {
|
} else {
|
||||||
$DisplayName = '';
|
$DisplayName = '';
|
||||||
}
|
}
|
||||||
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';}
|
if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';}
|
||||||
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
||||||
$SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : '';
|
$SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : '';
|
||||||
@ -172,7 +172,7 @@ function compare($X, $Y){
|
|||||||
|
|
||||||
list($TorrentID, $Torrent) = each($Torrents);
|
list($TorrentID, $Torrent) = each($Torrents);
|
||||||
|
|
||||||
$DisplayName = '<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName = '<a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
|
|
||||||
if ($Torrent['IsSnatched']) {
|
if ($Torrent['IsSnatched']) {
|
||||||
$DisplayName .= ' ' . Format::torrent_label('Snatched!');
|
$DisplayName .= ' ' . Format::torrent_label('Snatched!');
|
||||||
|
@ -144,7 +144,7 @@ function compare($X, $Y){
|
|||||||
$DisplayName .= Artists::display_artists(array('1'=>$GroupArtists));
|
$DisplayName .= Artists::display_artists(array('1'=>$GroupArtists));
|
||||||
}
|
}
|
||||||
|
|
||||||
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';}
|
if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';}
|
||||||
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
||||||
$SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : '';
|
$SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : '';
|
||||||
@ -248,7 +248,7 @@ function compare($X, $Y){
|
|||||||
|
|
||||||
list($TorrentID, $Torrent) = each($Torrents);
|
list($TorrentID, $Torrent) = each($Torrents);
|
||||||
|
|
||||||
$DisplayName = '<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName = '<a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
|
|
||||||
if ($Torrent['IsSnatched']) {
|
if ($Torrent['IsSnatched']) {
|
||||||
$DisplayName .= ' ' . Format::torrent_label('Snatched!');
|
$DisplayName .= ' ' . Format::torrent_label('Snatched!');
|
||||||
|
@ -433,7 +433,7 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
|
|||||||
$DisplayName = Artists::display_artists($Artists[$GroupID], true, true);
|
$DisplayName = Artists::display_artists($Artists[$GroupID], true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$DisplayName.= "<a href=\"torrents.php?id=$GroupID&torrentid=$TorrentID\" title=\"View Torrent\">$GroupName</a>";
|
$DisplayName.= "<a href=\"torrents.php?id=$GroupID&torrentid=$TorrentID\" title=\"View Torrent\" dir=\"ltr\">$GroupName</a>";
|
||||||
|
|
||||||
if($GroupCategoryID==1 && $GroupYear>0) {
|
if($GroupCategoryID==1 && $GroupYear>0) {
|
||||||
$DisplayName.= " [$GroupYear]";
|
$DisplayName.= " [$GroupYear]";
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
$DisplayName .= Artists::display_artists(array('1'=>$GroupArtists));
|
$DisplayName .= Artists::display_artists(array('1'=>$GroupArtists));
|
||||||
}
|
}
|
||||||
|
|
||||||
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';}
|
if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';}
|
||||||
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
||||||
// Start an output buffer, so we can store this output in $TorrentTable
|
// Start an output buffer, so we can store this output in $TorrentTable
|
||||||
@ -306,7 +306,7 @@
|
|||||||
list($TorrentID, $Torrent) = each($Torrents);
|
list($TorrentID, $Torrent) = each($Torrents);
|
||||||
$Torrent['IsSnatched'] = Torrents::has_snatched($TorrentID);
|
$Torrent['IsSnatched'] = Torrents::has_snatched($TorrentID);
|
||||||
|
|
||||||
$DisplayName = $Number .' - <a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName = $Number .' - <a href="torrents.php?id='.$GroupID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
if($Torrent['IsSnatched']) {
|
if($Torrent['IsSnatched']) {
|
||||||
$DisplayName .= ' ' . Format::torrent_label('Snatched!');
|
$DisplayName .= ' ' . Format::torrent_label('Snatched!');
|
||||||
}
|
}
|
||||||
|
@ -1073,7 +1073,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
// Viewing a type that does not require grouping
|
// Viewing a type that does not require grouping
|
||||||
|
|
||||||
list($TorrentID, $Data) = each($Torrents);
|
list($TorrentID, $Data) = each($Torrents);
|
||||||
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'&torrentid='.$TorrentID.'#torrent'.$TorrentID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName .= '<a href="torrents.php?id='.$GroupID.'&torrentid='.$TorrentID.'#torrent'.$TorrentID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
if (isset($GroupedCategories[$CategoryID-1])) {
|
if (isset($GroupedCategories[$CategoryID-1])) {
|
||||||
if ($GroupYear) {
|
if ($GroupYear) {
|
||||||
$DisplayName .= " [".$GroupYear."]";
|
$DisplayName .= " [".$GroupYear."]";
|
||||||
|
@ -228,7 +228,7 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
|||||||
: '';
|
: '';
|
||||||
$DisplayName = Artists::display_artists($GroupInfo['ExtendedArtists'], true, true);
|
$DisplayName = Artists::display_artists($GroupInfo['ExtendedArtists'], true, true);
|
||||||
}
|
}
|
||||||
$DisplayName .= "<a href='torrents.php?id=$GroupID&torrentid=$TorrentID#torrent$TorrentID' title='View Torrent'>".$GroupInfo['Name']."</a>";
|
$DisplayName .= "<a href='torrents.php?id=$GroupID&torrentid=$TorrentID#torrent$TorrentID' title='View Torrent' dir='ltr'>".$GroupInfo['Name']."</a>";
|
||||||
|
|
||||||
$GroupCategoryID = $GroupInfo['CategoryID'];
|
$GroupCategoryID = $GroupInfo['CategoryID'];
|
||||||
if ($GroupCategoryID == 1) {
|
if ($GroupCategoryID == 1) {
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
if ( $_POST['vanity_house'] && check_perms('torrents_edit_vanityhouse') ) {
|
if ( $_POST['vanity_house'] && check_perms('torrents_edit_vanityhouse') ) {
|
||||||
$VanityHouse = ( isset($_POST['vanity_house']) ? 1 : 0 );
|
$VanityHouse = ( isset($_POST['vanity_house']) ? 1 : 0 );
|
||||||
} else {
|
} else {
|
||||||
$VanityHouse = 0;
|
$VanityHouse = $OldVH;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(($GroupInfo = $Cache->get_value('torrents_details_'.$GroupID)) && !isset($GroupInfo[0][0])) {
|
if(($GroupInfo = $Cache->get_value('torrents_details_'.$GroupID)) && !isset($GroupInfo[0][0])) {
|
||||||
|
@ -440,7 +440,7 @@ function header_link($SortKey,$DefaultWay="DESC") {
|
|||||||
} else {
|
} else {
|
||||||
$DisplayName='';
|
$DisplayName='';
|
||||||
}
|
}
|
||||||
$DisplayName.='<a href="torrents.php?id='.$GroupID.'&torrentid='.$TorrentID.'" title="View Torrent">'.$GroupName.'</a>';
|
$DisplayName.='<a href="torrents.php?id='.$GroupID.'&torrentid='.$TorrentID.'" title="View Torrent" dir="ltr">'.$GroupName.'</a>';
|
||||||
if($GroupYear>0) { $DisplayName.=" [".$GroupYear."]"; }
|
if($GroupYear>0) { $DisplayName.=" [".$GroupYear."]"; }
|
||||||
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user