zaraz znajdę ten plik i wkleje w tym poście
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// Theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "950";
$theme_width_l = "175";
$theme_width_r = "200";
// Right Panels off in Forum Mode - Custom coded
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width,$settings,$userdata,$aidlink,$loginerror;
echo'<div id="head">
<div id="logowanie">
<div id="zaloguj"></div>
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<input type="text" class="textbox" name="username" title="Użytkownik" value="Użytkownik" onfocus="if(this.value == 'Username') { this.value=''; }" onblur="if(this.value=='') { this.value='Username'; }" />
<input type="password" class="textbox" name="password" title="Hasło" value="Hasło" onfocus="if(this.value == 'Password') { this.value=''; }" onblur="if(this.value=='') { this.value='Password'; }" />
<!-- start: gobutton -->
<input type="submit" class="button" value="Go" />
<!-- end: gobutton -->
</form>
</p>
</div>
<div id="top1"></div>
<div id="linki">
<a href="#"><img src="images/l1.png" alt=""/></a><a href="#"><img src="images/l2.png" alt=""/></a><a href="#"><img src="images/l3.png" alt=""/></a><a href="#"><img src="images/l4.png" alt=""/></a><a href="#"><img src="images/l5.png" alt="" /></a><a href="#"><img src="images/l6.png" alt=""/></a>
</div>
</div>
<div id="hn">
<p><b>HOT NEWS</b>: Ferrari zapowiada walkę o tytuł mistrzowski || Heidfeld stawia na Alonso || McLaren nie będzie apelował w sprawie 100 mln dolarów kary</p>
</div>';
}
function render_footer($license=false) {
global $settings;
echo'
<div id="foot">
<a href="http://szabloniki.com/" title="szablony"><img src="images/dbs.png" alt="darmowe szablony" /></a>
<p><b>Copyright by XYZ</b>
</p>
</div>';
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<div id='news'>
<div id='kolumna'>";
echo "<div id='n1'><h1>".$news."</h1></div>\n";
echo"<div id='tresc'>".$news."</div>
echo "<div class='news-footer'>\n";
echo "<div id='dol'>".openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id'])."";
echo "</div></div>\n";
}
function render_article($subject, $article, $info) {
echo "<table border='0' style='border: 1px solid #486386' cellspacing='1' width='100%' cellpadding='3'>
<tr>
<td style='background-image:url(".THEME."images/p_cell.gif);' height='27'><img alt='' border='0' src='".THEME."images/panel_img.gif'> <font class='panel_title'>$subject</font>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='center' class='news-footer'>".openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id'])."</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
// Open table begins
function opentable($title) {
echo "<div class='capmain'>$title</div>\n";
echo "<div class='main-body floatfix'>\n";
}
// Close table end
function closetable() {
echo "</div>\n";
}
function openside($title) {
echo "<div id='menu1'>
<div id='l_menu'>\n";
}
function closeside() {
echo "<div id='dol2'></div>
</div>
</div>\n";
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table border='0' style='border: 1px solid #486386' cellspacing='1' width='100%' cellpadding='3'>
<tr>
<td height='27' width='90%' style='background-image:url(".THEME."images/p_cell.gif);'><font class='panel_title'><center>$title</center></font>
</td>
<td align='right' height='24' width='10%' style='background-image:url(".THEME."images/col_cell.gif);'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td bgcolor='#EEEEEE' class='side-body' width='100%' colspan='2'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='8'>
</td>
</tr>
</table>\n";
}
?>
teraz fragment styles.css
body {
margin: 0 auto;
font-family: "tahoma", "verdana";
font-size: 11px;
color: #000;
width:918px;
background:#302F2F url(images/tlo.png);}
a {text-decoration: none;color:#A10505}
a:hover {text-decoration: underline;color:#000}
img {border:0px}
#head {color:white;width:918px;height:147px; padding:0;margin:20px 0 0 0;}
#logowanie {float:right;background:#000;width:258px;color:white;height:147px }
#logowanie p {margin:0px 10px 10px 20px }
#logowanie input {background:#1F1F1F;border:1px solid #1F1F1F;margin:2px;color:white;font-size:11px;height:20px;width:180px}
#logowanie input.ok {float:right;background:#8C2424;font-weight:bold;width:30px}
#top1 {float:left;background:url(images/top1.png); width:346px;height:88px;}
#zaloguj {float:left;background:url(images/zaloguj.png); width:258px;height:38px;margin:0 0 10px 0}
#linki {float:left;width:660px;heigt:59px}
#linki img {padding:0;margin:0}
/* #linki a:hover {background:#000;opacity: 0.5; filter: alpha(opacity=50);} */
#hn {margin:-2px 0 0 0;background:url(images/hn.png);width:918px;height:27px}
#hn p {margin:4px 0 0 15px;color:#CFCFCF;float:left}
#news {float:left;margin:0px 0 0 10px;width:918px;height:100%}
#dol {float:left;margin:0px 0 0 0;background:url(images/doln2.png);width:373px;height:12px}
#kolumna {float:left;width:410px;margin:10px 0 0 0px;background:url(images/tlon.png); background-repeat:repeat-y;}
#menu1 {width:254px;float:left;margin:10px 0 0 0px}
#menu2 {width:254px;float:right;margin:10px 0 0 0px}
#n1 {clear:both;background:url(images/topn.png);width:373px;height:42px}
#n2,#n3 {clear:both;background:url(images/topn2.png);width:373px;height:42px}
#n1 h1 {float:left;color:white;font-size:11px;margin:0;padding: 15px 0 0 15px}
#n2 h1,#n3 h1 {float:left;color:white;font-size:11px;margin:0;padding: 12px 0 0 15px}
#n1 span{color:white;font-size:10px;float:right;margin:18px 13px 0 0;font-weight:bold}
#n2 span,#n3 span{color:white;font-size:10px;float:right;margin:15px 13px 0 0;font-weight:bold}
#tresc,#tresc1,#tresc2 {clear:both;background:url(images/tlon.png);width:363px;font-size:11px;color:#6C6C6C;line-height:18px;padding:0 5px 0 5px}
#tresc img,#tresc1 img,#tresc2 img {float:left;padding:0px 5px 0 5px}
#m1 {clear:both;background:url(images/topm1.png);width:223px;height:42px}
#tresc3 {clear:both;background:#fff;width:213px;font-size:11px;color:#6C6C6C;line-height:18px;padding:0 5px 0 5px}
#m1 h1 {float:left;color:white;font-size:11px;margin:0;padding: 12px 0 0 15px}
#l_menu,#l_menu2 {float: left;padding: 0;background:white;width:223px;}
#l_menu ul, #l_menu2 ul {list-style: none;margin: 0;padding: 0;border: none;font-size:11px}
#l_menu li, #l_menu2 li {margin: 0;}
#l_menu li a, #l_menu2 li a {display: block;font-weight : normal;color: #000;padding:3px 5px 0 25px;text-decoration: none;height:21px;background:url(images/b.png);background-repeat:no-repeat; border-bottom:1px dotted #AFAFAF}
#l_menu li b {color:#870101}
#l_menu li, #l_menu2 li a:hover {color: #9D0000;}
#l_menu h1, #l_menu2 h1 {font-size:11px;text-align:left;margin:0;padding:10px 0 0 15px;background:url(images/topm1.png);color:white;height:32px }
#l_menu h2, #l_menu2 h2 {font-size:11px;text-align:left;margin:0;padding:10px 0 0 15px;background:url(images/topm2.png);color:white;height:30px}
#dol2,#dol3 {float:left;margin:0px 0 0 0;background:url(images/dolm.png);width:223px;height:16px}
#foot {float:left;margin:10px 0 0 0;background:url(images/foot.png);width:918px;height:36px;}
#foot p {margin:10px 0 0 15px;color:#CFCFCF;float:left}
#foot img {float:right}
to tylko taki kod wygrzebałem bo nie chciało mi się bawić z artykułami jak narazie
Edytowane przez kanion dnia 03.05.2008 19:07:17
|