Turiu tema, ir noriu pasikeisti cellpicus.
Dabar paneles atrodo taip:
Ir noriu, kad atodytu taip:
Style.css:
body {
font-family:Tahoma;
font-size:11px;
padding:0px 0px 0px 0px;
margin-top: 20px;
margin-bottom: 20px;
scrollbar-face-color: #F1F1F1;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #E9E9E9;
scrollbar-arrow-color: #7A9ADF;
scrollbar-track-color: #EFEFEF;
scrollbar-darkshadow-color: #7F98A7;
background-image: url(images/bg.jpg);
background-attachment: fixed;
background-color:#000000;
}
a {
color:#003D71;
text-decoration:none;
}
a:hover {
color:#027AC6;
text-decoration:underline;
}
a.sublinks {
color:#FFFFFF;
text-decoration:none;
}
a:hover.sublinks {
color:#99cc33;
text-decoration:none;
}
img {
border: 0px;
}
.side-border-left {
color : #777;
background-color : #fff;
padding : 5px 5px 10px 5px;
}
.side-border-right {
color : #777;
background-color : #fff;
padding : 5px 10px 10px 5px;
}
form {
margin:0px 0px 0px 0px;
}
td {
font-family:Tahoma;
font-size:11px;
}
.button {
font-family:Tahoma;
font-size:11px;
color:#000000;
background-color:#E5E5E8;
border:#7F98A7 1px solid;
margin-top:2px;
}
.textbox {
font-family:Tahoma;
font-size:11px;
color:#000;
background-color:#FFFFFF;
border:1px #7F98A7 solid;
}
.main-bg {
padding:5px 0px 5px 0px;
}
.panel-main {
font-family:Tahoma;
font-size:12px;
font-weight:bold;
color:#666666;
height:21px;
padding:0px 2px 0px 2px;
}
.news-body {
font-family:Tahoma;
font-size:12px;
color:#000000;
background-color:#FFFFFF;
padding:10px;
}
.tbl {
font-size:11px; padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:11px;
color:#000;
background-color:#F1F1F1;
padding:4px;
}
.tbl2 {
font-size:11px;
color:#000;
background-color:#F6F6F6;
padding:4px;
}
.poll {
height:12px;
border:1px #ccc solid;
}
.comment-name {
font-weight:bold;
color:#113355;
}
.small {
font-size:10px;
font-weight:normal;
}
.top {
background-color:none;
background-image:url(images/ttop.png);
background-repeat:no-repeat;
}
.bot {
background-color:none;
background-image:url(images/tbot.png);
background-repeat:no-repeat;
}
.main-table {
background-color:none;
background-image:url(images/tmid.png);
background-repeat:repeat-y;
background-position:center;
}
.sublinks {
background-image:url(images/sub.gif);
font-family:Tahoma;
font-size:11px;
}
.nsub {
background-color:none;
color: #6db506;
font-weight:bold;
padding-left:5px;
}
.tsb {
background-color:none;
background-image:url(images/dotsb.gif);
background-repeat:x-repeat;
}
.sidetbl {
border:2px solid #700000;
}
Ir theme.php :
<?php
////
// Made by Qrmiz 2008
////
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// temos nustatymai
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "900";
$theme_width_l = "200";
$theme_width_r = "200";
function render_header($header_content) {
global $theme_width,$settings;
/// HEADERIS START
echo "<table width='$theme_width' border='0' cellspacing='0' cellpadding='0' align='center'><tr>";
echo "<td class='top'><img src='".THEME."images/ttranc.gif' alt=''></td></tr>";
echo "<tr><td align='center' class='main-table'><img src='".THEME."images/header.jpg' style='border:1px solid #999999' alt=''>";
echo "</td></tr></table>";
/// HEADERIS END --- START MAIN TABLE
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' border='0' class='main-table'>";
echo "<tr><td>";
/// START SUBLINKS
echo "<br><table width='883' border='0' cellpadding='0' cellspacing='0' class='sublinks' align='center'><tr><td height='41' align='center'><a href='".BASEDIR."index.php' class='sublinks'>Namai</a></td><td><img src='".THEME."images/dots.gif' alt=''></td>\n";
echo "<td align='center'><a href='".FORUM."index.php' class='sublinks'>Forumas</a></td><td><img src='".THEME."images/dots.gif' alt=''></td><td align='center'><a href='".BASEDIR."photogallery.php' class='sublinks'>Galerija</a></td><td><img src='".THEME."images/dots.gif' alt=''></td><td align='center'><a href='".BASEDIR."contact.php' class='sublinks'>Kontaktai</a></td><td><img src='".THEME."images/dots.gif' alt=''></td><td align='center'><a href='".BASEDIR."search.php' class='sublinks'>Paieðka</a></td></tr></table>";
/// END SUBLINKS
echo "<table width='100%' cellspacing='5' cellpadding='0' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table></td></tr></table></td></tr></table>";
echo "<table width='$theme_width' border='0' cellspacing='0' cellpadding='0' align='center'><tr>";
echo "<td class='bot'><img src='".THEME."images/ttranc.gif' alt=''></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale, $news_info;
echo "<table width='100%' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td width='40' align='center'><img src='".THEME."images/nicon.gif' border='0' alt=''></td><td width='100%' class='nsub'>".showdate("%Y %m %d", $news_info['news_date'])." $subject</td>";
echo "</tr><tr>";
echo "<td class='news-body' colspan='2'>$news";
echo " ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>Plaèiau...\n" : "")."</td>";
echo "</tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' align='center'>";
echo "<tr><td><img src='".THEME."images/bullet.gif' border='0' alt=''></td><td width='100%' class='panel-main2'>$title</td>";
echo "</tr><tr>";
echo "<td class='table-body' colspan='2'>\n";
}
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='sidetbl'><tr>";
echo "<td width='100%' class='panel-main'>$title</td></tr><tr>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='2' cellpadding='2'>";
echo "<tr><td></td></tr></table>\n";
}
?>
Kas pades tam +10 ;)
Remember kids, the more posts you have the bigger your penis is! |