Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Prasau, padekite headeryje reklama uzkodinti

Parašė botanik· 2009 Rugp. 26 20:08:06
#1

Sveiki, iskilo tokia problma, negaliu uzkodinti headeryje bannerio ;/// Noreciau kad padetumet ...


Saitas - www.skilas.net

Noreciau kad reklama butu po s raide zemiau. Stai style css ir theme.php busiu dekingas ;)))


body {
   
   background-color: #FFF6E1;
   
   border: 1px dashed #EEE2C5;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   width: 900px;
   margin: 0 auto 0 auto;
   
}
.header {
    background-color: #FFF6E1;

   background-image: url('images/header.gif');
   width: 890px;
   height: 250px
}
.sub-header {
   font-family : Tahoma;
   font-size : 12px;
   color : #fff;
   background-color : #BD8C1A;
   padding-top: 5px;
   padding-left: 10px;
   padding-right: 10px;
   padding-bottom: 5px;
   
   .side-border-left {
   color : #777;
   background-color: #FFF6E1;
   padding : 0px;
}
.side-border-right {
   color : #777;
   background-color: #FFF6E1;
   padding : 0px;
}

}

.scapmain {
   background-color : #ffffff;
   background-image: url('images/scapmain.gif');
   text-transform: uppercase;
    font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #FFF;
   text-align: center;
   padding-top: 3px;
   padding-left: 12px;
   width: 169px;
   height: 42px
   
}
.side-body {
   background-color : #fff;
   background-image: url('images/side-bg.gif');
   font-size : 10px;
   color : #777;
   padding : 8px
}
.side-foot {
   background-color : #fff;
   background-image: url('images/side-foot.gif');
   width: 169px;
   height: 10px
}
.capmain {
    background-image: url('images/capmain.gif');
    text-transform: uppercase;
    font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #FFF;
   text-align: center;
   background-color : #ffffff;
   width: 166px;
    height: 42px;
    padding : 4px;
   
}
.main-body {
 font-size : 11px;
 color : #555;
 background-color : #FFFFFF;
 border-left: solid #EEE2C5 1px;
 border-right: solid #EEE2C5 1px;
 border-bottom: solid #EEE2C5 1px;
 padding : 4px;
}

.main-bg {
   color : #555;
   background-color : #FFF6E1;
   padding : 0px 5px 10px 5px;
}
a {
   color : #BD8C1A;
   text-decoration : none;
}
a:hover {
   color : #C5BD85;
   text-decoration : underline;
}
a.side {
   color : #BD8C1A;
   text-decoration : none;
}
a:hover.side {
   color : #C5BD85;
   text-decoration : underline;
}
a.white {
   color : #fff;
   text-decoration : none;
}
a:hover.white {
   color : #f6f6f6;
   text-decoration : none;
}
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;
}
.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-image: url('images/footeris.png');
   background-color : #fff6e1;
   border: solid #EEE2C5 0px;
   padding : 5px;
}
.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   height : 20px;
   border : 1px solid #fff;
   margin-top : 2px;
}
.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f8f8f8;
   border : 1px solid #ccc;
}
.border {
   border : 1px solid #e1e1e1;
}
.news-footer {
   font-size : 10px;
   color : #555;
   border-left: solid #EEE2C5 1px;
   border-right: solid #EEE2C5 1px;
   border-bottom: solid #EEE2C5 1px;
   padding: 4px;
}
.tbl-border {
   color : #555;
   background-color : #F5F1DE;
}
.tbl {
   font-size : 11px;
   color : #555;
   padding : 4px;
}
.tbl1 {
   font-size : 11px;
   color : #555;
   background-color : #fff;
   padding : 4px;
}
.tbl2 {
   font-size : 11px;
   color : #555;
   background-color : #FFFEF9;
   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 #bbb;
}

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

.shoutboxname {
   font-weight : bold;
   color : #005599;
   background-color : #f6f6f6;
}

.shoutbox {
   color : #777;
   background-color : #f6f6f6;
}

.shoutboxdate {
   font-size : 10px;
   color : #888;
   background-color : #f6f6f6;
}

.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 : #f6f6f6;
}

.side-label {
   color : #555;
   background-color : #f1f1f1;
   padding : 2px 2px 3px 2px;
}
.white-header {
   padding: 0px 0px 0px 70px
}





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 = "#006600";
$theme_width = "890";
$theme_width_l = "169";
$theme_width_r = "169";

function render_header($header_content) {

global $theme_width;



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

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


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

</tr>
</table>\n";
echo "<center><img src='".THEME."sub/virsutine.gif'></center>";
echo "<td align='center'><taašr>
 <td width='10'></td>
    <td class='white-header'><center><a href='".BASEDIR."index.php'><img src='".THEME."images/pradinis.gif' border=0' alt='Pradinis'></a></td>
   <td class='white-header'><a href='".BASEDIR."contact.php'><img src='".THEME."images/kontaktai.gif' border=0' alt='Kontaktai'></td>
    <td class='white-header'><a href='".FORUM."index.php'><img src='".THEME."images/forumas.gif' border=0' alt='Diskusijos'></td></td>
    <td class='white-header'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/galerija.gif' border=0' alt='Galerija'></td>
    <td class='white-header'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/siuntiniai.gif' border=0' alt='Siuntiniai'></td>
<td width='0'></td>

  </tr></table>";
echo "<center><img src='".THEME."sub/virsutine.gif'></center>";


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

echo "<table cellpadding='0' cellspacing='0' width='$theme_width' align=center>\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>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<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," &middot;").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'>
<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," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</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) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
<tr><td class=side-foot></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";

}
?>



Redagavo botanik· 2009 Rugp. 26 20:08:25