eh, nutrinu ir klaidas meta iskart, nezinau nemoku turbut as :D
Jei netyngi paziurek gal dar krnrs isivelsu klaida kokia yra theme.php
<?php
$body_text = "#FFFFFF";
$body_bg = "#f9e0d0";
$theme_width = "671";
$theme_width_l = "181";
$theme_width_r = "181";
function render_header($header_content) {
global $theme_width;
echo "<center><table width='671' cellspacing='0' cellpadding='0'>
<td class='t-logo'><img src='".THEME."/img/header.jpeg'></td>
</table>\n";
echo "<table width='671' height='26' cellspacing='0' cellpadding='0'><tr>
<td width='671' height='40' cellspacing='0' cellpadding='0'>
<td cellspacing='0' cellpadding='0'><a href='index.php'><img src='".THEME."/img/pagrindinis.jpeg' border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/paslaugos.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/tarpas1.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/galerija.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/tarpas2.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href='forum.php'><img src='".THEME."/img/forumas.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/tarpas3.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/reklama.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/tarpas4.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href=''><img src='".THEME."/img/nuorodos.jpeg'border='0'></a></td>
<td cellspacing='0' cellpadding='0'><a href='contacts.php'><img src='".THEME."/img/kontaktai.jpeg'border='0'></a></td></tr></table></td></tr></table>\n";
echo "<table width='671' height='26' cellspacing='0' cellpadding='0'><tr>
<td cellspacing='0' cellpadding='0'><img src='".THEME."/img/headerapacia' border='0'></a></td></tr></table></td></tr></table>\n";
echo "<table width='671' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='header'>".stripslashes($settings['footer'])."</td></tr></table>\n";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width'>";
echo "<tr><td width='15'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td>";
echo "<td class='copyright' align='left' width='38%' style='background-image:url(".THEME."images/nav-center.gif)'>";
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion</a> © 2003-2006";
}
echo "</td>";
echo "<td class='copyright' align='center' width='24%' style='background-image:url(".THEME."images/nav-center.gif)'>Milestone Theme by: <a href='http://www.phpfusion-themes.com' target='_blank'>PHP-Fusion Themes</a>";
echo "</td>";
echo "<td class='copyright' align='right' width='38%' style='background-image:url(".THEME."images/nav-center.gif)'>";
echo "<strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td>";
echo "<td width='15'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table>";
}
function render_news($subject, $news, $info) {
echo "<table width='472' cellpadding='0' cellspacing='0'>
<tr><td>
<table width='472' cellpadding='0' cellspacing='0'>
<tr><td class='capmain' background='".THEME."/img/opentable.jpeg' width='472' height='44'>$subject</td></tr>
<tr><td class='campmain' background='".THEME."/img/tablefonas.jpeg' width='472'>$news";echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr>
<tr>
<td align='right' class='news-footer' background='".THEME."/img/tableapacia.jpeg' width='472' height='17'>\n</td>
</tr></table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='472' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='472' cellpadding='0' cellspacing='0'>
<tr><td class='capmain' background='".THEME."/img/opentable.jpeg' width='472' height='44'>$subject</td></tr>
<tr><td class='main-body' background='".THEME."/img/tablefonas.jpeg' width='472'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br>";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr>
<tr>
<td class='news-footer' background='".THEME."/img/tableapacia.jpeg' width='472' height='22'>\n
</td>
</tr></table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='472' cellpadding='0' cellspacing='0' align='center'>
<tr><td>
<table width='472' cellpadding='0' cellspacing='0'>
<tr><td class='capmain' background='".THEME."/img/opentable.jpeg' width='472' height='44'>$title</td></tr>
<tr>
<td class='main-body' background='".THEME."/img/tablefonas.jpeg' width='472'>\n";
}
function closetable() {
echo "</td></tr></table>
</td></tr><tr><td background='".THEME."/img/tableapacia.jpeg' width='472' height='22'></td></tr></table>\n";
}
function openside($title) {
echo "<table width='203' cellpadding='0' cellspacing='0'>
<tr><td><table width='203' cellpadding='0' cellspacing='0'>
<tr><td class='scapmain' background='".THEME."/img/cellpic.jpeg' width='203' height='47'>$title</td></tr>
<tr>
<td class='side-body' background='".THEME."/img/panelesfonas.jpeg' width='203'>\n";
}
function closeside() {
echo "</td></tr></table>
</td></tr><tr><td background='".THEME."/img/apacia.jpeg' width='203' height='16'></td></tr></table><BR>\n";
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='581' cellpadding='0' cellspacing='0'>
<tr><td><table width='581' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td></tr></table>
</td></tr></table>\n";
}
function tablebreak() {
echo "<table width='11' height='8' cellspacing='0' cellpadding='0'>
<tr><td width='11' height='8'></td></tr></table>\n";
}
?>
Redagavo Neriukas 2008 Lap. 29 11:11:33 |