Parašė adulis· 2008 Geg. 3 12:05:54
#1
Per puse suspaudžia foruma ir kaškurią panelės pavadinima uždengia baltu fonu kame diela??
Ir beda tik su šita tema su kitom viskas normaliai...
Theme.php
<?php
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "950";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings;$db_prefix;
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 "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
include_once "header.php";
//Login Code End
echo"<script type='text/javascript'>LKT_init();</script>";
echo"</td></tr></table>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='2' cellspacing='0' border='0'>";
echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 1px; border-bottom: solid #b5b5b5 1px; border-top: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
echo "<td width='950' height='40' class='footer' align='left'>";
if ($license == false) {
echo "<b><a href='http://php-fusion.co.uk' target='_blank'></a></b>";
}
echo "</td>";
echo "<td width='40%' class='footer' align='center'>";
echo "<b>".stripslashes($settings['footer'])."</b></td>";
echo "<td width='26%' class='footer' align='right'>";
echo "<b><a href=''></a></b>";
echo "</td>";
echo "<div align='center'></tr></table></td></tr></table></div>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #CACACA'>";
echo "<td background='".THEME."images/new_cell.jpg' height='28'><font class='block-title' align=><center><b>$subject</b></center></font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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 "</td></tr></table></td></tr></table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #CACACA'>";
echo "<td background='".THEME."images/cellpic4.jpg' height='28'><font class='block-title'><center><b>$subject</b></center></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' 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 "<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 "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #CACACA'>";
echo "<tr><td bgcolor='#ffffff' background='".THEME."images/cellpic1.gif' height='28'><font class='block-title'><center><b>$title</b></center></font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #CACACA' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='28' width='100%' background='".THEME."images/mini_cell.jpg'>";
echo "<font class='block-title'><center><b>$title</b></center></font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #CACACA' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='28' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'><center><b>$title</b></center></font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#ffffff' class='side-body' width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Kartais normaliai rodo jai kurio nario paraše būna ilgas paveiksliukas tai ištiesina viska...
Redagavo adulis· 2008 Geg. 3 12:05:02
Parašė adulis· 2008 Geg. 4 18:05:30
#7
Per IE visus paneliu pavadinimus baltu fonu uzdengia..
Kai kuriose temose per puse foruma rodo... o per IE narsykle viskas normaliai ... padekit
Style.css:
body {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
background-color: #000000;
background-image: url(images/bg.gif);
background-position: top center;
background-repeat: repeat;
padding:0px 0px 0px 0px;
margin:10px;
}
.forumline {
background-color: #F8F8F8;
}
.header {
background-color: #FAFAFA;
padding:0px;
}
/* General page style */
a {
color:#34558a;
text-decoration:none;
font-size:10px;
}
a:hover {
color:#34558a;
text-decoration:none;
}
a.side {
color:#34558a;
text-decoration:none;
font-size:10px;
}
a:hover.side {
color:#34558a;
text-decoration:none;
}
a.white {
color:34558a;
text-decoration:none;
font-size:11px;
}
a:hover.white {
color:#604000;
text-decoration:none;
}
form {
margin:0px 0px 0px 0px;
}
hr {
border-top:1px #E2E2E2 solid;
border-bottom:1px #F9F9F9 solid;
}
hr.side-hr {
border:1px #E2E2E2 solid;
border-bottom:1px #F9F9F9 solid;
}
td {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
}
pre {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
}
.alt {
color:#1C1C1C;
}
.sub-header {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#FFFFFF;
background-image: url(images/sub.jpg);
background-color:#FFFFFF;
border-top:1px #CACACA solid;
border-bottom:1px #CACACA solid;
padding:7px;
}
.button {
font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
font-size:10px;
font-weight: bold;
color:#FFFFFF;
border:1px solid; border-color:#B7B7B7 #B7B7B7 #B7B7B7 #B7B7B7;
background: #FFFFFF;
background-image:url(images/button.gif);
margin-top:2px;
}
.textbox {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:
background-color:#990000;
border:1px #CACACA solid;
}
.main-body {
background-color:#FFFFFF;
color: #3B3B3B;
font-weight: normal;
padding:4px 4px 6px 6px;
}
.table-cellpic {
font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: solid;
color: #FFFFFF;
background-color: #FFFFFF;
padding:2px 4px 4px 4px;
}
.panel-border {
border: 1px solid #CACACA;
}
.news-border {
border-top: solid #CACACA;
border-top-width: 1px;
border-left: solid #CACACA;
border-left-width: 1px;
border-right: solid #CACACA;
border-right-width:1px;
border-bottom: solid #F6F6F6;
border-bottom-width:0px;
}
.panel-cellpic {
font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
background-color: #FFFFFF;
background-image: url(images/cellpic1.gif);
padding:0px 0px 2px 0px;
}
.block-title {
font-size: 13px;
font-weight: bold;
color: #FFFFFF;
background-color: #FFFFFF;
font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
padding : 0px 0px 0px 0px;
}
.side-body {
background-color: #FFFFFF;
color: #000;
font-weight: normal;
background-position: bottom;
background-repeat: repeat-x;
padding:4px 4px 6px 4px;
}
.main-bg {
background-color:#F8F8F8;
}
.border {
border-width:0px 1px 1px 1px;
border-color:#CACACA;
border-style:solid;
}
.news-footer {
background: #FFFFFF;
background-image: url(images/news_footer.gif);
background-repeat: repeat-x;
font-size:10px;
font-weight:normal;
color:#000000;
height:21px;
padding:4px 4px 4px 4px;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
border-width:1px 1px 1px 1px;
border-color:#CACACA;
border-style:solid;
color:#FFFFFF;
height:24px;
padding:2px 4px 4px 4px;
}
.footer {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#e6e6e6;
background-image: url(images/footer.gif);
background-repeat: repeat-x;
background-position: bottom;
background-color:#FFFFFF;
padding:4px 4px 4px 4px;
}
.footerstat {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
color:#E81000;
}
img {
border: 0px;
}
.scapmain {
font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
font-size:10px;
text-align: right;
font-weight:bold;
color:#FFFFFF;
height:0px;
padding:0px 2px 0px 2px;
border-width:1px 0px 1px 0px;
border-style:solid;
}
.tbl-border {
background-color: #FFFFFF;
border: 3px solid #DCE3E4;
border-left-width: 1px;
border-right-width: 1px;
margin-top: 4px;
margin-bottom: 4px;
}
.tbl { padding: 3px 4px 3px 4px; }
.tbl1 { background-color: #FCFEFE; padding: 4px; border: 1px solid #E0E7E8; }
.tbl2 { background-color: #F5F8F8; border: 1px solid #E0E7E8; padding: 4px; }
/* Forum header*/
.forum-caption {
font-size:10px;
font-weight:bold;
color:#000000;
background-color:#F6F8FA;
height:24px;
padding:0px 4px 2px 4px;
background-image:url(images/cellpic2.gif);
background-repeat:repeat-x;
}
/* Quote blocks */
.quote {
color:#2E4D80;
background-color:#F8F8F8;
padding:2px;
margin:0px 20px 0px 20px;
border:1px #CACACA solid;
}
/* Voting Poll */
.poll {
height:10px;
border:1px #929AA2 solid;
}
.comment-name {
font-weight:bold;
color:#DDCC88;
}
/* This is for the Shoutbox */
.shoutboxname {
font-weight:bold;
color:#FFDDAA;
}
.shoutbox {
color:#06070A;
}
.shoutboxdate {
font-size:10px;
color:#1C1C1C;
}
.small {
font-size:10px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
color:#1C1C1C;
}
.side-small {
font-size:10px;
font-weight:normal;
color:#000000;
}
.side-label {
background-color:#E3E3E3;
font-weight:normal;
color:#888;
padding:2px;
}
/* This is for the Photo Gallery */
.gallery {
padding: 16px 0px 8px 0px;
}
.gallery img {
border: 1px solid #CACACA;
filter: gray;
}
.gallery:hover img {
border: 1px solid #4E79F3;
filter: none;
}
img.activegallery {
border: 1px solid #CACACA;
filter: none;
}
Redagavo adulis· 2008 Geg. 6 20:05:01