Początkujący
Postów: 157 Pomógł: 8 Ostrzeżeń: 2
Data rejestracji: 01.02.2010 18:02
ZBANOWANY: Dożywotnio
|
Witam mam otóż taki problem w postaci błędu wyswietlania skórki Soccer Theme. Dokładnie chodzi o brak belki nawigacyjnej poziomej i brak tła pod panelami w skórce pod fusiona v6 jest białe tło pod panelami i na całej stronie jest tło z body background-image style.css a mi wyszło ze jako tło robi body background-image i brak tego białego.
Plik theme.php:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
// theme settings
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings;
echo "<table align='center' cellspacing='0' cellpadding='0' id='main' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>".showbanners()."</td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<center><img src='".THEME."images/header.jpg'></center>";
echo "<table cellpadding='0' cellspacing='0' width='100%'class='tablebreak' >
<tr>
<td class='white-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>
<td align='right' class='white-header'>".showsubdate()."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='29' background='".THEME."images/fbc.gif' align='center' class='footer'><br>".stripslashes($settings['footer'])."</td>
</tr>
<tr>
<td align='center' class='footer'>\n";
if ($license == false) {
echo showcopyright();
}
echo showcounter()."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>".
newsposter($info, THEME_BULLET).newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border tablebreak'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='right' class='news-footer'>".
articleposter($info, THEME_BULLET).articleopts($info, THEME_BULLET).itemoptions("A",$info['article_id'])."
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' >
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0' class=' tablebreak'>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='tablebreak'>
<tr>
<td colspan='2' class='side-body'><img src='".THEME."images/blank.gif' alt='' height='2' width='170'></td>
</tr>
<td class='scapmain'>$title</td>
".($collapse ? "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>" : "")."
</tr>
<tr>
<td colspan='2' class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "
</td>
</tr>
</table>\n";
}
{
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
i plik style.css:
#main {width: 100%;}
a {
color : #000000;
text-decoration : none;
}
a:hover {
color : #000000;
text-decoration : none;
}
a.side {
color : #48743f;
text-decoration : none;
}
a:hover.side {
color : #699460;
text-decoration : underline;
}
li.white a, a.white{
color:#fff;
text-decoration:none;
background-image: url(images/man.gif);
}
li.white a:hover, a:hover.white {
color:#cc0000;
text-decoration:underline;
background-image: url(images/man.gif);
}
body {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
background-color : #000000;
background-image: url(images/bg.gif);
}
form {
margin : 0px;
}
hr {
height : 1px;
border : 1px solid #eee;
}
hr.side-hr {
height : 1px;
border : 1px solid #dedede;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #000000;
}
.outer-border {
border : 0px solid #ffffff;
}
.sub-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #fff;
padding : 0px;
background-image: url(images/man.gif);
background-color : #ffffff;
border : 2px solid #ffffff;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
border : 0px solid #000000;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #ffffff;
padding : 1px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #ffffff;
height : 20px;
border : 1px solid #000000;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #ffffff;
border : 1px solid #000000;
}
.main-body {
font-size : 11px;
color : #757576;
background-color : #ffffff;
border-bottom: 2px solid #2d3b2c;
border-right: 2px solid #2d3b2c;
border-left: 2px solid #2d3b2c;
padding : 4px 0px 5px 0px;
}
.side-body {
font-size : 10px;
color : #2d3b2c;
background-color : #ffffff;
border-bottom: 2px solid #2d3b2c;
border-right: 2px solid #2d3b2c;
border-left: 2px solid #2d3b2c;
padding : 4px;
}
.main-bg {
color : #555;
background-color : #ffffff;
padding : 10px 5px 10px 5px;
}
.border {
border : 0px solid #ffffff;
}
.side-left .side-border-right {display: none;}
.side-right .side-border-left {display: none;}
.side-border-left {
padding:0px 10px 0px 10px;
width: 170px;
}
.side-border-right {
padding:0px 10px 0px 10px;
width: 170px;
}
.news-footer {
font-size : 10px;
color : #555;
background-color : #ffffff;
background-repeat: no-repeat;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-color : #fff;
background-image: url(images/sbc.gif);
border-top: 1px solid #2d3b2c;
border-bottom: 2px solid #2d3b2c;
border-right: 2px solid #2d3b2c;
border-left: 2px solid #2d3b2c;
height: 31px;
padding : 2px 0px 4px 0px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-color : #ffffff;
background-image: url(images/sbc.gif);
border-top: 1px solid #2d3b2c;
border-bottom: 2px solid #2d3b2c;
border-right: 2px solid #2d3b2c;
border-left: 2px solid #2d3b2c;
padding : 4px;
}
.tbl-border {
color : #000;
background-color : #000;
}
.tbl {
font-size : 11px;
color : #000;
background-color : #fff;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #000;
background-color : #fff;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #000;
background-color : #f1f1f1;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #000;
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 #000;
}
.poll {
height : 12px;
border : 1px solid #000000;
}
.comment-name {
font-weight : bold;
color : #000;
}
.shoutboxname {
font-weight : bold;
color : #000;
}
.shoutbox {
color : #000;
}
.shoutboxdate {
font-size : 10px;
color : #000;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #000000;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #000000;
background-color : #fff;
}
.side-label {
color : #000;
background-color : #fff;
padding : 2px 2px 3px 2px;
}
.white-header ul{
margin: 0;
padding: 5;
background-image: url(images/subheader-mid.gif);
}
.white-header ul li{
display: inline;
}
.white-header ul li.first-link .bullet{
display: none;
}
#navigation ul {
margin: 0;
padding: 0;
list-style-type: none;
}
#navigation h2 {
font-size: 12px;
color: #000;
background-color: #f1f1f1;
margin: 0;
padding: 2px;
}
#navigation a {
display: block;
color: #777;
padding: 2px;
text-decoration : none;
}
#navigation a:hover {
color: #f6f6f6;
background-color: #ccc;
}
* html #navigation ul li{
height: 1%;
}
.pagenav span {
color: #000;
background-color: #fff;
border: 1px solid #e1e1e1;
padding: 2px 4px;
margin: 2px;
}
.pagenav a {
color: #000;
background-color: #fff;
border: 1px solid #f1f1f1;
padding: 2px 4px;
margin: 2px;
text-decoration: none;
}
.pagenav a:hover {
color: #000;
background-color: #f1f1f1;
text-decoration: none;
}
.center, *[align="center"] {margin: 0 auto;}
.admin-message {
border: 1px solid #666;
border-left: 3px solid #999;
padding: 8px;
margin-bottom: 8px;
}
.bbcode { border: 1px solid #ccc; }
.tablebreak {
margin-bottom: 8px;
background-color: #fff;
}
.news-category {
border: 0;
margin: 3px 5px 0 0;
float: left;
}
Skórka jest z fusiona v6 próbowałem sam przystosować ale z marnym skutkiem.
PW od moderatora:
- Zmiana nazwy tematu - Pieka 25.02 - 22:58
Edytowane przez Pieka dnia 25.02.2010 23:15:34
Kliknij jeśli pomogłem.
Bo życie uczy nas myślenia.
|