function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capleftbig'><img src='".THEME."images/blank.gif' width='5' height='20' alt='' style='display:block'></td>
<td class='capmain'>$subject -
<span class='small'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."' class='white'>".$info['user_name']."
".$locale['041'].showdate("longdate", $info['news_date'])."</a></span></td>
<td class='caprightbig'><img src='".THEME."images/blank.gif' width='3' height='30' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>\n";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> |\n";
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> |\n";
echo $info['news_reads'].$locale['044']."
</td>
</tr>
</table>\n";
<td class='capmain'>$subject -
<span class='small'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."' class='white'>".$info['user_name']."
".$locale['041'].showdate("longdate", $info['news_date'])."</a></span></td>
<td class='capmain'>$subject</td>
Quote
Seriously, you should calm down and think twice before posting.
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions