Parašė Dandžu· 2008 Bir. 4 18:06:42
#2
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='100%'><tr><td><center><img src='".THEME."images/headeris.gif'><br></center></td></tr></table>";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td>
\n";}
function render_footer($license=false) {
}
function render_news($subject, $news, $info) {
echo "
<table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'> <center><br><a name='news_1' id='news_1'></a>$subject</center></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews1' method='post' action='administration/news.php&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena plačiau</a> | Skaityta: ".$info['news_reads']." | Komentarų: ".$info['news_comments']."</td>
</form>
</tr>
</table>\n";
tablebreak();
}
Redagavo Dandžu· 2008 Bir. 4 18:06:55