Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padėkit Ištaisyti

Parašė Pakartoti slaptažodį· 2008 Lap. 9 19:11:21
#1

Sveiki, labai prašyčiau jūsų padėti ištaisyti man tokį bugą: Gal supratot kas negerai, nes man reikia kad išsilygintų tos kraštinės kaip geltonos panelės. jei reiks styles.css pasakykit o theme.php tai štai:
<?
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "848";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width;

echo "<table align=center class='mainsite-border' align='left' width='848' 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>";
include_once "foot.php";
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td 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," &nbsp;").newsopts($info,"&nbsp;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<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='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height=23 width=160 class='scapmain' align=center>$title</td>
</tr>
</table>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}

function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<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>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}
?>



Parašė ex-it· 2008 Lap. 9 19:11:42
#2

Mano manymu cia style.css failiuke reik tuos repeat ziuret. nes jei cia ka pakeisi gali issitampyti kitos dalys.?|

Parašė Pakartoti slaptažodį· 2008 Lap. 9 19:11:08
#3

Na mano ten žiūrėta repeat ok viskas. Čia syles.css:

body {
   background-color: #272D45;
   background-image: url(media/fonas.jpg);
   background-position: top center;
   background-repeat: repeat-x;
   background-attachment: fixed;
   font-family : Verdana;
   font-size : 11px;
   margin : 0px;
   scrollbar-face-color:#536B99;
   scrollbar-highlight-color:#2C3651;
   scrollbar-3dlight-color:#2C3651;
   scrollbar-darkshadow-color:#2C3651;
   scrollbar-shadow-color:#2C3651;
   scrollbar-arrow-color:#ffffff;
   scrollbar-track-color:#536B99;
}
a {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
}
a:hover {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
}
a.side {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
}
a:hover.side {
   font-family : Verdana;
   color : #0f8ed8;
   text-decoration : none;
}
a.foot {
   font-family : Verdana;
   color : #c0c0c0;
   text-decoration : none;
}
a:hover.foot {
   font-family : Verdana;
   color : #0f8ed8;
   text-decoration : none;
}
a.white {
   font-family : Tahoma;
   color : #f9f9f9;
   text-decoration : none;
   text-transform: uppercase;
}
a:hover.white {
   font-family : Tahoma;
   color : #ffffff;
   text-decoration : none;
   text-transform: uppercase;
}
a.toplinks {
   font-family : Verdana;
   color : #ffffff;
   text-decoration : none;
}
a:hover.toplinks {
   font-family : Verdana;
   color : #35b4fe;
   text-decoration : none;
}
a.sides {
   font-family : Verdana;
   color : #0a86cf;
   text-decoration : none;
   font-weight: bold;
}
a:hover.sides {
   font-family : Verdana;
   color : #000000;
   text-decoration : none;
   font-weight: bold;
}
form {
   margin : 0px;
}
hr {
   height : 2px;
   border-bottom : 1px solid #fff;
   border-top : 1px solid #bbb;
}
hr.side-hr {
   height : 2px;
   border-bottom : 1px solid #fff;
   border-top : 1px solid #bbb;
}
td {
   font-family : Verdana;
   font-size : 10px;
}
pre {
   font-family : Verdana;
   font-size : 10px;
}
.alt {
   color : #555;
}
.outer-border {
   color: #000;
   border-color : #c0c0c0 #c0c0c0 #c0c0c0 #c0c0c0;
   border-width : 0px;
   border-style : solid;
}
.inner-border {
   color: #000;
   border-color : #c0c0c0 #c0c0c0 #c0c0c0 #c0c0c0;
   border-width : 0px;
   border-style : solid;
}
.sub-header {
   background-color: #ffffff;
   background-image: url('images2/toplinks.gif');
   font-family : Verdana;
   font-size : 10px;
   font-weight: bold;
   color : #35b4fe;
   padding : 2px;
}
.full-header {
   font-family : Verdana;
   font-size : 10px;
   color : #000;

   padding : 5px;
}
.button {
   font-family : Verdana;
   font-size : 9px;
   font-weight: bold;
   color : #0d8ad3;
   background-color : #ffffff;
   height : 20px;
   border : 1px solid #0a86cf;
   margin-top : 2px;
}
.textbox {
   font-family : Verdana;
   font-size : 10px;
   color : #000;
   background-color : #ffffff;
   border : 1px solid #0a86cf;
}
.main-body {
   background: transparent;
   font-size : 11px;
   color : #000;
   padding : 4px 4px 5px 4px;
}
.side-body {
   font-family : Verdana;
   font-size : 11px;
   color : #444;
   padding : 6px 6px 6px 8px;
}
.main-bg {
   background-color : #ffffff;
   background-position: bottom right;
   background-repeat: repeat-x;
   color : #000;
   padding : 0px 10px 10px 10px;
}
.border {
   border : 1px solid #000;
}
.side-border-left {
   color : #444;
   background-color : #ffffff;
   padding-bottom : 4px;
        padding-left : 4px;
        padding-right : 4px;
        padding-top : 0px;
   border-right: 1px dashed #e68700;
}
.side-border-right {
   color : #444;
   background-color : #ffffff;
   padding-bottom : 4px;
        padding-left : 4px;
        padding-right : 4px;
        padding-top : 0px;
   border-left: 1px dashed #e68700;
}
.mainsite-border {
   border-right : 1px solid #bbb;
   border-left : 1px solid #bbb;
   padding : 0px;
}
.news-footer {
   font-size : 10px;
   color : #e68700;
   padding : 1px 4px 1px 4px;
   border: 1px dashed #e68700;
}
.capmain {
   font-family : Tahoma;
   font-size : 11px;
   font-weight : bold;
   text-transform: uppercase;
   color : #50638D;
   background: transparent;
   border-bottom: 1px solid #bbb;
   padding : 4px 4px 4px 4px;
}
.capmain {
   background-image: url(media/capmain.gif);
   font-family : Tahoma;
   font-size : 11px;
   font-weight : bold;]
   text-transform: uppercase;
   color : #f9f9f9;
   padding : 4px 4px 4px 4px;
}

.scapmain {
 background-image: url(media/scapmain.gif);
 font-family : Tahoma;
 font-size : 11px;
 font-weight : bold;]
 text-transform: uppercase;
 color : #f9f9f9;
 background-repeat: repeat-x;
 padding : 4px 4px 4px 4px;
}

.tbl-border {
   color : #000;
   background-color: #0a86cf;
}
.tbl {
   font-size : 11px;
   padding : 4px;
}
.tbl1 {
   font-size : 11px;
   color : #000;
   background-color: #f8fbfd;
   padding : 4px;

}
.tbl2 {
   font-size : 11px;
   color : #666;
   background-color: #f9f9f9;
   padding : 4px;
}
.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #fff;
   background-color: #ACACAC;
   padding : 2px 4px 3px 4px;
}
.quote {
   color : #000;
   background-color : #fff;
   padding : 2px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #617d8f;
}
.poll {
   height : 6px;
   border : 1px solid #000;
}
.comment-name {
   font-weight : bold;
   color : #0a86cf;
}
.shoutboxname {
   font-weight : bold;
   color : red;

}
.shoutbox {
   color : #444;

}
.shoutboxdate {
   font-size : 9px;
   color : #213d6f;

}
.small {
   font-size : 11px;
   font-weight : normal;
}
.small2 {
   font-size : 11px;
   font-weight : normal;
   color : #555;
}
.side-small {
   font-size : 11px;
   font-weight : normal;
   color : #444;
   background-color : #eee;
}
.side-label {
   color : #444;
   background-color : #ddd;
   padding : 2px;
}
.gallery {
   padding : 16px 0px 8px 0px;
}

.gallery img {
   border : 0px solid #ccc;
}
img.activegallery {
   border : 1px solid #ccc;
}
.footer {
   background-image: url('media/main.jpg');
   background-repeat: repeat-x;
   background-position: bottom;
   background-color: #fff;
   font-family : Verdana;
   font-weight: bold;
   font-size : 10px;
   color: #0a86cf;
   padding-bottom: 2px;
}



Parašė _MaZvE_· 2008 Lap. 9 19:11:24
#4

// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "848";
$theme_width_l = "160";
$theme_width_r = "160";


Ce redaguokis

Parašė Pakartoti slaptažodį· 2008 Lap. 9 19:11:22
#5

Redagavau 3 paskutinias eilutes. Nieks nekinta ?|

Parašė Child· 2008 Lap. 9 20:11:03
#6

o nemeginai cepplicu ilgesniu nupiest?

Parašė Pakartoti slaptažodį· 2008 Lap. 9 20:11:23
#7

o kaip ten man juos pratempti?