Tai va foto:
http://img528.imageshack.us/img5...749tr2.png
Ir as noriu ten kur geltonaj apibraukta butu normalei kajp kitame sone
O kur apibraukta prie navigacijos noriu kad ju nebebutu va theme.php ir style.css:
Theme.php
<?php
//Keletas pagrindiniø nustatymø//
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
//Nustaymai//
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "807";
$theme_width_l = "180";
$theme_width_r = "180";
//Headeris//
function render_header($header_content) {
global $theme_width;
//Puslapio virðus//
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr><td>";
//Banerio kodas//
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='807' height='282' background='".THEME."/images/logo.png' usemap='#Map'>
<map name='Map' id='Map'><area shape='rect' coords='36,223,79,244' href='/index.php'/>
<area shape='rect' coords='95,225,139,243' href='/forum/'/>
<area shape='rect' coords='155,225,210,243' href='/register.php'/>
<area shape='rect' coords='221,225,299,244' href='/viewpage.php?page_id=1'/>
</map>
<tr>
<td class='header'> <img src='http://mu-info.gan.lt/themes/SimpleMusics/images/logo.png' width='807' height='282' border='0' usemap='#Map'>
<map name='Map' id='Map'><area shape='rect' coords='36,223,79,244' href='/index.php'/>
<area shape='rect' coords='95,225,139,243' href='/forum/'/>
<area shape='rect' coords='155,225,210,243' href='/register.php'/>
<area shape='rect' coords='221,225,299,244' href='/viewpage.php?page_id=1'/>
</map>
</td>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
//Pradedamas temos kodas//
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
//Footeris//
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' class='footer'><br><br><br><br><br><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
//Naujienos//
function render_news($subject, $news, $info) {
echo "<table height='10' cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td height='20' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</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>
</table>\n";
}
//Straipsniai, informacija, pridëtiniai puslapiai//
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td height='20' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</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>
</table>\n";
}
//Centrinës panelës//
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td height='20' class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
//Ðoninës panelës//
function openside($title) {
echo "<table width='0%' cellpadding='00' cellspacing='0' class='border'>
<tr>
<td height='10' class='scapmain'>$title</td>
<table width='0%' cellpadding='0' cellspacing='00'>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
//Atsidaranèios ðoninës panelës//
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".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();
}
//TableBreak'as//
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Style.css
/*Nuorodos*/
a {
color : #5491a1;
text-decoration : none;
}
a:hover {
color : #256373;
text-decoration : none;
}
/*Ðoninës nuorodos*/
a.side {
color : #5491a1;
text-decoration : none;
}
a:hover.side {
color : #256373;
text-decoration : none;
}
/*Virðutinës nuorodos*/
a.white {
color : #5491a1;
text-decoration : none;
}
a:hover.white {
color : #256373;
text-decoration : none;
}
/*Bendra puslapio iðvaizda*/
body {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
background-image: url(http://java.xz.lt/bg.gif);
}
/*Horizontalios linijos*/
hr {
height : 0px;
border : 0px solid #eee;
}
hr.side-hr {
height : 0px;
border : 0px solid #eee;
}
/*Teksto spalvos, forume, vartotojo informacijoje, registracojoje...*/
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
background-image: url(http://java.xz.lt/l2/paneles.png);
width : 0px;
}
.tbl-border {
color : #000;
background-image: url(http://java.xz.lt/l2/paneles.png);
}
.tbl {
font-size : 11px;
color : #000;
background-image: url(http://java.xz.lt/l2/paneles.png);
padding : 0px;
}
.tbl1 {
font-size : 10px;
color : #000;
background-image: url(http://java.xz.lt/l2/paneles.png);
padding : 0px;
}
.tbl2 {
font-size : 10px;
color : #0000;
background-image: url(http://java.xz.lt/l2/paneles.png);
padding : 0px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #000;
}
/*Header'iai*/
.white-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
border-bottom : 0px solid #ccc;
padding : 0px;
}
/*Banerio dalis*/
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
border-bottom : 0px dashed #ccc;
padding : 0px;
}
.header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ededed;
background-color : #fff;
padding : 0px 0px 0px 0px;
}
/*Footer'is*/
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #b9b3a3;
background-image: url(http://java.xz.lt/l2/apacia.png);
border-top : 0px dashed #ccc;
padding : 0px;
}
/*Mygtukai, teksto fonas*/
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color: #fff;
height : 20px;
border : 1px solid #ccc;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #fff;
border : 1px dashed #ccc;
}
form {
margin : 0px;
}
/*Paneliø iðvaizda*/naujienu vidaus fonas
.main-body {
font-size : 10px;
color : #64afc2;
padding : 4px 4px 5px 4px;
}
.side-body {
font-size : 10px;
padding : 3px;
}
/*Paneliø pavadinimai*/fonas foterio
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #ededed;
border-bottom : 0px dotted #ccc;
padding : 2px 4px 4px 4px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #5491a1;
padding : 0px;
}
/*Temos kampai, fonai*/
.main-bg {
color : #000;
background-image: url(http://java.xz.lt/l2/centras.png);
padding : 40px;
}
.outer-border {
border : 0px solid #49a5bf;
}
//sonines paneles fono spalva navigacijos
.side-border-left {
background-image: url(http://java.xz.lt/l2/paneles.png);
padding : 0px;
}
.side-border-left {
border-left : 0px dashed #ccc;
background-color : #fff;
padding : 40px;
padding-right: 10px;
padding-top: 12px;
background-image: url(http://java.xz.lt/l2/panele.png);
}
.side-border-right {
border-left : 0px dashed #ccc;
background-color : #fff;
padding : 0px;
padding-left: 54px;
padding-top: 12px;
background-image: url(http://java.xz.lt/l2/paneleright.png);
}
/*Naujienø footer'is*/
.news-footer {
font-size : 10px;
color : #000;
background-image: url(http://java.xz.lt/l2/paneles.png);
border-top : 1px dotted #000;
padding : 30px 4px 4px 4px;
}
/*Balsavimo blokas*/
.poll {
height : 12px;
border : 1px solid #000;
}
/*Forumai, ðaukyklos...*/
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #b9b3a3;
background-color: #fff;
padding : 2px 4px 4px 4px;
}
/*Quote langas*/
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #bbb;
}
.comment-name {
font-weight : bold;
color : #005599;
}
/*Ðaukyklos praneðimo autorius*/
.shoutboxname {
font-weight : bold;
color : #005599;
background-color : #fff;
}
/*Ðaukyklos praneðimo tekstas*/
.shoutbox {
color : #777;
background-color : #fff;
}
/*Ðaukyklos data*/
.shoutboxdate {
font-size : 10px;
color : #888;
background-color : #fff;
}
/*
Maþi tekstai*/
.small {
font-size : 10px;
font-weight : normal;
}
/*Maþiausias tekstas*/
.small2 {
font-size : 10px;
font-weight : normal;
color : #555;
}
/*Maþas tekstas panelëse*/
.side-small {
font-size : 10px;
font-weight : normal;
color : #555;
background-color : #fff;
}
/*Navigacijos panelës teksto skyrius*/
.side-label {
color : #000;
background-color : #fff;
padding : 2px 2px 3px 2px;
}
/*Galerija*/
.gallery {
padding : 16px 0px 8px 0px;
}
.gallery img {
border : 1px solid #ccc;
}
img.activegallery {
border : 1px solid green;
}
Gal kas pades kad nebutu tu nesamoniu :?
|