Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Nėra panelių apačios

Parašė SWIZZ· 2009 Lie. 23 10:07:05
#4

Theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "969";
$theme_width_l = "213";
$theme_width_r = "213";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' height='214'>
<tr>
      <td colspan='9'>
         <img border='0' src='".THEME."images/multiplayers_01.gif' width='969' height='214' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='1' height='214' alt=''></td>
   </tr>
   <tr>
      <td>
         <img border='0' src='".THEME."images/multiplayers_02.gif' width='74' height='61' alt=''></td>
      <td colspan='2'>
         <a href='".BASEDIR."index.php'><img border='0' src='".THEME."images/multiplayers_03.gif' width='133' height='61' alt=''></a></td>
      <td>
         <a href='".BASEDIR."forum/index.php'><img border='0' src='".THEME."images/multiplayers_04.gif' width='135' height='61' alt=''></a></td>
      <td>
         <a href='".BASEDIR."downloads.php'><img border='0' src='".THEME."images/multiplayers_05.gif' width='134' height='61' alt=''></a></td>
      <td>
         <a href='".BASEDIR."articles.php'><img border='0' src='".THEME."images/multiplayers_06.gif' width='132' height='61' alt=''></a></td>
      <td>
         <a href='".BASEDIR."photogallery.php'><img border='0' src='".THEME."images/multiplayers_07.gif' width='135' height='61' alt=''></a></td>
      <td>
         <a href='".BASEDIR."contact.php'><img border='0' src='".THEME."images/multiplayers_08.gif' width='136' height='61' alt=''></a></td>
      <td>
         <img border='0' src='".THEME."images/multiplayers_09.gif' width='90' height='61' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='1' height='61' alt=''></td>
   </tr>
   <tr>
      <td colspan='2' rowspan='2'>
         <img border='0' src='".THEME."images/multiplayers_10.gif' width='123' height='58' alt=''></td>
      <td colspan='4' rowspan='2'>
         <img border='0' src='".THEME."images/multiplayers_11.gif' width='485' height='58' alt=''></td>
      <td colspan='2' rowspan='2'>
         <img border='0' src='".THEME."images/multiplayers_12.gif' width='271' height='58' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/multiplayers_13.gif' width='90' height='36' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='1' height='36' alt=''></td>
   </tr>
   <tr>
      <td rowspan='2'>
         <img border='0' src='".THEME."images/multiplayers_14.gif' width='90' height='52' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='1' height='22' alt=''></td>
   </tr>
   <tr>
      <td colspan='8'>
         <img border='0' src='".THEME."images/multiplayers_15.gif' width='879' height='30' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='1' height='30' alt=''></td>
   </tr>
   <tr>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='74' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='49' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='84' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='135' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='134' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='132' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='135' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='136' height='1' alt=''></td>
      <td>
         <img border='0' src='".THEME."images/spacer.gif' width='90' height='1' alt=''></td>
      <td></td>
   </tr>
</table>\n";

echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>
<br><br>
</table>\n";

echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='969'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."<br>\n";
echo showcounter()."<br>
Dizainas: Zabello
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<br><br>
<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,"<br>").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<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";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\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";

}
?>




Styles.css
a {
   color : #ffffff;
   text-decoration : none;
}

a:hover {
   color : #f4b005;
   text-decoration : underline;
}

a.side {
   color : #ffffff;
   text-decoration : none;
}

a:hover.side {
   color : #f4b005;
   text-decoration : underline;
}

a.white {
   color : #ddd;
   text-decoration : none;
}

a:hover.white {
   color : #ddd;
   text-decoration : underline;
}

body {
   font-family : Verdana, Arial, Helvetica, sans-serif;
        background-image:url(images/bg.jpg);
    font-size : 11px;
}

form {
   margin : 0px;
}

hr {
   height : 1px;
   border : 1px solid #eee;
}

hr.side-hr {
   height : 1px;
   border : 1px solid #eee;
}

td {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

pre {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

.alt {
   color : #005599;
}
 
.white-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #fff;
   border-top : 1px solid #ccc;
   border-bottom : 1px solid #e1e1e1;
   padding : 5px;
}

.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
   background-color : #006699;
   padding : 5px;
}

.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #ffffff;
        background-image:url(images/footer.jpg);
        height: 84px; 
   background-color : #101010;
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   height : 20px;
   border : 1px solid #ccc;
   margin-top : 2px;
}

.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f8f8f8;
   border : 1px solid #ccc;
}

.main-body {
   font-size : 11px;
   color : #ffffff;
   background-color : #101010;
   padding : 4px 4px 5px 4px;
}

.side-body {
   font-size : 10px;
   color : #ffffff;
   background-color : #101010;
   padding : 4px;
}

.main-bg {
   color : #555;
        background-image:url(images/bg.jpg);
   background-color : #101010;
   padding : 5px;
}

.outer-border {
   border : 0px solid #ccc;
}

.border {
   border : 0px solid #e1e1e1;
}

.side-border-left {
   border-right : 0px solid #e1e1e1;
   padding : 0px;
}

.side-border-right {
   border-left : 0px solid #e1e1e1;
   padding : 0px;
}

.news-footer {
   font-size : 10px;
   color : #f4b005;
        background-image:url(images/capmain_footer.jpg);
        height: 58px;
   background-color : #101010;
   border-top : 0px solid #e1e1e1;
   padding : 0px 4px 4px 4px;
}

.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #f4b005;
        background-image:url(images/capmain.jpg);
        background-image:url(images/bg.jpg);
   background-color : #101010;
   border-bottom : 0px solid #e1e1e1;
   padding : 20px 4px 4px 4px;
}

.scapmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #f4b005;
        background-image:url(images/scapmain.jpg);
        background-repeat: repeat-x;
   height: 65px;
   background-color : #101010;
   border-bottom : 0px solid #e1e1e1;
   padding : 35px 0px 0px 10px;
}

.scapmain_footer {
        background-image:url(images/scapmain_footer.jpg);
        background-repeat: repeat-x;
   height: 42px;
   background-color : #101010;
}

.tbl-border {
   color : #555;
   background-color : #e1e1e1;
}

.tbl {
   font-size : 11px;
   color : #555;
   background-color : #fff;
   padding : 4px;
}

.tbl1 {
   font-size : 11px;
   color : #555;
   background-color : #fff;
   padding : 4px;
}

.tbl2 {
   font-size : 11px;
   color : #555;
   background-color : #f1f1f1;
   padding : 4px;
}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #888;
   background-color : #f1f1f1;
   padding : 2px 4px 4px 4px;
}

.quote {
   font-size : 11px;
   color : #555;
   background-color : #f8f8f8;
   padding : 4px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #bbb;
}

.poll {
   height : 12px;
   border : 1px solid #000;
}

.comment-name {
   font-weight : bold;
   color : #005599;
}

.shoutboxname {
   font-weight : bold;
   color : #f4b005;
   background-color : #101010;
}

.shoutbox {
   color : #f4b005;
   background-color : #101010;
}

.shoutboxdate {
   font-size : 10px;
   color : #f4b005;
   background-color : #101010;
}

.small {
   font-size : 10px;
   font-weight : normal;
}

.small2 {
   font-size : 10px;
   font-weight : normal;
   color : #555;
}

.side-small {
   font-size : 10px;
   font-weight : normal;
   color : #555;
   background-color : #fff;
}

.side-label {
   color : #555;
   background-color : #f1f1f1;
   padding : 2px 2px 3px 2px;
}
.serveriai {
padding : 500px 4px 4px 4px;

}




Kas padės +10 !