Ar galima vietoje raudonai apibrauktų vietų padaryti kokį nors picture, nu pavyzdžiui šešėlį. Aplink visą baltą backgroundą ir iš visų kraštų.
http://img247.imageshack.us/my.p...pvzbd1.gif
Jei galit parašykit kur ir ką reikia redaguoti.
Čia mano theme.php ir styles.css:
a {
color : #000000;
text-decoration : none;
}
a:hover {
color : #000000;
text-decoration : none;
}
a.side {
color : #000000;
text-decoration : none;
}
a:hover.side {
color : #000000;
text-decoration : underline;
}
a.white {
color : #000000;
text-decoration : none;
}
a:hover.white {
color : #000000;
text-decoration : none;
}
body {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
background-color : #000000;
background-image: url(images/bg.jpg);
background-position: top center;
background-repeat: repeat-x;
}
form {
margin : 0px;
}
hr {
height : 1px;
border : 1px solid #eee;
}
hr.side-hr {
height : 1px;
border : 1px solid #dedede;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #000000;
}
.outer-border {
border : 0px solid #ffffff;
}
.sub-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #fff;
padding : 0px;
background-color : #ffffff;
border : 2px solid #ffffff;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
border : 0px solid #000000;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #ffffff;
padding : 1px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #ffffff;
height : 20px;
border : 1px solid #000000;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000000;
background-color : #ffffff;
border : 1px solid #000000;
}
.main-body {
font-size : 11px;
color : #000;
background-color : #ffffff;
padding : 4px 0px 5px 0px;
}
.side-body {
font-size : 10px;
color : #777;
background-color : #ffffff;
padding : 4px;
}
.main-bg {
color : #555;
background-color : #ffffff;
padding : 10px 5px 10px 5px;
}
.border {
border : 0px solid #ffffff;
}
.side-border-left {
color : #000;
background-color : #ffffff;
padding : 10px 5px 10px 10px;
}
.side-border-right {
color : #000;
background-color : #ffffff;
padding : 10px 10px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #555;
background-color : #ffffff;
background-image: url(images/nf.jpg);
background-repeat: no-repeat;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #ffffff;
background-image: url(images/sb2.jpg);
background-repeat: no-repeat;
padding : 4px
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #ffffff;
background-color : #ffffff;
padding : 4px;
}
.tbl-border {
color : #000;
background-color : #000;
}
.tbl {
font-size : 11px;
color : #000;
background-color : #fff;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #000;
background-color : #fff;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #000;
background-color : #f1f1f1;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #000;
background-color : #f1f1f1;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #000;
}
.poll {
height : 12px;
border : 1px solid #000000;
}
.comment-name {
font-weight : bold;
color : #000;
}
.shoutboxname {
font-weight : bold;
color : #000;
}
.shoutbox {
color : #000;
}
.shoutboxdate {
font-size : 10px;
color : #000;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #000000;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #000000;
background-color : #fff;
}
.side-label {
color : #000;
background-color : #fff;
padding : 2px 2px 3px 2px;
}
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "1007";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table align=center class='mainsite-border' align='left' width='910' cellspacing='0' cellpadding='0'>
<tr><td class='outer-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr><td class='inner-border'>
<table align='center' width='100%' cellspacing='0' cellpadding='0'>
<tr align=left><td>";
include_once "header.php";
echo "</td></tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\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%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<img src='".THEME."images/dizainas.jpg' align='center'>
</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/sb2.jpg' height='50' 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," ·").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 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," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/sb2.jpg' height='50' class='capmain'> $title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/sbc.jpg' height='50' class='scapmain'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</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 background='".THEME."images/sb.jpg' width='100%' height='50' class='capmain'> $title</td>
<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();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
„Ne alkoholis sukelia girtumą ir alkoholizmą, bet neprotingas jo vartojimo būdas.“
Redagavo Black psycho 2008 Kov. 19 11:03:21 |