Parašė _MaZvE_· 2008 Lie. 6 13:07:32
#17
Sharkman parašė:
Asile tu ZeBa ne jot theme kurta. :|
Zinau kad ne jo kurta.Bet matosi kad is grafos net redaguota!
Beje gal galite pasakyti kuria vieta reiktu iskirpti kad nebebutu tos saukyklos, siuntiniu bei nesenai matytu nariu.
Stai theme.php
<?php
/************************/
/* Settings/Nustatymai */
/************************/
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "944";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<table align='center' width='940' height='211' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2' class='netzone_head_1' width='38' height='37'><a href='#'><img src='".THEME."images/spacer.gif' width='35' height='35' style='display:block'></a></td>
<td class='netzone_head_2' width='35' height='37'><a href='kontaktai.php'><img src='".THEME."images/spacer.gif' width='32' height='35' style='display:block'></a></td>
<td class='netzone_head_3' width='35' height='37'><a href='search.php'><img src='".THEME."images/spacer.gif' width='32' height='33' style='display:block'></a></td>
<td colspan='3' class='netzone_head_4' width='832' height='37'></td>
</tr>
<tr>
<td colspan='5' class='netzone_head_5' width='433' height='48'></td>
<td colspan='2' class='netzone_head_6' width='507' height='48'></td>
</tr>
<tr>
<td colspan='7' class='netzone_head_7' width='940' height='51'></td>
</tr>
<tr>
<td class='netzone_head_8' width='16' height='60'></td>
<td colspan='5' class='netzone_head_9' width='468' height='60'><img src='http://img265.imageshack.us/img265/4777/reklama486x601zh8.jpg'></td>
<td class='netzone_head_10' width='456' height='60'></td>
</tr>
<tr>
<td colspan='7' class='netzone_head_11' width='940' height='14'></td>
</tr>
<tr>
<td>
<img src='images/spacer.gif' width='16' height='1' ></td>
<td>
<img src='images/spacer.gif' width='22' height='1' ></td>
<td>
<img src='images/spacer.gif' width='35' height='1' ></td>
<td>
<img src='images/spacer.gif' width='35' height='1' ></td>
<td><img src='images/spacer.gif' width='325' height='1' ></td>
<td>
<img src='images/spacer.gif' width='51' height='1' ></td>
<td>
<img src='images/spacer.gif' width='456' height='1' ></td>
</tr>
</table>
";
echo"<table align='center' width='940' height='44' border='0' cellpadding='0' cellspacing='0'>
<td><a href='news.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__01.gif' width='68' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_01.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__01.gif'></a></td><td><a href='forum/index.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__02.gif' width='79' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_02.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__02.gif'></a></td><td><a href='downloads.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__03.gif' width='85' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_03.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__03.gif'></a></td><td><a href='pamokos.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__04.gif' width='79' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_04.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__04.gif'></a></td><td><a href='reklama_portale.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__05.gif' width='77' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_05.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__05.gif'></a></td><td><a href='#'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__06.gif' width='67' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_06.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__06.gif'></a></td><td><a href='http://cs.top100arena.com/in.asp?id=1883'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__07.gif' width='65' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_07.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__07.gif'></a></td><td class='netzone_subhead_8' width='58' height='44'></td><td class='netzone_subhead_19' width='364' height='44'><table width='360' cellpadding='0' cellspacing='0' border='0' align='left'>
<marquee scrollamount='4' scrolldelay='50' onmouseover='this.stop()' onmouseout='this.start()'>".stripslashes($settings['description'])."</marquee>
</td><td valign='center'></td>
</table></td></tr>
</table>
";
echo"<tr>
<tr>
if (!defined("IN_FUSION")) { header("Location: ../../index.html"); exit; }
if (isset($_GET[id]) && !isNum($_GET[id])) fallback(FUSION_SELF);
if (isset($_GET[shout]) && !preg_match("#(add|edit|delete)#iu", $_GET[shout])) fallback(FUSION_SELF);
define("SBX_EDIT_USER", $settings[sbx_edit_user]);
$shout = $_GET[shout]; $id = $_GET[id];
if (iMEMBER || $settings['guestposts'] == "1") {
$result = dbquery("SELECT * FROM ".$db_prefix."shoutbox WHERE shout_id='".$id."'");
if (dbrows($result)) $sdata = dbarray($result);
if (isset($_POST['post_shout']) && isset($shout)) {
$flood = false;
if (iMEMBER) {
$shout_name = $userdata['user_id'];
} elseif ($settings['guestposts'] == "1") {
$shout_name = trim(stripinput($_POST['shout_name']));
$shout_name = preg_replace("(^[0-9]*)", "", $shout_name);
if (isNum($shout_name)) $shout_name="";
}
$shout_message = str_replace("\n", " ", $_POST['shout_message']);
$shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
$shout_message = str_replace("[", " [", $shout_message);
$shout_message = preg_replace("/([^\s]{21})/", "$1\n", $shout_message);
$shout_message = trim(stripinput(censorwords($shout_message)));
$shout_message = str_replace("\n", "<br>", $shout_message);
if ($shout_name != "" && $shout_message != "") {
if (!iSUPERADMIN && dbrows($result) > 0) {
$data = dbarray($result);
if ((time() - $data['last_shout']) < $settings['flood_interval']) {
$flood = true;
$result = dbquery("INSERT INTO ".$db_prefix."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')");
if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) {
}
}
}
if (!$flood) {
$lin = FUSION_QUERY;
if ($shout =='add') {
if (EPS && iMEMBER) {
$przydzial = dbarray(dbquery("SELECT point_ammount from ".DB_PREFIX."eps_points WHERE point_id='2'"));
}
}
if ($shout =='edit' AND checkrights("S")
OR SBX_EDIT_USER AND iMEMBER AND $sdata['shout_name'] == $userdata['user_id']) {
$result = dbquery("UPDATE ".$db_prefix."shoutbox SET shout_message='$shout_message' WHERE shout_id='".$id."'");
}
$lin = str_replace("&shout=$shout&id=$id", '', $lin);
$lin = str_replace("shout=$shout&id=$id", '', $lin);
if($lin != '') redirect(FUSION_SELF."?".$lin);
else redirect(FUSION_SELF.$lin);
}
}
}
if (
isset($shout) AND isset($id) AND isNum($id) AND checkrights("S")
OR isset($shout) AND isset($id) AND isNum($id) AND !checkrights("S") AND iMEMBER AND $sdata['shout_name'] == $userdata['user_id'] AND SBX_EDIT_USER
) {
if ($shout == 'edit') {
$shout_message = str_replace("<br>", "", $sdata[shout_message]);
$shout_message = str_replace(" [", "[", $shout_message);
} else if ($shout == 'delete') {
$result = dbquery("DELETE from ".$db_prefix."shoutbox WHERE shout_id='".$id."'");
$lin = FUSION_QUERY;
$lin = str_replace("&shout=$shout&id=$id", '', $lin);
$lin = str_replace("shout=$shout&id=$id", '', $lin);
if($lin != '') redirect(FUSION_SELF."?".$lin);
else redirect(FUSION_SELF.$lin);
}
} else {
$id = 0;
$shout = 'add';
$shout_message = '';
$shout_name = '';
}
if(iMEMBER){
$caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']);
$caution = dbarray($caution_r);
$c_count = dbrows($caution_r);
$caution_conf = dbarray(dbquery("SELECT * from ".$db_prefix."cautions_config"));
}
if ($c_count > $caution_conf['shoutbox']) {
echo $caution_conf['shoutbox_info']."<br><br>";
} else {
if ($shout == 'add') {
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY."&shout=$shout&id=$id") : "?shout=add&id=$id")."'>";
} else {
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY) : "?shout=$shout&id=$id")."'>";
}
echo"
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2'>\n";
if (iGUEST) {
echo $locale['121']."<br>
<input type='text' name='shout_name' value='$shout_name' class='sb' maxlength='30' style='width:140px;'><br>
".$locale['122']."<br>\n";
}
echo" <input type='text' name='shout_message' rows='4' class='sbtexbox'>$shout_message";
echo" </td>
<td >
<input type='submit' name='post_shout' value='' class='sbbutton'>";
echo" </td>
<td>";if (iMEMBER) {
echo "<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'><img border='0' src='".THEME."images/sbarchiwum.png'></a> ";
} else {
echo "<div align='left'></div>\n";
}
echo "</td>
</tr>
</table></form></div>\n";
echo"<script>show_hide(ShowHide7)</script>";
}
echo"\n";
} else {
echo"<center>".$locale['125']."</center>\n";
}
$result = dbquery("
SELECT * FROM ".DB_PREFIX."shoutbox
LEFT JOIN ".DB_PREFIX."users ON ".DB_PREFIX."shoutbox.shout_name=".DB_PREFIX."users.user_id
ORDER BY shout_datestamp DESC LIMIT 0,".$settings['numofshouts']
);
echo" <script type='text/javascript' src='".INFUSIONS."shoutbox_panel/js/lighttable.js' language='Javascript'></script>";
echo" <script type=\"text/javascript\">
iens6=document.all||document.getElementById
ns4=document.layers
//specify speed of scroll (greater=faster)
var speed=5
if (iens6){
document.write('<div id=\"container\" style=\"position:relative;width:95%;height:120px;border:0px solid #444444;overflow:hidden\">')
document.write('<div id=\"content\" style=\"position:absolute;width:100%;left:0;top:0\">')
}
</script>";
echo "<ilayer name=\"nscontainer\" width=100% height=250 clip=\"0,0,277,400\">";
echo "<layer name=\"nscontent\" width=100% height=250 visibility=hidden>";
if (dbrows($result) > 0) {
$gouest_opt = dbarray(dbquery("SELECT * FROM ".$db_prefix."colors WHERE user_level=0"));
while ($data = dbarray($result)) {
echo"<span class='shoutboxname'>";
$user = "<span style='color:#".$data['user_color']."'>".$data['user_prefix'].$data['user_name']."</span>";
if ($data['user_name'] ) {
echo"<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>$user</a> <span class='shoutboxdate'><font style='font-style:italic;font-family:arial;font-size:7;color:#777777;'>".$locale['135']." ".showdate("shortdate", $data['shout_datestamp'])."</font></span><br>\n";
} else {
echo"<span style='color:#".$gouest_opt['user_color']."'>".$gouest_opt['user_prefix'].$data['shout_name']."</span>\n";
}
echo"</span>";
echo"<img src='".THEME."images/sbkropki.png' height=\"2\" alt=''><br>";
$mes = str_replace(" [", "[", $data[shout_message]);
$mes = nl2br(parseubb(parsesmileys($mes)));
echo "<span class='shoutbox'>".$mes ."</span>";
echo "<br><br><img src='".THEME."images/sbkreski.png' height=\"5\" alt=''><br><br>\n";
}
} else {
echo "<div align='left'>".$locale['127']."</div>\n";
}
echo "</layer></ilayer><script language=\"JavaScript1.2\">
if (iens6)
document.write('</div></div>')
</script>";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<td><p align=\"right\">";
echo"<a href=\"#\" onMouseover=\"moveup()\" onMouseout=\"clearTimeout(moveupvar)\"><img src=\"".THEME."images/up.png\" border=\"0\"></a> ";
echo "<a href=\"#\" onMouseover=\"movedown()\" onMouseout=\"clearTimeout(movedownvar)\"><img src=\"".THEME."images/down.png\" border=\"0\"></a>";
echo "</td></table>";
echo "<script language=\"JavaScript1.2\">
if (iens6) {
var crossobj=document.getElementById? document.getElementById(\"content\") : document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4) {
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}
function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed+\"px\"
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout(\"movedown()\",20)
}
function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+\"px\"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout(\"moveup()\",20)
}
function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility=\"show\"
}
window.onload=getcontent_height
</script>";
echo "
</td>
<td background=\"".THEME."images/emikser_v3_19.jpg\" width=\"204\" height=\"209\" style=\"border: 0; padding-top: 20; padding-left: 25; padding-right: 25; padding-bottom: 10;\">
";
include BASEDIR."infusions/info_panel/locale/Polish.php";
include BASEDIR."includes/theme.php";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><td>";
echo "\n";
$result=dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,10");
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#CCCCCC'><b>[Tinkle]</b></font>";
}elseif($lastseen<360){
$lastseen="<font color='#BBBBBB'><b>[<5 min]</b></font>";
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}
if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";
echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>"; //wyswietlanie na stronie //
}
}
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> <b><span style=\"color: #C0C0C0\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
$result = dbquery(
"SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ".$db_prefix."online ton
LEFT JOIN ".$db_prefix."users tu ON ton.online_user=tu.user_id
WHERE online_user!='0'"
);
} else {
echo $locale['013']."<br>\n";
}
echo "</td></tr></table>";
echo "
</td>
<td background=\"".THEME."images/emikser_v3_20.jpg\" width=\"205\" height=\"209\" style=\"border: 0; padding-top: 20; padding-left: 25; padding-right: 25; padding-bottom: 10;\">";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo"
</td>
</tr>
</table></td>
</tr>
<tr>
<td>
\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' width='936' height='44' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='foootas1' width='714'></td>
<td class='foootas2' width='226'></td>
</tr>
</table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table align='center' border='0' width='531' cellpadding='0' cellspacing='0'>
<tr>
<td class='pan-ct-kaire'></td>
<td class='pan-ct-centras'><center>$subject</center></td>
<td class='pan-ct-desine'></td>
</tr>
<tr>
<td class='pan-ct-son-kaire'></td>
<td class='pan-ct-fonas'>";
echo "$news";
echo "<td class='pan-ct-son-desine'></td>
</tr>
<tr>
<td class='pan-ct-apac-kaire'></td>
<td class='pan-ct-apac-centras'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." ";
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>
<td class='pan-ct-apac-desine'></td>
</tr>
</table>";
}
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 width='100%' cellpadding='0' cellspacing='0' class='borderis_son'>
<tr>
<td>
<table width='100%' height='37' cellpadding='0' cellspacing='0'>
<tr>
<td class='pan-ct-kaire_all' width='125'><img src='".THEME."images/spacer.gif' width='125' height='37' style='display:block'></td>
<td class='pan-ct-centras_all' width='100%'><center>$title</center></td>
<td class='pan-ct-desine_all' width='137'><img src='".THEME."images/spacer.gif' width='137' height='37' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='pan_ct_body_all' width='100%' height='100%'>";
}
// Close table end
function closetable() {
echo "</td></table></td></tr></table>";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='borderis_son'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='netzone_pan_l'>$title</td>
</tr>
<tr>
<td class='paneles_bg'>";
}
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='8'></td></tr></table>\n";
}
?>
Redagavo _MaZvE_· 2008 Lie. 6 13:07:26