Witam,
Mam problem z jednym stylem.
Jeden button nie wyświetla się poprawnie nie wiem czemu.
Screen:
Link do strony:
minecraft24h.tk
Link do theme.php:
<?php
// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "857";
$theme_width_l = "258";
$theme_width_r = "258";
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "857");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $aidlink, $settings, $main_style, $locale, $userdata;
echo "<table align='center' cellspacing='0' cellpadding='0' >
<tr>
<td rowspan='6'>
<td colspan='4' class='head_02'>
<span style='margin-left:5px;color:#fff; text-shadow:#0b6002 1px 1px 0px; font-family:tahoma;'>» Sveiki atvyke i LIMEcraft // <a href='login.php' style='color:#fff; font-weight:bold;'>Prisijunk</a> Arba <a href='register.php' style='color:#fff; font-weight:bold;'>prisiregistruok</a> juk tai visiskai nemokama ! Primename jog nariai turi zymiai daugiau privilegiju nei svecias.</span>
</td>
<td rowspan='6'>
</tr>
<tr>
<td colspan='4' background='".THEME."images/header/head_04.gif' width='857' height='36' alt=''></td>
</tr>
<tr>
<td rowspan='2' background='".THEME."images/header/head_05.gif' width='415' height='131' alt=''></td>
<td colspan='3' background='".THEME."images/header/head_06.gif' width='442' height='27' alt=''></td>
</tr>
<tr>
<td colspan='3' class='head_07'>
<b>Isleistas 1.7 pristatomasis Video klipas!</b><br> Kaip jau turbut daugelis zino, tai siandien birzelio 30 yra isleidziamas Minecraft 1.7 atnaujinimas, kurio pagrindinis pakeitimas yra stumokliai (angl. pistons). Be ju taip pat buvo ideta ir nauja tasyto akmens tekstura, sutvarkytas molio klaida bei padaryta, kad ant tvoru butu galima deti deglus bei kitas tvoras. Si fimluka sukure hat films.
</td>
</tr>
<tr>
<td colspan='2' class='head_10'>
<a href='http://limecraft.wu.lt/news.php' style='margin-left:15px; color:#fff; font-weight:bold;'>Pagrindinis</a>
<span style='margin-left:9px; color:#fff; font-weight:bold;'>»</span>
<a href='forum/index.php' style='margin-left:9px; color:#fff; font-weight:bold;'>Diskusijos</a>
<span style='margin-left:9px; color:#fff; font-weight:bold;'>»</span>
<a href='http://limecraft.wu.lt/forum/viewthread.php?thread_id=2' style='margin-left:9px; color:#fff; font-weight:bold;'>Taisykles</a>
<span style='margin-left:9px; color:#fff; font-weight:bold;'>»</span>
<a href='viewpage.php?page_id=1' style='margin-left:9px; color:#fff; font-weight:bold;'>Administracija</a>
<span style='margin-left:9px; color:#fff; font-weight:bold;'>»</span>
<a href='#' style='margin-left:9px; color:#fff; font-weight:bold;'>Paslaugos</a>
<span style='margin-left:9px; color:#fff; font-weight:bold;'>»</span>
<a href='downloads.php' style='margin-left:9px; color:#fff; font-weight:bold;'>Siuntiniai</a>
</td>
<td><a href='http://www.facebook.com/pages/LimeCraft-MineCraft-Support-bei-serveris/120069341418587'>
<img src='".THEME."images/header/head_11.gif' width='99' height='40' alt=''></a></td>
<td background='".THEME."images/header/head_09.gif' width='189' height='44' alt=''></td>
</tr>
<tr>
<td colspan='4'>
</tr>
<tr>
<td>
<img src='".THEME."images/header/spacer.gif' width='121' height='0' alt=''></td>
<td>
<img src='".THEME."images/header/spacer.gif' width='415' height='0' alt=''></td>
<td>
<img src='".THEME."images/header/spacer.gif' width='154' height='0' alt=''></td>
<td>
<img src='".THEME."images/header/spacer.gif' width='99' height='0' alt=''></td>
<td>
<img src='".THEME."images/header/spacer.gif' width='189' height='0' alt=''></td>
<td>
<img src='".THEME."images/header/spacer.gif' width='122' height='0' alt=''></td>
</tr>
</table>\n";
//echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' class='border' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//footer
echo "<table width='857' height='120' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td align='left' width='90'>
<span style='padding-right: 0px;'><a target='_blank' href='http://www.hey.lt/details.php?id=limecraft'><img width=88 height=31 border=0 src='//www.hey.lt/count.php?id=limecraft' alt='Hey.lt - Nemokamas lankytoju skaitliukas'></a></span>
<td align='left' width='419'>
<span style='color:#48422b;margin-left:0px;font-family:tahoma;'>Turi klausymu? Reikia pagalbos?</span><a href='http://lasin.lt' style='color:#0e7905;margin-left:0px;font-family:tahoma;'><b> Rasyk mums !</b></a>
</td>
<td align='right' width='329'>
<span style='color:#48422b;margin-left:17px;font-family:tahoma;'>Grafinio dizaino įgivendinimas : </span><a href='http://lasin.lt'><img src='".THEME."images/lasin.lt.png' alt='' style=' margin-right:15px;'></a>
</td>
</table>\n";
echo "<div id='bottom'><center>";
if (!$license) { echo "<br /><br />\n".showcopyright(); }
echo "</center></div>";
}
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='411' class='capmain'>$subject</td>";
echo "<td width='183' class='capmain2' style='padding-left: 0px; text-align:right; font-size:10px; color:#736b34; text-shadow:#cfc08d 1px 1px 0px;'>
Autorius : <a href='profile.php?lookup=".$info['user_id']."' style='color:#736b34;'>".$info['user_name']."</a><br>
Naujienos data : ".date("Y-m-d", $info['news_date'])."<br>
<a href='".BASEDIR."news.php?readmore=".$info['news_id']."' style='color:#fff; text-shadow:#736b34 1px 1px 0px;'>Skaityti daugiau</a>
</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<tr><td align='right' class='infobar' width='100%'>";
echo "</td></tr></table></div></td>";
echo "</td></tr>";
echo "</tr></table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<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 articleposter($info,"<br>").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain3'>$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 class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<td class='side-down'></td>
<tr><td style='height: 4px;'></td>
</table>\n";
}
?>
Style.css:
a {
color : #fff;
text-decoration : none;
}
a:hover {
color : #9bff92;
text-decoration : none;
}
a.side {
color : #fff;
text-decoration : none;
}
a:hover.side {
color : #9bff92;
text-decoration : underline;
}
a.white {
color : #fff;
text-decoration : none;
}
a:hover.white {
color : #9bff92;
text-decoration : underline;
}
body {
background: url(images/body.jpg);
background-repeat:repeat-x;
font-family : Verdana, Arial, Helvetica, sans-serif;
margin-top: 0px;
margin-bottom: 0px;
background-color : #f6eac0;
}
form {
margin : 0px;
}
hr {
height : 1px;
border : 1px solid #eee;
}
hr.side-hr {
height : 1px;
border : 1px solid #eee;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #005599;
}
.head_02 {
background: url(images/header/head_02.gif);
width:857px;
height:28px;
font-family : Verdana, Arial, Helvetica, sans-serif;
margin-top: 0px;
padding-bottom: 2px;
padding-left:0px;
background-color : #000000;
}
.head_07 {
background: url(images/header/head_07.gif);
width:422px;
height:104px;
color:#fff;
text-shadow:#094703 1px 1px 0px;
font-family : tahoma;
padding:5px;
padding-bottom:20px;
padding-left:10px;
background-color : #000000;
}
.head_10 {
background: url(images/header/head_10.gif);
width:569px;
height:44px;
text-shadow:#084f01 1px 1px 0px;
font-family : tahoma;
margin-top: 0px;
padding-bottom: 13px;
padding-left:0px;
background-color : #000000;
}
.white-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #fff;
border-top : 1px solid #ccc;
border-bottom : 1px solid #e1e1e1;
padding : 5px;
}
.white-header ul{
margin: 0;
padding: 0;
}
.white-header ul li{
display: inline;
}
.white-header ul li.first-link .bullet{
display: none;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #aaa;
background-color : #006699;
padding : 0px;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #aaa;
background-color : #006699;
border-top : 1px solid #e1e1e1;
padding : 5px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f1f1f1;
height : 20px;
border : 1px solid #ccc;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f8f8f8;
border : 1px solid #ccc;
}
.main-body {
font-size : 11px;
color : #555;
padding : 4px 4px 5px 4px;
}
.side-body {
background: url(images/side-center.jpg);
font-size : 11px;
color : #fff;
text-shadow:#17610a 1px 1px 0px;
border : 0px solid #e1e1e1;
padding-left : 4px;
padding-right : 4px;
padding-top : 4px;
padding-bottom : 4px;
}
.main-bg {
color : #555;
padding : 0px;
}
.outer-border {
border-left : 5px solid #fff;
border-right : 5px solid #fff;
}
.border {
border : 0px solid #e1e1e1;
}
.side-border-left {
padding-right:6px;
padding-top : 0px;
padding-bottom : 5px;
width: 258px;
}
.side-border-right {
padding-top : 0px;
padding-bottom : 5px;
padding-left : 6px;
width: 258px;
height: 162px;
}
img { border: 0px }
.center { margin: 0 auto;}
.news-category
{
border : 0 none;
float : left;
margin-left : 0;
margin-right : 5px;
margin-top : 3px;
margin-bottom : 0;
}
.capmain3 {
font-family : tahoma;
font-size : 11px;
color : #fff;
font-weight:bold;
text-shadow:#625330 1px 1px 0px;
background-color : #f1f1f1;
background: url(images/center-up.png);
border-bottom : 0px solid #e1e1e1;
height: 47px;
padding : 0px 0px 4px 21px;
}
.capmain {
font-family : tahoma;
font-size : 11px;
color : #fff;
font-weight:bold;
text-shadow:#625330 1px 1px 0px;
background-color : #f1f1f1;
background: url(images/center-up1.png);
border-bottom : 0px solid #e1e1e1;
height: 47px;
padding : 0px 0px 4px 21px;
}
.capmain2 {
font-family : tahoma;
font-size : 11px;
color : #fff;
font-weight:bold;
text-shadow:#625330 1px 1px 0px;
background-color : #f1f1f1;
background: url(images/center-up2.png);
background-repeat:no-repeat;
border-bottom : 0px solid #e1e1e1;
height: 47px;
padding : 0px 6px 4px 0px;
}
.scapmain {
text-shadow:#137812 1px 1px 0px;
font-family : tahoma;
text-align:center;
font-size : 11px;
font-weight:bold;
color : #fff;
background-color : #f1f1f1;
background: url(images/side-up.jpg);
width:258px;
height: 41px;
padding-right : 0px;
padding-bottom : 1px;
}
.side-down {
text-shadow:#137812 1px 1px 0px;
font-family : tahoma;
text-align:center;
font-size : 11px;
font-weight:bold;
color : #0c9708;
background-color : #bfb47c;
background: url(images/side-down.jpg);
width:258px;
height: 6px;
}
.tbl-border {
color : #0c9708;
background-color : #bfb47c;
}
.tbl {
font-size : 11px;
color : #555;
background-color : #bfb47c;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #fff;
text-shadow:#b19d61 1px 1px 0px;
background-color : #bfb47c;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #fff;
background-color : #ada26b;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #fff;
background-color : #0c9708;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #bbb;
}
.poll {
height : 12px;
border : 1px solid #000;
}
.comment-name {
font-weight : bold;
color : #005599;
}
.shoutboxname {
font-weight : bold;
color : #005599;
}
.shoutbox {
color : #0f7205;
text-shadow:#fff 1px 1px 0px;
background-color : #eddc9f;
}
.shoutboxdate {
font-size : 10px;
color : #fff;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #555;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #555;
background-color : #fff;
}
.side-label {
color : #555;
background-color : #f1f1f1;
padding : 2px 2px 3px 2px;
}
.prisijungti {
background: url(images/prisijungti.png);
width:116px;
height:62px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #2eb126;
border : 0px solid #ccc;
margin-top : 2px;
}
.laukelis {
background: url(images/laukelis.jpg);
width:165px;
height:23px;
font-family : tahoma;
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding-left:5px;
border : 0px solid #ccc;
}
Ja już nie mam siły nie wiem co jest nie tak.
Pozdrawiam
PW od moderatora:
- Zmiana nazwy tematu - khaman 11.10.2012 18:21
Edytowane przez khaman dnia 11.10.2012 19:12:23
|