Parašė Haked· 2008 Kov. 12 22:03:11
#1
galite padaryti taip kad man bg paveiksliukas neislistu i desine puse dar daugiau. nes puslpis yra norm telpa ir desinei pusei kazkoks juodas ilgas. :@
<?php
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "1001";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas
echo "<table id='Table_01' width='1001' height='211' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='21'>
<img src='".THEME."images/head_01.jpg' width='1000' height='159' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='159' alt=''></td>
</tr>
<tr>
<td rowspan='3'>
<img src='".THEME."images/head_02.jpg' width='6' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.cstrike.too.lt/cstrike/news.php'><img src='".THEME."images/pagrindinis.jpg' width='82' height='34' border='0' onMouseOver=this.src='".THEME."images/pagrindinis.jpg' onMouseOut=this.src='".THEME."images/pagrindinis.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_04.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.cstrike.too.lt/cstrike/forum/index.php'><img src='".THEME."images/forumas.jpg' width='63' height='34' border='0' onMouseOver=this.src='".THEME."images/forumas.gif' onMouseOut=this.src='".THEME."images/forumas.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_06.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.cstrike.too.lt/cstrike/downloads.php'><img src='".THEME."images/siuntimai.jpg' width='69' height='34' border='0' onMouseOver=this.src='".THEME."images/siuntimai.gif' onMouseOut=this.src='".THEME."images/siuntimai.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_08.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.cstrike.too.lt/cstrike/viewpage.php?page_id=1'><img src='".THEME."images/serveriai.jpg' width='68' height='34' border='0' onMouseOver=this.src='".THEME."images/serveriai.gif' onMouseOut=this.src='".THEME."images/serveriai.jpg'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head_10.jpg' width='1' height='34' alt=''></td>
<td rowspan='3'>
<a href='http://www.cstrike.too.lt/cstrike/articles.php'><img src='".THEME."images/pamokos.jpg' width='64' height='34' border='0' onMouseOver=this.src='".THEME."images/pamokos.gif' onMouseOut=this.src='".THEME."images/pamokos.jpg'></a></td>
<td colspan='9'>
<img src='".THEME."images/head_12.jpg' width='356' height='8' alt=''></td>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/head_13.jpg' width='288' height='16' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
<tr>
<td rowspan='2'>
<img src='".THEME."images/head_14.jpg' width='93' height='26' alt=''></td>
<td>
<a href='http://www.ezone.nkk.lt/viewpage.php?page_id=4'><img src='".THEME."images/uzeriai.jpg' width='34' height='8' border='0' onMouseOver=this.src='".THEME."images/uzeriai.gif' onMouseOut=this.src='".THEME."images/uzeriai.gif'></a></td>
<td>
<img src='".THEME."images/head_16.jpg' width='17' height='8' alt=''></td>
<td>
<a href='http://www.ezone.nkk.lt/viewpage.php?page_id=4'><img src='".THEME."images/admin.gif' width='76' height='8' border='0' onMouseOver=this.src='".THEME."images/admin.gif' onMouseOut=this.src='".THEME."images/admin.gif'></a></td>
<td>
<img src='".THEME."images/head_18.jpg' width='18' height='8' alt=''></td>
<td>
<a href='http://www.ezone.nkk.lt/contact.php'><img src='".THEME."images/paslaugos.gif' width='50' height='8' border='0' onMouseOver=this.src='".THEME."images/paslaugos.gif' onMouseOut=this.src='".THEME."images/paslaugos.gif'></a></td>
<td>
<img src='".THEME."images/head_20.jpg' width='19' height='8' alt=''></td>
<td>
<a href='http://www.cstrike.too.lt/cstrike/viewpage.php?page_id=10'><img src='".THEME."images/reklama.gif' width='40' height='8' border='0' onMouseOver=this.src='".THEME."images/reklama.gif' onMouseOut=this.src='".THEME."images/reklama.gif'></a></td>
<td>
<img src='".THEME."images/head_22.jpg' width='9' height='8' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
<tr>
<td colspan='9' rowspan='2'>
<img src='".THEME."images/head_23.jpg' width='487' height='35' alt=''></td>
<td rowspan='2'>
<img src='".THEME."images/head_24.jpg' width='64' height='35' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='18' alt=''></td>
</tr>
<tr>
<td colspan='11'>
<img src='".THEME."images/head_25.jpg' width='449' height='17' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='17' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/spacer.gif' width='6' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='82' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='63' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' 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='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='68' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='93' 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='17' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='76' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='18' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='50' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='19' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='40' 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='224' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
<td></td>
</tr>
</table>";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' cellpadding='0' bgcolor='#00000' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>";
echo "<td width='50%' height='50' class='white' align='left'>";
if ($license == false) {
echo "bazuka: <a href='mailto:shakexxxx@gmail.com'>Shake</a>";
}
echo "</td>";
echo "<td width='40%' class='white' align='center'>";
echo "<b>".stripslashes($settings['footer'])."</b></td>";
echo "<td width='26%' class='white' align='right'>";
echo "<b>";
echo "</td>";
echo "<div align='center'></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'><center>$subject</center></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
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;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}
// Close table end
function closetable() {
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>