Empty commit

This commit is contained in:
Git 2012-07-08 08:00:09 +00:00
parent 1ba032a617
commit adc0635d01
5 changed files with 17 additions and 3 deletions

View File

@ -73,7 +73,7 @@
}
// Let's hope we got some results - start printing out the content.
show_header('Forums'.' > '.'Search');
show_header('Forums'.' > '.'Search', 'bbcode');
?>
<div class="thin">
<h2><a href="forums.php">Forums</a> &gt; Search<?=$Title?></h2>

View File

@ -281,7 +281,7 @@
<td>
<?=time_diff($TimeAdded)?> by <strong><?=format_username($RequestorID, false, false, false)?></strong>
</td>
</tr>
</tr>
<? if($CategoryName == "Music") {
if(!empty($RecordLabel)) { ?>
<tr>
@ -372,6 +372,14 @@
<? } ?>
</td>
</tr>
<? if ($LastVote > $TimeAdded) { ?>
<tr>
<td class="label">Last Voted</td>
<td>
<?=time_diff($LastVote)?>
</td>
</tr>
<? } ?>
<? if($CanVote) { ?>
<tr id="voting">
<td class="label">Custom Vote (MB)</td>

View File

@ -97,9 +97,9 @@
LIMIT $Limit");
$DB->query("SELECT FOUND_ROWS()");
list($Results) = $DB->next_record();
$DB->set_query_id($RS);
show_header('User Flow');
$DB->set_query_id($RS);
?>
<div class="thin">
<? if(!isset($_GET['page'])) { ?>

View File

@ -50,6 +50,9 @@
if(!preg_match("/^".IMAGE_REGEX."$/i", $Image)) {
$Image = '';
}
if(strpos($Image, 'tinypic') || strpos($Image, 'dsimg')) {
error($Image . " This image host is not allowed");
}
$Summary = db_string($_POST['summary']);
}

View File

@ -322,6 +322,9 @@
if (preg_match($RegX, $Properties['Image'], $Matches)) {
$Properties['Image'] = $Matches[1].'.jpg';
}
if(strpos($Properties['Image'], 'tinypic') || strpos($Properties['Image'], 'dsimg')) {
$Err = $Properties['Image'] . " This image host is not allowed";
}
//******************************************************************************//
//--------------- Make variables ready for database input ----------------------//