Przedszkolak
Postów: 2
Data rejestracji: 12.01.2010 15:56
|
W poszukiwaniu rozwiązania mojego problemu przekopałem całe forum, stosowałem się do podpowiedzi tam znalezionych lecz nadal nie mogę wyśrodkować skórki Transverse. Używam php-fusion 6.01.9.
style.css
/* General page style */
img {border: 0px}
body {margin:0 auto; width:957px; background: #0E3751 url(images/bg.gif) repeat-x; font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size:11px; padding: 0px 25px 0px 25px; margin: 0 0 0 0px}
.header_bg {background: url(images/header_bg.png) repeat-x; height: 110px;}
html {height: 100%; margin: 0; padding: 0}
.nav {background: #0E3751 url(images/cellpic_nav.png) repeat-x; color: #fff; height: 28px; padding: 0px 12px 2px 12px}
.tborder {background: #C6C6C6; border: 1px solid #FFF}
.alt1 {background: #F4F4F4; color: #3B444C; padding: 4px 4px 6px 4px;}
.alt2 {background: #EFEFEF; color: #3B444C}
.p_head {background: #092765 url('images/panpic.png') top left; color: #FFF; font-style: normal; font-variant:normal; font-weight:bold; font-size:10pt; font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; padding: 6px 5px 8px 5px}
.smallfont {font: 11px verdana, geneva, lucida, '"lucida grande"', arial, helvetica, sans-serif; font-weight: bold}
.outer_border {background: #0E3751; border-left: 5px solid #fff; border-right: 5px solid #fff}
#clock {background: transparent; COLOR: #EFEFEF; font-size: 10px; font-weight: normal; font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif}
form {margin: 0px 0px 0px 0px}
hr {height: 1px; border: solid #CCCCCC 1px}
hr.side-hr {height: 1px; border: solid #CCCCCC 1px}
td {font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 10px}
pre {font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 9px}
.alt {color: #0D0D9D}
.white-header {font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 10px; color: #444; background-color: #999386; padding: 4px; border-top: #C6C6C6 1px solid; border-bottom: #C6C6C6 1px solid}
.full-header {font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 10px; color: #fff;background-color: #999386}
.button {font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 10px; color: #000000; background: #fafafa url('images/button.gif') top left; border: 1px #C6C6C6 solid; padding: 1px 1px 2px 1px; margin-top:2px}
.textbox {border: 1px solid #C6C6C6; background-color: #EEE; font-family: "Lucida Sans Unicode", Verdana, sans-serif; font-size: 11px;color:#000}
/* General Links*/
a.topnav {font-weight: bold; font-size: 10px; color: #FFF; text-decoration: none}
a.topnav:hover {color: #FFF; text-decoration: underline}
a.topnav:active {color: #FFF; text-decoration: none}
a {color: #00008B; text-decoration: none; font-weight: bold; font-size: 10px}
a:hover {color: #3B444C; text-decoration: underline}
a.side {color: #00008B; text-decoration: none; font-weight: bold; font-size: 10px}
a:hover.side {color: #3B444C; text-decoration: underline}
a.white {color: #00008B; text-decoration: none; font-weight: bold; font-size: 10px}
a:hover.white {color: #3B444C; text-decoration: none}
/* Main Body of Theme*/
.main-body {margin:0 auto; font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 11px; color: #000; background-color: #F4F4F4; padding: 3px 4px 3px 4px}
.main-bg {margin:0 auto; background-color: #F4F4F4}
/* Table Borders etc...*/
#td_style1a {border-left: 3px solid #fff; border-right: 3px solid #fff; background-color: #3B444D}
#td_style1b {border-left: 3px solid #fff; border-right: 3px solid #fff; background-color: #3B444D}
#td_style2 {margin-top: 4px; border-top: 4px solid #3D567F}
#td_style3 {border-left: 3px solid #fff; border-right: 3px solid #fff}
#td_style4 {border-bottom: 3px solid #55636E}
/* Footer Area*/
.counter {color: #CCDFEC; text-decoration: none; font-weight: bold; font-size: 10px}
.credits {color: #B3B8BB; text-decoration: none; font-weight: normal; font-size:10px}
/* Side Panels*/
.side-body {font-size: 11px; color: #535400; padding: 4px 4px 6px 4px}
.side-small {font-size: 10px; font-weight: normal; color: #000}
.side-label {background-color: transparent; font-weight: normal; color: #ED0011; padding: 2px}
/* News Layout @ Footer Area*/
.news {background: #EFEFEF; color: #3B444C; padding: 4px 4px 4px 4px; text-align: center}
/* Forum header*/
.forum-caption {font-size: 10px; font-weight:bold; height: 28px; padding: 0px 4px 0px 4px; background: #3B444B url('images/gradient_thead.png') repeat-x top left;color: #F1F1F3}
/* Forum Styling*/
.capmain {font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; font-size: 10px; font-weight: bold; border-width: 1px 1px 1px 1px; border-color: #C6C6C6; border-style: solid; color: #B78E00; height: 24px; padding: 2px 2px 2px 2px}
.tbl-border {background-color: #C6C6C6}
.tbl {font-size: 11px; padding: 3px 4px 3px 4px}
.tbl1 {font-size: 11px; color: #3B444C; background-color: #F4F4F4; padding: 4px}
.tbl2 {font-size: 11px; color: #3B444C; background-color: #EFEFEF; padding: 4px}
/* Quote Style*/
.quote {border: 1px #C6C6C6 solid; background: #ffffff url(images/code_header.png) no-repeat; background-position: top right; padding-left: 5px; margin:0px 20px 0px 20px}
/* Footer Area*/
.tfoot {font-style: normal; font-variant: normal; font-weight: normal; font-size: 8pt; font-family: verdana, geneva, lucida, "lucida grande", arial, helvetica, sans-serif; background: #3B444D; color: #B3B8BB}
.tfoot a:link, .tfoot_alink {color: #B3B8BB; text-decoration: none}
.tfoot a:visited, .tfoot_avisited {color: #B3B8BB; text-decoration: none}
.tfoot a:hover, .tfoot a:active, .tfoot_ahover {color: #B3B8BB; text-decoration: underline}
/* Voting Poll */
.poll {height: 13px; border: 1px #C6C6C6 solid}
.comment-name {font-weight: bold; color: #3E61A9}
/* Shoutbox Styling*/
.shoutboxname {font-weight: bold; color: #3E61A9}
.shoutbox {color: #162962}
.shoutboxdate {font-size: 9px; color: #0D0D9D}
/* Misc. Styling*/
.small {font-size: 11px; font-weight: normal}
.small2 {font-size: 9px; font-weight: normal; color: #0D0D9D}
theme.php
<?php
if (!defined("IN_FUSION")) { ("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
//**********************************************************************************************************//
// Theme Name: Transverse
// Theme Design: by: Fuzed Themes (http://phpfusion-themes.com)
// version 1.0
// Copyright © 2006 by Fuzed Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire Fuzed Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from Fuzed Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// Fuzed Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion-themes.com/
//
// Fuzed Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//*********************************************************************************************************//
/* Theme Settings */
$body_text = "#000000";
$body_bg = "#374049";
$theme_width = "957";
$theme_width_l = "165";
$theme_width_r = "165";
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' class='outer_border' width='$theme_width' cellspacing='0' cellpadding='0' border='0' margin: 0px>
<tr>
<td align='center' valign='top'>
<table class='header_bg' width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td><img alt='' src='".THEME."images/header.png'></td></tr></table>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='nav'>".showsublinks("<img alt='' src='".THEME."images/spacer.png'>","topnav")."</td>
<td class='nav' width='210' nowrap><div id='clock' align='right'>".showsubdate()."</div></td></tr></table></td></tr></table>
<table align='center' width='100%' cellpadding='4' bgcolor='#F4F4F4' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width, $settings;
echo "</tr>\n</table>
<table align='center' margin: 0px id='td_style1a' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td id='td_style2'></tr>
<tr>
<td align='center' class='tfoot'>".stripslashes($settings['footer'])."</td></tr></table>
<table align='center' class='tfoot' id='td_style3' cellpadding='3' cellspacing='1' width='$theme_width'>
<tr>
<td style='margin-top: 3px;' class='tfoot'>
<div style='margin-bottom: 4px;' align='center'><br><span class='credits'>";
if (!$license) { echo showcopyright()."</span><br><br><span class='counter'>\n"; } echo showcounter()."</span><br>
</div>
<tr><td align='center' id='td_style4'>Transverse Theme designed by: <a target='_blank' href='http://phpfusion-themes.com'>Fuzed Themes</a><br><br>
<a href='http://validator.w3.org/check/referer' title='HTML4.01'><img src='".THEME."images/html401.png' alt='XHTML' /></a> <a href='http://jigsaw.w3.org/css-validator/check/referer' title='CSS valid'><img src='".THEME."images/css.png' alt='CSS' /></a>
</td></tr></table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'><span class='smallfont'>$subject</span></td></tr></table>
<table width='100%' cellpadding='0' class='tborder' cellspacing='1'>
<tr>
<td class='alt1'>$news</td></tr></table>
<table style='height:25px' width='100%' cellpadding='0' cellspacing='1' class='tborder'>
<tr>
<td class='news'>";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id']);
echo "</td></tr></table>\n";
}
function render_article($subject, $article, $info) {
echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'><span class='smallfont'>$subject</span></td></tr></table>
<table width='100%' cellpadding='0' class='tborder' cellspacing='1'>
<tr>
<td class='alt1'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr></table>
<table style='height:25px' width='100%' cellpadding='0' cellspacing='1' class='tborder'>
<tr>
<td class='news'>";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info," ·").closeform("A",$info['article_id']);
echo "</td></tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='6' cellspacing='1' class='tborder'>
<tr>
<td class='p_head'><span class='smallfont'>$title</span></td></tr></table>
<table width='100%' cellpadding='0' cellspacing='0' class='tborder'>
<tr>
<td class='alt1' width='100%'>\n";
}
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'>
<span class='smallfont'>$title</span></td></tr>
<tr>
<td class='alt1' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table class='tborder' cellspacing='1' width='100%' cellpadding='6'>
<tr>
<td class='p_head'>".panelbutton($state,$boxname)."<span class='smallfont'>$title</span>
</td></tr>
<tr>
<td class='alt1'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='8'></td></tr></table>\n";
}
?>
Próbowałem zmieniać opcje w kodzie na własną rękę więc może coś być pomieszane. Proszę o jakąś pomoc.
Adres strony to www.siatka.brzozo...
Edytowane przez Pieka dnia 12.01.2010 18:01:15
|