mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-22 05:09:02 +00:00
Empty commit
This commit is contained in:
parent
cdd04457a5
commit
a178282a53
@ -583,7 +583,7 @@ public static function has_snatched($TorrentID) {
|
|||||||
|
|
||||||
// Torrent was not found in the previously inspected snatch lists
|
// Torrent was not found in the previously inspected snatch lists
|
||||||
$CurSnatchedTorrents =& $SnatchedTorrents[$BucketID];
|
$CurSnatchedTorrents =& $SnatchedTorrents[$BucketID];
|
||||||
if (empty($CurSnatchedTorrents)) {
|
if ($CurSnatchedTorrents === false) {
|
||||||
$CurTime = time();
|
$CurTime = time();
|
||||||
// This bucket hasn't been checked before
|
// This bucket hasn't been checked before
|
||||||
$CurSnatchedTorrents = $Cache->get_value('users_snatched_'.$UserID.'_'.$BucketID, true);
|
$CurSnatchedTorrents = $Cache->get_value('users_snatched_'.$UserID.'_'.$BucketID, true);
|
||||||
|
@ -828,7 +828,6 @@ function compare($X, $Y){
|
|||||||
$Similar->write_artists();
|
$Similar->write_artists();
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div id="flip_view_2" style="display:none;width:<?=WIDTH?>px;height:<?=HEIGHT?>px;">
|
<div id="flip_view_2" style="display:none;width:<?=WIDTH?>px;height:<?=HEIGHT?>px;">
|
||||||
<canvas width="<?=WIDTH?>px" height="<?=HEIGHT-20?>px" id="similarArtistsCanvas"></canvas>
|
<canvas width="<?=WIDTH?>px" height="<?=HEIGHT-20?>px" id="similarArtistsCanvas"></canvas>
|
||||||
<div id="artistTags" style="display:none;">
|
<div id="artistTags" style="display:none;">
|
||||||
@ -836,6 +835,7 @@ function compare($X, $Y){
|
|||||||
</div>
|
</div>
|
||||||
<strong style="margin-left:10px;"><a id="currentArtist" href="#null">Loading...</a></strong>
|
<strong style="margin-left:10px;"><a id="currentArtist" href="#null">Loading...</a></strong>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var cloudLoaded = false;
|
var cloudLoaded = false;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
|
if (!empty($_GET['userid']) && is_number($_GET['userid'])) {
|
||||||
if(!empty($_GET['userid']) && is_number($_GET['userid'])) {
|
|
||||||
if (check_perms('users_override_paranoia')) {
|
if (check_perms('users_override_paranoia')) {
|
||||||
$UserID = $_GET['userid'];
|
$UserID = $_GET['userid'];
|
||||||
} else {
|
} else {
|
||||||
@ -10,7 +9,10 @@
|
|||||||
$UserID = $LoggedUser['ID'];
|
$UserID = $LoggedUser['ID'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($_GET['filter']) && $_GET['filter'] == 'seeding') {
|
$Encodings = array('V0 (VBR)', 'V2 (VBR)', '320');
|
||||||
|
$EncodingKeys = array_fill_keys($Encodings, true);
|
||||||
|
|
||||||
|
if (!empty($_GET['filter']) && $_GET['filter'] == 'seeding') {
|
||||||
$SeedingOnly = true;
|
$SeedingOnly = true;
|
||||||
} else {
|
} else {
|
||||||
$SeedingOnly = false;
|
$SeedingOnly = false;
|
||||||
@ -25,18 +27,26 @@
|
|||||||
OR t.Media = 'Vinyl')
|
OR t.Media = 'Vinyl')
|
||||||
AND x.uid='$UserID'");
|
AND x.uid='$UserID'");
|
||||||
|
|
||||||
$SnatchedGroupIDs = $DB->collect('GroupID');
|
$SnatchedTorrentIDs = array_fill_keys($DB->collect('fid'), true);
|
||||||
$Snatches = $DB->to_array('GroupID');
|
$SnatchedGroupIDs = array_unique($DB->collect('GroupID'));
|
||||||
|
if (count($SnatchedGroupIDs) > 1000) {
|
||||||
|
shuffle($SnatchedGroupIDs);
|
||||||
|
$SnatchedGroupIDs = array_slice($SnatchedGroupIDs, 0, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
if(count($SnatchedGroupIDs) == 0) { error(($SeedingOnly ? "You aren't seeding any 100% FLACs!" : "You haven't snatched any 100% FLACs!")); }
|
if (count($SnatchedGroupIDs) == 0) {
|
||||||
|
error(($SeedingOnly ? "You aren't seeding any 100% FLACs!" : "You haven't snatched any 100% FLACs!"));
|
||||||
|
}
|
||||||
// Create hash table
|
// Create hash table
|
||||||
|
|
||||||
$DB->query("CREATE TEMPORARY TABLE temp_sections_better_snatch
|
$DB->query("CREATE TEMPORARY TABLE temp_sections_better_snatch
|
||||||
SELECT t.GroupID,
|
SELECT t.GroupID,
|
||||||
GROUP_CONCAT(t.Encoding SEPARATOR ' ') AS EncodingList
|
GROUP_CONCAT(t.Encoding SEPARATOR ' ') AS EncodingList,
|
||||||
|
CRC32(CONCAT_WS(' ', Media, Remasteryear, Remastertitle,
|
||||||
|
Remasterrecordlabel, Remastercataloguenumber)) AS RemIdent
|
||||||
FROM torrents AS t
|
FROM torrents AS t
|
||||||
WHERE t.GroupID IN(".implode(',',$SnatchedGroupIDs).")
|
WHERE t.GroupID IN(".implode(',',$SnatchedGroupIDs).")
|
||||||
GROUP BY t.GroupID");
|
GROUP BY t.GroupID, RemIdent");
|
||||||
|
|
||||||
//$DB->query('SELECT * FROM t');
|
//$DB->query('SELECT * FROM t');
|
||||||
|
|
||||||
@ -45,16 +55,58 @@
|
|||||||
OR EncodingList NOT LIKE '%V2 (VBR)%'
|
OR EncodingList NOT LIKE '%V2 (VBR)%'
|
||||||
OR EncodingList NOT LIKE '%320%'");
|
OR EncodingList NOT LIKE '%320%'");
|
||||||
|
|
||||||
$GroupIDs = $DB->collect('GroupID');
|
$GroupIDs = array_fill_keys($DB->collect('GroupID'), true);
|
||||||
|
|
||||||
if(count($GroupIDs) == 0) { error('No results found'); }
|
if (count($GroupIDs) == 0) {
|
||||||
|
error('No results found');
|
||||||
|
}
|
||||||
|
|
||||||
$Results = Torrents::get_groups($GroupIDs);
|
$Groups = Torrents::get_groups(array_keys($GroupIDs));
|
||||||
|
$Groups = $Groups['matches'];
|
||||||
|
|
||||||
|
$TorrentGroups = array();
|
||||||
|
foreach ($Groups as $GroupID => $Group) {
|
||||||
|
if (empty($Group['Torrents'])) {
|
||||||
|
unset($Groups[$GroupID]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
foreach ($Group['Torrents'] as $Torrent) {
|
||||||
|
$TorRemIdent = "$Torrent[Media] $Torrent[RemasterYear] $Torrent[RemasterTitle] $Torrent[RemasterRecordLabel] $Torrent[RemasterCatalogueNumber]";
|
||||||
|
if (!isset($TorrentGroups[$Group['ID']])) {
|
||||||
|
$TorrentGroups[$Group['ID']] = array(
|
||||||
|
$TorRemIdent => array(
|
||||||
|
'FlacID' => 0,
|
||||||
|
'Formats' => array(),
|
||||||
|
'Medium' => $Torrent['Media'],
|
||||||
|
'RemasterTitle' => $Torrent['RemasterTitle'],
|
||||||
|
'RemasterYear' => $Torrent['RemasterYear'],
|
||||||
|
'RemasterRecordLabel' => $Torrent['RemasterRecordLabel'],
|
||||||
|
'RemasterCatalogueNumber' => $Torrent['RemasterCatalogueNumber']
|
||||||
|
)
|
||||||
|
);
|
||||||
|
} elseif (!isset($TorrentGroups[$Group['ID']][$TorRemIdent])) {
|
||||||
|
$TorrentGroups[$Group['ID']][$TorRemIdent] = array(
|
||||||
|
'FlacID' => 0,
|
||||||
|
'Formats' => array(),
|
||||||
|
'Medium' => $Torrent['Media'],
|
||||||
|
'RemasterTitle' => $Torrent['RemasterTitle'],
|
||||||
|
'RemasterYear' => $Torrent['RemasterYear'],
|
||||||
|
'RemasterRecordLabel' => $Torrent['RemasterRecordLabel'],
|
||||||
|
'RemasterCatalogueNumber' => $Torrent['RemasterCatalogueNumber']
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (isset($EncodingKeys[$Torrent['Encoding']])) {
|
||||||
|
$TorrentGroups[$Group['ID']][$TorRemIdent]['Formats'][$Torrent['Encoding']] = true;
|
||||||
|
} elseif (isset($SnatchedTorrentIDs[$Torrent['ID']])) {
|
||||||
|
$TorrentGroups[$Group['ID']][$TorRemIdent]['FlacID'] = $Torrent['ID'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
View::show_header('Transcode Snatches');
|
View::show_header('Transcode Snatches');
|
||||||
?>
|
?>
|
||||||
<div class="linkbox">
|
<div class="linkbox">
|
||||||
<? if($SeedingOnly) { ?>
|
<? if ($SeedingOnly) { ?>
|
||||||
<a href="better.php?method=snatch">Show all</a>
|
<a href="better.php?method=snatch">Show all</a>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="better.php?method=snatch&filter=seeding">Just those currently seeding</a>
|
<a href="better.php?method=snatch&filter=seeding">Just those currently seeding</a>
|
||||||
@ -69,50 +121,80 @@
|
|||||||
<td>320</td>
|
<td>320</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?
|
||||||
$Results = $Results['matches'];
|
foreach ($TorrentGroups as $GroupID => $Editions) {
|
||||||
foreach ($Results as $GroupID=>$Group) {
|
$GroupInfo = $Groups[$GroupID];
|
||||||
list($GroupID, $GroupName, $GroupYear, $GroupRecordLabel, $GroupCatalogueNumber, $TorrentTags, $ReleaseType, $GroupVanityHouse, $Torrents, $Artists) = array_values($Group);
|
$GroupYear = $GroupInfo['Year'];
|
||||||
$FlacID = $Snatches[$GroupID]['fid'];
|
$ExtendedArtists = $GroupInfo['ExtendedArtists'];
|
||||||
|
$GroupCatalogueNumber = $GroupInfo['CatalogueNumber'];
|
||||||
|
$GroupName = $GroupInfo['Name'];
|
||||||
|
$GroupRecordLabel = $GroupInfo['RecordLabel'];
|
||||||
|
$ReleaseType = $GroupInfo['ReleaseType'];
|
||||||
|
|
||||||
$DisplayName = '';
|
if (!empty($ExtendedArtists[1]) || !empty($ExtendedArtists[4]) || !empty($ExtendedArtists[5]) || !empty($ExtendedArtists[6])) {
|
||||||
if(count($Artists)>0) {
|
unset($ExtendedArtists[2]);
|
||||||
$DisplayName = Artists::display_artists(array('1'=>$Artists));
|
unset($ExtendedArtists[3]);
|
||||||
}
|
$ArtistNames = Artists::display_artists($ExtendedArtists);
|
||||||
$DisplayName.='<a href="torrents.php?id='.$GroupID.'&torrentid='.$FlacID.'" title="View Torrent">'.$GroupName.'</a>';
|
} else {
|
||||||
if($GroupYear>0) { $DisplayName.=" [".$GroupYear."]"; }
|
$ArtistNames = '';
|
||||||
if($ReleaseType>0) { $DisplayName.=" [".$ReleaseTypes[$ReleaseType]."]"; }
|
|
||||||
|
|
||||||
$MissingEncodings = array('V0 (VBR)'=>1, 'V2 (VBR)'=>1, '320'=>1);
|
|
||||||
|
|
||||||
foreach($Torrents as $Torrent) {
|
|
||||||
if(!empty($MissingEncodings[$Torrent['Encoding']])) {
|
|
||||||
$MissingEncodings[$Torrent['Encoding']] = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$TagList=array();
|
$TagList = array();
|
||||||
if($TorrentTags!='') {
|
$TagList = explode(' ', str_replace('_', '.', $GroupInfo['TagList']));
|
||||||
$TorrentTags=explode(' ',$TorrentTags);
|
$TorrentTags = array();
|
||||||
foreach ($TorrentTags as $TagKey => $TagName) {
|
foreach ($TagList as $Tag) {
|
||||||
$TagName = str_replace('_','.',$TagName);
|
$TorrentTags[] = '<a href="torrents.php?taglist='.$Tag.'">'.$Tag.'</a>';
|
||||||
$TagList[]='<a href="torrents.php?searchtags='.$TagName.'">'.$TagName.'</a>';
|
|
||||||
}
|
}
|
||||||
$PrimaryTag = $TorrentTags[0];
|
$TorrentTags = implode(', ', $TorrentTags);
|
||||||
$TagList = implode(', ', $TagList);
|
foreach ($Editions as $RemIdent => $Edition) {
|
||||||
$TorrentTags='<br /><div class="tags">'.$TagList.'</div>';
|
if (!$Edition['FlacID'] || count($Edition['Formats']) == 3) {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
$DisplayName = $ArtistNames . '<a href="torrents.php?id='.$GroupID.'&torrentid='.$Edition['FlacID'].'#torrent'.$Edition['FlacID'].'" title="View Torrent">'.$GroupName.'</a>';
|
||||||
|
if($GroupYear > 0) {
|
||||||
|
$DisplayName .= " [".$GroupYear."]";
|
||||||
|
}
|
||||||
|
if ($ReleaseType > 0) {
|
||||||
|
$DisplayName .= " [".$ReleaseTypes[$ReleaseType]."]";
|
||||||
|
}
|
||||||
|
$DisplayName .= ' ['.$Edition['Medium'].']';
|
||||||
|
|
||||||
|
$EditionInfo = array();
|
||||||
|
if (!empty($Edition['RemasterYear'])) {
|
||||||
|
$ExtraInfo = $Edition['RemasterYear'];
|
||||||
|
} else {
|
||||||
|
$ExtraInfo = '';
|
||||||
|
}
|
||||||
|
if (!empty($Edition['RemasterRecordLabel'])) {
|
||||||
|
$EditionInfo[] = $Edition['RemasterRecordLabel'];
|
||||||
|
}
|
||||||
|
if (!empty($Edition['RemasterTitle'])) {
|
||||||
|
$EditionInfo[] = $Edition['RemasterTitle'];
|
||||||
|
}
|
||||||
|
if (!empty($Edition['RemasterCatalogueNumber'])) {
|
||||||
|
$EditionInfo[] = $Edition['RemasterCatalogueNumber'];
|
||||||
|
}
|
||||||
|
if (!empty($Edition['RemasterYear'])) {
|
||||||
|
$ExtraInfo .= ' - ';
|
||||||
|
}
|
||||||
|
$ExtraInfo .= implode(' / ', $EditionInfo);
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr<?=$Edition['IsSnatched'] ? ' class="snatched_torrent"' : ''?>>
|
||||||
<td>
|
<td>
|
||||||
|
<span class="torrent_links_block">
|
||||||
|
[ <a href="torrents.php?action=download&id=<?=$Edition['FlacID']?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a> ]
|
||||||
|
</span>
|
||||||
<?=$DisplayName?>
|
<?=$DisplayName?>
|
||||||
[ <a href="torrents.php?action=download&id=<?=$FlacID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>">DL</a> ]
|
<div class="torrent_info"><?=$ExtraInfo?></div>
|
||||||
<?=$TorrentTags?>
|
<div class="tags"><?=$TorrentTags?></div>
|
||||||
</td>
|
</td>
|
||||||
<td><strong><?=($MissingEncodings['V2 (VBR)'] == 0)?'<span style="color: green;">YES</span>':'<span style="color: red;">NO</span>'?></strong></td>
|
<td><?=isset($Edition['Formats']['V2 (VBR)'])?'<strong class="important_text_alt">YES</strong>':'<strong class="important_text">NO</strong>'?></td>
|
||||||
<td><strong><?=($MissingEncodings['V0 (VBR)'] == 0)?'<span style="color: green;">YES</span>':'<span style="color: red;">NO</span>'?></strong></td>
|
<td><?=isset($Edition['Formats']['V0 (VBR)'])?'<strong class="important_text_alt">YES</strong>':'<strong class="important_text">NO</strong>'?></td>
|
||||||
<td><strong><?=($MissingEncodings['320'] == 0)?'<span style="color: green;">YES</span>':'<span style="color: red;">NO</span>'?></strong></td>
|
<td><?=isset($Edition['Formats']['320'])?'<strong class="important_text_alt">YES</strong>':'<strong class="important_text">NO</strong>'?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<?
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<?
|
<?
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
$TagList = explode(' ',str_replace('_','.',$GroupInfo['TagList']));
|
$TagList = explode(' ',str_replace('_','.',$GroupInfo['TagList']));
|
||||||
$TorrentTags = array();
|
$TorrentTags = array();
|
||||||
foreach ($TagList as $Tag) {
|
foreach ($TagList as $Tag) {
|
||||||
$TorrentTags[] = '<a href="torrents.php?'.$Action.'&taglist='.$Tag.'">'.$Tag.'</a>';
|
$TorrentTags[] = '<a href="torrents.php?taglist='.$Tag.'">'.$Tag.'</a>';
|
||||||
}
|
}
|
||||||
$TorrentTags = implode(', ', $TorrentTags);
|
$TorrentTags = implode(', ', $TorrentTags);
|
||||||
foreach ($Editions as $RemIdent => $Edition) {
|
foreach ($Editions as $RemIdent => $Edition) {
|
||||||
@ -179,9 +179,9 @@
|
|||||||
<div class="torrent_info"><?=$ExtraInfo?></div>
|
<div class="torrent_info"><?=$ExtraInfo?></div>
|
||||||
<div class="tags"><?=$TorrentTags?></div>
|
<div class="tags"><?=$TorrentTags?></div>
|
||||||
</td>
|
</td>
|
||||||
<td><strong><?=isset($Edition['Formats']['V2 (VBR)'])?'<span style="color: green;">YES</span>':'<span style="color: red;">NO</span>'?></strong></td>
|
<td><strong><?=isset($Edition['Formats']['V2 (VBR)'])?'<span class="important_text_alt">YES</span>':'<span class="important_text">NO</span>'?></strong></td>
|
||||||
<td><strong><?=isset($Edition['Formats']['V0 (VBR)'])?'<span style="color: green;">YES</span>':'<span style="color: red;">NO</span>'?></strong></td>
|
<td><strong><?=isset($Edition['Formats']['V0 (VBR)'])?'<span class="important_text_alt">YES</span>':'<span class="important_text">NO</span>'?></strong></td>
|
||||||
<td><strong><?=isset($Edition['Formats']['320'])?'<span style="color: green;">YES</span>':'<span style="color: red;">NO</span>'?></strong></td>
|
<td><strong><?=isset($Edition['Formats']['320'])?'<span class="important_text_alt">YES</span>':'<span class="important_text">NO</span>'?></strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
|
@ -375,7 +375,6 @@ function compare($X, $Y){
|
|||||||
</script>
|
</script>
|
||||||
<? }
|
<? }
|
||||||
} ?>
|
} ?>
|
||||||
<br />
|
|
||||||
<table class="torrent_table grouping cats" id="torrent_table">
|
<table class="torrent_table grouping cats" id="torrent_table">
|
||||||
<tr class="colhead_dark">
|
<tr class="colhead_dark">
|
||||||
<td><!-- expand/collapse --></td>
|
<td><!-- expand/collapse --></td>
|
||||||
|
@ -47,14 +47,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Ordering
|
// Ordering
|
||||||
if(!empty($_GET['order']) && !empty($OrderTable[$_GET['order']])) {
|
if(!empty($_GET['order_by']) && !empty($OrderTable[$_GET['order_by']])) {
|
||||||
$Order = $OrderTable[$_GET['order']];
|
$Order = $OrderTable[$_GET['order_by']];
|
||||||
} else {
|
} else {
|
||||||
$Order = 'ID';
|
$Order = 'ID';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($_GET['way']) && !empty($WayTable[$_GET['way']])) {
|
if(!empty($_GET['order_way']) && !empty($WayTable[$_GET['order_way']])) {
|
||||||
$Way = $WayTable[$_GET['way']];
|
$Way = $WayTable[$_GET['order_way']];
|
||||||
} else {
|
} else {
|
||||||
$Way = 'DESC';
|
$Way = 'DESC';
|
||||||
}
|
}
|
||||||
@ -91,10 +91,20 @@
|
|||||||
$SQL .= "%'";
|
$SQL .= "%'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($_GET['tags_type']) && $_GET['tags_type'] == 0) { // Any
|
||||||
|
$_GET['tags_type'] = 0;
|
||||||
|
} else { // All
|
||||||
|
$_GET['tags_type'] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if(!empty($Tags)) {
|
if(!empty($Tags)) {
|
||||||
$SQL.= " AND TagList LIKE '%";
|
$SQL.= " AND (TagList LIKE '%";
|
||||||
|
if ($_GET['tags_type'] == 0) {
|
||||||
|
$SQL .= implode("%' OR TagList LIKE '%", $Tags);
|
||||||
|
} else {
|
||||||
$SQL .= implode("%' AND TagList LIKE '%", $Tags);
|
$SQL .= implode("%' AND TagList LIKE '%", $Tags);
|
||||||
$SQL .= "%'";
|
}
|
||||||
|
$SQL .= "%')";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($_GET['userid'])) {
|
if(!empty($_GET['userid'])) {
|
||||||
@ -153,50 +163,54 @@
|
|||||||
<form class="search_form" name="collages" action="" method="get">
|
<form class="search_form" name="collages" action="" method="get">
|
||||||
<div><input type="hidden" name="action" value="search" /></div>
|
<div><input type="hidden" name="action" value="search" /></div>
|
||||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||||
<tr>
|
<tr id="search_terms">
|
||||||
<td class="label"><strong>Search for:</strong></td>
|
<td class="label">Search terms:</td>
|
||||||
<td colspan="3">
|
<td>
|
||||||
<input type="text" name="search" size="70" value="<?=(!empty($_GET['search']) ? display_str($_GET['search']) : '')?>" />
|
<input type="text" name="search" size="70" value="<?=(!empty($_GET['search']) ? display_str($_GET['search']) : '')?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="tagfilter">
|
||||||
<td class="label"><strong>Tags:</strong></td>
|
<td class="label">Tags (comma-separated):</td>
|
||||||
<td colspan="3">
|
<td>
|
||||||
<input type="text" name="tags" size="70" value="<?=(!empty($_GET['tags']) ? display_str($_GET['tags']) : '')?>" />
|
<input type="text" name="tags" size="70" value="<?=(!empty($_GET['tags']) ? display_str($_GET['tags']) : '')?>" />
|
||||||
|
<input type="radio" name="tags_type" id="tags_type0" value="0" <?Format::selected('tags_type',0,'checked')?> /><label for="tags_type0"> Any</label>
|
||||||
|
<input type="radio" name="tags_type" id="tags_type1" value="1" <?Format::selected('tags_type',1,'checked')?> /><label for="tags_type1"> All</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="categories">
|
||||||
<td class="label"><strong>Categories:</strong></td>
|
<td class="label">Categories:</td>
|
||||||
<td colspan="3">
|
<td>
|
||||||
<? foreach($CollageCats as $ID=>$Cat) { ?>
|
<? foreach($CollageCats as $ID=>$Cat) { ?>
|
||||||
<input type="checkbox" value="1" name="cats[<?=$ID?>]" id="cats_<?=$ID?>" <?if(in_array($ID, $Categories)) { echo ' checked="checked"'; }?>>
|
<input type="checkbox" value="1" name="cats[<?=$ID?>]" id="cats_<?=$ID?>" <?if(in_array($ID, $Categories)) { echo ' checked="checked"'; }?>>
|
||||||
<label for="cats_<?=$ID?>"><?=$Cat?></label>
|
<label for="cats_<?=$ID?>"><?=$Cat?></label>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="search_name_description">
|
||||||
<td class="label"><strong>Search in:</strong></td>
|
<td class="label">Search in:</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="type" value="c.name" <? if($Type == 'c.name') { echo 'checked="checked" '; }?>/> Names
|
<input type="radio" name="type" value="c.name" <? if($Type == 'c.name') { echo 'checked="checked" '; }?>/> Names
|
||||||
<input type="radio" name="type" value="description" <? if($Type == 'description') { echo 'checked="checked" '; }?>/> Descriptions
|
<input type="radio" name="type" value="description" <? if($Type == 'description') { echo 'checked="checked" '; }?>/> Descriptions
|
||||||
</td>
|
</td>
|
||||||
<td class="label"><strong>Order by:</strong></td>
|
</tr>
|
||||||
|
<tr id="order_by">
|
||||||
|
<td class="label">Order by:</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="order">
|
<select name="order_by" class="ft_order_by">
|
||||||
<?
|
<?
|
||||||
foreach($OrderVals as $Cur){ ?>
|
foreach($OrderVals as $Cur){ ?>
|
||||||
<option value="<?=$Cur?>"<? if(isset($_GET['order']) && $_GET['order'] == $Cur || (!isset($_GET['order']) && $Cur == 'Time')) { echo ' selected="selected"'; } ?>><?=$Cur?></option>
|
<option value="<?=$Cur?>"<? if(isset($_GET['order_by']) && $_GET['order_by'] == $Cur || (!isset($_GET['order_by']) && $Cur == 'Time')) { echo ' selected="selected"'; } ?>><?=$Cur?></option>
|
||||||
<? }?>
|
<? }?>
|
||||||
</select>
|
</select>
|
||||||
<select name="way">
|
<select name="order_way" class="ft_order_way">
|
||||||
<? foreach($WayVals as $Cur){ ?>
|
<? foreach($WayVals as $Cur){ ?>
|
||||||
<option value="<?=$Cur?>"<? if(isset($_GET['way']) && $_GET['way'] == $Cur || (!isset($_GET['way']) && $Cur == 'Descending')) { echo ' selected="selected"'; } ?>><?=$Cur?></option>
|
<option value="<?=$Cur?>"<? if(isset($_GET['order_way']) && $_GET['order_way'] == $Cur || (!isset($_GET['order_way']) && $Cur == 'Descending')) { echo ' selected="selected"'; } ?>><?=$Cur?></option>
|
||||||
<? }?>
|
<? }?>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4" class="center">
|
<td colspan="2" class="center">
|
||||||
<input type="submit" value="Search" />
|
<input type="submit" value="Search" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -217,15 +231,15 @@
|
|||||||
if ($CollageCount == 1) {
|
if ($CollageCount == 1) {
|
||||||
list($CollageID) = $DB->next_record();
|
list($CollageID) = $DB->next_record();
|
||||||
?>
|
?>
|
||||||
<a href="collages.php?id=<?=$CollageID?>">[My personal collage]</a>
|
<a href="collages.php?id=<?=$CollageID?>">[Personal collage]</a>
|
||||||
<? } elseif ($CollageCount > 1) { ?>
|
<? } elseif ($CollageCount > 1) { ?>
|
||||||
<a href="collages.php?action=mine">[My personal collages]</a>
|
<a href="collages.php?action=mine">[Personal collages]</a>
|
||||||
<? }
|
<? }
|
||||||
}
|
}
|
||||||
if (check_perms('site_collages_subscribe')) { ?>
|
if (check_perms('site_collages_subscribe')) { ?>
|
||||||
<a href="userhistory.php?action=subscribed_collages">[My Subscribed Collages]</a>
|
<a href="userhistory.php?action=subscribed_collages">[Subscribed collages]</a>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<a href="bookmarks.php?type=collages">[Bookmarked Collages]</a>
|
<a href="bookmarks.php?type=collages">[Bookmarked collages]</a>
|
||||||
<?
|
<?
|
||||||
if (check_perms('site_collages_recover')) { ?>
|
if (check_perms('site_collages_recover')) { ?>
|
||||||
<a href="collages.php?action=recover">[Recover collage]</a>
|
<a href="collages.php?action=recover">[Recover collage]</a>
|
||||||
@ -238,7 +252,7 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<a href="collages.php?userid=<?=$LoggedUser['ID']?>">[Collages you started]</a>
|
<a href="collages.php?userid=<?=$LoggedUser['ID']?>">[Collages you started]</a>
|
||||||
<a href="collages.php?userid=<?=$LoggedUser['ID']?>&contrib=1">[Collages you've contributed to]</a>
|
<a href="collages.php?userid=<?=$LoggedUser['ID']?>&contrib=1">[Collages you contributed to]</a>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<a href="bookmarks.php?type=torrents">[Torrents]</a>
|
<a href="bookmarks.php?type=torrents">[Torrents]</a>
|
||||||
<a href="bookmarks.php?type=artists">[Artists]</a>
|
<a href="bookmarks.php?type=artists">[Artists]</a>
|
||||||
|
@ -50,15 +50,15 @@
|
|||||||
</select>
|
</select>
|
||||||
<br />
|
<br />
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Theme</strong> - A collage containing releases that all relate to a certain theme (Searching for the perfect beat, for instance)</li>
|
<li><strong>Theme</strong> - A collage containing releases that all relate to a certain theme (e.g. "Searching for the Perfect Beat", "Concept Albums", "Funky Groove", etc.).</li>
|
||||||
<li><strong>Genre introduction</strong> - A subjective introduction to a Genre composed by our own users</li>
|
<li><strong>Genre introduction</strong> - A subjective introduction to a genre composed by our own users.</li>
|
||||||
<li><strong>Discography</strong> - A collage containing all the releases of an artist, when that artist has a multitude of side projects</li>
|
<li><strong>Discography</strong> - A collage containing all the releases of an artist. Useful for keeping track of side-projects.</li>
|
||||||
<li><strong>Label</strong> - A collage containing all the releases of a particular record label</li>
|
<li><strong>Label</strong> - A collage containing all the releases of a particular record label.</li>
|
||||||
<li><strong>Staff picks</strong> - A list of recommendations picked by the staff on special occasions</li>
|
<li><strong>Staff picks</strong> - A listing of recommendations picked by the staff on special occasions.</li>
|
||||||
<li><strong>Charts</strong> - A collage containing all the releases that comprise a certain chart (Billboard Top 100, Pitchfork Top 100, What.cd Top 10 for a certain week)</li>
|
<li><strong>Charts</strong> - Contains all the releases that comprise a certain type of chart (e.g. Billboard Top 100, Pitchfork Top 100, What.cd Top 10, etc.).</li>
|
||||||
<?
|
<?
|
||||||
if(($CollageCount < $LoggedUser['Permissions']['MaxCollages']) && check_perms('site_collages_personal')) { ?>
|
if(($CollageCount < $LoggedUser['Permissions']['MaxCollages']) && check_perms('site_collages_personal')) { ?>
|
||||||
<li><strong>Personal</strong> - You can put whatever you want here. It's your personal collage.</li>
|
<li><strong>Personal</strong> - You can put whatever you want here. It's your own personal collage.</li>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="center">
|
<td colspan="2" class="center">
|
||||||
<strong>Please ensure your collage will be allowed under the <a href="rules.php?p=collages">rules</a></strong>
|
<strong>Please ensure your collage will be allowed under the <a href="rules.php?p=collages">Collage Rules</a>.</strong>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
echo $Pages;
|
echo $Pages;
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<table class="forum_list" width="100%">
|
<table class="forum_index" width="100%">
|
||||||
<tr class="colhead">
|
<tr class="colhead">
|
||||||
<td style="width:2%;"></td>
|
<td style="width:2%;"></td>
|
||||||
<td>Latest</td>
|
<td>Latest</td>
|
||||||
|
@ -83,11 +83,11 @@
|
|||||||
<input type="hidden" name="forum" value="<?=$ForumID?>" />
|
<input type="hidden" name="forum" value="<?=$ForumID?>" />
|
||||||
<table id="newthreadtext" class="layout">
|
<table id="newthreadtext" class="layout">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Title</td>
|
<td class="label">Title:</td>
|
||||||
<td><input id="title" type="text" name="title" style="width: 98%;" /></td>
|
<td><input id="title" type="text" name="title" style="width: 98%;" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Body</td>
|
<td class="label">Body:</td>
|
||||||
<td><textarea id="posttext" style="width: 98%;" onkeyup="resize('posttext');" name="body" cols="90" rows="8"></textarea></td>
|
<td><textarea id="posttext" style="width: 98%;" onkeyup="resize('posttext');" name="body" cols="90" rows="8"></textarea></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -132,26 +132,30 @@ function RemoveAnswerField() {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="poll_question" class="hidden">
|
<tr id="poll_question" class="hidden">
|
||||||
<td class="label">Question</td>
|
<td class="label">Question:</td>
|
||||||
<td><input type="text" name="question" id="pollquestionfield" style="width: 98%;" /></td>
|
<td><input type="text" name="question" id="pollquestionfield" style="width: 98%;" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="poll_answers" class="hidden">
|
<tr id="poll_answers" class="hidden">
|
||||||
<td class="label">Answers</td>
|
<td class="label">Answers:</td>
|
||||||
<td id="answer_block">
|
<td id="answer_block">
|
||||||
<input type="text" name="answers[]" style="width: 90%;" />
|
<input type="text" name="answers[]" style="width: 90%;" />
|
||||||
[<a href="#" onclick="AddAnswerField();return false;">+</a>]
|
[<a href="#" onclick="AddAnswerField();return false;">+</a>]
|
||||||
[<a href="#" onclick="RemoveAnswerField();return false;">-</a>]
|
[<a href="#" onclick="RemoveAnswerField();return false;">-</a>]
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2" class="center">
|
||||||
|
<input type="button" value="Preview" onclick="Newthread_Preview(1);" id="newthreadpreviewbutton" />
|
||||||
|
<input type="button" value="Editor" onclick="Newthread_Preview(0);" id="newthreadeditbutton" class="hidden" />
|
||||||
|
<input type="submit" id="submit_button" value="Create thread" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</table>
|
</table>
|
||||||
<div id="subscribediv" class="hidden">
|
<div id="subscribediv" class="hidden">
|
||||||
<input id="subscribeboxpreview" type="checkbox" name="subscribe"<?=!empty($HeavyInfo['AutoSubscribe'])?' checked="checked"':''?> />
|
<input id="subscribeboxpreview" type="checkbox" name="subscribe"<?=!empty($HeavyInfo['AutoSubscribe'])?' checked="checked"':''?> />
|
||||||
<label for="subscribebox">Subscribe to topic</label>
|
<label for="subscribebox">Subscribe to topic</label>
|
||||||
</div>
|
</div>
|
||||||
<input type="button" value="Preview" onclick="Newthread_Preview(1);" id="newthreadpreviewbutton" />
|
|
||||||
<input type="button" value="Editor" onclick="Newthread_Preview(0);" id="newthreadeditbutton" class="hidden" />
|
|
||||||
<input type="submit" id="submit_button" value="Create thread" />
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -360,13 +360,13 @@
|
|||||||
<input type="hidden" name="userid" value="<?=$_GET['userid']?>" />
|
<input type="hidden" name="userid" value="<?=$_GET['userid']?>" />
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||||
<tr>
|
<tr id="search_terms">
|
||||||
<td class="label">Search terms:</td>
|
<td class="label">Search terms:</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="search" size="75" value="<?if(isset($_GET['search'])) { echo display_str($_GET['search']); } ?>" />
|
<input type="text" name="search" size="75" value="<?if(isset($_GET['search'])) { echo display_str($_GET['search']); } ?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="tagfilter">
|
||||||
<td class="label">Tags (comma-separated):</td>
|
<td class="label">Tags (comma-separated):</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="tags" size="60" value="<?= (!empty($TagNames) ? display_str(implode(', ', $TagNames)) : '') ?>" />
|
<input type="text" name="tags" size="60" value="<?= (!empty($TagNames) ? display_str(implode(', ', $TagNames)) : '') ?>" />
|
||||||
@ -374,14 +374,14 @@
|
|||||||
<input type="radio" name="tags_type" id="tags_type1" value="1" <?Format::selected('tags_type',1,'checked')?> /><label for="tags_type1"> All</label>
|
<input type="radio" name="tags_type" id="tags_type1" value="1" <?Format::selected('tags_type',1,'checked')?> /><label for="tags_type1"> All</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="include_filled">
|
||||||
<td class="label">Include filled:</td>
|
<td class="label">Include filled:</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="show_filled" <? if(!$Submitted || !empty($_GET['show_filled']) || (!$Submitted && !empty($_GET['type']) && $_GET['type'] == "filled")) { ?>checked="checked"<? } ?> />
|
<input type="checkbox" name="show_filled" <? if(!$Submitted || !empty($_GET['show_filled']) || (!$Submitted && !empty($_GET['type']) && $_GET['type'] == "filled")) { ?>checked="checked"<? } ?> />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? if(check_perms('site_see_old_requests')){ ?>
|
<? if(check_perms('site_see_old_requests')){ ?>
|
||||||
<tr>
|
<tr id="include_old">
|
||||||
<td class="label">Include old:</td>
|
<td class="label">Include old:</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="showall" <? if(!empty($_GET['showall'])) {?>checked="checked"<? } ?> />
|
<input type="checkbox" name="showall" <? if(!empty($_GET['showall'])) {?>checked="checked"<? } ?> />
|
||||||
|
@ -59,23 +59,18 @@
|
|||||||
<form class="search_form" name="torrents" action="" method="get">
|
<form class="search_form" name="torrents" action="" method="get">
|
||||||
<input type="hidden" name="advanced" value="1" />
|
<input type="hidden" name="advanced" value="1" />
|
||||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||||
<tr>
|
<tr id="tagfilter">
|
||||||
<td class="label">Tags (comma-separated):</td>
|
<td class="label">Tags (comma-separated):</td>
|
||||||
<td>
|
<td class="ft_taglist">
|
||||||
<input type="text" name="tags" size="75" value="<? if(!empty($_GET['tags'])) { echo display_str($_GET['tags']);} ?>" />
|
<input type="text" name="tags" size="75" value="<? if(!empty($_GET['tags'])) { echo display_str($_GET['tags']);} ?>" />
|
||||||
</td>
|
<input type="radio" id="rdoAll" name="anyall" value="all"<?=($_GET['anyall']!='any'?' checked':'')?>><label for="rdoAll"> All</label>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td>
|
|
||||||
<input type="radio" id="rdoAll" name="anyall" value="all"<?=($_GET['anyall']!='any'?' checked':'')?>><label for="rdoAll"> All</label>
|
|
||||||
<input type="radio" id="rdoAny" name="anyall" value="any"<?=($_GET['anyall']=='any'?' checked':'')?>><label for="rdoAny"> Any</label>
|
<input type="radio" id="rdoAny" name="anyall" value="any"<?=($_GET['anyall']=='any'?' checked':'')?>><label for="rdoAny"> Any</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Format</td>
|
<td class="label">Format:</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="format" style="width:auto;">
|
<select name="format" style="width:auto;" class="ft_format">
|
||||||
<option value="">Any</option>
|
<option value="">Any</option>
|
||||||
<? foreach ($Formats as $FormatName) { ?>
|
<? foreach ($Formats as $FormatName) { ?>
|
||||||
<option value="<?=display_str($FormatName)?>" <? if(isset($_GET['format']) && $FormatName==$_GET['format']) { ?>selected="selected"<? } ?>><?=display_str($FormatName)?></option>
|
<option value="<?=display_str($FormatName)?>" <? if(isset($_GET['format']) && $FormatName==$_GET['format']) { ?>selected="selected"<? } ?>><?=display_str($FormatName)?></option>
|
||||||
|
@ -105,22 +105,17 @@
|
|||||||
<input type="hidden" name="advanced" value="1" />
|
<input type="hidden" name="advanced" value="1" />
|
||||||
<input type="hidden" name="type" value="votes" />
|
<input type="hidden" name="type" value="votes" />
|
||||||
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
<table cellpadding="6" cellspacing="1" border="0" class="layout border" width="100%">
|
||||||
<tr>
|
<tr id="tagfilter">
|
||||||
<td class="label">Tags (comma-separated):</td>
|
<td class="label">Tags (comma-separated):</td>
|
||||||
<td>
|
<td class="ft_taglist">
|
||||||
<input type="text" name="tags" size="75" value="<? if(!empty($_GET['tags'])) { echo display_str($_GET['tags']);} ?>" />
|
<input type="text" name="tags" size="75" value="<? if(!empty($_GET['tags'])) { echo display_str($_GET['tags']);} ?>" />
|
||||||
</td>
|
<input type="radio" id="rdoAll" name="anyall" value="all"<?=($_GET['anyall']!='any'?' checked':'')?>><label for="rdoAll"> All</label>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td>
|
|
||||||
<input type="radio" id="rdoAll" name="anyall" value="all"<?=($_GET['anyall']!='any'?' checked':'')?>><label for="rdoAll"> All</label>
|
|
||||||
<input type="radio" id="rdoAny" name="anyall" value="any"<?=($_GET['anyall']=='any'?' checked':'')?>><label for="rdoAny"> Any</label>
|
<input type="radio" id="rdoAny" name="anyall" value="any"<?=($_GET['anyall']=='any'?' checked':'')?>><label for="rdoAny"> Any</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="yearfilter">
|
||||||
<td class="label">Year:</td>
|
<td class="label">Year:</td>
|
||||||
<td>
|
<td class="ft_year">
|
||||||
<input type="text" name="year1" size="4" value="<? if(!empty($_GET['year1'])) { echo display_str($_GET['year1']);} ?>" />
|
<input type="text" name="year1" size="4" value="<? if(!empty($_GET['year1'])) { echo display_str($_GET['year1']);} ?>" />
|
||||||
to
|
to
|
||||||
<input type="text" name="year2" size="4" value="<? if(!empty($_GET['year2'])) { echo display_str($_GET['year2']);} ?>" />
|
<input type="text" name="year2" size="4" value="<? if(!empty($_GET['year2'])) { echo display_str($_GET['year2']);} ?>" />
|
||||||
|
@ -553,37 +553,37 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
<div class="box pad">
|
<div class="box pad">
|
||||||
<table class="layout">
|
<table class="layout">
|
||||||
<? if ($AdvancedSearch) { ?>
|
<? if ($AdvancedSearch) { ?>
|
||||||
<tr>
|
<tr id="artist_name">
|
||||||
<td class="label">Artist Name:</td>
|
<td class="label">Artist name:</td>
|
||||||
<td colspan="3" class="fta_artistname">
|
<td colspan="3" class="ft_artistname">
|
||||||
<input type="text" spellcheck="false" size="40" name="artistname" class="inputtext smaller" value="<?Format::form('artistname')?>" />
|
<input type="text" spellcheck="false" size="40" name="artistname" class="inputtext smaller" value="<?Format::form('artistname')?>" />
|
||||||
<input type="hidden" name="action" value="advanced" />
|
<input type="hidden" name="action" value="advanced" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="album_torrent_name">
|
||||||
<td class="label">Album/Torrent Name:</td>
|
<td class="label">Album/Torrent name:</td>
|
||||||
<td colspan="3" class="fta_groupname">
|
<td colspan="3" class="ft_groupname">
|
||||||
<input type="text" spellcheck="false" size="40" name="groupname" class="inputtext smaller" value="<?Format::form('groupname')?>" />
|
<input type="text" spellcheck="false" size="40" name="groupname" class="inputtext smaller" value="<?Format::form('groupname')?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="record_label">
|
||||||
<td class="label">Record Label:</td>
|
<td class="label">Record label:</td>
|
||||||
<td colspan="3" class="fta_recordlabel">
|
<td colspan="3" class="ft_recordlabel">
|
||||||
<input type="text" spellcheck="false" size="40" name="recordlabel" class="inputtext smaller" value="<?Format::form('recordlabel')?>" />
|
<input type="text" spellcheck="false" size="40" name="recordlabel" class="inputtext smaller" value="<?Format::form('recordlabel')?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="catalogue_number_year">
|
||||||
<td class="label">Catalogue Number:</td>
|
<td class="label">Catalogue number:</td>
|
||||||
<td class="fta_cataloguenumber">
|
<td class="ft_cataloguenumber">
|
||||||
<input type="text" size="40" name="cataloguenumber" class="inputtext smallest" value="<?Format::form('cataloguenumber')?>" />
|
<input type="text" size="40" name="cataloguenumber" class="inputtext smallest" value="<?Format::form('cataloguenumber')?>" />
|
||||||
</td>
|
</td>
|
||||||
<td class="label">Year:</td>
|
<td class="label">Year:</td>
|
||||||
<td class="fta_year">
|
<td class="ft_year">
|
||||||
<input type="text" name="year" class="inputtext smallest" value="<?Format::form('year')?>" size="4" />
|
<input type="text" name="year" class="inputtext smallest" value="<?Format::form('year')?>" size="4" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="edition_expand">
|
<tr id="edition_expand">
|
||||||
<td colspan="4" class="center fta_edition_expand">[<a href="#" onclick="ToggleEditionRows();return false;">Click here to toggle searching for specific remaster information</a>]</td>
|
<td colspan="4" class="center ft_edition_expand">[<a href="#" onclick="ToggleEditionRows();return false;">Click here to toggle searching for specific remaster information</a>]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?
|
||||||
if (Format::form('remastertitle', true) == "" && Format::form('remasteryear', true) == "" &&
|
if (Format::form('remastertitle', true) == "" && Format::form('remasteryear', true) == "" &&
|
||||||
@ -594,54 +594,54 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr id="edition_title" class="<?=$Hidden?>">
|
<tr id="edition_title" class="<?=$Hidden?>">
|
||||||
<td class="label">Edition Title:</td>
|
<td class="label">Edition title:</td>
|
||||||
<td class="fta_remastertitle">
|
<td class="ft_remastertitle">
|
||||||
<input type="text" spellcheck="false" size="40" name="remastertitle" class="inputtext smaller" value="<?Format::form('remastertitle')?>" />
|
<input type="text" spellcheck="false" size="40" name="remastertitle" class="inputtext smaller" value="<?Format::form('remastertitle')?>" />
|
||||||
</td>
|
</td>
|
||||||
<td class="label">Edition Year:</td>
|
<td class="label">Edition year:</td>
|
||||||
<td class="fta_remasteryear">
|
<td class="ft_remasteryear">
|
||||||
<input type="text" name="remasteryear" class="inputtext smallest" value="<?Format::form('remasteryear')?>" size="4" />
|
<input type="text" name="remasteryear" class="inputtext smallest" value="<?Format::form('remasteryear')?>" size="4" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="edition_label" class="<?=$Hidden?>">
|
<tr id="edition_label" class="<?=$Hidden?>">
|
||||||
<td class="label">Edition Release Label:</td>
|
<td class="label">Edition release label:</td>
|
||||||
<td colspan="3" class="fta_remasterrecordlabel">
|
<td colspan="3" class="ft_remasterrecordlabel">
|
||||||
<input type="text" spellcheck="false" size="40" name="remasterrecordlabel" class="inputtext smaller" value="<?Format::form('remasterrecordlabel')?>" />
|
<input type="text" spellcheck="false" size="40" name="remasterrecordlabel" class="inputtext smaller" value="<?Format::form('remasterrecordlabel')?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="edition_catalogue" class="<?=$Hidden?>">
|
<tr id="edition_catalogue" class="<?=$Hidden?>">
|
||||||
<td class="label">Edition Catalogue Number:</td>
|
<td class="label">Edition catalogue number:</td>
|
||||||
<td colspan="3" class="fta_remastercataloguenumber">
|
<td colspan="3" class="ft_remastercataloguenumber">
|
||||||
<input type="text" size="40" name="remastercataloguenumber" class="inputtext smallest" value="<?Format::form('remastercataloguenumber')?>" />
|
<input type="text" size="40" name="remastercataloguenumber" class="inputtext smallest" value="<?Format::form('remastercataloguenumber')?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="file_list">
|
||||||
<td class="label">File List:</td>
|
<td class="label">File list:</td>
|
||||||
<td colspan="3" class="fta_filelist">
|
<td colspan="3" class="ft_filelist">
|
||||||
<input type="text" spellcheck="false" size="40" name="filelist" class="inputtext" value="<?Format::form('filelist')?>" />
|
<input type="text" spellcheck="false" size="40" name="filelist" class="inputtext" value="<?Format::form('filelist')?>" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="rip_specifics">
|
||||||
<td class="label">Rip Specifics:</td>
|
<td class="label">Rip specifics:</td>
|
||||||
<td class="nobr" colspan="3" class="fta_encoding">
|
<td class="nobr" colspan="3" class="ft_ripspecifics">
|
||||||
<select id="bitrate" name="encoding">
|
<select id="bitrate" name="encoding" class="ft_bitrate">
|
||||||
<option value="">Bitrate</option>
|
<option value="">Bitrate</option>
|
||||||
<? foreach ($Bitrates as $BitrateName) { ?>
|
<? foreach ($Bitrates as $BitrateName) { ?>
|
||||||
<option value="<?=display_str($BitrateName); ?>" <?Format::selected('encoding', $BitrateName)?>><?=display_str($BitrateName); ?></option>
|
<option value="<?=display_str($BitrateName); ?>" <?Format::selected('encoding', $BitrateName)?>><?=display_str($BitrateName); ?></option>
|
||||||
<? } ?> </select>
|
<? } ?> </select>
|
||||||
|
|
||||||
<select name="format">
|
<select name="format" class="ft_format">
|
||||||
<option value="">Format</option>
|
<option value="">Format</option>
|
||||||
<? foreach ($Formats as $FormatName) { ?>
|
<? foreach ($Formats as $FormatName) { ?>
|
||||||
<option value="<?=display_str($FormatName); ?>" <?Format::selected('format', $FormatName)?>><?=display_str($FormatName); ?></option>
|
<option value="<?=display_str($FormatName); ?>" <?Format::selected('format', $FormatName)?>><?=display_str($FormatName); ?></option>
|
||||||
<? } ?> </select>
|
<? } ?> </select>
|
||||||
<select name="media">
|
<select name="media" class="ft_media">
|
||||||
<option value="">Media</option>
|
<option value="">Media</option>
|
||||||
<? foreach ($Media as $MediaName) { ?>
|
<? foreach ($Media as $MediaName) { ?>
|
||||||
<option value="<?=display_str($MediaName); ?>" <?Format::selected('media',$MediaName)?>><?=display_str($MediaName); ?></option>
|
<option value="<?=display_str($MediaName); ?>" <?Format::selected('media',$MediaName)?>><?=display_str($MediaName); ?></option>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</select>
|
</select>
|
||||||
<select name="releasetype">
|
<select name="releasetype" class="ft_releasetype">
|
||||||
<option value="">Release type</option>
|
<option value="">Release type</option>
|
||||||
<? foreach ($ReleaseTypes as $ID=>$Type) { ?>
|
<? foreach ($ReleaseTypes as $ID=>$Type) { ?>
|
||||||
<option value="<?=display_str($ID); ?>" <?Format::selected('releasetype',$ID)?>><?=display_str($Type); ?></option>
|
<option value="<?=display_str($ID); ?>" <?Format::selected('releasetype',$ID)?>><?=display_str($Type); ?></option>
|
||||||
@ -649,32 +649,32 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="misc">
|
||||||
<td class="label">Misc:</td>
|
<td class="label">Misc:</td>
|
||||||
<td class="nobr" colspan="3" class="fta_misc">
|
<td class="nobr" colspan="3" class="ft_misc">
|
||||||
<select name="haslog" class="fta_haslog">
|
<select name="haslog" class="ft_haslog">
|
||||||
<option value="">Has Log</option>
|
<option value="">Has Log</option>
|
||||||
<option value="1" <?Format::selected('haslog','1')?>>Yes</option>
|
<option value="1" <?Format::selected('haslog','1')?>>Yes</option>
|
||||||
<option value="0" <?Format::selected('haslog','0')?>>No</option>
|
<option value="0" <?Format::selected('haslog','0')?>>No</option>
|
||||||
<option value="100" <?Format::selected('haslog','100')?>>100% only</option>
|
<option value="100" <?Format::selected('haslog','100')?>>100% only</option>
|
||||||
<option value="-1" <?Format::selected('haslog','-1')?>><100%/Unscored</option>
|
<option value="-1" <?Format::selected('haslog','-1')?>><100%/Unscored</option>
|
||||||
</select>
|
</select>
|
||||||
<select name="hascue" class="fta_hascue">
|
<select name="hascue" class="ft_hascue">
|
||||||
<option value="">Has Cue</option>
|
<option value="">Has Cue</option>
|
||||||
<option value="1" <?Format::selected('hascue',1)?>>Yes</option>
|
<option value="1" <?Format::selected('hascue',1)?>>Yes</option>
|
||||||
<option value="0" <?Format::selected('hascue',0)?>>No</option>
|
<option value="0" <?Format::selected('hascue',0)?>>No</option>
|
||||||
</select>
|
</select>
|
||||||
<select name="scene" class="fta_scene">
|
<select name="scene" class="ft_scene">
|
||||||
<option value="">Scene</option>
|
<option value="">Scene</option>
|
||||||
<option value="1" <?Format::selected('scene',1)?>>Yes</option>
|
<option value="1" <?Format::selected('scene',1)?>>Yes</option>
|
||||||
<option value="0" <?Format::selected('scene',0)?>>No</option>
|
<option value="0" <?Format::selected('scene',0)?>>No</option>
|
||||||
</select>
|
</select>
|
||||||
<select name="vanityhouse" class="fta_vanityhouse">
|
<select name="vanityhouse" class="ft_vanityhouse">
|
||||||
<option value="">Vanity House</option>
|
<option value="">Vanity House</option>
|
||||||
<option value="1" <?Format::selected('vanityhouse',1)?>>Yes</option>
|
<option value="1" <?Format::selected('vanityhouse',1)?>>Yes</option>
|
||||||
<option value="0" <?Format::selected('vanityhouse',0)?>>No</option>
|
<option value="0" <?Format::selected('vanityhouse',0)?>>No</option>
|
||||||
</select>
|
</select>
|
||||||
<select name="freetorrent" class="fta_freetorrent">
|
<select name="freetorrent" class="ft_freetorrent">
|
||||||
<option value="">Leech Status</option>
|
<option value="">Leech Status</option>
|
||||||
<option value="1" <?Format::selected('freetorrent',1)?>>Freeleech</option>
|
<option value="1" <?Format::selected('freetorrent',1)?>>Freeleech</option>
|
||||||
<option value="2" <?Format::selected('freetorrent',2)?>>Neutral Leech</option>
|
<option value="2" <?Format::selected('freetorrent',2)?>>Neutral Leech</option>
|
||||||
@ -684,7 +684,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } else { // BASIC SEARCH ?>
|
<? } else { // BASIC SEARCH ?>
|
||||||
<tr>
|
<tr id="search_terms">
|
||||||
<td class="label">Search terms:</td>
|
<td class="label">Search terms:</td>
|
||||||
<td colspan="3" class="ftb_searchstr">
|
<td colspan="3" class="ftb_searchstr">
|
||||||
<input type="text" spellcheck="false" size="40" name="searchstr" class="inputtext" value="<?Format::form('searchstr')?>" />
|
<input type="text" spellcheck="false" size="40" name="searchstr" class="inputtext" value="<?Format::form('searchstr')?>" />
|
||||||
@ -694,7 +694,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<tr>
|
<tr id="tagfilter">
|
||||||
<td class="label">Tags (comma-separated):</td>
|
<td class="label">Tags (comma-separated):</td>
|
||||||
<td colspan="3" class="ft_taglist">
|
<td colspan="3" class="ft_taglist">
|
||||||
<input type="text" size="40" id="tags" name="taglist" class="inputtext smaller" title="Use !tag to exclude tag" value="<?=str_replace('_','.',Format::form('taglist', true))?>" />
|
<input type="text" size="40" id="tags" name="taglist" class="inputtext smaller" title="Use !tag to exclude tag" value="<?=str_replace('_','.',Format::form('taglist', true))?>" />
|
||||||
@ -702,7 +702,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
<input type="radio" name="tags_type" id="tags_type1" value="1" <?Format::selected('tags_type',1,'checked')?> /><label for="tags_type1"> All</label>
|
<input type="radio" name="tags_type" id="tags_type1" value="1" <?Format::selected('tags_type',1,'checked')?> /><label for="tags_type1"> All</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="order">
|
||||||
<td class="label">Order by:</td>
|
<td class="label">Order by:</td>
|
||||||
<td colspan="<?=($AdvancedSearch)?'3':'1'?>" class="ft_order">
|
<td colspan="<?=($AdvancedSearch)?'3':'1'?>" class="ft_order">
|
||||||
<select name="order_by" style="width:auto;" class="ft_order_by">
|
<select name="order_by" style="width:auto;" class="ft_order_by">
|
||||||
@ -720,7 +720,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr id="group_results">
|
||||||
<td class="label">
|
<td class="label">
|
||||||
<label for="group_results">Group by release:</label>
|
<label for="group_results">Group by release:</label>
|
||||||
</td>
|
</td>
|
||||||
|
@ -879,7 +879,7 @@ div.thin .header+.linkbox+div td {
|
|||||||
padding-left: 10px !important;
|
padding-left: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.thin .header+.linkbox+div table td:first-child,.filter_torrents table:nth-child(1) td:first-child {
|
td.label {
|
||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -910,10 +910,6 @@ div.thin form.search_form table td.label,.filter_torrents table td:first-child {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.thin form.search_form table td.label {
|
|
||||||
width: 12%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter_torrents .submit {
|
.filter_torrents .submit {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
|
Loading…
Reference in New Issue
Block a user