Dobra ;)
Styles.css
a {
color: white;
text-decoration: none;
}
a:hover {
color : white;
text-decoration : underline;
}
a.side {
color : #white;
text-decoration : none;
}
a:hover.side {
color : #c8ae6f;
text-decoration : underline;
}
a.white {
color : #ddd;
text-decoration : none;
}
a:hover.white {
color : #ddd;
text-decoration : underline;
}
body {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 11px;
}
form {
margin : 0px;
}
hr {
height : 1px;
border : 1px solid #eee;
}
hr.side-hr {
height : 1px;
border : 1px solid #d1d1d1;
}
td {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 11px;
}
pre {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 11px;
}
.alt {
background: url(images/123.PNG);
}
.white-header {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 10px;
color : #555;
background: url(images/123.PNG);
border-top : 0px solid #ccc;
border-bottom : 0px solid #D2C93D;
padding : 5px;
}
.full-header {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 10px;
color : #aaa;
background: url(images/logos.swf);
border: 1px solid fff;
padding : 5px;
}
.footer {
font-family: Tahoma,Verdana,Arial,Sans-Serif;
font-size: 10px;
color: #aaa;
height: 140;
background: url(images/11.PNG);
}
.button {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 10px;
color : #555;
background-color : #d1d1d1;
height : 20px;
border : 1px solid #ccc;
margin-top : 2px;
}
.textbox {
font-family : Tahoma,Verdana,Arial,Sans-Serif;
font-size : 10px;
color : #555;
background-color : #d1d1d1;
border : 0px solid #ccc;
}
.main-body {
font-size : 11px;
color : #fff;
background: url(images/5.gif);
padding : 4px 4px 5px 4px;
}
.side-body {
font-size: 10px;
color: #f1f1f1;background: url(images/csa.gif);
padding: 4px;
font-weight: bold;
}
.main-bg {
color : #000;
background: url(images/9.PNG);
padding : 0px;
}
.outer-border {
border : 0px;
}
.border {
border : 0px;
}
.menu-table {
width: 100%;
background: url(images/nar_gl) no-repeat top left;>
}
.news-border {
border : 0px solid #f1f1f1;
}
.side-border-left {
border-right : 0px;
padding : 0px;
}
.side-border-right {
border-left : 0px;
padding : 5px;
}
.news-footer {
font-size : 10px;
color : #fff;
background-color : #f1f1f1;
border-top : 0px;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
height: 40;
color: #fff;
text-transform: uppercase;
padding: 2px 4px 4px 4px;
background: url(images/tlo22.gif);
}
.scapmain {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight: bold;
height: 36;
color: #877861
background-color: #d1d1d1;
text-transform: uppercase;
background: url(images/tlo2.gif);
}
.closetable {
height: 25;
background: url(images/tlo.gif);
}
.closenews {
height: 25;
background: url(images/tlo222.gif);
}
.tbl-border {
background-color:#bbb;
}
.tbl {
font-size:10px;
padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:10px;
color:#fff;
background-color:#000;
padding:4px;
}
.tbl2 {
font-size:10px;
color:#fff;
background-color:#000;
padding:4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #000;
background-color : #000;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
}
.poll {
height : 12px;
border : 1px solid #f1f1f1;
}
.comment-name {
font-weight : bold;
color : #000;
}
.shoutboxname {
font-weight : bold;
color : #f1f1f1;
}
.shoutbox {
color : #777;
}
.shoutboxdate {
font-size : 10px;
color : #888;
}
.small {
font-size : 10px;
font-weight : normal;
color: fff;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #eee;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #555;
background-color : #fff;
}
.side-label {
color : #fff;
background-color : #000;
padding : 2px 2px 3px 2px;
}
.gallery {
padding : 16px 0px 8px 0px;
}
.gallery img {
border : 1px solid #000;
}
img.activegallery {
border : 1px solid #fff;
}
Theme.php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#ffffff";
$body_bg = "#1d1d1a";
$theme_width = "952";
$theme_width_l = "203";
$theme_width_r = "203";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='white-header'>".showsublinks("·")."</td>
<td align='right' class='white-header'>".showsubdate()."</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr><td width='30%'> </td>
<td width='40%'><center>".stripslashes($settings['footer'])."</center></td>
<td width='30%' style='text-align: right'>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='news-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr><td class='closenews'> </td></tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
<tr><td class='closenews'> </td></tr>
</table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='news-border'>
<tr><td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr><td class='closenews'> </td></tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
<tr><td class='closenews'> </td></tr>
</table></td></tr></table>\n";
}
function opentable($title) {
echo "
<table cellpadding='1' cellspacing='1' width='100%' class='news-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr><tr><td class='closenews'> </td></tr>
</table></td></tr></table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<tr><td class='closetable'> </td></tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title ".panelbutton($state,$boxname)." </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";
}
?>
To ktoś pomoże?
To ktoś pomoże?
Edytowane przez Piotrek86 dnia 07.08.2008 17:28:16
|