Witajcie ! Czy ktos mógłby mi powiedzieć dlaczego panele w moim themie się rozjeżdżają ? Pliki Podaje na dole, a jakby komuś było bardzo potrzebne umieszczam plik w załączniku.
Plik theme.php
<?
/*--------------------------------------------+
| Insecure Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - ww.old © 2005 |
| web: http://phpfusion.org |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
//Theme Settings
$body_text = "#FFFFFF";
$body_bg = "#1a1a1a";
$theme_width = "1078";
$theme_width_l = "179";
$theme_width_r = "179";
function render_header($header_content) {
global $theme_width;
echo "<table width='1078%' cellspacing='0' cellpadding='0'>
<tr>
<<td height=\"289\"><a href=\"http://galactikfootball.info\"><right><img src=\"".THEME."images/lay_03.jpg\" width=\"397\" height=\"289\" border=\"0\" alt=\"[Rozmiar: 25755 bajtów]\"></right></a><img src=\"".THEME."images/lay_04.jpg\" width=\"532\" height=\"289\" border=\"0\" alt=\"[Rozmiar: 22887 bajtów]\"><img src=\"".THEME."images/lay_05.jpg\" width=\"149\" height=\"289\" border=\"0\" alt=\"[Rozmiar: 3380 bajtów]\"></td>
</tr>
<tr>
<td height=\"65\" valign=\"top\"><img src=\"".THEME."images/lay_07.jpg\" width=\"19\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 445 bajtów]\"><a href=\"news.php\"><img src=\"".THEME."images/lay_08.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2505 bajtów]\"></a><img src=\"".THEME."images/lay_09.jpg\" width=\"111\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 657 bajtów]\"><a href=\"http://galactikfootball.info/infusions/wob_team/index.php\"><img src=\"".THEME."images/lay_10.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2942 bajtów]\"></a><img src=\"".THEME."images/lay_11.jpg\" width=\"106\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 605 bajtów]\"><a href=\"/forum/index.php\"><img src=\"".THEME."images/lay_12.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2246 bajtów]\"></a><img src=\"".THEME."images/lay_13.jpg\" width=\"109\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 605 bajtów]\"><a href=\"download.php\"><img src=\"".THEME."images/lay_14.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2834 bajtów]\"></a><img src=\"".THEME."images/lay_15.jpg\" width=\"21\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 437 bajtów]\"></td>
</tr>
<tr>
\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"711\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_18.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 15px; height: 43px; padding-conter: 40px; padding-right: 20px; padding-top: 25px; width: 651px\" valign=\"top\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_272.jpg'); color: #FFFFFF; padding-left: 50px; padding-right: 50px\">$news</td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_31.jpg\" width=\"711\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 984 bajtów]\"></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<td width=\"711\" valign=\"top\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"711\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_18.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 15px; height: 43px; padding-left: 40px; padding-right: 20px; padding-top: 25px; width: 651px\" valign=\"top\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_272.jpg'); color: #FFFFFF; padding-left: 50px; padding-right: 50px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr>
<td valign=\"top\"><img src=\"".THEME."images/lay_31.jpg\" width=\"711\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 984 bajtów]\"></td>
</tr>
</table>
\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"711\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_18.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 15px; height: 43px; padding-left: 40px; padding-right: 20px; padding-top: 25px; width: 651px\" valign=\"top\">Tytuł newsa</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_272.jpg'); color: #FFFFFF; padding-left: 50px; padding-right: 50px\">\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_31.jpg\" width=\"711\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 984 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"179\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_17.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 14px; height: 47px; padding-bottom: 21px; padding-left: 30px; width: 139px\"><br>$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_20.jpg'); color: #FFFFFF; padding-left: 22px; padding-right: 18px\">\n";
}
function closeside() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_26.jpg\" width=\"179\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 537 bajtów]\"></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 ...
Plik style.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:#222222;}
.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:10px;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:#CCCCCC;text-decoration:none;font-size:10px;}
a:hover {color:#F16E00;text-decoration:none;font-size:10px;}
a.side {color:#CCCCCC;text-decoration:none;font-size:10px;}
a:hover.side {color:#F16E00;text-decoration:none;font-size:10px;}
a.white {color:#CCCCCC;text-decoration:none;font-size:11px;font-weight:bold;}
a:hover.white {color:#F16E00;text-decoration:none;font-size:11px;font-weight:bold;}
.main-bg {background-color:#464646;padding:0px;}
.full-header {font-family:Tahoma,Verdana;font-size:10px;color:#CCCCCC;background-color:#4C4C4C;}
.white-header {font-family:Tahoma,Verdana;font-size:11px;color:#CCCCCC;background-color:#464646;padding:4px;}
.full-footer {background-color:#464646;height:14px;color:#999999;font-size:10px;}
.side-border-left {background-color:#464646;padding:1px;}
.side-border-right {background-color:#464646;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:#464646;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:#4F4F4F;padding:2px 2px 2px 2px;}
.scapmain {font-family:Tahoma,Verdana;font-size:10px;color:#CCCCCC;background-color:#4F4F4F;padding:2px 2px 2px 2px;}
td {font-family:Tahoma,Verdana;font-size:10px;}
.tbl-border {background-color:#464646;}
.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:#4F4F4F;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 ...
PW od moderatora:
- Przeniesienie tematu - Pieka 22.12 - 19:43
czak dodał/a następującą plik:
Edytowane przez Pieka dnia 22.12.2008 19:54:12
|