Empty commit

This commit is contained in:
Git 2012-04-18 08:00:25 +00:00
parent ddd0b0cb3b
commit 8835e31954
3 changed files with 5 additions and 4 deletions

View File

@ -58,7 +58,7 @@
<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>
<?
if(($CollageCount < $LoggedUser['Permissions']['MaxCollages']) && check_perms('site_collages_personal')) { ?>
<li><strong>Personal</strong> - You can put whatever your want here. It's your personal collage.</li>
<li><strong>Personal</strong> - You can put whatever you want here. It's your personal collage.</li>
<? } ?>
</ul>
</td>

View File

@ -161,7 +161,7 @@
$DB->query("SELECT DISTINCT
RequestID,
CEIL((SELECT COUNT(rc1.ID) FROM requests_comments AS rc1 WHERE rc1.RequestID=rc.RequestID)/".TORRENT_COMMENTS_PER_PAGE.") AS Pages,
CEIL((SELECT COUNT(rc2.ID) FROM requests_comments AS rc2 WHERE rc2.ID<'".db_string($_GET['postid'])."')/".TORRENT_COMMENTS_PER_PAGE.") AS Page
CEIL((SELECT COUNT(rc2.ID) FROM requests_comments AS rc2 WHERE rc2.ID<='".db_string($_GET['postid'])."')/".TORRENT_COMMENTS_PER_PAGE.") AS Page
FROM requests_comments AS rc
WHERE rc.RequestID=(SELECT RequestID FROM requests_comments WHERE ID='".db_string($_GET['postid'])."')");
list($RequestID,$Pages,$Page)=$DB->next_record();
@ -175,7 +175,7 @@
//We need to clear all subsequential catalogues as they've all been bumped with the absence of this post
$ThisCatalogue = floor((TORRENT_COMMENTS_PER_PAGE*$Page-TORRENT_COMMENTS_PER_PAGE)/THREAD_CATALOGUE);
$LastCatalogue = floor((TORRENT_COMMENTS_PER_PAGE*$Pages-TORRENT_COMMENTS_PER_PAGE)/THREAD_CATALOGUE);
for($i=$ThisCatalogue;$i<=$LastCatalogue;$i++) {
for($i = $ThisCatalogue; $i <= $LastCatalogue; $i++) {
$Cache->delete('request_comments_'.$RequestID.'_catalogue_'.$i);
}

View File

@ -80,8 +80,9 @@
if($MediaList == "Any") {
$MediaArray = array_keys($Media);
} else {
$MediaTemp = explode('|', $MediaList);
foreach ($Media as $Key => $Val) {
if(strpos($MediaList, $Val) !== false) {
if(in_array($Val, $MediaTemp)) {
$MediaArray[] = $Key;
}
}