Parašė Brodger· 2008 Bal. 28 14:04:17
#3
nu wa
// Temos nustatymai
$body_text = "#555555";
$body_bg = "#FFFFFF";
$theme_width = "792";
$theme_width_l = "186";
$theme_width_r = "186";
function render_header($header_content) {
global $theme_width,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='792' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='sritis_login'>
";
if(iGUEST) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='486'>
</td>
<td width='195'>
<table align='center' cellpadding='0' cellspacing='0' width='195'>
<tr><td class='side-body-login'>
<div align='center'>
<form name='loginform' method='post' action='news.php'>
</tr>
</table>";
} else {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td width='486'></td>
<td width='195'><table align='center' cellpadding='0' cellspacing='0' width='195'>
</table>";
}
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td height='5'></td>
</tr>
</table>
</td>
<td width='111'></td>
</td>
</tr>
</table>
</td>
</tr>
</table>";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
}
function render_footer($license=false) {
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='545'>
<tr>
<td align='center' class='side-center'>$title</td>
</tr>
<tr>
<td class='side-body'>";
}
function closetable() {
echo "</td><tr><td><img src='".THEME."images/side_center_bot.gif'></td></tr></tr></table>";
}
function openside($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='188'>
<tr>
<td align='center' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>";
}
function closeside() {
echo "</td><tr><td><img src='".THEME."images/scapmain_bot.gif'></td></tr></tr></table>";
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr><td height='5'></td></tr></table>";
}
?>