function render_news($subject, $news, $info) {
global $locale,$aidlink;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td>
<span class='news-date'><a class='news' href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['041'].showdate("longdate", $info['news_date'])."</span>
</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 class='news-date'>\n";
if ($info['news_ext'] == "y") echo "<a class='news' href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ∑\n";
if ($info['news_allow_comments']) echo "<a class='news' href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ∑\n";
echo $info['news_reads'].$locale['044']." ∑ <a class='news' href='print.php?type=N&item_id=".$info['news_id']."'>".$locale['045']."</a>";
if (checkrights("N"))
echo" ∑ <form style='display:inline' name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".(!empty($aidlink) ? $aidlink."&" : "?")."news_id=".$info['news_id']."'><input type='hidden' name='edit' value='edit'><a class='news' href='javascript:document.editnews".$info['news_id'].".submit();'>".$locale['048']."</a></form>
";
echo"
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
Quote
Garrett wrote:
I FEEXED IT! I FEEXED IT! Thanks again for your help.:D
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions