Zmieniłam skórkę na DjMp3, mam problem z wstawieniem loga, który mam na serwerze pod adresem http://www.helena.../baner.jpg
Podaje całą zawartość pliku styles.css z theme tejże skórki:
a {
color : #ffa500;
text-decoration : none;
}
a:hover {
color : #fff;
text-decoration : none;
}
a.side {
color : #fff;
text-decoration : none;
}
a:hover.side {
color : #ffa500;
text-decoration : none;
}
a.white {
color : #fff;
text-decoration : none;
font-weight : bold;
}
a:hover.white {
color : #0096ff;
text-decoration : none;
font-weight : bold;
}
body {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
background-image:url('images/bg.jpg');
}
form {
margin : 0px;
}
hr {
height : 1px;
background-color : #008aff;
}
hr.side-hr {
height : 1px;
background-color : #758698;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #caedff;
}
.outer-border {
border : 1px solid #000;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #fff;
padding : 5px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #32363a;
background-color : #d1ddea;
height : 19px;
border : 1px solid #758698;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #fff;
background-color : #006b98;
border : 1px solid #758698;
}
.main-body {
font-size : 11px;
color : #fff;
background-color : #000;
padding : 4px 5px 5px 5px;
border-left : 1px solid #758698;
border-right : 1px solid #758698;
}
.side-body {
font-size : 10px;
color : #fff;
padding : 4px;
background-color : #000;
border-left : 1px solid #758698;
border-right : 1px solid #758698;
}
.main-bg {
color : #fff;
background-color : #000;
padding : 10px 5px 10px 5px;
}
.border {
border : 0px solid #fff;
}
.side-border-left {
color : #33567b;
background-color : #111;
padding : 10px 5px 10px 5px;
}
.side-border-right {
color : #33567b;
background-color : #111;
padding : 10px 5px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #fff;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #fff;
padding : 4px 5px 4px 5px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #fff;
padding : 4px;
}
.tbl-border {
color : #fff;
background-color : #777;
}
.tbl {
font-size : 11px;
color : #0096ff;
background-color : #d6dadd;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #0096ff;
background-color : #d6dadd;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #0096ff;
background-color : #d6dadd;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #fff;
background-color : #414135;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #0096ff;
background-color : #d6dadd;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px dotted #000;
}
.poll {
height : 12px;
border : 1px solid #d6dadd;
}
.comment-name {
font-weight : bold;
color : #fff;
}
.shoutboxname {
font-weight : bold;
color : #0096ff;
background-color : #000;
}
.shoutbox {
color : #0096ff;
background-color : #000;
}
.shoutboxdate {
font-size : 10px;
color : #0096ff;
background-color : #000;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #0096ff;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #0096ff;
background-color : #d6dadd;
}
.side-label {
color : #0096ff;
background-color : #d6dadd;
padding : 2px 2px 3px 2px;
}
.main {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #0096ff;
background-color : #111;
padding : 10px 5px 10px 5px;
border-left : 1px solid #758698;
border-right : 1px solid #758698;
}
.nuorodos {
color : #fff;
}
Kliknij i zaczekaj na załadowanie kodu ...
Oraz kod theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#fff";
$body_bg = "#454545";
$theme_width = "820";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width;
echo "
<table align=center width=$theme_width height=13 background=".THEME."images/bg1.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=179 background=".THEME."images/header.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=13 background=".THEME."images/bg2.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=44 class='nuorodos1' background=".THEME."images/bg3.jpg cellspacing=0 cellpadding=0>
<tr><td height=25 class='nuorodos2' align=left style='padding-left:20px;'>"; echo showsublinks(" ",white); echo "</td></tr>
</table>
";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td>
\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td height='48' background='".THEME."images/footer.png' align='center' class='footer'>".stripslashes($settings['footer'])."<a href='http://php-fusion.co.uk' target='_blank'>Php-fusion</a> | <a href='http://unlimited-abyss.com' target='_blank'>UAThemes-Voodoo</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' background='".THEME."images/capc2.png' height='16' class='news-footer' style='padding-right:20px;'>\n";
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 width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' background='".THEME."images/capc2.png' height='16' class='news-footer' style='padding-right:10px;'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·");
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $title</td>
</tr>
<tr>
<td class='main'>\n";
}
function closetable() {
echo "</td>
</tr>
<td background='".THEME."images/capc2.png' height='16' class='scapmain'></td>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/vrs.png' height='35' class='scapmain'><img src='".THEME."images/a.png'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<td background='".THEME."images/apc.png' height='16' width='170' class='scapmain'></td>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/vrs.png' height='35' width='170' class='scapmain'><img src='".THEME."images/a.png'> $title</td>
<td align='right'></td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<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<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
PW od moderatora:
- Przeniesienie tematu - Pieka 04.05 - 00:48
Edytowane przez Lara_Perkins dnia 04.05.2010 00:41:17
Spośród wszystkich ludzi dzisiaj wybieram Cię, i bez trudu w całym tłumie dostrzegam że, ten którego szukam przecież jest obok mnie, chyba widzę jak wyglądać mógłby nasz świat.
|