Empty commit
@ -455,7 +455,7 @@ public static function regenerate_filelist($TorrentID) {
|
||||
$TmpFileList[] = self::filelist_format_file($File);
|
||||
}
|
||||
$FilePath = isset($Tor->Val['info']->Val['files']) ? Format::make_utf8($Tor->get_name()) : "";
|
||||
$FileString = Format::make_utf8(implode("\n", $TmpFileList));
|
||||
$FileString = implode("\n", $TmpFileList);
|
||||
$DB->query("UPDATE torrents SET Size = ".$TotalSize.", FilePath = '".db_string($FilePath)."', FileList = '".db_string($FileString)."' WHERE ID = ".$TorrentID);
|
||||
$Cache->delete_value('torrents_details_'.$GroupID);
|
||||
}
|
||||
@ -482,8 +482,8 @@ public static function filelist_format_file($File) {
|
||||
list($Size, $Name) = $File;
|
||||
$Name = Format::make_utf8(strtr($Name, "\n\r\t", " "));
|
||||
$ExtPos = strrpos($Name, '.');
|
||||
$Ext = $ExtPos ? substr($Name, $ExtPos) : '';
|
||||
return sprintf("%s s%ds %s %s", $Ext, $Size, $Name, self::filelist_delim());
|
||||
$Ext = $ExtPos ? trim(substr($Name, $ExtPos+1)) : '';
|
||||
return sprintf("%s s%ds %s %s", ".$Ext", $Size, $Name, self::filelist_delim());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -242,6 +242,34 @@
|
||||
$Alerts[] = '<a href="blog.php">'.'New Blog Post!'.'</a>';
|
||||
}
|
||||
|
||||
// Staff blog
|
||||
if(check_perms('users_mod')) {
|
||||
global $SBlogReadTime, $LatestSBlogTime;
|
||||
if (!$SBlogReadTime && ($SBlogReadTime = $Cache->get_value('staff_blog_read_'.$LoggedUser['ID'])) === false) {
|
||||
$DB->query("SELECT Time FROM staff_blog_visits WHERE UserID = ".$LoggedUser['ID']);
|
||||
if (list($SBlogReadTime) = $DB->next_record()) {
|
||||
$SBlogReadTime = strtotime($SBlogReadTime);
|
||||
} else {
|
||||
$SBlogReadTime = 0;
|
||||
}
|
||||
$Cache->cache_value('staff_blog_read_'.$LoggedUser['ID'], $SBlogReadTime, 1209600);
|
||||
}
|
||||
if (!$LatestSBlogTime && ($LatestSBlogTime = $Cache->get_value('staff_blog_latest_time')) === false) {
|
||||
$DB->query("SELECT MAX(Time) FROM staff_blog");
|
||||
if (list($LatestSBlogTime) = $DB->next_record()) {
|
||||
$LatestSBlogTime = strtotime($LatestSBlogTime);
|
||||
} else {
|
||||
$LatestSBlogTime = 0;
|
||||
}
|
||||
$Cache->cache_value('staff_blog_latest_time', $LatestSBlogTime, 1209600);
|
||||
}
|
||||
if ($SBlogReadTime < $LatestSBlogTime) {
|
||||
global $Debug;
|
||||
$Debug->log_var(array('b' => $SBlogReadTime, 'l' => $LatestSBlogTime), 'Times');
|
||||
$Alerts[] = '<a href="staffblog.php">'.'New Staff Blog Post!'.'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
//Staff PM
|
||||
$NewStaffPMs = $Cache->get_value('staff_pm_new_'.$LoggedUser['ID']);
|
||||
if ($NewStaffPMs === false) {
|
||||
|
@ -1,25 +1,25 @@
|
||||
<div id="compose" class="<?=($Hidden ? 'hidden' : '')?>">
|
||||
<form class="send_form" name="staff_message" action="staffpm.php" method="post">
|
||||
<input type="hidden" name="action" value="takepost" />
|
||||
<h3><label for="subject">Subject</label></h3>
|
||||
<input size="95" type="text" name="subject" id="subject" />
|
||||
<br />
|
||||
|
||||
<h3><label for="message">Message</label></h3>
|
||||
<?
|
||||
$TextPrev = new TEXTAREA_PREVIEW('message', 'message', '', 95, 10, true, false);
|
||||
?>
|
||||
<br />
|
||||
|
||||
<strong>Send to: </strong>
|
||||
<select name="level">
|
||||
<option value="0" selected="selected">First Line Support</option>
|
||||
<option value="650">Forum Moderators</option>
|
||||
<option value="700">Staff</option>
|
||||
</select>
|
||||
|
||||
<input type="button" value="Preview" class="hidden button_preview_<?=$TextPrev->getID()?>" title="Preview text" />
|
||||
<input type="submit" value="Send message" />
|
||||
<input type="button" value="Hide" onclick="$('#compose').toggle();return false;" />
|
||||
</form>
|
||||
<div id="compose" class="<?=($Hidden ? 'hidden' : '')?>">
|
||||
<form class="send_form" name="staff_message" action="staffpm.php" method="post">
|
||||
<input type="hidden" name="action" value="takepost" />
|
||||
<h3><label for="subject">Subject</label></h3>
|
||||
<input size="95" type="text" name="subject" id="subject" />
|
||||
<br />
|
||||
|
||||
<h3><label for="message">Message</label></h3>
|
||||
<?
|
||||
$TextPrev = new TEXTAREA_PREVIEW('message', 'message', '', 95, 10, true, false);
|
||||
?>
|
||||
<br />
|
||||
|
||||
<strong>Send to: </strong>
|
||||
<select name="level">
|
||||
<option value="0" selected="selected">First Line Support</option>
|
||||
<option value="650">Forum Moderators</option>
|
||||
<option value="700">Staff</option>
|
||||
</select>
|
||||
|
||||
<input type="button" value="Preview" class="hidden button_preview_<?=$TextPrev->getID()?>" title="Preview text" />
|
||||
<input type="submit" value="Send message" />
|
||||
<input type="button" value="Hide" onclick="$('#compose').toggle();return false;" />
|
||||
</form>
|
||||
</div>
|
@ -360,7 +360,7 @@ function display_name($ReleaseType) {
|
||||
<tr class="releases_<?=$ReleaseType?> groupid_<?=$GroupID?> edition_<?=$EditionID?> group_torrent discog <?=$HideDiscog?>">
|
||||
<td class="artist_normalcol" colspan="2">
|
||||
<span>
|
||||
[ <a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a> ]
|
||||
<a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
|
||||
</span>
|
||||
» <a href="torrents.php?id=<?=$GroupID?>&torrentid=<?=$TorrentID?>"><?=Torrents::torrent_info($Torrent)?></a>
|
||||
</td>
|
||||
|
@ -111,9 +111,6 @@
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
<? if (check_perms('users_mod') || check_perms("site_mark_suggestions")) { ?>
|
||||
<a href="tools.php?action=suggestions" class="brackets">Scoreboard</a>
|
||||
<? } ?>
|
||||
|
||||
|
||||
<?
|
||||
|
@ -48,17 +48,17 @@
|
||||
b.Time
|
||||
FROM staff_blog AS b LEFT JOIN users_main AS um ON b.UserID=um.ID
|
||||
ORDER BY Time DESC");
|
||||
$Blog = $DB->to_array();
|
||||
$Cache->cache_value('staff_blog',$Blog,1209600);
|
||||
$Blog = $DB->to_array(false, MYSQLI_NUM);
|
||||
$Cache->cache_value('staff_blog', $Blog, 1209600);
|
||||
}
|
||||
if(($ReadTime = $Cache->get_value('staff_blog_read_'.$LoggedUser['ID'])) === false) {
|
||||
if (($SBlogReadTime = $Cache->get_value('staff_blog_read_'.$LoggedUser['ID'])) === false) {
|
||||
$DB->query("SELECT Time FROM staff_blog_visits WHERE UserID = ".$LoggedUser['ID']);
|
||||
if (list($ReadTime) = $DB->next_record()) {
|
||||
$ReadTime = strtotime($ReadTime);
|
||||
if (list($SBlogReadTime) = $DB->next_record()) {
|
||||
$SBlogReadTime = strtotime($SBlogReadTime);
|
||||
} else {
|
||||
$ReadTime = 0;
|
||||
$SBlogReadTime = 0;
|
||||
}
|
||||
$Cache->cache_value('staff_blog_read_'.$LoggedUser['ID'],$ReadTime,1209600);
|
||||
$Cache->cache_value('staff_blog_read_'.$LoggedUser['ID'], $SBlogReadTime, 1209600);
|
||||
}
|
||||
?>
|
||||
<ul class="stats nobullet">
|
||||
@ -70,9 +70,12 @@
|
||||
}
|
||||
for($i = 0; $i < $Limit; $i++) {
|
||||
list($BlogID, $Author, $Title, $Body, $BlogTime, $ThreadID) = $Blog[$i];
|
||||
$BlogTime = strtotime($BlogTime);
|
||||
?>
|
||||
<li>
|
||||
<?=($ReadTime < strtotime($BlogTime))?'<strong>':''?><?=($i + 1)?>. <a href="staffblog.php#blog<?=$BlogID?>"><?=$Title?></a><?=($ReadTime < strtotime($BlogTime))?'</strong>':''?>
|
||||
<?=($SBlogReadTime < $BlogTime) ? '<strong>' : ''?><?=($i + 1)?>.
|
||||
<a href="staffblog.php#blog<?=$BlogID?>"><?=$Title?></a>
|
||||
<?=($SBlogReadTime < $BlogTime)?'</strong>':''?>
|
||||
</li>
|
||||
<?
|
||||
}
|
||||
|
@ -234,7 +234,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box box_votes">
|
||||
<div class="head"><strong>Top Contributors</strong></div>
|
||||
<div class="head"><strong>Top contributors</strong></div>
|
||||
<table class="layout">
|
||||
<? $VoteMax = ($VoteCount < 5 ? $VoteCount : 5);
|
||||
$ViewerVote = false;
|
||||
@ -285,7 +285,7 @@
|
||||
<? if($CategoryName == "Music") {
|
||||
if(!empty($RecordLabel)) { ?>
|
||||
<tr>
|
||||
<td class="label">Record Label</td>
|
||||
<td class="label">Record label</td>
|
||||
<td>
|
||||
<?=$RecordLabel?>
|
||||
</td>
|
||||
@ -293,39 +293,39 @@
|
||||
<? }
|
||||
if(!empty($CatalogueNumber)) { ?>
|
||||
<tr>
|
||||
<td class="label">Catalogue Number</td>
|
||||
<td class="label">Catalogue number</td>
|
||||
<td>
|
||||
<?=$CatalogueNumber?>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<td class="label">Release Type</td>
|
||||
<td class="label">Release type</td>
|
||||
<td>
|
||||
<?=$ReleaseName?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Acceptable Bitrates</td>
|
||||
<td class="label">Acceptable bitrates</td>
|
||||
<td>
|
||||
<?=$BitrateString?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Acceptable Formats</td>
|
||||
<td class="label">Acceptable formats</td>
|
||||
<td>
|
||||
<?=$FormatString?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Acceptable Media</td>
|
||||
<td class="label">Acceptable media</td>
|
||||
<td>
|
||||
<?=$MediaString?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if(!empty($LogCue)) { ?>
|
||||
<tr>
|
||||
<td class="label">Required CD FLAC only extra(s)</td>
|
||||
<td class="label">Required CD FLAC only extras</td>
|
||||
<td>
|
||||
<?=$LogCue?>
|
||||
</td>
|
||||
@ -358,23 +358,23 @@
|
||||
$GroupLink = Artists::display_artists($Group['ExtendedArtists']).'<a href="torrents.php?id='.$GroupID.'">'.$Group['Name'].'</a>';*/
|
||||
?>
|
||||
<tr>
|
||||
<td class="label">Torrent Group</td>
|
||||
<td class="label">Torrent group</td>
|
||||
<td><a href="torrents.php?id=<?=$GroupID?>">torrents.php?id=<?=$GroupID?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<td class="label">Votes</td>
|
||||
<td>
|
||||
<span id="votecount"><?=$VoteCount?></span>
|
||||
<span id="votecount"><?=number_format($VoteCount)?></span>
|
||||
<? if($CanVote) { ?>
|
||||
<a href="javascript:Vote(0)"><strong>(+)</strong></a>
|
||||
<a href="javascript:Vote(0)" class="brackets"><strong>+</strong></a>
|
||||
<strong>Costs <?=Format::get_size($MinimumVote, 0)?></strong>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($LastVote > $TimeAdded) { ?>
|
||||
<tr>
|
||||
<td class="label">Last Voted</td>
|
||||
<td class="label">Last voted</td>
|
||||
<td>
|
||||
<?=time_diff($LastVote)?>
|
||||
</td>
|
||||
@ -429,7 +429,7 @@
|
||||
<strong><a href="torrents.php?<?=(strtotime($TimeFilled)<$TimeCompare?'id=':'torrentid=').$TorrentID?>">Yes</a></strong>,
|
||||
by user <?=Users::format_username($FillerID, false, false, false)?>
|
||||
<? if($LoggedUser['ID'] == $RequestorID || $LoggedUser['ID'] == $FillerID || check_perms('site_moderate_requests')) { ?>
|
||||
<strong><a href="requests.php?action=unfill&id=<?=$RequestID?>">(Unfill)</a></strong> Unfilling a request without a valid, nontrivial reason will result in a warning.
|
||||
<strong><a href="requests.php?action=unfill&id=<?=$RequestID?>" class="brackets">Unfill</a></strong> Unfilling a request without a valid, nontrivial reason will result in a warning.
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -446,7 +446,7 @@
|
||||
<strong>Should be the permalink (PL) to the torrent (e.g. https://<?=SSL_SITE_URL?>/torrents.php?torrentid=xxxx).</strong>
|
||||
<br />
|
||||
<br />
|
||||
<? if(check_perms('site_moderate_requests')) { ?> For User: <input type="text" size="25" name="user" <?=(!empty($FillerUsername) ? "value='$FillerUsername' " : '')?>/>
|
||||
<? if(check_perms('site_moderate_requests')) { ?> For user: <input type="text" size="25" name="user" <?=(!empty($FillerUsername) ? "value='$FillerUsername' " : '')?>/>
|
||||
<br />
|
||||
<? } ?>
|
||||
<input type="submit" value="Fill request" />
|
||||
@ -463,7 +463,7 @@
|
||||
if($RequestLog) {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2" class="center"><strong><a href="#" onclick="$('#request_log').toggle(); return false;">Request Log</a></strong></td>
|
||||
<td colspan="2" class="center"><strong><a href="#" onclick="$('#request_log').toggle(); return false;">Request log</a></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
|
@ -331,6 +331,23 @@
|
||||
<div class="header">
|
||||
<h2><?=$Title?></h2>
|
||||
</div>
|
||||
<div class="linkbox">
|
||||
<? if (!$BookmarkView) {
|
||||
if (check_perms('site_submit_requests')) { ?>
|
||||
<a href="requests.php?action=new" class="brackets">New request</a>
|
||||
<a href="requests.php?type=created" class="brackets">My requests</a>
|
||||
<? }
|
||||
if (check_perms('site_vote')) { ?>
|
||||
<a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
||||
<? } ?>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Bookmarked requests</a>
|
||||
<? } else { ?>
|
||||
<a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
|
||||
<a href="bookmarks.php?type=artists" class="brackets">Artists</a>
|
||||
<a href="bookmarks.php?type=collages" class="brackets">Collages</a>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Requests</a>
|
||||
<? } ?>
|
||||
</div>
|
||||
<form class="search_form" name="requests" action="" method="get">
|
||||
<? if ($BookmarkView) { ?>
|
||||
<input type="hidden" name="action" value="view" />
|
||||
@ -469,23 +486,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class="linkbox">
|
||||
<? if (!$BookmarkView) {
|
||||
if (check_perms('site_submit_requests')) { ?>
|
||||
<a href="requests.php?action=new" class="brackets">New request</a>
|
||||
<a href="requests.php?type=created" class="brackets">My requests</a>
|
||||
<? }
|
||||
if (check_perms('site_vote')) { ?>
|
||||
<a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
||||
<? } ?>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Bookmarked requests</a>
|
||||
<? } else { ?>
|
||||
<a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
|
||||
<a href="bookmarks.php?type=artists" class="brackets">Artists</a>
|
||||
<a href="bookmarks.php?type=collages" class="brackets">Collages</a>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Requests</a>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
<? if($NumResults) { ?>
|
||||
<div class="linkbox">
|
||||
@ -611,13 +611,13 @@
|
||||
<td class="nobr">
|
||||
<? if(!$IsFilled && check_perms('site_vote')){ ?>
|
||||
<form class="add_form" name="request" id="form_<?=$RequestID?>" action="">
|
||||
<span id="vote_count_<?=$RequestID?>"><?=$VoteCount?></span>
|
||||
<span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
|
||||
<input type="hidden" id="requestid_<?=$RequestID?>" name="requestid" value="<?=$RequestID?>" />
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<a href="javascript:Vote(0, <?=$RequestID?>)"><strong>(+)</strong></a>
|
||||
<a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
|
||||
</form>
|
||||
<? } else { ?>
|
||||
<span id="vote_count_<?=$RequestID?>"><?=$VoteCount?></span>
|
||||
<span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td class="nobr">
|
||||
|
@ -26,13 +26,13 @@ if(!empty($_GET['tags'])){
|
||||
$TagNames[] = $Tag;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($TagMatcher == "any") {
|
||||
$ExtraJoins[] = "LEFT JOIN requests_tags AS rt ON r.ID=rt.RequestID";
|
||||
$ExtraJoins[] = "LEFT JOIN requests_tags AS rt ON r.ID=rt.RequestID";
|
||||
$ExtraJoins[] = "LEFT JOIN tags AS t ON t.ID=rt.TagID";
|
||||
$Wheres[] = "t.Name IN ('".implode("', '", $TagNames)."')";
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ if(!empty($_GET['bitrates'])) {
|
||||
}
|
||||
}
|
||||
|
||||
if(empty($_GET['type'])) {
|
||||
if(empty($_GET['type'])) {
|
||||
$Title = 'Requests';
|
||||
if(!check_perms('site_see_old_requests') || empty($_GET['showall'])) {
|
||||
$Wheres[] = "(TorrentID = 0 OR (TimeFilled > (NOW() - INTERVAL 3 DAY)))";
|
||||
@ -207,7 +207,7 @@ if(count($ExtraJoins)) {
|
||||
|
||||
// Build SQL query
|
||||
$DB->query("SELECT
|
||||
SQL_CALC_FOUND_ROWS
|
||||
SQL_CALC_FOUND_ROWS
|
||||
r.ID,
|
||||
r.CategoryID,
|
||||
r.Title,
|
||||
@ -248,13 +248,13 @@ show_header($Title, 'requests');
|
||||
<div class="header">
|
||||
<h2><?=$Title?></h2>
|
||||
<div class="linkbox">
|
||||
<? if(check_perms('site_submit_requests')){ ?>
|
||||
<? if(check_perms('site_submit_requests')){ ?>
|
||||
<a href="requests.php?action=new" class="brackets">New request</a>
|
||||
<a href="requests.php?type=created" class="brackets">My requests</a>
|
||||
<? }
|
||||
if(check_perms('site_vote')){?>
|
||||
<? }
|
||||
if(check_perms('site_vote')){?>
|
||||
<a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="center">
|
||||
@ -276,14 +276,14 @@ show_header($Title, 'requests');
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<? if(check_perms('site_see_old_requests')){ ?>
|
||||
<? if(check_perms('site_see_old_requests')){ ?>
|
||||
<tr>
|
||||
<td class="label">Include filled:</td>
|
||||
<td>
|
||||
<input type="checkbox" name="showall" <? if($_GET['showall']) {?>checked="checked"<? } ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<? /* ?>
|
||||
<? /* ?>
|
||||
<tr>
|
||||
<td class="label">Requested by:</td>
|
||||
<td>
|
||||
@ -336,19 +336,19 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
<input type="checkbox" id="toggle_formats" onchange="Toggle('formats');" /> Toggle All
|
||||
<? foreach ($Formats as $Key => $Val) {
|
||||
if($Key % 8 == 0) echo "<br />";?>
|
||||
<input type="checkbox" name="formats[]" value="<?=$Key?>"
|
||||
<input type="checkbox" name="formats[]" value="<?=$Key?>"
|
||||
<?=(((!$Submitted) || !empty($FormatArray) && in_array($Key, $FormatArray)) ? ' checked="checked" ' : '')?>
|
||||
/> <?=$Val?>
|
||||
<? }?>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr id="bitrate_list">
|
||||
<td class="label">Bitrates</td>
|
||||
<td>
|
||||
<input type="checkbox" id="toggle_bitrates" onchange="Toggle('bitrates');" /> Toggle All
|
||||
<? foreach ($Bitrates as $Key => $Val) {
|
||||
if($Key % 8 == 0) echo "<br />";?>
|
||||
<input type="checkbox" name="bitrates[]" value="<?=$Key?>"
|
||||
<input type="checkbox" name="bitrates[]" value="<?=$Key?>"
|
||||
<?=(((!$Submitted) || !empty($BitrateArray) && in_array($Key, $BitrateArray)) ? ' checked="checked" ' : '')?>
|
||||
/> <?=$Val?>
|
||||
<? }?>
|
||||
@ -360,7 +360,7 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
<input type="checkbox" id="toggle_media" onchange="Toggle('media');" /> Toggle All
|
||||
<? foreach ($Media as $Key => $Val) {
|
||||
if($Key % 8 == 0) echo "<br />";?>
|
||||
<input type="checkbox" name="media[]" value="<?=$Key?>"
|
||||
<input type="checkbox" name="media[]" value="<?=$Key?>"
|
||||
<?=(((!$Submitted) || !empty($MediaArray) && in_array($Key, $MediaArray)) ? ' checked="checked" ' : '')?>
|
||||
/> <?=$Val?>
|
||||
<? }?>
|
||||
@ -371,14 +371,14 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
<input type="submit" value="Search requests" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="linkbox">
|
||||
<?=$PageLinks?>
|
||||
</div>
|
||||
|
||||
|
||||
<table id="request_table" class="request_table" cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
|
||||
<tr class="colhead_dark">
|
||||
<td style="width: 38%;">
|
||||
@ -415,10 +415,10 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
$Row = 'a';
|
||||
foreach ($Requests as $Request) {
|
||||
list($RequestID, $CategoryID, $Title, $Year, $Bounty, $Votes, $FillerID, $FillerName, $TorrentID, $TimeFilled, $RequestorID, $RequestorName, $TimeAdded, $LastVote) = $Request;
|
||||
|
||||
|
||||
$CategoryName = $Categories[$CategoryID - 1];
|
||||
$IsFilled = ($TorrentID != 0);
|
||||
|
||||
|
||||
if($CategoryName == "Music") {
|
||||
$ArtistForm = get_request_artists($RequestID);
|
||||
$ArtistLink = display_artists($ArtistForm, true, true);
|
||||
@ -428,16 +428,16 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
} else {
|
||||
$FullName ="<a href='requests.php?action=view&id=".$RequestID."'>".$Title."</a>";
|
||||
}
|
||||
|
||||
|
||||
$Row = ($Row == 'a') ? 'b' : 'a';
|
||||
|
||||
|
||||
$Tags = get_request_tags($RequestID);
|
||||
?>
|
||||
<tr class="row<?=$Row?>">
|
||||
<td>
|
||||
<?=$FullName?>
|
||||
<div class="tags">
|
||||
<?
|
||||
<?
|
||||
$TagList = array();
|
||||
foreach($Tags as $TagID => $TagName) {
|
||||
$TagList[] = "<a href='requests.php?tag=".$TagID."'>".display_str($TagName)."</a>";
|
||||
@ -451,8 +451,8 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
<?=$Votes?>
|
||||
<? if(!$IsFilled && check_perms('site_vote')){ ?>
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<a href="javascript:Vote()"><strong>(+)</strong></a>
|
||||
<? } ?>
|
||||
<a href="javascript:Vote()" class="brackets"><strong>+</strong></a>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
<?=get_size($Bounty)?>
|
||||
|
@ -5,8 +5,10 @@
|
||||
error(403);
|
||||
}
|
||||
|
||||
$DB->query("INSERT INTO staff_blog_visits (UserID, Time) VALUES (".$LoggedUser['ID'].", NOW()) ON DUPLICATE KEY UPDATE Time=NOW()");
|
||||
$Cache->delete_value('staff_blog_read_'.$LoggedUser['ID']);
|
||||
|
||||
define('ANNOUNCEMENT_FORUM_ID', 19);
|
||||
View::show_header('Staff Blog','bbcode');
|
||||
require(SERVER_ROOT.'/classes/class_text.php');
|
||||
$Text = new TEXT;
|
||||
|
||||
@ -49,9 +51,10 @@
|
||||
}
|
||||
$Title = db_string($_POST['title']);
|
||||
$Body = db_string($_POST['body']);
|
||||
|
||||
$DB->query("INSERT INTO staff_blog (UserID, Title, Body, Time) VALUES ('$LoggedUser[ID]', '".db_string($_POST['title'])."', '".db_string($_POST['body'])."', '".sqltime()."')");
|
||||
|
||||
$DB->query("INSERT INTO staff_blog (UserID, Title, Body, Time) VALUES ('$LoggedUser[ID]', '".db_string($_POST['title'])."', '".db_string($_POST['body'])."', NOW())");
|
||||
$Cache->delete_value('staff_blog');
|
||||
$Cache->delete_value('staff_blog_latest_time');
|
||||
|
||||
send_irc("PRIVMSG ".ADMIN_CHAN." :!blog " . $_POST['title']);
|
||||
|
||||
@ -59,7 +62,7 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
View::show_header('Staff Blog','bbcode');
|
||||
?>
|
||||
<div class="box thin">
|
||||
<div class="head">
|
||||
@ -88,11 +91,13 @@
|
||||
</div>
|
||||
<br />
|
||||
<?
|
||||
} else {
|
||||
View::show_header('Staff Blog','bbcode');
|
||||
}
|
||||
?>
|
||||
<div class="thin">
|
||||
<?
|
||||
if (!$Blog = $Cache->get_value('staff_blog')) {
|
||||
if (($Blog = $Cache->get_value('staff_blog')) === false) {
|
||||
$DB->query("SELECT
|
||||
b.ID,
|
||||
um.Username,
|
||||
@ -101,15 +106,13 @@
|
||||
b.Time
|
||||
FROM staff_blog AS b LEFT JOIN users_main AS um ON b.UserID=um.ID
|
||||
ORDER BY Time DESC");
|
||||
$Blog = $DB->to_array();
|
||||
$Cache->cache_value('Blog',$Blog,1209600);
|
||||
$Blog = $DB->to_array(false, MYSQLI_NUM);
|
||||
$Cache->cache_value('staff_blog', $Blog, 1209600);
|
||||
}
|
||||
|
||||
$DB->query("INSERT INTO staff_blog_visits (UserID, Time) VALUES (".$LoggedUser['ID'].", NOW()) ON DUPLICATE KEY UPDATE Time=NOW()");
|
||||
$Cache->delete_value('staff_blog_read_'.$LoggedUser['ID']);
|
||||
|
||||
foreach ($Blog as $BlogItem) {
|
||||
list($BlogID, $Author, $Title, $Body, $BlogTime) = $BlogItem;
|
||||
$BlogTime = strtotime($BlogTime);
|
||||
?>
|
||||
<div id="blog<?=$BlogID?>" class="box">
|
||||
<div class="head">
|
||||
|
@ -17,7 +17,7 @@
|
||||
<table>
|
||||
<tr class="colhead">
|
||||
<th>Username</th>
|
||||
<th>Receiving bitcoin address</th>
|
||||
<th>Receiving Bitcoin address</th>
|
||||
<th>Amount</th>
|
||||
</tr>
|
||||
<?
|
||||
|
@ -11,7 +11,8 @@
|
||||
"Already Implemented",
|
||||
"Already Rejected Suggestion/Against The Rules",
|
||||
"Awful Suggestion",
|
||||
"Suggestion"
|
||||
"Suggestion",
|
||||
"Approved Suggestion"
|
||||
)?>
|
||||
|
||||
|
||||
|
@ -2,12 +2,12 @@
|
||||
if(!check_perms('admin_dnu')) { error(403); }
|
||||
|
||||
View::show_header('Manage do not upload list');
|
||||
$DB->query("SELECT
|
||||
$DB->query("SELECT
|
||||
d.ID,
|
||||
d.Name,
|
||||
d.Comment,
|
||||
d.UserID,
|
||||
d.Time
|
||||
d.Name,
|
||||
d.Comment,
|
||||
d.UserID,
|
||||
d.Time
|
||||
FROM do_not_upload as d
|
||||
LEFT JOIN users_main AS um ON um.ID=d.UserID
|
||||
ORDER BY d.Time DESC");
|
||||
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<? while(list($ID, $Name, $Comment, $UserID, $DNUTime) = $DB->next_record()){ ?>
|
||||
<tr>
|
||||
<form class="manage_form" class="dnu" action="tools.php" method="post">
|
||||
<form class="manage_form dnu" action="tools.php" method="post">
|
||||
<td>
|
||||
<input type="hidden" name="action" value="dnu_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -36,7 +36,8 @@
|
||||
</td>
|
||||
<td>
|
||||
<?=Users::format_username($UserID, false, false, false)?><br />
|
||||
<?=time_diff($DNUTime, 1)?></td>
|
||||
<?=time_diff($DNUTime, 1)?>
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" name="submit" value="Edit" />
|
||||
<input type="submit" name="submit" value="Delete" />
|
||||
@ -63,4 +64,4 @@
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<? View::show_footer(); ?>
|
||||
<? View::show_footer(); ?>
|
||||
|
@ -81,7 +81,7 @@
|
||||
LEFT JOIN torrents_group AS g ON g.ID = t.GroupID
|
||||
".$Where."
|
||||
ORDER BY tht.Rank ASC");
|
||||
|
||||
|
||||
$Details = $DB->to_array();
|
||||
|
||||
$Cache->cache_value('top10_history_'.$SQLTime, $Details, 3600*24);
|
||||
@ -109,13 +109,13 @@
|
||||
if($GroupID) {
|
||||
//Group still exists
|
||||
$DisplayName='';
|
||||
|
||||
|
||||
$Artists = Artists::get_artist($GroupID);
|
||||
|
||||
|
||||
if(!empty($Artists)) {
|
||||
$DisplayName = Artists::display_artists($Artists, true, true);
|
||||
}
|
||||
|
||||
|
||||
$DisplayName .= "<a href='torrents.php?id=$GroupID&torrentid=$TorrentID' title='View Torrent'>$GroupName</a>";
|
||||
|
||||
if($GroupCategoryID==1 && $GroupYear>0) {
|
||||
@ -145,7 +145,7 @@
|
||||
$TorrentTags = $TagString;
|
||||
}
|
||||
$TagList=array();
|
||||
|
||||
|
||||
$PrimaryTag = '';
|
||||
if($TorrentTags!='') {
|
||||
foreach ($TorrentTags as $TagKey => $TagName) {
|
||||
@ -168,7 +168,7 @@
|
||||
?>
|
||||
<td class="center cats_col"><div title="<?=ucfirst(str_replace('_',' ',$PrimaryTag))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$GroupCatOffset]))?> tags_<?=str_replace('.','_',$PrimaryTag)?>"></div></td>
|
||||
<td>
|
||||
<span><?=($GroupID ? '[ <a href="torrents.php?action=download&id='.$TorrentID.'&authkey='.$LoggedUser['AuthKey'].'&torrent_pass='.$LoggedUser['torrent_pass'].' title="Download">DL</a> ]' : '(Deleted)')?></span>
|
||||
<span><?=($GroupID ? '<a href="torrents.php?action=download&id='.$TorrentID.'&authkey='.$LoggedUser['AuthKey'].'&torrent_pass='.$LoggedUser['torrent_pass'].' title="Download" class="brackets">DL</a>' : '(Deleted)')?></span>
|
||||
<?=$DisplayName?>
|
||||
<?=$TorrentTags?>
|
||||
</td>
|
||||
|
@ -156,6 +156,7 @@ function js_pages($Action, $TorrentID, $NumResults, $CurrentPage) {
|
||||
|
||||
case 'notify_clear':
|
||||
case 'notify_clear_item':
|
||||
case 'notify_clear_items':
|
||||
case 'notify_clearitem':
|
||||
case 'notify_clear_filter':
|
||||
case 'notify_cleargroup':
|
||||
|
@ -195,7 +195,7 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
<form class="manage_form" name="torrents" id="notificationform_<?=$FilterID?>" action="">
|
||||
<table class="torrent_table cats checkboxes border">
|
||||
<tr class="colhead">
|
||||
<td style="text-align: center"><input type="checkbox" name="toggle" onclick="ToggleBoxes(this.form, this.checked)" /></td>
|
||||
<td style="text-align: center"><input type="checkbox" name="toggle" onclick="toggleBoxes(<?=$FilterID?>, this.checked)" /></td>
|
||||
<td class="small cats_col"></td>
|
||||
<td style="width:100%;">Name<?=$TorrentCount <= NOTIFICATIONS_MAX_SLOWSORT ? ' / <a href="'.header_link('year').'">Year</a>' : ''?></td>
|
||||
<td>Files</td>
|
||||
@ -265,7 +265,7 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
// print row
|
||||
?>
|
||||
<tr class="torrent torrent_row<?=($TorrentInfo['IsSnatched'] ? ' snatched_torrent' : '') . ($GroupInfo['Flags']['IsSnatched'] ? ' snatched_group' : '')?>" id="torrent<?=$TorrentID?>"<?=$MatchingArtistsText ? 'title="'.display_str($MatchingArtistsText).'"' : ''?>>
|
||||
<td style="text-align: center"><input type="checkbox" value="<?=$TorrentID?>" id="clear_<?=$TorrentID?>" /></td>
|
||||
<td style="text-align: center"><input type="checkbox" class="notify_box notify_box_<?=$FilterID?>" value="<?=$TorrentID?>" id="clear_<?=$TorrentID?>" /></td>
|
||||
<td class="center cats_col"><div title="<?=ucfirst(str_replace('_',' ',$MainTag))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$GroupCategoryID-1])).' tags_'.str_replace('.','_',$MainTag)?>"></div></td>
|
||||
<td>
|
||||
<span>
|
||||
|
@ -15,6 +15,20 @@
|
||||
$Cache->delete_value('notifications_new_'.$LoggedUser['ID']);
|
||||
break;
|
||||
|
||||
case 'notify_clear_items':
|
||||
if(!isset($_GET['torrentids'])) {
|
||||
error(0);
|
||||
}
|
||||
$TorrentIDs = explode(',', $_GET['torrentids']);
|
||||
foreach ($TorrentIDs as $TorrentID) {
|
||||
if (!is_number($TorrentID)) {
|
||||
error(0);
|
||||
}
|
||||
}
|
||||
$DB->query("DELETE FROM users_notify_torrents WHERE UserID = $LoggedUser[ID] AND TorrentID IN ($_GET[torrentids])");
|
||||
$Cache->delete_value('notifications_new_'.$LoggedUser['ID']);
|
||||
break;
|
||||
|
||||
case 'notify_clear_filter':
|
||||
case 'notify_cleargroup':
|
||||
if(!isset($_GET['filterid']) || !is_number($_GET['filterid'])) {
|
||||
|
@ -71,10 +71,10 @@
|
||||
$ActionTitle="Hide";
|
||||
$ActionURL="hide";
|
||||
$ShowGroups = 0;
|
||||
|
||||
|
||||
foreach ($CollageSubs as $Collage) {
|
||||
unset($TorrentTable);
|
||||
|
||||
|
||||
list($CollageID, $CollageName, $CollageSize, $LastVisit) = $Collage;
|
||||
$RS = $DB->query("SELECT ct.GroupID,
|
||||
tg.WikiImage,
|
||||
@ -87,7 +87,7 @@
|
||||
$NewTorrentCount = $DB->record_count();
|
||||
//$NewTorrents = $DB->to_array();
|
||||
//$Artists = Artists::get_artists($GroupID);
|
||||
|
||||
|
||||
$GroupIDs = $DB->collect('GroupID');
|
||||
$CollageDataList=$DB->to_array('GroupID', MYSQLI_ASSOC);
|
||||
if(count($GroupIDs)>0) {
|
||||
@ -96,10 +96,10 @@
|
||||
} else {
|
||||
$TorrentList = array();
|
||||
}
|
||||
|
||||
|
||||
$Artists = Artists::get_artists($GroupIDs);
|
||||
$Number = 0;
|
||||
|
||||
|
||||
// foreach ($NewTorrents as $TorrentGroup) {
|
||||
// list($GroupID, $GroupName, $GroupYear, $ReleaseType, $RecordLabel, $CatalogueNumber, $WikiImage) = $TorrentGroup;
|
||||
// $DisplayName = Artists::display_artists($Artists[$GroupID]);
|
||||
@ -109,7 +109,7 @@
|
||||
list($GroupID2, $Image, $GroupCategoryID) = array_values($CollageDataList[$GroupID]);
|
||||
|
||||
unset($DisplayName);
|
||||
|
||||
|
||||
$TagList = explode(' ',str_replace('_','.',$TagList));
|
||||
|
||||
$TorrentTags = array();
|
||||
@ -124,7 +124,7 @@
|
||||
$PrimaryTag = $TagList[0];
|
||||
$TorrentTags = implode(', ', $TorrentTags);
|
||||
$TorrentTags='<br /><div class="tags">'.$TorrentTags.'</div>';
|
||||
|
||||
|
||||
if (!empty($ExtendedArtists[1]) || !empty($ExtendedArtists[4]) || !empty($ExtendedArtists[5]) || !empty($ExtendedArtists[6])) {
|
||||
unset($ExtendedArtists[2]);
|
||||
unset($ExtendedArtists[3]);
|
||||
@ -137,9 +137,9 @@
|
||||
if($GroupVanityHouse) { $DisplayName .= ' [<abbr title="This is a vanity house release">VH</abbr>]'; }
|
||||
|
||||
$SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : '';
|
||||
|
||||
|
||||
// Start an output buffer, so we can store this output in $TorrentTable
|
||||
ob_start();
|
||||
ob_start();
|
||||
if(count($Torrents)>1 || $GroupCategoryID==1) {
|
||||
?>
|
||||
<tr class="group discog<?=$SnatchedGroupClass?>" id="group_<?=$CollageID?><?=$GroupID?>">
|
||||
@ -150,7 +150,7 @@
|
||||
</td>
|
||||
<? if (!$LoggedUser['HideCollage']) {?>
|
||||
<td style="width: 60px; padding: 0;">
|
||||
<? if ($Image) {
|
||||
<? if ($Image) {
|
||||
if(check_perms('site_proxy_images')) {
|
||||
$Image = 'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?i='.urlencode($Image);
|
||||
}
|
||||
@ -158,9 +158,9 @@
|
||||
<img style="max-width: 60px; max-height: 60px" src="<?=$Image?>" alt="<?=$AltName?>" onclick="lightbox.init(this,60);" />
|
||||
<? } else { ?>
|
||||
<img src="<?=STATIC_SERVER?>common/noartwork/<?=$CategoryIcons[$GroupCategoryID-1]?>" alt="<?=$Categories[$GroupCategoryID-1]?>" title="<?=$Categories[$GroupCategoryID-1]?>" width="60" height="60" border="0" />
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
</td>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
<td colspan="5" style="vertical-align: middle;">
|
||||
<strong><?=$DisplayName?></strong>
|
||||
<?=$TorrentTags?>
|
||||
@ -172,30 +172,30 @@
|
||||
$LastRemasterRecordLabel = '';
|
||||
$LastRemasterCatalogueNumber = '';
|
||||
$LastMedia = '';
|
||||
|
||||
|
||||
$EditionID = 0;
|
||||
unset($FirstUnknown);
|
||||
|
||||
|
||||
foreach ($Torrents as $TorrentID => $Torrent) {
|
||||
|
||||
if ($Torrent['Remastered'] && !$Torrent['RemasterYear']) {
|
||||
$FirstUnknown = !isset($FirstUnknown);
|
||||
}
|
||||
$SnatchedTorrentClass = $Torrent['IsSnatched'] ? ' snatched_torrent' : '';
|
||||
|
||||
|
||||
if($Torrent['RemasterTitle'] != $LastRemasterTitle || $Torrent['RemasterYear'] != $LastRemasterYear ||
|
||||
$Torrent['RemasterRecordLabel'] != $LastRemasterRecordLabel || $Torrent['RemasterCatalogueNumber'] != $LastRemasterCatalogueNumber || $FirstUnknown || $Torrent['Media'] != $LastMedia) {
|
||||
if($Torrent['Remastered'] && $Torrent['RemasterYear'] != 0) {
|
||||
|
||||
|
||||
$EditionID++;
|
||||
|
||||
|
||||
$RemasterName = $Torrent['RemasterYear'];
|
||||
$AddExtra = " - ";
|
||||
if($Torrent['RemasterRecordLabel']) { $RemasterName .= $AddExtra.display_str($Torrent['RemasterRecordLabel']); $AddExtra=' / '; }
|
||||
if($Torrent['RemasterCatalogueNumber']) { $RemasterName .= $AddExtra.display_str($Torrent['RemasterCatalogueNumber']); $AddExtra=' / '; }
|
||||
if($Torrent['RemasterTitle']) { $RemasterName .= $AddExtra.display_str($Torrent['RemasterTitle']); $AddExtra=' / '; }
|
||||
$RemasterName .= $AddExtra.display_str($Torrent['Media']);
|
||||
|
||||
|
||||
?>
|
||||
<tr class="group_torrent groupid_<?=$CollageID . $GroupID?> edition<?=$SnatchedGroupClass?> hidden">
|
||||
<td colspan="<?=($LoggedUser['HideCollage']?'6':'7')?>" class="edition_info"><strong><a href="#" onclick="toggle_edition(<?=$CollageID?><?=$GroupID?>, <?=$EditionID?>, this, event)" title="Collapse this edition. Hold "Ctrl" while clicking to collapse all editions in this torrent group.">−</a> <?=$RemasterName?></strong></td>
|
||||
@ -227,7 +227,7 @@
|
||||
<tr class="group_torrent groupid_<?=$CollageID . $GroupID?> edition_<?=$EditionID?> hidden<?=$SnatchedTorrentClass . $SnatchedGroupClass?>">
|
||||
<td colspan="<?=($LoggedUser['HideCollage']?'2':'3')?>">
|
||||
<span>
|
||||
[ <a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a> ]
|
||||
<a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
|
||||
</span>
|
||||
» <a href="torrents.php?id=<?=$GroupID?>&torrentid=<?=$TorrentID?>"><?=Torrents::torrent_info($Torrent)?></a>
|
||||
</td>
|
||||
@ -240,11 +240,11 @@
|
||||
}
|
||||
} else {
|
||||
// Viewing a type that does not require grouping
|
||||
|
||||
|
||||
list($TorrentID, $Torrent) = each($Torrents);
|
||||
|
||||
|
||||
$DisplayName = '<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
||||
|
||||
|
||||
if($Torrent['IsSnatched']) {
|
||||
$DisplayName .=' ' . Format::torrent_label('Snatched!');
|
||||
}
|
||||
@ -261,7 +261,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<span>
|
||||
[ <a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a>
|
||||
[ <a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a>
|
||||
| <a href="reportsv2.php?action=report&id=<?=$TorrentID?>" title="Report">RP</a> ]
|
||||
</span>
|
||||
<strong><?=$DisplayName?></strong>
|
||||
|
@ -71,7 +71,7 @@
|
||||
<input value="Search" type="submit" class="hidden" />
|
||||
</form>
|
||||
<br style="line-height:10px;" />
|
||||
<strong><a href="wiki.php?action=browse">Browse articles</a></strong>
|
||||
<strong><a href="wiki.php?action=browse" class="brackets">Browse articles</a></strong>
|
||||
</div>
|
||||
<div class="box box_info pad">
|
||||
<ul>
|
||||
|
@ -1,29 +1,50 @@
|
||||
function Clear(torrentid) {
|
||||
ajax.get("?action=notify_clear_item&torrentid=" + torrentid + "&auth=" + authkey, function() {
|
||||
$("#torrent" + torrentid).remove();
|
||||
});
|
||||
function clearItem(torrentId) {
|
||||
ajax.get("?action=notify_clear_item&torrentid=" + torrentId + "&auth=" + authkey, function() {
|
||||
$("#torrent" + torrentId).remove();
|
||||
});
|
||||
}
|
||||
|
||||
function GroupClear(form) {
|
||||
for (var i = 0; i < form.elements.length; i++ ) {
|
||||
if (form.elements[i].type == 'checkbox' && form.elements[i].name != 'toggle') {
|
||||
if (form.elements[i].checked == true) {
|
||||
Clear(form.elements[i].value);
|
||||
}
|
||||
}
|
||||
function clearSelected(filterId) {
|
||||
var checkBoxes, checkedBoxes = [];
|
||||
if (filterId) {
|
||||
var filterForm = $('#notificationform_'+filterId).raw();
|
||||
checkBoxes = $('.notify_box_'+filterId, filterForm).objects;
|
||||
} else {
|
||||
checkBoxes = $('.notify_box').objects;
|
||||
}
|
||||
for (var i = checkBoxes.length - 1; i >= 0; i--) {
|
||||
if (checkBoxes[i].checked) {
|
||||
checkedBoxes.push(checkBoxes[i].value);
|
||||
}
|
||||
}
|
||||
ajax.get("?action=notify_clear_items&torrentids=" + checkedBoxes.join(',') + "&auth=" + authkey, function() {
|
||||
for (var i = checkedBoxes.length - 1; i >= 0; i--) {
|
||||
$('#torrent' + checkedBoxes[i]).remove();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function toggleBoxes(filterId, value) {
|
||||
var filterForm = $('#notificationform_'+filterId).raw();
|
||||
var checkBoxes = $('.notify_box_'+filterId, filterForm).objects;
|
||||
for (var i = checkBoxes.length - 1; i >= 0; i--) {
|
||||
checkBoxes[i].checked = value;
|
||||
}
|
||||
}
|
||||
|
||||
function ToggleBoxes(form, newval) {
|
||||
/* Remove these */
|
||||
function GroupClear(form) {
|
||||
for (var i = 0; i < form.elements.length; i++ ) {
|
||||
if (form.elements[i].type == 'checkbox' && form.elements[i].name != 'toggle') {
|
||||
form.elements[i].checked = newval;
|
||||
}
|
||||
if (form.elements[i].type == 'checkbox' && form.elements[i].name != 'toggle') {
|
||||
if (form.elements[i].checked == true) {
|
||||
Clear(form.elements[i].value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function SuperGroupClear() {
|
||||
for (var i = 0; i < document.forms.length; i++ ) {
|
||||
GroupClear(document.forms[i]);
|
||||
GroupClear(document.forms[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 671 KiB |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 546 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 608 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 502 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 744 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_apps.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_audiobook.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_comedy.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_ebook.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_learning.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_music.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_shield.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_balloon.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_balloon_unread.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.0 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_lock.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_lock_unread.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_sprite.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_sticky.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_sticky_unread.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
static/styles/minimal/images/minimal_mod_sprite.png
Normal file
After Width: | Height: | Size: 11 KiB |
@ -138,7 +138,7 @@ textarea#quickpost{margin:0; padding:0}
|
||||
top: 1em;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
background: #262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
background: #262626 url(/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
border: 1px solid #757575;
|
||||
margin-top: 12px;
|
||||
white-space: nowrap;
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* inline-block might not work in ie7 */
|
||||
|
||||
/* GLOBAL */
|
||||
body{background:#262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x; color:#F1F1F1; font-family:Arial,sans-serif; font-size:11px; margin:0}
|
||||
body{background:#262626 url(/static/styles/minimal/images/bg.png) repeat-x; color:#F1F1F1; font-family:Arial,sans-serif; font-size:11px; margin:0}
|
||||
h1, h2, h3, h4{margin-top:0; padding:0}
|
||||
a, a:visited, a:active{color:#5AF; text-decoration:none}
|
||||
a:hover{color:#49D; text-decoration:underline}
|
||||
@ -10,7 +10,7 @@ p{margin:0px 0 5px 0}
|
||||
td p{margin:0}
|
||||
input, select, textarea{color:#F1F1F1; padding:3px; background:#262626; border:1px solid #9C9C9C; font-family:Arial,sans-serif; font-size:11px; }
|
||||
input:focus, textarea:focus{border:1px solid #CCC}
|
||||
blockquote{background:transparent url(https://what.cd/static/styles/minimal/images/blockquote.png) repeat; padding:5px; margin:10px; color:#F1F1F1 !important}
|
||||
blockquote{background:transparent url(/static/styles/minimal/images/blockquote.png) repeat; padding:5px; margin:10px; color:#F1F1F1 !important}
|
||||
input[type="submit"]:focus, input[type="button"]:focus{background:#333}
|
||||
input[type="submit"]:active, input[type="button"]:active{background:#5AF}
|
||||
select{padding:1px}
|
||||
@ -54,7 +54,7 @@ textarea#quickpost{margin:0; padding:0}
|
||||
#userinfo_username li:first-child, #userinfo_major li:first-child, #userinfo_minor li:first-child, #userinfo_username li:first-child:hover, #userinfo_major li:first-child:hover, #userinfo_minor li:first-child:hover,
|
||||
#userinfo_username li:first-child a, #userinfo_username li:first-child a:hover, #userinfo_minor li:first-child a, #userinfo_minor li:first-child a:hover,
|
||||
#userinfo_major li:first-child a, #userinfo_major li:first-child a:hover,
|
||||
.show_torrents, .hide_torrents {background-image:url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png)}
|
||||
.show_torrents, .hide_torrents {background-image:url(/static/styles/minimal/images/minimal_mod_sprite.png)}
|
||||
|
||||
/* userinfo start */
|
||||
#userinfo{z-index:3}
|
||||
@ -105,18 +105,18 @@ textarea#quickpost{margin:0; padding:0}
|
||||
#userinfo_stats .stat{color:#5AF}
|
||||
|
||||
/* greasemonkey replacements */
|
||||
#userinfo_username>li:first-child + li>a{ background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -322px;}
|
||||
#userinfo_username>li:first-child + li + li>a{ background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -679px; }
|
||||
#userinfo_username>li:first-child + li>a{ background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -322px;}
|
||||
#userinfo_username>li:first-child + li + li>a{ background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -679px; }
|
||||
|
||||
#userinfo_minor>li:first-child + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -918px; }
|
||||
#userinfo_minor>li:first-child + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -872px; }
|
||||
#userinfo_minor>li:first-child + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -83px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -276px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -958px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -633px; }
|
||||
#userinfo_minor>li:first-child + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -918px; }
|
||||
#userinfo_minor>li:first-child + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -872px; }
|
||||
#userinfo_minor>li:first-child + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -83px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -276px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -958px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -633px; }
|
||||
|
||||
#userinfo_major>li:first-child + li>strong>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -230px; }
|
||||
#userinfo_major>li:first-child + li + li>strong>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -725px; }
|
||||
#userinfo_major>li:first-child + li>strong>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -230px; }
|
||||
#userinfo_major>li:first-child + li + li>strong>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -725px; }
|
||||
|
||||
/* alerts */
|
||||
#alerts{position:absolute; top:75px; left:0px; z-index:1; font-weight:bold; font-size: 10px; color:#FFF; text-transform: uppercase;}
|
||||
@ -218,18 +218,18 @@ table tr.colhead_dark td{background:#555; border:0}
|
||||
.forum_unread .colhead_dark{background-color:#e3f1f9 !important; /*border:2px solid #a8d3ec !important; */}
|
||||
#forums table.forum_unread tr.colhead_dark td{background: #3A638C}
|
||||
|
||||
.last_read { width: 15px; height: 15px; background: url(https://what.cd/static/styles/minimal/images/go_last_read.png) no-repeat center center; margin-left: 5px; margin-left: 5px;}
|
||||
.last_read { width: 15px; height: 15px; background: url(/static/styles/minimal/images/go_last_read.png) no-repeat center center; margin-left: 5px; margin-left: 5px;}
|
||||
.last_read a { border: none; width: 100%; height: 100%; display: block; }
|
||||
.last_read a:hover { border: none; }
|
||||
|
||||
#forums #content .thin td.read{background:#373737 url(https://what.cd/static/styles/minimal/images/balloon.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread{background:#373737 url(https://what.cd/static/styles/minimal/images/balloon-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked{background:#373737 url(https://what.cd/static/styles/minimal/images/lock.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked{background:#373737 url(https://what.cd/static/styles/minimal/images/lock-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/lock-sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/lock-sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read{background:#373737 url(/static/styles/minimal/images/balloon.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread{background:#373737 url(/static/styles/minimal/images/balloon-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_sticky{background:#373737 url(/static/styles/minimal/images/sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_sticky{background:#373737 url(/static/styles/minimal/images/sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked{background:#373737 url(/static/styles/minimal/images/lock.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked{background:#373737 url(/static/styles/minimal/images/lock-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked_sticky{background:#373737 url(/static/styles/minimal/images/lock-sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked_sticky{background:#373737 url(/static/styles/minimal/images/lock-sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
|
||||
/* log checker fix */
|
||||
#logchecker input[type="file"]{color:#fff}
|
||||
@ -383,9 +383,9 @@ table tr.colhead_dark td{background:#555; border:0}
|
||||
.poll li{clear:both}
|
||||
.poll .graph{padding:0 0 15px 0}
|
||||
.poll .graph span{display:block; height:19px; float:left}
|
||||
.poll .graph #left_poll{width:9px; background:url(https://what.cd/static/styles/minimal/images/poll_left.png) top left no-repeat}
|
||||
.poll .graph #center_poll{background:url(https://what.cd/static/styles/minimal/images/poll_middle.png) top left repeat-x}
|
||||
.poll .graph #right_poll{width:11px; background:url(https://what.cd/static/styles/minimal/images/poll_right.png) top left no-repeat}
|
||||
.poll .graph #left_poll{width:9px; background:url(/static/styles/minimal/images/poll_left.png) top left no-repeat}
|
||||
.poll .graph #center_poll{background:url(/static/styles/minimal/images/poll_middle.png) top left repeat-x}
|
||||
.poll .graph #right_poll{width:11px; background:url(/static/styles/minimal/images/poll_right.png) top left no-repeat}
|
||||
|
||||
/* MISC */
|
||||
.r00{color:#F00}
|
||||
@ -458,13 +458,13 @@ h3{margin:10px 0}
|
||||
#rules #content li{margin:0 0 5px 0}
|
||||
|
||||
/* ICONS */
|
||||
.cats_music{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/music.png) top left no-repeat}
|
||||
.cats_applications{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/apps.png) top left no-repeat}
|
||||
.cats_ebooks{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/ebook.png) top left no-repeat}
|
||||
.cats_audiobooks{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/audiobook.png) top left no-repeat}
|
||||
.cats_elearningvideos{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/elearning.png) top left no-repeat}
|
||||
.cats_comedy{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/comedy.png) top left no-repeat}
|
||||
.cats_comics{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/comics.png) top left no-repeat}
|
||||
.cats_music{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/music.png) top left no-repeat}
|
||||
.cats_applications{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/apps.png) top left no-repeat}
|
||||
.cats_ebooks{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/ebook.png) top left no-repeat}
|
||||
.cats_audiobooks{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/audiobook.png) top left no-repeat}
|
||||
.cats_elearningvideos{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/elearning.png) top left no-repeat}
|
||||
.cats_comedy{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/comedy.png) top left no-repeat}
|
||||
.cats_comics{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/comics.png) top left no-repeat}
|
||||
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
|
@ -43,7 +43,7 @@ input:focus,textarea:focus {
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: transparent url(https://what.cd/static/styles/minimal/images/blockquote.png) repeat;
|
||||
background: transparent url(/static/styles/minimal/images/blockquote.png) repeat;
|
||||
color: #f1f1f1!important;
|
||||
border: 1px #000 dotted;
|
||||
margin: 10px;
|
||||
@ -177,7 +177,7 @@ textarea.wbbarea {
|
||||
}
|
||||
|
||||
#userinfo_username li:first-child,#userinfo_major li:first-child,#userinfo_minor li:first-child,#userinfo_username li:first-child:hover,#userinfo_major li:first-child:hover,#userinfo_minor li:first-child:hover,#userinfo_username li:first-child a,#userinfo_username li:first-child a:hover,#userinfo_minor li:first-child a,#userinfo_minor li:first-child a:hover,#userinfo_major li:first-child a,#userinfo_major li:first-child a:hover,.show_torrents,.hide_torrents {
|
||||
background-image: url(http://emblym.info/css/sprite.png);
|
||||
background-image: url(/static/styles/minimal/images/minimal_mod_alt_sprite.png);
|
||||
}
|
||||
|
||||
#userinfo {
|
||||
@ -337,51 +337,51 @@ textarea.wbbarea {
|
||||
}
|
||||
|
||||
#userinfo_username>li:first-child + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -322px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -322px;
|
||||
}
|
||||
|
||||
#userinfo_username>li:first-child + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -679px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -679px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -129px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -129px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -918px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -918px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -871px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -871px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -83px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -83px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -276px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -276px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -958px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -958px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -633px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -633px;
|
||||
}
|
||||
|
||||
#userinfo_major>li:first-child + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -230px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -230px;
|
||||
}
|
||||
|
||||
#userinfo_major>li:first-child + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -755px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -755px;
|
||||
}
|
||||
|
||||
#userinfo_major>li:first-child + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -725px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -725px;
|
||||
}
|
||||
|
||||
#alerts {
|
||||
@ -444,7 +444,7 @@ textarea.wbbarea {
|
||||
}
|
||||
|
||||
#searchbars ul li ul {
|
||||
background: #262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
background: #262626 url(/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
border: 1px solid #757575;
|
||||
display: block;
|
||||
left: 0;
|
||||
@ -685,7 +685,7 @@ table tr.colhead_dark td {
|
||||
}
|
||||
|
||||
.last_read {
|
||||
background: url(http://f.cl.ly/items/0X3l2s1g0d1T0e311A3r/new.png) no-repeat center center;
|
||||
background: url(/static/styles/minimal/images/minimal_mod_alt_new.png) no-repeat center center;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
margin-left: 10px;
|
||||
@ -703,49 +703,49 @@ table tr.colhead_dark td {
|
||||
}
|
||||
|
||||
#forums #content .thin td.read {
|
||||
background: #373737 url(http://f.cl.ly/items/1P1C3A1n3w242G0E2Z2V/balloon.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_balloon.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread {
|
||||
background: #373737 url(http://f.cl.ly/items/1T1S0L2G1C0T2Y1D2g2H/balloon_unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_balloon_unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.read_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/0D2l3W3r0J0h1E081O46/sticky.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_sticky.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/351i3y1t0M0014313q0e/sticky_unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_sticky_unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.read_locked {
|
||||
background: #373737 url(http://f.cl.ly/items/2F2u2g0D062w0K1I2N35/lock.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread_locked {
|
||||
background: #373737 url(http://f.cl.ly/items/2Y2a3e0a202K243e3d26/lock_unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock_unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.read_locked_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/3B3N1Z3J3X1T3J1W2t0r/lock-sticky-unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock-sticky-unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread_locked_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/3B3N1Z3J3X1T3J1W2t0r/lock-sticky-unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock-sticky-unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
@ -1080,25 +1080,25 @@ forum_post box vertical_margin {
|
||||
.poll {
|
||||
list-style: none;
|
||||
padding: 10px;
|
||||
margin: 5px
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.poll li {
|
||||
clear: both
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.poll .graph {
|
||||
padding: 0 0 15px 0
|
||||
padding: 0 0 15px 0;
|
||||
}
|
||||
|
||||
.poll .graph span {
|
||||
display: block;
|
||||
height: 19px;
|
||||
float: left
|
||||
float: left;
|
||||
}
|
||||
|
||||
.poll .graph .center_poll {
|
||||
background: url(https://what.cd/static/styles/minimal/images/poll_middle.png) top left repeat-x
|
||||
background: url(/static/styles/minimal/images/poll_middle.png) top left repeat-x;
|
||||
}
|
||||
|
||||
.r00 {
|
||||
@ -1302,43 +1302,43 @@ h3 {
|
||||
}
|
||||
|
||||
.cats_music {
|
||||
background: url(http://f.cl.ly/items/140a1Y2W2t3z3o1g1E0r/music.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_music.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_applications {
|
||||
background: url(http://f.cl.ly/items/1Z350I2E1Y0r1M141g1g/apps.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_apps.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_ebooks {
|
||||
background: url(http://f.cl.ly/items/3H0M2Z2Q22312r2K073S/ebook.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_ebook.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_audiobooks {
|
||||
background: url(http://f.cl.ly/items/0o2I2W2I2k3V0L3i1Q0k/audiobook.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_audiobook.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_elearningvideos {
|
||||
background: url(http://f.cl.ly/items/3G1B0M392r1j1F073T3W/learning.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_learning.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_comedy {
|
||||
background: url(http://f.cl.ly/items/1i3N0z1T2n2T3X13160H/comedy.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_comedy.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_comics {
|
||||
background: url(http://f.cl.ly/items/1M2l2c3f0A2u1q20153j/shield.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_shield.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|