Quote
lippke wrote:
post it here then I'll do it :D
//News
function render_news($subject, $news, $info) {
global $locale, $aidlink, $user_data;
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top:5px'>n<tr>n
<td class='news-capmain'>$subject</td><td class='news-capmainr' width='15'></td>
</tr>n<tr>n
<td class='main-body' colspan='2'>";
echo "<div class='news-poster'>".$locale['global_070']." <a class='news' href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['global_071'].showdate("longdate", $info['news_date'])."</div>n";
echo "$news";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") { echo " <br /><img src='".THEME."images/readmore.gif' alt='' style='vertical-align:middle;border:0px;' /> <a href='news.php?readmore=".$info['news_id']."'><strong>".$locale['global_072']."</strong></a>";}
echo "</td>
</tr>n<tr>n
<td class='news-footer' colspan='2'>n";
if ($info['news_allow_comments']) { echo " <!-- <img src='".THEME."images/comments.gif' alt='' style='vertical-align:middle;border:0px;' /> <a class='news' href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].($info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])."</a> -->";}
//echo " [<a class='news' href='print.php?type=N&item_id=".$info['news_id']."'>".$locale['global_075']."</a>]";
// if (iADMIN && checkrights("N")) { echo " [<a class='news' href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$info
//['news_id']."'>".$locale['global_076']."</a>]n"; }
//TESTTEST
echo "".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])." </td>n
</tr>n
</table>n";
}
//News
function render_news($subject, $news, $info) {
global $locale, $aidlink, $user_data;
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top:5px'>n<tr>n";
echo "<td class='news-capmain'>$subject</td><td class='news-capmainr' width='15'></td>n";
echo "</tr>n<tr>n";
echo "<td class='main-body' colspan='2'>";
echo "<div class='news-poster'>".$locale['global_070']." <a class='news' href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['global_071'].showdate("longdate", $info['news_date'])."</div>n";
echo "".$info['cat_image'].$news."";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") { echo " <br /><img src='".THEME."images/readmore.gif' alt='' style='vertical-align:middle;border:0px;' /> <a href='news.php?readmore=".$info['news_id']."'><strong>".$locale['global_072']."</strong></a>";}
echo "</td>n";
echo "</tr>n<tr>n";
echo "<td class='news-footer' colspan='2'>n";
if ($info['news_allow_comments']) { echo " <!-- <img src='".THEME."images/comments.gif' alt='' style='vertical-align:middle;border:0px;' /> <a class='news' href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].($info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])."</a> -->";}
//echo " [<a class='news' href='print.php?type=N&item_id=".$info['news_id']."'>".$locale['global_075']."</a>]";
// if (iADMIN && checkrights("N")) { echo " [<a class='news' href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$info
//['news_id']."'>".$locale['global_076']."</a>]n"; }
//TESTTEST
".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td>n";
echo "</tr>n";
echo "</table>n";
}
".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td>n";
Category Forum
Themes SupportLabels
None yet
Statistics
5 participants
Notifications
You are not receiving notifications from this thread.
Related Questions