function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' class='news-body'>\n";
echo "<tr>\n";
echo "<td class='zero_margins'><img src='" . THEME . "images/tl_cnr4.gif' alt=''></td>\n";
echo "<td colspan='3' class='cell_heading' style='background-image: url(" . THEME . "images/cellpic4.gif);'>\n";
echo "<img src='" . THEME . "images/small_arrow.gif' hspace='3' alt='>'>\n";
echo "<font class='block-title'>$subject</font>\n";
echo "</td>\n";
echo "<td class='zero_margins'><img src='" . THEME . "images/tr_cnr4.gif' alt=''></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td rowspan='2' style='background-image: url(" . THEME . "images/boarder_left.gif);'></td>\n";
echo "<td colspan='3' style='padding-top: 5px; padding-bottom: 5px;'>\n";
echo "$news";
echo "</td>\n";
echo "<td rowspan='2' style='background-image: url(" . THEME . "images/boarder_right.gif);'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
// echo "<td class='news-footer' style='background-image: url(".THEME."images/boarder_left.gif);'></td>\n";
echo "<td class='news-footer' align='left'> \n";
echo $locale['040'] . "<a href='profile.php?lookup=" . $info['user_id'] . "'>" . $info['user_name'] . "</a>\n";
echo $locale['041'] . showdate("longdate", $info['news_date']) . "\n";
echo "</td>\n";
echo "<td class='news-footer' align='right'>\n";
if ($info['news_allow_comments']) {
echo $info['news_reads'] . $locale['044'] . " ·\n";
echo "<a href='news.php?readmore=" . $info['news_id'] . "'>" . $info['news_comments'] . $locale['043'] . "</a> · \n";
}
if ($info['news_ext'] == "y") {
echo "<a href='news.php?readmore=" . $info['news_id'] . "'>" . $locale['042'] . "</a>\n";
}
echo "</td>\n";
echo "<td class='news-footer' align='right'>\n";
echo "<a href='print.php?type=N&item_id=" . $info['news_id'] . "'><img src='" . THEME . "images/printer.gif' alt='" . $locale['045'] . "' style='vertical-align: middle'> </a>\n";
echo "</td>\n";
// echo "<td class='news-footer' style='background-image: url(".THEME."images/boarder_right.gif);'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='zero_margins'><img src='" . THEME . "images/bl_cnr4.gif' alt=''></td>\n";
echo "<td colspan='3'style='background-image: url(" . THEME . "images/boarder_bottom.gif);'></td>\n";
echo "<td class='zero_margins'><img src='" . THEME . "images/br_cnr4.gif' alt=''></td>\n";
echo "</tr>\n";
echo "</table>\n";
}
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions