Empty commit

This commit is contained in:
Git 2012-09-05 08:00:24 +00:00
parent 9f216002c1
commit 9d658e9a47
10 changed files with 13 additions and 128 deletions

File diff suppressed because one or more lines are too long

View File

@ -439,7 +439,7 @@ function header_link($SortKey,$DefaultWay="desc") {
?>
</h3>
<div class="box pad">
<table>
<table class="layout">
<? if($AdvancedSearch) { ?>
<tr>
<td class="label">Artist Name:</td>

View File

@ -158,7 +158,7 @@
| <a href="#" onclick="Clear(<?=$TorrentID?>);return false;" title="Remove from notifications list">CL</a> ]
</span>
<strong><?=$DisplayName?></strong> <?=$ExtraInfo?>
<? if($Result['UnRead']) { echo '<strong>New!</strong>'; } ?>
<? if($Result['UnRead']) { echo '<strong class="new">New!</strong>'; } ?>
<?=$TorrentTags?>
</td>
<td><?=$TorrentInfo['FileCount']?></td>

View File

@ -456,7 +456,7 @@ function header_link($SortKey,$DefaultWay="DESC") {
?>
<tr>
<tr class="torrent">
<td class="center cats_col">
<div title="<?=ucfirst(str_replace('.',' ',$TagList[0]))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$CategoryID-1]))?> tags_<?=str_replace('.','_',$TagList[0])?>"></div>
</td>

View File

@ -705,9 +705,11 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
<?
if($RunQuery){
$Results = $DB->query($SQL);
$DB->query('SELECT FOUND_ROWS();');
$DB->query('SELECT FOUND_ROWS()');
list($NumResults) = $DB->next_record();
$DB->set_query_id($Results);
$DB->set_query_id($Results);
} else {
$DB->query('SET @nothing = 0');
}
?>
<div class="linkbox">

View File

@ -28,11 +28,11 @@
Warned
FROM users_main AS um
JOIN users_info AS ui ON ui.UserID=um.ID
WHERE Username LIKE '%".db_string($_GET['username'])."%'
WHERE Username LIKE '%".db_string($_GET['username'], true)."%'
ORDER BY Username
LIMIT $Limit");
$Results = $DB->to_array();
$DB->query('SELECT FOUND_ROWS();');
$DB->query('SELECT FOUND_ROWS()');
list($NumResults) = $DB->next_record();
}

View File

@ -262,7 +262,7 @@
<?
if($ViewingOwn) {
if ((!$Locked || $Sticky) && (!$LastRead || $LastRead < $LastPostID)) { ?>
<span style="color: red;">(New!)</span>
<span class="new">(New!)</span>
<?
}
?>

View File

@ -143,7 +143,7 @@
<a href="forums.php?action=viewforum&amp;forumid=<?=$ForumID?>"><?=$ForumName?></a> &gt;
<a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>" title="<?=display_str($ThreadTitle)?>"><?=cut_string($ThreadTitle, 75)?></a>
<? if($PostID<$LastPostID && !$Locked) { ?>
<span style="color: red;">(New!)</span>
<span class="new">(New!)</span>
<? } ?>
</span>
<span style="float:left;" class="last_read" title="Jump to last read">

View File

@ -131,7 +131,7 @@ strong.important_text {
color: red;
font-weight: bold;
}
.invalid, .warning, .error {
.invalid, .warning, .error, .new {
color: #ff0000;
}

View File

@ -299,7 +299,6 @@ strong.quoteheader {color: #f1f1f1;}
#forums #content form .box{width:510px; margin:0 auto; padding:1ex; text-align:left; background-color:#404040}
/* TORRENTS */
#torrents .group_torrent td strong+strong{color:#F00}
#torrents .filter_torrents{width:75%; margin:0 auto}
#torrents .filter_torrents td{border:0}
#torrents .filter_torrents .cat_list .label{border-right:0}