Nie wiem czemu.. Ale ucina mi logo/top.. Próbowałem zmieniać w kodzie.. Ale nie wiem czemu się nie da.. Skórke kupiłem.. Nawet nie pamietam nazwy.. ;/ Dostałem tylko pliki css'a i php oraz folder z grafiką..
Kody theme'a:
Kod css:
body {
margin: 0;
padding: 0;
font-size: 10px;
color: #38394B;
background:#3E7CB8 url(images/tlo.jpg) repeat-x;
}
a {
color:#000000;
text-decoration:none;
}
.color {width:15px;height:10px}
a:hover {
color:#DE8300A;
text-decoration:underline;
}
a.side {
color:#000000;
text-decoration:none;
}
a:hover.side {
color:#EC8701;
text-decoration:underline;
}
img { border: 0px;}
.kod
{ color: #1840A9;
font-family: verdana, sans-serif;
font-size: 11px;
font-weight: none;
text-align: left;
margin-top: 1em;
margin-bottom: 1em;
}
#top {background:url(images/top.jpg) no-repeat;width:800px;height:127px;}
.txttop {margin:10px 0 0 500px;text-align:justify;line-height:16px;width:330px;color:#A17415}
#menu {height:24px;background:url(images/tlonav.jpg);width:100%;border-bottom:1px solid #CFCFCF;}
#nawigacja a {float:left; font-size:10px; text-transform:uppercase; padding:10px 20px; border-right:1px solid #F7D10D;border-bottom:1px solid #F7D10D;text-decoration:none; color:#fff; font-weight:bold;}
#nawigacja a:hover {background:#EEA000;border-right:1px solid #F7D10D;border-bottom:1px solid #F7D10D}
.topnav {background:url(images/tlonav.jpg);height:6px}
.white,.white a {color:white;}
h1 {font-size:10px}
a.subheader-text { color:#fff; text-decoration:none; font-weight:bold;}
a:hover.subheader-text { color:#000; text-decoration:none;}
form {
margin:0px 0px 0px 0px;
}
.tlolinki {padding-top:5px;height:15px;background:#464F54}
.tlolinki2 {padding-top:5px;height:4px;background:#464F54}
hr {height:0px;border:solid #1D5B88 1px;border-top-width: 1px;padding:0px;margin:0px}
hr.side-hr {height:0px; border:solid #1D5B88 0px;border-top-width:1px;padding:0px;margin:0px}
td {
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:10px;
}
pre {
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:10px;
}
.alt {
color:#555;
}
#clockbar {
background: #3D759A url(images/bg_page_topbar.jpg) repeat-x left top;
}
.clockbarcolor {
color: #E8E8E8;
background: transparent;
font-size: 10px;
text-align: right;
padding: 17px 10px 6px 20px;
}
#pageheader {
background: #23628B url(images/bg_header.jpg) repeat-x left top;
border-bottom: 1px solid #000;
}
.subheader {
font-size:11px;
font-weight:bold;
background: #F0F0F2 url(images/bg_nav.jpg) repeat-x left top;
padding: 4px 7px 3px 7px;
border-bottom: 1px solid #ADC1CE;
}
.subheader-text {font-size:10px;}
.input {
border-top: 1px solid #A8BDCA;
border-left: 1px solid #A8BDCA;
border-bottom: 1px solid #A8BDCA;
border-right: 1px solid #A8BDCA;
color: #42435A;
background:#19376B;
font-size: 10px;
height: 1.7em;
}
.submit {
font-size: 10px;
font-weight: bold;
border-top: 1px solid #95B6CB;
border-left: 1px solid #95B6CB;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
letter-spacing: .1em;
margin: 0;
padding: 1px 4px 1px 4px;
background-color: #DE8300;
color: #FFFFFF;
cursor:pointer;
cursor: hand;
}
.footer {
font-size:10px;
color:#fff;
background-color:#1D5B88;
border-bottom:4px solid #18527C;
border-top:4px solid #3086C5;
padding:0 0 0 10px
}
.footer a:link,.footer a:visited,.footer a:hover {color: #212D3A;text-decoration: none;}
.button {
font-size: 10px;
font-weight: bold;
border: 1px solid #4D7C0E;
background-color: #4B6188;
color: #FFFFFF;
margin-top:2px;
cursor:pointer;
cursor: hand;
}
.textbox {
border-top: 1px solid #A8BDCA;
border-left: 1px solid #A8BDCA;
border-bottom: 1px solid #A8BDCA;
border-right: 1px solid #A8BDCA;
color: #42435A;
background: #EDEDED url(images/bg_td_one.jpg) repeat-x left top;
font-size: 11px;
}
.main-body {
font-size:10px;
color:#555;background-color:#EDEDED;
background-image:url(images/bg_td_one.jpg);
background-repeat:repeat-x;
padding:4px 4px 5px 4px;
}
.main-bg {
background-color:#ffffff;
padding:5px;
}
.side-border-left {
padding:5px;
background:white;
}
.side-border-right {
padding:5px;
background:white;
}
.td-cell1 {
background:#184069;
color: white;
padding: 3px 6px 3px 6px;
}
.td-cell12 {
background:#326191;
color: white;
padding: 3px 6px 3px 6px;
}
.td-cell1 a,.td-cell12 a{color:white}
.td-cell1 a:hover,.td-cell12 a:hover {color:#FFDA47}
.td-cell11 {line-height:20px;padding:10px;color:#0E598D;text-align:justify;border-right:1px solid #FA9403;border-left:1px solid #FA9403}
.td-cell123 {line-height:20px;background:#DFE6F3;color:#0E598D;text-align:justify;border:1px solid #5574A9;padding:10px}
.td-cell2 {
background: #1D5B88;
font-size: 8px;
color: #fff;
padding: 2px 3px 3px 3px;
border-left:1px solid #696E6F;
border-right:1px solid #696E6F;
border-bottom:1px solid #696E6F;
}
.td-cell22 {
background: #F6C414;
font-size: 9px;
color: #fff;
padding: 4px 6px 0px 6px;
}
.td-cell22 a {color:white}
.quicktip {
background: #24638C url(images/bg_table_row_heading.jpg) repeat-x left top;
color: #ffffff;
font-weight: bold;
text-align: left;
height: 22px;
padding:0px 4px 0px 4px;
}
.dodal {text-align:left;display:block;}
.tableHeadingBG {background:#2F4F4F url(images/tlo2.jpg);color:#FFDA47;font-weight: bold; height: 41px;text-align:right;text-transform:uppercase;font-size:9px;padding:0 30px 0 0}
.dolm {background:#2F4F4F url(images/dolm.jpg);height:11px}
.doln {background:#2F4F4F url(images/doln.jpg);height:11px}
.doln2 {background:#2F4F4F url(images/doln2.jpg);height:11px}
.tableHeadingBG2 {background: url(images/topn.jpg); color:#206D89; font-weight: bold; text-align: left; height: 38px; text-align:center;text-transform:uppercase;font-size:9px}
.tableHeadingBG3 {background: url(images/topn2.jpg); color:#fff; font-weight: bold; text-align: left; height: 38px; text-align:center;text-transform:uppercase;font-size:9px}
.tableHeading {
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
padding: 3px 0px 0px 5px;
margin: 0;
background-color: transparent;
white-space: nowrap;
}
.tbl-border {
background-color:#42494A;
}
.tbl {
font-size:10px;
color:#fff;
padding:0px;
}
.tbl1 {
font-size:10px;
background-color:#fff;
color: #000;
padding: 3px 6px 3px 6px;
border-top: 1px solid #FFFFFF;
border-bottom: 0px solid #ADC1CE;
border-left: 1px solid #FFFFFF;
border-right: 0px solid #ADC1CE;
}
.tbl1 a {color:173974;font-weight:bold}
.tbl2 { font-size:10px; background:#395484;color: #fff;padding: 4px 6px 5px 6px;border: 1px solid #FFFFFF;}
.tbl3 { font-size:10px; color: #000;padding: 3px 6px 3px 6px;border: 1px solid #FFFFFF;}
.tbl2 a:link,.tbl2 a:visited,.tbl2 a:active,.tbl3 a:link,.tbl3 a:visited,.tbl3 a:active {color: #000;text-decoration: none;}
.tbl2 a:hover,.tbl3 a:hover {color:black;text-decoration: underline;}
.forum-caption {
font-size: 10px; font-weight:bold;
color: #DE8300; background-color:#FEFEFE;
background-image:url(images/bg_table_row_heading.jpg);
background-repeat:repeat-x;
height: 24px;
padding: 4px 4px 4px 4px;
}
.quote {
background: #F2F5F6;
border-left: 1px solid #ADC1CE;
border-top: 1px solid #ADC1CE;
border-bottom: 1px solid #ADC1CE;
border-right: 1px solid #ADC1CE;
font-size: 11px;
color: #31607E;
margin: 8px 4px 10px 3px;
padding: 10px 10px 10px 6px;
}
.poll { height:12px;
border:1px #ADC1CE solid; }
.comment-name {
font-weight:bold;
color:#38394B;
}
.shoutboxname {
font-weight:bold;
color:#38394B;
}
.shoutbox {
color:#38394B;
}
.shoutboxdate {
font-size:9px;
color:#888;
}
.small {
font-size:10px;
color: #000000;
font-weight:normal;
}
.small2 { font-size:9px; font-weight:normal; color:#555; }
.small3 { font-size:10px; font-weight:normal; color:#fff; }
.side-small {
font-size:9px;
font-weight:normal;
color:#555;
}
.side-label {
background-color:#074C74;
padding:2px 2px 3px 2px; color:#F99C18
}
.gallery {
padding: 16px 0px 8px 0px;
}
.gallery img {
border: 1px solid #ccc;
filter: gray;
}
.gallery:hover img {
border: 1px solid #1473AD;
filter: none;
}
img.activegallery {
border: 1px solid #1473AD;
filter: none;
}
Kod php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#555555";
$body_bg = "#FEFEFE";
$theme_width = "965";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td>";
echo '
<table cellpadding="0" cellspacing="0">
<tr>
<td id="top">
<div class="top">
</div>
</td>
</tr>
<tr>
<td id="menu">';
echo "<div id='nawigacja'> ".showsublinks("","subheader-text")."</div>
</td></tr></table>";
echo "
</td></tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td class='footer'>".stripslashes($settings['footer'])."</td><td class='footer'><img align='right' src='".THEME."images/sd.jpg'></a></td></tr><tr>";
echo "</tr></table></td></tr></table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG2'> $subject </td></tr>
<tr><td class='td-cell11' style='WIDTH: 100%' vAlign='top'>$news</td></tr>
<tr><td class='td-cell22' align='center' style='WIDTH: 100%'>
<div class='dodal'>";
echo openform("N",$info['news_id']).newsposter($info," :").newsopts($info," :").closeform("N",$info['news_id']);
echo "</div>
</td></tr><tr><td class='doln2'></td></tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG3'> $subject</td></tr>
<tr><td class='td-cell123' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr><td align='center'><div class=white>";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id']);
echo "</div></td>
</tr></table>
</td></tr></table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG3'>$title</td></tr><tr><td class='td-cell12' vAlign='top'>";}
function closetable() {
echo "</td></tr><tr><td class='doln'></td></tr></table>\n";}
function openside($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'>
<tr><td class='tableHeadingBG'> $title</td></tr><tr><td class='td-cell1' vAlign='top'>";}
function closeside() {
echo "</td></tr><tr><td class='dolm'></td></tr></table>\n";
tablebreak();}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
<td align='right' class='tableHeadingBG'>".panelbutton($state,$boxname)."</td></tr>
<tr><td class='td-cell1' vAlign='top' colspan='2'><font color=white>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr></table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
echo "<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Bardzo proszę o pomoc, bo siedziałem nad tym troche.. A tu żadnego pożadanego rezultatu..
Z góry dziekuję.. :)
pozdrawiam :)
PW od moderatora:
- Zmiana nazwy tematu - Pieka 11.10 - 15:35
- Przeniesienie tematu - Pieka 11.10 - 16:10
Edytowane przez Pieka dnia 11.10.2009 16:11:42
"Z idiotą się nie duskutuje, najpierw sprowadzi Cię do swojego poziomu, po czym przewyższy doświadczeniem..."
|