Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kas pades tam ....

Parašė Fanio· 2008 Rugp. 13 21:08:44
#2

Viskas ko tu prašei.


///theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#484848";
$theme_width = "780"; ///Temos plotis
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width,$settings;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header_top'>
<table cellpadding='0' cellspacing='0' width='100%'>
<td width='500'></td>
<td width='200'></td>

<td width='13' height='28'align='left'><img src='".THEME."images/line_l.png'></td>
<td width='235' align='left' height='28' background='".THEME."images/line_grad.png' class='line'><marquee scrollamount='1' scrolldelay='50' onmouseover='this.stop()' onmouseout='this.start()'>".stripslashes($settings['description'])."</marquee></td>
<td width='13' align='left' height='28'><img src='".THEME."images/line_r.png'></td>

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

echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>\n<tr>
<td><img src='".THEME."header.gif'></td>
</tr>
</table>\n";


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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\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 align='center' class='footer'>&nbsp;&nbsp;<img src='".THEME."images/made_by.png'>&nbsp;&nbsp;<a href='http://emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}



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

global $aidlink,$item_type;
$res = "";

echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>
<tr>
<td class='capmain'>$subject<br><span style='font-size : 10px;font-weight : normal;color:#ffffff;'>".showdate("shortdate", $info['news_date'])."</span></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&amp;news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><a href='news.php?readmore=".$info['news_id']."'>Naujiena pla&#232;iau</a> | Skaityta: ".$info['news_reads']." | Komentarø: ".$info['news_comments']."</td>
</form>
</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," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td 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 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 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";

}
?>





///style.css
a {
   color : #333333;
   text-decoration : none;
}

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

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

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

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

a:hover.white {
   color : #ddd;
   text-decoration : underline;

}



body {
        background-image: url('images/fonas.gif');
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   margin: 0px;
   
}

.line {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #FFF;
       
}

.header_top {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   background: url(images/header_top.gif);
   width: 780px;
   height: 102px;
   font-size : 10px;
}

.header_bottom {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   background: url(images/header.gif);
   width: 780px;
   height: 456456x;
   font-size : 10px;
}

.linija {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   background: url(images/linija.gif);
   width: 780px;
   height: 30px;
   font-size : 10px;
}


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 : #4f504f;
}
 
.outer-border {
   border : 1px solid #fff;
}


.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #ddd;
}


.footer {
        background-image: url('images/footer.png');
        width: 780px;
   height: 120px;
        background-color : #f5f5f5;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
        padding-left : 370px;
        padding-top : 90px;
}

.button {
   font-family : Verdana;
   font-size : 10px;
   font-weight: bold;
   color : #a5d327;
        background-color : #f5f5f5;
   height : 17px;
   border : 1px solid #e9e6e6;
   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 : 10px;
   color : #333333;
   background-color : #f5f5f5;
   padding : 5px 5px 5px 5px;
}

.side-body {
   font-size : 10px;
   color : #777;
   background-color : #f6f6f6;
   padding : 4px;
}

.main-bg {
   color : #555;
   background-color : #f5f5f5;
   padding : 10px 5px 10px 5px;
}

.border {
   border : none;
}

.side-border-left {
   color : #777;
   background-color : #f5f5f5;
   padding : 10px 5px 10px 10px;
}

.side-border-right {
   color : #777;
   background-color : #f5f5f5;
   padding : 10px 10px 10px 5px;
}

.news-footer {
   font-size : 10px;
   color : #ffffff;
        padding-top : 10px;
}

.capmain {
   font-family : Arial;
   font-size : 18px;
   font-weight : none;
   color : #a5d327;
        border-top : 1px solid #eee;
   padding : 2px 2px 2px 2px;
        padding-left : 14px;
}

.scapmain {
       
        font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 13px;
   font-weight : bold;
   color : #a5d327;
   padding : 4px;
        border-bottom : 1px solid #eee;
        text-align : center;
       
     
}



.tbl {
   font-size : 10px;
   color : #a5d327;
   background-color : #f5f5f5;
   padding : 4px;
}

.tbl1 {
   font-size : 10px;
   color : #a5d327;
   background-color : #f5f5f5;
   padding : 4px;
}

.tbl2 {
   font-size : 10px;
   color : #a5d327;
   background-color : #f0f0f0;
   padding : 4px;
}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #888;
   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 #bbb;
}

.poll {
   height : 4px;
   background-color : #b4d55c;
}

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

.shoutboxname {
   font-weight : bold;
   color : #597a08;
   
}

.shoutbox {
   color : #777;
   
}

.shoutboxdate {
   font-size : 10px;
   color : #a5d327;
   
}

.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 : #f6f6f6;
}

.side-label {
   color : #555;
   background-color : #f1f1f1;
   padding : 2px 2px 3px 2px;
}




Redagavo Fanio· 2008 Rugp. 13 21:08:35