Parašė bad_user· 2008 Spa. 16 14:10:36
#13
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#e5e5e5";
$theme_width = "1001";
$theme_width_l = "230";
$theme_width_r = "230";
function render_header($header_content) {
global $theme_width,$userdata,$settings,$locale,$aidlink,$db_prefix,$end,$p_data;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class=border='0'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><tr>
<td colspan='4' rowspan='4'>
<img src='".THEME."images/ITbaze_01.png' width='445' height='194' alt=''></td>
<td colspan='4'>
<img src='".THEME."images/ITbaze_02.png' width='215' height='43' alt=''></td>
<td colspan='3'>
<td background='".THEME."images/BG_searchbox.png' width='302' height='43' style='padding-top: 10; padding-left: 10; padding-right: 10; padding-bottom: 10;'></td>
<td>
<img src='".THEME."images/ITbaze_04.png' width='39' height='43' alt=''></td>
</tr>
<tr>
<td colspan='8'>
<img src='".THEME."images/ITbaze_05.png' width='556' height='37' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/ITbaze_06.png' width='49' height='60' alt=''></td>
<td colspan='6'>
<a href='".BASEDIR."reklama.php'><img src='".THEME."images/reklama.png' width='468' height='60' border='0' alt=''></td>
<td>
<img src='".THEME."images/ITbaze_08.png' width='39' height='60' alt=''></td>
</tr>
<tr>
<td colspan='8'>
<img src='".THEME."images/ITbaze_09.png' width='556' height='54' alt=''></td>
</tr>
<tr>
<td>
<a href='".BASEDIR."index.php'><img src='".THEME."images/namai.png' width='125' height='55' border='0' alt='' onMouseOver=\"this.src='".THEME."images/namai2.png'\" onMouseOut=\"this.src='".THEME."images/namai.png'\"></a></td>
<td>
<a href='".FORUM."index.php'><img src='".THEME."images/forumas.png' width='125' height='55' border='0' alt='' onMouseOver=\"this.src='".THEME."images/forumas2.png'\" onMouseOut=\"this.src='".THEME."images/forumas.png'\"></a></td>
<td>
<a href='".BASEDIR."contact.php'><img src='".THEME."images/kontaktai.png' width='127' height='55' border='0' alt='' onMouseOver=\"this.src='".THEME."images/kontaktai2.png'\" onMouseOut=\"this.src='".THEME."images/kontaktai.png'\"></a></td>
<td colspan='3'>
<a href='".BASEDIR."search.php'><img src='".THEME."images/paieska.png' width='127' height='55' border='0' alt='' onMouseOver=\"this.src='".THEME."images/paieska2.png'\" onMouseOut=\"this.src='".THEME."images/paieska.png'\"></a></td>
<td>
<a href='".BASEDIR."reklama.php'><img src='".THEME."images/reklama1.png' width='123' height='55' border='0' alt='' onMouseOver=\"this.src='".THEME."images/reklama2.png'\" onMouseOut=\"this.src='".THEME."images/reklama1.png'\"></a></td>
<td colspan='2'>
<a href='".BASEDIR."photogallery.php'><img src='".THEME."images/foto.png' width='125' height='55' border='0' alt='' onMouseOver=\"this.src='".THEME."images/foto2.png'\" onMouseOut=\"this.src='".THEME."images/foto.png'\"></a></td>
<td>
<a href='".BASEDIR."articles.php'><img src='".THEME."images/articles.png' width='126' height='55' border='0 alt='' onMouseOver=\"this.src='".THEME."images/articles2.png'\" onMouseOut=\"this.src='".THEME."images/articles.png'\"></a></td>
<td colspan='2'>
<a href='".BASEDIR."downloads.php'><img src='".THEME."images/siuntiniai.png' width='124' height='55' border='0 alt='' onMouseOver=\"this.src='".THEME."images/siuntiniai2.png'\" onMouseOut=\"this.src='".THEME."images/siuntiniai.png'\"></a></td>
</tr>
<tr>
<td>
<img src='".THEME."images/spacer.gif' width='125' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='124' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='127' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='69' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='49' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='9' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='123' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='34' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='91' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='126' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='85' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='39' height='1' alt=''></td>
</tr></td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='65' align='center' class='footer'>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='500'>
<tr>
<td class='capmain'>$subject <br>
</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td aling='left' height='37' class='news-footer'><a href='news.php?readmore=".$info['news_id']."' target=''>komentuoti</a> [".$info['news_comments']."], , <a href='news.php?readmore=".$info['news_id']."' style='color:#666;'>skaityti toliau »</a> </td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='500' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
"</td>
<td </td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
global $p_data;
if ($p_data['panel_side'] == 1) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td height='52' class='scapmain-left'>$title</td>
</tr>
<tr>
<td class='side-body-right'>\n";
} else {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td height='52' class='scapmain-right'>$title</td>
</tr>
<tr>
<td class='side-body-right'>\n";
}
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<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>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Ten klaidų daugiau nei retyje skilių ;)
Redagavo bad_user· 2008 Spa. 16 14:10:36