Do mojej skórki nie mogę znaleźć nic na temat jak ją poszerzyć. W theme.php nie mam czegoś takiego jak render_page.
Załączę pliki theme.php, oraz styles.css. Może ktoś pomoże jak zmienić żeby stronka wyglądała normalnie - bardziej szeroka - i żeby forum się nie rozjeżdżało. Dziękuję.
Plik styles.css:
img {
border: 0px;
}
.top_header_left {
padding:0px 0px 0px 4px;
height:104px;
width:7px;
}
.top_header_center {
background:url(images/header/header_center.gif);
height:32px;
padding:0px 0px 5px 0px;font-size:10px;
color:#333333;
}
.top_header_right {
padding:0px 4px 0px 0px;
height:104px;
width:6px;
}
.menu_left {
padding:0px 0px 0px 2px;
height:32px;
width:14px;
}
.menu_center {
background:url(images/menu/menu_center.gif);
height:32px;
padding:0px 0px 5px 0px;font-size:10px;
color:#333333;
}
.menu_right {
padding:0px 4px 0px 0px;
height:32px;
width:10px;
}
.header_left {
background:url(images/panels/header_panel/top_left.gif);
height:24px;
width:31px;
}
.header_center {
background:url(images/panels/header_panel/top_center.gif);
height:24px;
padding:5px 2px 2px 2px;
font-weight:bold;font-size:11px;
color:#FFFFFF;
}
.header_right {
background:url(images/panels/header_panel/top_right.gif);
height:24px;
width:8px;
}
.info_left {
background:url(images/panels/info_panel/info_left.gif);
height:14px;
width:11px;
}
.info_center {
background:url(images/panels/info_panel/info_center.gif);
height:14px;
color:#999999;
font-size:9px;
}
.info_right {
background:url(images/panels/info_panel/info_right.gif);
height:14px;
width:10px;
}
.side_left {
background:url(images/panels/side_panel/side_left.gif);
height:8px;
width:8px;
}
.side-body {
background:url(images/panels/side_panel/side_center.gif);
height:8px;
padding:6px 6px 6px 6px;
color:#CCCCCC;
font-size:10px;
}
.side_right {
background:url(images/panels/side_panel/side_right.gif);
height:8px;
width:7px;
}
.bottom_left {
background:url(images/panels/bottom_panel/bottom_left.gif);
height:16px;
width:54px;
}
.bottom_center {
background:url(images/panels/bottom_panel/bottom_center.gif);
height:16px;
}
.bottom_right {
background:url(images/panels/bottom_panel/bottom_right.gif);
height:16px;
width:53px;
}
body {
font-family:Tahoma,Verdana;
font-size:11px;
margin:0px;
margi:0px;
SCROLLBAR-FACE-COLOR: #4E4E4E;
SCROLLBAR-HIGHLIGHT-COLOR: #666666;
SCROLLBAR-SHADOW-COLOR: #121212;
SCROLLBAR-3DLIGHT-COLOR: #777777;
SCROLLBAR-ARROW-COLOR: #121212;
SCROLLBAR-TRACK-COLOR: #4E4E4E;
SCROLLBAR-DARKSHADOW-COLOR: #4E4E4E;
SCROLLBAR-BASE-COLOR: #4E4E4E;
}
.table_left {
background:url(images/background/table_left.gif);
width: 39px;
}
.table_right {
background:url(images/background/table_right.gif);
width: 39px;
}
a {
color:#FFFFFF;
text-decoration:none;
font-size:10px;
}
a:hover {
color:#B9DE31;
text-decoration:none;
font-size:10px;
}
a.side {
color:#FFFFFF;
text-decoration:none;
font-size:10px;
}
a:hover.side {
color:#B9DE31;
text-decoration:none;
font-size:10px;
}
a.white {
color:#FFFFFF;
text-decoration:none;
font-size:11px;
font-weight:bold;
}
a:hover.white {
color:#B9DE31;
text-decoration:none;
font-size:11px;
font-weight:bold;
}
.main-bg {
background-color:#2D2D2D;
padding:0px;
}
.full-header {
font-family:Tahoma,Verdana;
font-size:10px;
color:#CCCCCC;
background-color:#2D2D2D;
}
.white-header {
font-family:Tahoma,Verdana;
font-size:11px;
color:#CCCCCC;
background-color:#FF0000;
padding:4px;
}
.full-footer {
background-color:#2D2D2D;
height:14px;
color:#C0C0C0;
font-size:10px;
}
.side-border-left {
background-color:#2D2D2D;
padding:1px;
}
.side-border-right {
background-color:#2D2D2D;
padding:1px;
}
.shoutboxname {
font-weight:bold;
color:#666;
}
.shoutbox {
color:#CCCCCC;
}
.shoutboxdate {
font-size:9px;
color:#222222;
}
.main-body {
font-size:10px;
color:#222222;
background-color:#2D2D2D;
padding:3px 4px 3px 4px;
}
.news-footer {
background:url(images/panels/info_panel/info_center.gif);
height:14px;
color:#999999;
font-size:9px;
}
.capmain {
font-family:Tahoma,Verdana;
font-size:10px;
color:#CCCCCC;
background-color:#2D2D2D;
padding:2px 2px 2px 2px;
}
.scapmain {
font-family:Tahoma,Verdana;
font-size:10px;
color:#CCCCCC;
background-color:#2D2D2D;
padding:2px 2px 2px 2px;
}
td {
font-family:Tahoma,Verdana;
font-size:10px;
}
.tbl-border {
background-color:#2D2D2D;
}
.tbl {
font-size:10px;
padding:4px;
}
.tbl1 {
font-size:10px;
color:#CCCCCC;
background-color:#545454;
padding:2px;
border-top:1px #696969 solid;
border-bottom:1px #696969 solid;
}
.tbl2 {
font-size:10px;
color:#CCCCCC;
background-color:#2D2D2D;
padding:2px;
border-top:1px #696969 solid;
border-bottom:1px #696969 solid;
}
hr {
height:1px;
color:#ddd;
}
hr.side-hr {
height:1px;
color:#ccc;
}
form {
margin:0px 0px 0px 0px;
}
pre {
font-family:Tahoma,Verdana;
font-size:10px;
}
.alt {
color:#CCCCCC;
}
.button {
font-family:Tahoma,Verdana;
height:15px;
font-size:9px;
color:#CCCCCC;
font-weight:bold;
background-color:#5F5F5F;
border-top:1px #696969 solid;
border-left:1px #696969 solid;
border-bottom:1px #3A3A3A solid;
border-right:1px #3A3A3A solid;
}
.textbox {
font-family:Tahoma,Verdana;
font-size:10px;
color:#CCCCCC;
background-color:#5F5F5F;
border-top:1px #3A3A3A solid;
border-left:1px #3A3A3A solid;
border-bottom:1px #696969 solid;
border-right:1px #696969 solid;
}
.barmain {
font-family:Tahoma,Verdana;
font-size:10px;
color:#222222;
padding:4px 4px 4px 4px;
}
.forum-caption {
font-size:10px;
font-weight:bold;
color:CCCCCC;
background-color:#474747;
height:18px;
padding:0px 2px 2px 2px;
border-top:1px #6E6E6E solid;
border-bottom:1px #6E6E6E solid;
}
.quote {
color:#222222;
background-color:#eee;
padding:2px;
margin:0px 20px 0px 20px;
border:1px #ccc solid;
}
.poll {
height:12px;
border:1px #000 solid;
}
.comment-name {
font-weight:bold;
color:#666;
}
.small {
font-size:10px;
font-weight:normal;
}
.small2 {
font-size:10px;
font-weight:normal;
color:#CCCCCC;
}
.side-small {
font-size:10px;
font-weight:normal;
color:#222222;
}
.side-label {
font-size:10px;
color:#CCCCCC;
background-color:#4F4F4F;
padding:2px;border-top:1px #696969 solid;
border-bottom:1px #696969 solid;
}
.gallery {
padding: 16px 0px 8px 0px;
}
.gallery img {
border: 1px solid #ccc;
filter: orange;
}
.gallery:hover img {
border: 1px solid orange;
filter: none;
}
img.activegallery {
border: 1px solid orange;
filter: none;
}
Kliknij i zaczekaj na załadowanie kodu ...
Plik theme.php:
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fu... |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| PW Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Pilchu © 2007 |
| web: http://pilchu.yoy... |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/************************/
/* Theme Settings */
/************************/
$body_text = "#FFFFFF";
$body_bg = "#2D2D2D";
$theme_width = "878";
$theme_width_l = "172";
$theme_width_r = "172";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' height='100%'><tr><td class='table_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='table_center' valign='top'><table align='center' width='100%' cellspacing='0' cellpadding='0''><tr><td><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='full-header'><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='top_header_center'><img src='http://twojadomena.pl/themes/pw/logo.jpg' alt=''></td></tr></table></td></tr></table> ";
echo "<table class='table_left' cellpadding='0' cellspacing='0' width='100%' height='28px'>";
echo "<tr><td>";
echo "<table width='100%' cellspacing='0' cellpadding='0'></td>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr></table><table cellpadding='0' cellspacing='0' width='100%'><tr><td class='full-footer'>".stripslashes($settings['footer'])."</td></tr></table><table cellpadding='0' cellspacing='0' width='100%'><tr><td align='center' class='full-footer'><table width='790' cellpadding='0' cellspacing='0'><tr><td width='66%' class='full-footer'>";
if ($license == false) {
echo " Powered by <a href='http://www.php-fusion.co.uk'>PHP-Fusion</a> v".$settings['version']." © 2003-2005 l l Theme <b>PW</b> by: <A HREF='http://www.pilchu.yoyo.pl' TITLE='Theme by PilchuWEB'>Pilchu</A>";
}
echo "</td> <td align='right' width='33%' class='full-footer'><strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></td></tr></table></td></tr></table></td><td class='table_right'><img src='".THEME."images/blank.gif' alt=''></td></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td><td class='header_center'>$subject</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'></td> <td class='info_center'><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td><td class='info_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'> $news<br><br></td><td class='side_right'></td></tr></table><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'><table width='100%' cellpadding='0' cellspacing='0'><tr><td align='right' class='news-footer'>";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n";
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;' width='11'></a></td></tr></table></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td> <td class='header_center'>$subject</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'></td> <td class='info_center'><img src='".THEME."images/bullet.gif'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."</td><td class='info_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td> <td class='side-body'> ".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br><br><table width='100%' cellpadding='0' cellspacing='0'><tr><td align='right' class='news-footer'>";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n";
echo "<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']." <a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;' width='11'></a></td></tr></table></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td><td class='header_center'>$title</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'>\n";
}
function closetable() {
echo "</td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td> <td class='header_center'>$title</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td> <td class='side-body'>\n";
}
function closeside() {
echo "</td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td> <td class='header_center'>$title</td><td class='header_center' align='right'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td> <td class='side-body'><div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
tablebreak();;
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='3'></td></tr></table>\n";
}
?> Kliknij i zaczekaj na załadowanie kodu ...
Edytowane przez Pieka dnia 04.04.2009 18:48:41
|