Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: CS_Zone Tema.
Parašė RuP3r· 2008 Kov. 16 20:03:27
#1
Gal galit panaikint man panaikinti i kodo bars0, bars1, cytai0, cytai1, cs_movies0, cs_movies1, forumas0, forumas1, ip0, ip1, namai0, namai1, parama0, parama1, servers0, servers1, straipsniai0, straipniai1. ir kad visus oranzinis_headeris visas dali paverstumet i viena header.gif.
Styles
/* ------------------ */
/* RIPPED BY PLAY */
/* ------------------ */
/* Web / Nickname */
/* is responsible of this content. */
body {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
background-image: url(images/bg.gif);
color:#464646;
background-color:#d2d2d2;
padding:0px 0px 0px 0px;
margin:0px;
}
.forumline {
border: solid 1px #CACACA;
background-color: #CACACA;
}
a {
color:#c08020;
text-decoration:none;
font-size:10px;
}
a:hover {
color:#c08020;
text-decoration:none;
}
a.side {
color:#c08020;
text-decoration:none;
font-size:10px;
}
a:hover.side {
color:#0C0C0C;
text-decoration:none;
}
a.white {
color:#0567C4;
text-decoration:none;
font-size:11px;
}
a:hover.white {
color:#0C0C0C;
text-decoration:none;
}
form {
margin:0px 0px 0px 0px;
}
hr {
border-top:1px #E2E2E2 solid;
border-bottom:1px #F9F9F9 solid;
}
hr.side-hr {
border:1px #E2E2E2 solid;
border-bottom:1px #F9F9F9 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;
}
.bnr1 {
width:16px; height:53px;
background-image:url(images/oranzinis_headeris_pradetas_01.gif);
<img scr='".THEME."images/header.png'
}
.bnr8 {
width:42px; height:154px;
background-image:url(images/oranzinis_headeris_prade-08.gif);
}
.bnr9 {
width:207px; height:154px;
background-image:url(images/oranzinis_headeris_prade-09.gif);
}
.bnr10 {
width:59px; height:154px;
background-image:url(images/oranzinis_headeris_prade-10.gif);
}
.bnr11 {
width:202px; height:154px;
background-image:url(images/oranzinis_headeris_prade-11.gif);
}
.bnr12 {
width:284px; height:154px;
background-image:url(images/oranzinis_headeris_prade-12.gif);
}
.bnr13 {
width:794px; height:42px;
background-image:url(images/oranzinis_headeris_prade-13.gif);
}
.bnr14 {
width:186px; height:18px;
background-image:url(images/oranzinis_headeris_prade-14.gif);
}
.sub_linkai1 {
width:80px; height:40px;
background-image:url(images/oranziniai_linkai_01.gif);
}
.sub_linkai2 {
width:87px; height:40px;
background-image:url(images/oranziniai_linkai_02.gif);
}
.sub_linkai3 {
width:89px; height:40px;
background-image:url(images/oranziniai_linkai_03.gif);
}
.sub_linkai4 {
width:88px; height:40px;
background-image:url(images/oranziniai_linkai_04.gif);
}
.sub_linkai6 {
width:86px; height:40px;
background-image:url(images/oranziniai_linkai_06.gif);
}
.sub_linkai7 {
width:79px; height:40px;
background-image:url(images/oranziniai_linkai_07.gif);
}
.sub_linkai10 {
width:114px; height:40px;
background-image:url(images/oranziniai_linkai_10.gif);
}
.sub_linkai11 {
width:118px; height:40px;
background-image:url(images/oranziniai_linkai_11.gif);
}
.futeris1 {
width:15px; height:40px;
background-image:url(images/footeris_oranzinis_01.gif);
}
.futeris2 {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#2e2e2e;
width:732px; height:40px;
background-image:url(images/footeris_oranzinis_02.gif);
}
.futeris3 {
width:233px; height:40px;
background-image:url(images/footeris_oranzinis_03.gif);
}
.tarpas {
background-image:url(images/spacer.gif);
}
.mainsite-border {
border-right : 2px solid #9c9c9c;
border-left : 2px solid #9c9c9c;
padding : 0px;
}
.pan-kaire {
width:16px; height:44px;
background-image:url(images/son_panele_01.gif);
}
.pan-centras {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:12px;font-weight:bold;
color:#3A3A3A;
height:44px;
width:158px;
padding-right:5px;
background-image:url(images/son_panele_02.gif);
}
.pan-desine {
width:14px; height:44px;
background-image:url(images/son_panele_03.gif);
}
.pan-son-kaire {
width:8px; height:100%;
background-image:url(images/son_panele_04.gif);
}
.pan-fonas {
width:172; height:100%;
background-image:url(images/son_panele_05.gif);
}
.pan-son-desine {
width:8px; height:100%;
background-image:url(images/son_panele_06.gif);
}
.pan-apac-kaire {
width:16px; height:15px;
background-image:url(images/son_panele_07.gif);
}
.pan-apac-centras {
width:154px; height:15px;
background-image:url(images/son_panele_08.gif);
}
.pan-apac-desine {
width:18px; height:15px;
background-image:url(images/son_panele_09.gif);
}
.button {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#000020;
border:1px solid; border-color:#B7B7B7 #B7B7B7 #B7B7B7 #B7B7B7;
background: #FFFFFF;
background-image:url(images/button.gif);
margin-top:2px;
}
.pan-ct-kaire {
width:12px; height:34px;
background-image:url(images/centrine_panelke_01.gif);
}
.pan-ct-centras {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:12px;font-weight:bold;
color:#3A3A3A;
height:34px;
padding-right:5px;
background-image:url(images/centrine_panelke_02.gif);
}
.pan-ct-desine {
width:15px; height:34px;
background-image:url(images/centrine_panelke_03.gif);
}
.pan-ct-son-kaire {
width:12px; height:100%;
background-image:url(images/centrine_panelke_04.gif);
}
.pan-ct-fonas {
background-image:url(images/centrine_panelke_05.gif);
}
.pan-ct-son-desine {
width:15px;
background-image:url(images/centrine_panelke_06.gif);
}
.pan-ct-apac-kaire {
width:12px; height:10px;
background-image:url(images/centrine_panelke_07.gif);
}
.pan-ct-apac-centras {
height:10px;
background-image:url(images/centrine_panelke_08.gif);
}
.pan-ct-apac-desine {
width:15px; height:10px;
background-image:url(images/centrine_panelke_09.gif);
}
/* naujienu apacia */
.pan-n-apac-kaire {
width:12px; height:33px;
background-image:url(images/pan_centrine_news_07.gif);
}
.pan-n-apac-centras {
height:33px;
background-image:url(images/pan_centrine_news_08.gif);
}
.pan-n-apac-desine {
width:15px; height:33px;
background-image:url(images/pan_centrine_news_09.gif);
}
.textbox {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
color:#000020;
background-color:#FAFAFA;
border:1px #CACACA solid;
}
.main-body {
background-color:#FFFFFF;
color: #3B3B3B;
font-weight: normal;
padding:4px 4px 6px 6px;
}
.table-cellpic {
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
background-color: #FFFFFF;
background-image: url(images/px.gif);
padding:1px 3px 0px 10px;
}
.panel-border {
border: 1px solid #FFFFFF;
}
.news-border {
border-top: solid #CACACA;
border-top-width: 1px;
border-left: solid #CACACA;
border-left-width: 1px;
border-right: solid #CACACA;
border-right-width:1px;
border-bottom: solid #ff6000;
border-bottom-width:0px;
}
.panel-cellpic {
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
background-color: #cccccc;
background-image: url(images/px.gif);
padding:2px 4px 0px 10px;
}
.side-body {
color: #738495;
border:1px #999999;
font-weight: normal;
padding:4px 4px 6px 4px;
}
.main-bg {
background-color:#F8F8F8;
}
.border {
border-width:0px 1px 1px 1px;
border-color:#CACACA;
border-style:solid;
}
.news-footer {
background: #ffc000;
font-size:8px;
font-weight:normal;
color:#FFFFFF;
height:17px;
padding:4px 4px 4px 4px;
}
.capmain {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
border-width:1px 1px 1px 1px;
border-color:#CACACA;
border-style:solid;
color:#B78E00;
height:24px;
padding:2px 2px 2px 2px;
}
.footer {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:9px;
color:#777;
background-color:#FFFFFF;
border-top:1px #CACACA solid; border-bottom:0px #CACACA solid;
padding:4px 4px 4px 4px;
}
.footerstat {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:9px;
font-weight:bold;
color:#E81000;
}
img {
border: 0px;
}
.scapmain {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:10px;
font-weight:bold;
color:#000;
height:19px;
padding:0px 2px 0px 2px;
border-width:1px 0px 1px 0px;
border-color:#CACACA #CACACA #CACACA #CACACA;
border-style:solid;
}
.tbl-border {
background-color:#CACACA;
}
.tbl {
font-size:11px;
padding:4px;
}
.tbl1 {
font-size:11px;
color:#091609;
background-color:#FFFFFF;
padding:4px;
}
.tbl2 {
font-size:11px;
color:#091609;
background-color:#FEFEFE;
padding:4px;
}
.forum-caption {
font-size:9px;
font-weight:bold;
color:#2A7ED8;
background-color:#F1F1F1;
height:24px;
padding:0px 4px 2px 4px;
}
.quote {
color:#2E4D80;
background-color:#F8F8F8;
background-image: url(images/code_header.png);
padding:2px;
margin:0px 19px 0px 20px;
border:1px #CACACA solid;
}
.poll {
height:8px;
border:1px #929AA2 solid;
}
.comment-name {
font-weight:bold;
color:#DDCC88;
}
.shoutboxname {
font-weight:bold;
color:#FFDDAA;
}
.shoutbox {
color:#06070A;
}
.shoutboxdate {
font-size:10px;
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:#E3E3E3;
font-weight:normal;
color:#888;
padding:2px;
}
.gallery {
padding: 16px 0px 8px 0px;
}
.gallery img {
border: 1px solid #CACACA;
filter: gray;
}
.gallery:hover img {
border: 1px solid #4E79F3;
filter: none;
}
img.activegallery {
border: 1px solid #CACACA;
filter: none;
}
Theme
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#555555";
$body_bg = "#f9f9f9";
$theme_width = "980";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width, $body_bg;
echo "<!--\nResponsible for this theme: PLAY @ skype : bahuraz \n//-->";
// Veikimas:
// "Nuoroda[-]paveiksliukas"
$menu = array(
BASEDIR."index.php[-]namai",
FORUM."index.php[-]forumas",
BASEDIR."articles.php[-]straipsniai",
BASEDIR."index.php[-]cs_movies",
"http://ip-adress.com[-]ip",
BASEDIR."index.php[-]bars",
BASEDIR."viewpage.php?page_id=1[-]parama",
"http://b00m.lt/[-]cytai",
BASEDIR."index.php[-]servers"
);
$menu_header = array(
BASEDIR."index.php[-]80", // Namai
FORUM."index.php[-]87", // Forumas
BASEDIR."index.php[-]89", // Serveriai
BASEDIR."downloads.php[-]88", // Siuntiniai
"[-]97", // Pamokos
BASEDIR."index.php[-]86", // Reklama
BASEDIR."search.php[-]79", // Paieðka
"http://b00m.lt/[-]53", // Èytai
BASEDIR."viewpage.php?page_id=1[-]83", // Parama
"[-]114",
"[-]118"
);
echo "
<table align='center' cellspacing='0' cellpadding='0' width='980' class='mainsite-border'>
<tr><td><table align='center' width='$theme_width' style='height:395px;' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td class='bnr1' width='16' height='53'></td>
<td class='bnr3' width='170' height='53'></td>
<td colspan='5' class='bnr4' width='794' height='53'></td>
<td class='tarpas' width='1' height='53'></td>
</tr>
<tr>
<td rowspan='3' class='bnr5' width='16' height='324'></td>
<td rowspan='3' class='bnr6' width='170' height='324' align='center' valign='top'>";
foreach($menu as $a) {
$men = explode("[-]", $a);
echo "<a href='".$men[0]."'><img src='".THEME."images/".$men[1]."1.gif' border='0' onmouseover=\"this.src='".THEME."images/".$men[1]."0.gif'\" onmouseout=\"this.src='".THEME."images/".$men[1]."1.gif'\" alt=''></a>";
}
echo "</td>
<td colspan='5' class='bnr7' width='794' height='146'></td>
<td class='tarpas' width='1' height='146'></td>
</tr>
<tr>
<td class='bnr8' width='42' height='154'></td>
<td class='bnr9' width='207' height='154' align='center'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "Šiai panelei nėra turinio";
}
echo " </td>
<td class='bnr10' width='59' height='154'></td>
<td class='bnr11' width='202' height='154' align='center'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_count DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "Šiai panelei nėra turinio";
}
echo " </td>
<td class='bnr12' width='284' height='154'></td>
<td class='tarpas' width='1' height='154'></td>
</tr>
<tr>
<td colspan='5' rowspan='2' class='bnr13' width='794' height='42'></td>
<td class='tarpas' width='1' height='24'></td>
</tr>
<tr>
<td colspan='2' class='bnr14' width='186' height='18'></td>
<td class='tarpas' width='1' height='18'></td>
</tr>
</table>
<table align='center' width='980' height='40' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
<tr>";
$i = 1;
foreach($menu_header as $a) {
$men = explode("[-]", $a);
echo "<td class='sub_linkai".$i."' width='".$men[1]."' height='40'>";
if($men[0]!="") {
echo "<a href='".$men[0]."'><img src='".THEME."images/spacer.gif' width='".$men[1]."' height='40' style='display:block'>";
}
echo "</td>";
$i++;
}
echo "</tr>
</table><table align='center' width='980' height='5' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
<tr><td></td></tr>
</table>
<table align='center' cellpadding='0' cellspacing='0' bgcolor='$body_bg' width='980'>
<tr><td>";
}
function render_footer($license=false) {
global $theme_width, $settings, $body_bg;
echo "</tr>\n</table>\n";
echo "<table align='center' width='980' height='10' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td>
</td>
</tr>
</table><table align='center' width='980' height='40' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td class='futeris1' width='15' height='40'></td>
<td class='futeris2' width='732' height='40'>".showcounter()."</td>
<td class='futeris3' width='233' height='40'></td>
</tr>
</table> <table align='center' width='980' height='5' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td>
</td>
</tr>
</table></td>
</tr>
</table>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<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," ·").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 align='center' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>
<tr><td class='pan-ct-kaire' width='12' height='34'><img src='".THEME."images/spacer.gif' width='12' height='34' style='display:block'></td><td width='100%' height='34' class='pan-ct-centras'>$title</td><td class='pan-ct-desine' width='15' height='34'><img src='".THEME."images/spacer.gif' width='15' height='34' style='display:block'></td>
</tr>
<tr><td class='pan-ct-son-kaire' width='12' height='100%'></td><td width='100%' height='100%' class='pan-ct-fonas'>";
}
function closetable() {
echo "</td><td class='pan-ct-son-desine' width='15' height='100%'></td></tr><tr>
<td class='pan-ct-apac-kaire' width='12' height='10'></td>
<td width='100%' height='10' class='pan-ct-apac-centras'></td>
<td class='pan-ct-apac-desine' width='15' height='10'></td></tr></table>";
}
function openside($title) {
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
</tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
<td colspan='4' class='pan-fonas' width='8' height='100%'>";
}
function closeside() {
echo "</td><td class='pan-son-desine' width='8' height='100%'></td>
</tr><tr>
<td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
</tr><tr>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='154' height='1'></td>
<td class='tarpas' width='4' height='1'></td>
<td class='tarpas' width='6' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td class='pan-centras' align='right'>".panelbutton($state,$boxname)."</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
</tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
<td colspan='4' class='pan-fonas' width='8' height='100%'><div id='box_$boxname'".($state=="off"?" style='display:none'":"").">";
}
function closesidex() {
echo "</div></td><td class='pan-son-desine' width='8' height='100%'></td>
</tr><tr>
<td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
</tr><tr>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='154' height='1'></td>
<td class='tarpas' width='4' height='1'></td>
<td class='tarpas' width='6' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
</tr>
</table>";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Redagavo Gedi Minas· 2008 Kov. 16 22:03:24
Parašė DuRaCeLL· 2008 Kov. 16 20:03:04
#2
Jei padarysi, kad būtų tik header.gif , tada nebus tų nuorodų, forumas ir t.t. tiesiog mygtukai. :)
Parašė Dandžu· 2008 Kov. 16 20:03:38
#3
Duok tą temą pabandysiu padaryti. ;)
Parašė RuP3r· 2008 Kov. 16 20:03:08
#4
Duracel:Man tu mygtuku ir nereikia.
Sharkman:THX kad bent bandai duosiu tau 10.
Parašė RuP3r· 2008 Kov. 16 20:03:46
#5
Nu Tai kaip ten? Nieks nezino?:?
Parašė Dandžu· 2008 Kov. 16 20:03:57
#6
Theme.php failas. Tik jį redagavau. Headerio ilgį pasikeisi. Manau visa kita iš styles.css failo pats išsiimsi kas nereikalinga.
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#555555";
$body_bg = "#f9f9f9";
$theme_width = "980";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width, $body_bg;
echo "<!--\nResponsible for this theme: PLAY @ skype : bahuraz \n//-->";
// Veikimas:
// "Nuoroda[-]paveiksliukas"
echo "
<table align='center' cellspacing='0' cellpadding='0' width='980' class='mainsite-border'>
<tr><td><table align='center' width='$theme_width' style='height:395px;' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='5' align='center' class='bnr4' width='794' height='53'></td>
</tr>";
echo "
<td colspan='5' class='bnr7' width='794' height='146'></td>
<td class='tarpas' width='1' height='146'></td>
</tr>
<tr>
<td class='bnr8' width='42' height='154'></td>
<td class='bnr9' width='207' height='154' align='center'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "Šiai panelei nėra turinio";
}
echo " </td>
<td class='bnr10' width='59' height='154'></td>
<td class='bnr11' width='202' height='154' align='center'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_count DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "Šiai panelei nėra turinio";
}
echo " </td>
<td class='bnr12' width='284' height='154'></td>
<td class='tarpas' width='1' height='154'></td>
</tr>
<tr>
<td colspan='5' rowspan='2' class='bnr13' width='794' height='42'></td>
<td class='tarpas' width='1' height='24'></td>
</tr>
<tr>
<td colspan='2' class='bnr14' width='186' height='18'></td>
<td class='tarpas' width='1' height='18'></td>
</tr>
</table>
<table align='center' width='980' height='40' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
<tr>";
$i = 1;
foreach($menu_header as $a) {
$men = explode("[-]", $a);
echo "<td class='sub_linkai".$i."' width='".$men[1]."' height='40'>";
if($men[0]!="") {
echo "<a href='".$men[0]."'><img src='".THEME."images/spacer.gif' width='".$men[1]."' height='40' style='display:block'>";
}
echo "</td>";
$i++;
}
echo "</tr>
</table><table align='center' width='980' height='5' border='0' cellpadding='0' bgcolor='$body_bg' cellspacing='0'>
<tr><td></td></tr>
</table>
<table align='center' cellpadding='0' cellspacing='0' bgcolor='$body_bg' width='980'>
<tr><td>";
}
function render_footer($license=false) {
global $theme_width, $settings, $body_bg;
echo "</tr>\n</table>\n";
echo "<table align='center' width='980' height='10' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td>
</td>
</tr>
</table><table align='center' width='980' height='40' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td class='futeris1' width='15' height='40'></td>
<td class='futeris2' width='732' height='40'>".showcounter()."</td>
<td class='futeris3' width='233' height='40'></td>
</tr>
</table> <table align='center' width='980' height='5' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td>
</td>
</tr>
</table></td>
</tr>
</table>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<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," ·").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 align='center' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>
<tr><td class='pan-ct-kaire' width='12' height='34'><img src='".THEME."images/spacer.gif' width='12' height='34' style='display:block'></td><td width='100%' height='34' class='pan-ct-centras'>$title</td><td class='pan-ct-desine' width='15' height='34'><img src='".THEME."images/spacer.gif' width='15' height='34' style='display:block'></td>
</tr>
<tr><td class='pan-ct-son-kaire' width='12' height='100%'></td><td width='100%' height='100%' class='pan-ct-fonas'>";
}
function closetable() {
echo "</td><td class='pan-ct-son-desine' width='15' height='100%'></td></tr><tr>
<td class='pan-ct-apac-kaire' width='12' height='10'></td>
<td width='100%' height='10' class='pan-ct-apac-centras'></td>
<td class='pan-ct-apac-desine' width='15' height='10'></td></tr></table>";
}
function openside($title) {
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
</tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
<td colspan='4' class='pan-fonas' width='8' height='100%'>";
}
function closeside() {
echo "</td><td class='pan-son-desine' width='8' height='100%'></td>
</tr><tr>
<td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
</tr><tr>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='154' height='1'></td>
<td class='tarpas' width='4' height='1'></td>
<td class='tarpas' width='6' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td class='pan-centras' align='right'>".panelbutton($state,$boxname)."</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
</tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
<td colspan='4' class='pan-fonas' width='8' height='100%'><div id='box_$boxname'".($state=="off"?" style='display:none'":"").">";
}
function closesidex() {
echo "</div></td><td class='pan-son-desine' width='8' height='100%'></td>
</tr><tr>
<td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
</tr><tr>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='154' height='1'></td>
<td class='tarpas' width='4' height='1'></td>
<td class='tarpas' width='6' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
</tr>
</table>";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Parašė RuP3r· 2008 Kov. 16 20:03:46
#7
o tai dabar aceit headeris bus header.jpg tiesog?
Parašė Dandžu· 2008 Kov. 16 20:03:46
#8
Ne. Jis dalim sukarpytas ten.
Parašė Dandžu· 2008 Kov. 16 20:03:21
#9
Na jei tu nori, kad būtų vienas headeris tai štai imk.
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#555555";
$body_bg = "#f9f9f9";
$theme_width = "980";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; margin-top: -5px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
echo "<tr><table align=center width=100% height=270 background='".THEME."images/baner.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='center' style='padding-right:50px; padding-top:130px;'><br>";
echo"<table width='50%'><tr>";
echo"<td width='40%'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "</td><td width='60%' style='padding-left:80px;' >";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "</tr>
</table>";
echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";
echo"</td></tr><tr></tr><tr><td></td></tr></table>";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width, $settings, $body_bg;
echo "</tr>\n</table>\n";
echo "<table align='center' width='980' height='10' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td>
</td>
</tr>
</table><table align='center' width='980' height='40' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td class='futeris1' width='15' height='40'></td>
<td class='futeris2' width='732' height='40'>".showcounter()."</td>
<td class='futeris3' width='233' height='40'></td>
</tr>
</table> <table align='center' width='980' height='5' border='0' bgcolor='$body_bg' cellpadding='0' cellspacing='0'>
<tr>
<td>
</td>
</tr>
</table></td>
</tr>
</table>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<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," ·").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 align='center' width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'>
<tr><td class='pan-ct-kaire' width='12' height='34'><img src='".THEME."images/spacer.gif' width='12' height='34' style='display:block'></td><td width='100%' height='34' class='pan-ct-centras'>$title</td><td class='pan-ct-desine' width='15' height='34'><img src='".THEME."images/spacer.gif' width='15' height='34' style='display:block'></td>
</tr>
<tr><td class='pan-ct-son-kaire' width='12' height='100%'></td><td width='100%' height='100%' class='pan-ct-fonas'>";
}
function closetable() {
echo "</td><td class='pan-ct-son-desine' width='15' height='100%'></td></tr><tr>
<td class='pan-ct-apac-kaire' width='12' height='10'></td>
<td width='100%' height='10' class='pan-ct-apac-centras'></td>
<td class='pan-ct-apac-desine' width='15' height='10'></td></tr></table>";
}
function openside($title) {
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
</tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
<td colspan='4' class='pan-fonas' width='8' height='100%'>";
}
function closeside() {
echo "</td><td class='pan-son-desine' width='8' height='100%'></td>
</tr><tr>
<td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
</tr><tr>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='154' height='1'></td>
<td class='tarpas' width='4' height='1'></td>
<td class='tarpas' width='6' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table align='center' width='188' height='140' border='0' cellpadding='0' cellspacing='0'><tr>
<td colspan='2' class='pan-kaire' width='16' height='44'></td><td colspan='2' class='pan-centras' width='158' height='44'>$title</td><td class='pan-centras' align='right'>".panelbutton($state,$boxname)."</td><td colspan='2' class='pan-desine' width='14' height='44'></td>
</tr><tr><td class='pan-son-kaire' width='8' height='100%'></td>
<td colspan='4' class='pan-fonas' width='8' height='100%'><div id='box_$boxname'".($state=="off"?" style='display:none'":"").">";
}
function closesidex() {
echo "</div></td><td class='pan-son-desine' width='8' height='100%'></td>
</tr><tr>
<td colspan='2' class='pan-apac-kaire' width='16' height='15'></td><td class='pan-apac-centras' width='154' height='15'></td><td colspan='3' class='pan-apac-desine' width='18' height='15'></td>
</tr><tr>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
<td class='tarpas' width='154' height='1'></td>
<td class='tarpas' width='4' height='1'></td>
<td class='tarpas' width='6' height='1'></td>
<td class='tarpas' width='8' height='1'></td>
</tr>
</table>";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Redagavo Dandžu· 2008 Kov. 16 20:03:37
Parašė Toonis· 2008 Kov. 16 20:03:40
#10
Eitų. Print screen. :D
Parašė Dandžu· 2008 Kov. 16 20:03:13
#11
Kam ir kodėl tau to print screen?
Parašė Toonis· 2008 Kov. 16 20:03:15
#12
Padarai print screen, išsikerpi headerį, ištrini visą tą kodą kur headeris sukarpytas, įdedi paprastai su header_content ir viskas.
Parašė Dandžu· 2008 Kov. 16 20:03:05
#13
Tai aš jam padariau jau. ;)
Parašė RuP3r· 2008 Kov. 16 21:03:15
#14
Tai ka tu cia padarei?
Parašė RuP3r· 2008 Kov. 16 21:03:09
#15
Tai krc kuri man koda imt kad nebutu prie headerio navigacijos ir kad butu is vienos dalies headeris?
Parašė Dandžu· 2008 Kov. 16 21:03:51
#16
Paskutinį.
Parašė RuP3r· 2008 Kov. 16 21:03:37
#17
Vsio radau thanks sharkman.
Parašė RuP3r· 2008 Kov. 16 21:03:43
#18
o kaip panaikint naujausius ir populiariausius siuntinius.
Parašė samsung123· 2008 Kov. 16 21:03:15
#19
išimk kodą ;], naudokis mygtuku redagoti nes tiek priflūdinai..
Redagavo samsung123· 2008 Kov. 16 21:03:47
Parašė RuP3r· 2008 Kov. 16 22:03:31
#20
išimk koda o tai daug pasakei flodintojas.
Parašė samsung123· 2008 Kov. 16 22:03:47
#21
pasakiau aiškų atsakymą asile beto nebegsiu ir neimsiu , nevarinėk čia manes, mažvaiki
Parašė lukys· 2008 Kov. 16 22:03:31
#22
IS KLUR ATSISIUST CS_TEMU GALIT PASASKYT ???
Parašė bad_user· 2008 Kov. 16 22:03:03
#23
Iš interneto bl... Google naudokis yomayo.. :|
Parašė samsung123· 2008 Kov. 16 22:03:01
#24
Dabar kažkoks delbajobas telefo numeris foodink,adminai nupikkit bilietą atostogom jam