summary refs log tree commit diff stats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/comments.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/includes/comments.php b/includes/comments.php index 9cb8b18..682aa0e 100755 --- a/includes/comments.php +++ b/includes/comments.php
@@ -75,20 +75,12 @@ while ($getcomments3[$i] = mysql_fetch_array($getcomments2))
75 $text = 'This comment has been rated down below the threshold for public viewing (-1), suggesting that it may contain inappropriate or off topic content. (Or it may have been flame bait, or simply bad!)'; 75 $text = 'This comment has been rated down below the threshold for public viewing (-1), suggesting that it may contain inappropriate or off topic content. (Or it may have been flame bait, or simply bad!)';
76 } 76 }
77 77
78 if ($getcomments3[$i]['title'] != '')
79 {
80 $title2 = $getcomments3[$i]['title'];
81 } else {
82 $title2 = 'Untitled';
83 }
84
85 $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)), 78 $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)),
86 'USERNAME' => (($website != '') ? '<A HREF="http://' . $website . '">' . $username . '</A>' : $username), 79 'USERNAME' => (($website != '') ? '<A HREF="http://' . $website . '">' . $username . '</A>' : $username),
87 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])), 80 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])),
88 'RATING' => $getcomments3[$i]['rating'], 81 'RATING' => $getcomments3[$i]['rating'],
89 'ID' => $getcomments3[$i]['id'], 82 'ID' => $getcomments3[$i]['id'],
90 'TEXT' => $text, 83 'TEXT' => $text));
91 'TITLE' => $title2));
92 } 84 }
93 $i++; 85 $i++;
94} 86}