Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip pakeisti ?

Parašė Haked· 2008 Lie. 14 13:07:37
#1

Kaip pakeisti to stulpelio foną? kur redaguoti reikia?
va kaip noriu: www.tracers.gan.lt/va.bmp

štai styles:
body {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   background-color: #bfdc06;
   background-image:url('images/bg.gif');
   background-position:top;
   background-repeat: repeat-x;
   padding:0px 0px 0px 0px;
   margin:0px 0px 0px 0px;


}

.forumline {
   border: solid 1px #999999;
   background-color: #FF3399;
}

a {
   color: #83b808;
   text-decoration:none;
   font-size:10px;
   font-weight:bold;
}

a:hover {
   color:#516919;
   text-decoration:none;
}

a.side {
   color:#95c428;
   text-decoration:none;
   font-size:10px;
}

a:hover.side {
   color:#516919;
   text-decoration:none;
}



a.white {
   color:#83b808;
   text-decoration:none;
   font-size:10px;
   font-weight:bold;
}

a:hover.white {
   color:#516919;
   text-decoration:none;
}

form {
   margin:0px 0px 0px 0px;
}

hr {
   border-top:1px #bfdc06 solid;
   border-bottom:1px #FFFFFF solid;
}

hr.side-hr {
   border:1px #FF3399 solid;
   border-bottom:1px #FFFFFF solid;
}

td {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
}

pre {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:9px;
}

.alt {
   color:#1C1C1C;
}
.header {
   background-color:#FFFFFF;
   background-image:url('images/header_bg.gif');
}

.sub-header {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#292929;
   background-color:#FFFFFF;
   background-image:url('images/cellpic_nav.gif');
   border-top:1px solid #999999;
   border-bottom:1px solid #999999;
   padding:5px
}

.button
{
 font-family : "Trebuchet MS";
 font-size: 12px;
 color: #555;
 background-color: #f1f1f1;
 background-image:url('images/gump.png');
 height: 20px;
 border: 1px solid #ccc;
 margin-top: 2px
}

.button:hover
{
 font-family : "Trebuchet MS";
 font-size: 12px;
 color: #555;
 background-color: #f1f1f1;
 background-image:url('images/button1.png');
 height: 20px;
 border: 1px solid #66CCFF;
 margin-top: 2px
}
   
.textbox {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#000000;
   
   border:1px #999999 solid;
}

.main-body {
   color: #000000;
   background-color:#FFFFFF;
   font-weight: normal;
   padding:4px 4px 6px 6px;
}

.table-cellpic {
   font-size: 11px;
   line-height: 25px;
   font-weight: bold;
   color: #000000;
   background-color:#FFFFFF;
   background-image: url('images/cellpic1.gif');
   padding-left:4px; padding-right:4px; padding-top:0px; padding-bottom:0px

}

.panel-border {
   border: 1px solid #999999;
}

.news-border {
   border-top: solid #999999;
   border-top-width: 1px;
   border-left: solid #999999;
   border-left-width: 1px;
   border-right: solid #999999;
   border-right-width:1px;
   border-bottom: solid #F6F6F6;
   border-bottom-width:0px;
}

.panel-cellpic {
   font-size: 11px;
   line-height: 25px;
   font-weight: bold;
   color: #8b9f0a;
   background-color: #FFFFFF;
   background-image: url('images/cellpic1.gif');
   padding-left:8px; padding-right:4px; padding-top:0px; padding-bottom:0px
}

.side-body {
   color: #696969;
   font-weight: normal;
      margin:4px 4px 4px 4px;
   padding:4px 4px 4px 4px;
   background-color:#FFFFFF;

}

.main-bg {
   margin:4px 4px 4px 4px;
   background-color:#FFFFFF;}

.border {
   border-width:0px 1px 1px 1px;
   border-color:#FF3399;
   border-style:solid;
}

.news-footer {
   background: #F0F4F7 url('images/news_footer.gif');
   font-size:9px; font-weight:normal; color:#0C0C0C; height:22px; padding:4px;
}

.capmain {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:12px;
   font-weight:bold;
   background-color:#FFFFFF;
   border-width:0px 0px 0px 0px;
   color:#8b9f0a;
   height:18px;
   padding:2px 2px 2px 2px;
}

.footer {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:9px;
   color:#EAEAEA;
   height:24px;
   background-color:#FFFFFF;
   background-image: url('images/footer_bg.gif');
   border-top:1px solid #999999;
   border-bottom:0px solid #999999;
   padding-left:4px; padding-right:4px; padding-top:4px; padding-bottom:6px
}

img {
   border: 0px;
}

.scapmain {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   font-weight:bold;
   color:#8b9f0a;
   height:27px;
   background-color: #ffffff;
   padding:0px 2px 0px 2px;
   border-width:0px 0px 0px 0px;
}

.tbl-border { background-color: #FFFFFF; border: 3px solid #93c001; border-left-width: 1px; border-right-width: 1px; margin-top: 4px; margin-bottom: 4px; }
.tbl { padding: 3px 4px 3px 4px; }
.tbl1 { background-color: #f7ffdb; padding: 4px; border: 1px solid #bfdc06; }
.tbl2 { background-color: #f7ffdb; border: 1px solid #d0e92e; padding: 4px; }

/* Forum header*/
.forum-caption {
   font-size:10px;
   font-weight:bold;
   color:#363636;
   border-color: #D92B82;
      background-color:#EDEDED;
   height:24px;
   background-image:url('images/cellpic2.gif');
   background-repeat:repeat-x; padding-left:4px; padding-right:4px; padding-top:0px; padding-bottom:2px
}

/* Quote blocks */
.quote {
   color:#006E29;
   background-color:#F0F0F0;
   padding:2px;
   margin:0px 20px 0px 20px;
   border:1px #999999 solid;
}

/* Voting Poll */
.poll {
   height:12px;
   border:1px #999999 solid;
}

.comment-name {
   font-weight:bold;
   color:#DDCC88;
}

/* This is for the Shoutbox */
.shoutboxname {
   font-weight:bold;
   color:#FFDDAA;
}

.shoutbox {
   color:#06070A;
}

.shoutboxdate {
   font-size:9px;
   color:#1C1C1C;
}

.small {
   font-size:10px;
   font-weight:normal;
}

.small2 {
   font-size:9px;
   font-weight:normal;
   color:#1C1C1C;
}

.side-small   {
   font-size:10px;
   font-weight:normal;
   color:#000000;
}

.side-label {
   background-color:#F8F8F8;
   font-weight:normal;
   color:#1C1C1C;
   padding:2px;
}

/* This is for the Photo Gallery */
.gallery {
   padding: 16px 0px 8px 0px;
}

.gallery img {
   border: 1px solid #999999;
   filter: gray;
}

.gallery:hover img {
   border: 1px solid #4E79F3;
   filter: none;
}

img.activegallery   {
   border: 1px solid #FF3399;
   filter: none;
}

.checkbox {
   border: 1px solid #FF3399;
   filter: none; }




čia theme php:
<?
$body_text = "#000000";
$body_bg = "#bfdc06";
$theme_width = "863";
$theme_width_l = "0";
$theme_width_r = "154";
require_once INCLUDES."theme_functions_include.php";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table border='0' valign='top' cellpadding='0' cellspacing='0' align='center' width='863'>
  <tr>
    <td width='330'>
         <img src='".THEME."images/m4u_01.gif' width='306' height='90' alt=''></td>
    <td width='330'>
         <img src='".THEME."images/m4u_02.gif' width='226' height='90' alt=''></td>
    <td width='340'>
         <img src='".THEME."images/m4u_03.gif' width='341' height='90' alt=''></td>
  </tr>
  <tr>
    <td width='330'>
         <img src='".THEME."images/m4u_04.gif' width='306' height='79' alt=''></td>
    <td width='330'>
         <img src='".THEME."images/m4u_05.gif' width='226' height='79' alt=''></td>
    <td width='340'>
         <img src='".THEME."images/m4u_06.gif' width='341' height='79' alt=''></td>
  </tr>
</table>";
        echo "<center><table width='873' cellpadding='0' bgcolor='#FFFFFF' cellspacing='0' border='0'><tr>
      <td width='137' valign='top' bgcolor='#bfdc06'><img border='0' src='".THEME."images/m4u_07.gif' width='137' ></td><td>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

        echo "</td><td align='right' width='123' valign='top' bgcolor='#bfdc06'><img border='0' src='".THEME."images/m4u_13.gif' width='123' ></td></tr></table>
<table border='0' align='center' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='654' id='AutoNumber1' height='60'>
  <tr>
    <td width='654' height='60' background='".THEME."images/footer.png' >
    <table border='0' cellpadding='0' cellspacing='0' width='100%' height='60'>
      <tr>
        <td width='60%' height='58'>&nbsp;</td>
        <td width='40%' height='58'><font color='#23C2DF'><b>"; echo showcounter()."</b></font></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
  </center>";
}

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

global $locale;


        echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
        echo "<tr><td width='100%' class='capmain'>$subject</td></tr>";
        echo "<tr ><td width='100%' ><img src='".THEME."images/linija.png'></td></tr>";
        echo "<tr><td class='main-body' width='100%' bgColor='#EDEDED'>$news</td></tr><tr height='3' ><td width='100%' height='3' background='".THEME."images/m4u_30.gif'></td></tr></table>";
        echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
        echo "<td class='news-footer'>";
        echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
        echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
        echo "<td height='24' align='right' class='news-footer'>";
        echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
        if ($info['news_allow_comments'])
        echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
        echo "".$info['news_reads'].$locale['044']." ";
        echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
        echo "</td></tr></table>";

}

function render_article($subject, $article, $info) {

global $locale;

        echo "<table class='news-border' border='0' cellspacing='1' width='100%' cellpadding='1'><tr>";
        echo "<td class='table-cellpic'>$subject</td>";
        echo "</tr>";
      echo "<tr ><td width='100%' ><img src='".THEME."images/linija.png'></td></tr>";
      echo "</table>";
        echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
        echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
        echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
        echo "</td></tr></table>";
        echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
        echo "<td class='news-footer'>";
        echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
        echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
        echo "<td height='24' align='right' class='news-footer'>";
        if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
        echo "".$info['article_reads'].$locale['044']." ";
        echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img alt='' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;' style='vertical-align:middle;'></a>";
        echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

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

// Close table end
function closetable() {

        echo "</td></tr><tr height='3' ><td width='100%' height='3' ></td></tr></table>";
}

function openside($title) {

        echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
        echo "<tr><td class='scapmain' width='".$theme_width_l."'><center>$title</center></tr>";
        echo "<tr><td class='side-body' width='100%'>";
}

function closeside() {

        echo "</td></tr></table>";
        tablebreak();
}

function opensidex($title,$open="on") {

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";

        echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
        echo "<tr><td width='100%'><table class='panel-border' cellSpacing='0' cellPadding='1' width='100%' border='0'>";
        echo "<tr><th width='100%'>";
        echo "<div class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</div>";
        echo "</th></tr>";
        echo "<tr><td class='side-body' width='100%' bgColor='#EDEDED'>";
        echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}

function closesidex() {

        echo "</td></tr></table></td></tr></table>";
        tablebreak();
}

// Table functions
function tablebreak() {
        echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>



Redagavo Haked· 2008 Lie. 14 13:07:12