Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del themes..

Parašė IlOveBeeR· 2010 Bal. 2 14:04:40
#1

sveiki, parsisiunciau theme bet kazkodel istampyta kas galit paziurekit imesiu foto ir imesiu theme.php jai galit patvarykit ir istrynkit apaioje reklamas.



prisegu theme.php

Redagavo IlOveBeeR· 2010 Bal. 2 14:04:55

Parašė BigMan· 2010 Bal. 2 14:04:43
#2

neprisegej
dek ja tarp




Parašė IlOveBeeR· 2010 Bal. 2 15:04:21
#3

viskas tvarkoje prisegta

Parašė BigMan· 2010 Bal. 2 15:04:45
#4

<?php
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 = "992";
$theme_width_l = "206";
$theme_width_r = "206";

function render_header($header_content) {

global $theme_width,$aidlink,$settings,$db_prefix;


//Headeris
echo "<table align='center' cellspacing='0' cellpadding='0' width='999' height='49'>
<tr>
<td width='65'>
<a href='".BASEDIR."index.php'><img src='".THEME."images/head/1-namai.png' width='65' height='49' border='0'></a></td><td width='59>
<a href='".BASEDIR."downloads.php'><img src='".THEME."images/head/2-siuntiniai.png' width='59' height='49' border='0'></a></td><td width='56'>
<a href='".BASEDIR."forum/'><img src='".THEME."images/head/3-forumas.png' width='56' height='49' border='0'></a></td><td width='60'>
<a href='".BASEDIR."readarticle.php?article_id=126'><img src='".THEME."images/head/4-taisykles.png' width='60' height='49' border='0'></a></td><td width='50'>
<a href='".BASEDIR."viewpage.php?page_id=3'><img src='".THEME."images/head/5-parama.png' width='50' height='49' border='0'></a></td><td width='62'>
<a href='".BASEDIR."viewpage.php?page_id=16'><img src='".THEME."images/head/6-konktaktai.png' width='62' height='49' border='0'></a></td><td width='61'>
<a href='".BASEDIR."viewpage.php?page_id=2'><img src='".THEME."images/head/7-userbarai.png' width='61' height='49' border='0'></a></td><td width='586'>
<a href='".BASEDIR."downloads.php?cat_id=21'><img src='".THEME."images/head/8-cytai.png' width='586' height='49' border='0'></a></td>
</td>
</tr>
</table>
<table align='center' cellspacing='0' cellpadding='0' width='996' height='189'>
<tr>
<td width='280' height='189'>
<img src='".THEME."images/head/--1.png' width='280' height='177'><center><img src='".THEME."images/panel-left-r.png' width='280' height='12'></center>
</td>
<td>
<table background='".THEME."images/head/--2.png' width='277' height='188' cellspacing='0' cellpadding='0'><tr><td>";
if (iMEMBER) {
echo "<table cellspacing='0' cellpadding='0'><tr><td>";
if ($userdata['user_avatar'] != "") {
echo "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' target='_parent' title='$datum'><img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' witdh='50' height='50'></a>";
} else {
echo "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' target='_parent' title='$datum'><img src='http://mp3x.lt/noav.gif' width='50' height='50'></a>";
}
echo "<br><img src='".THEME."images/panel-left-r.png' width='50' height='50'></td><td width='10'></td><td><a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='side'><img src='http://csz.lt/images/profiles.png' width='15' border='0'> Tavo profilis</a><br>
<a href='".BASEDIR."edit_profile.php' class='side'><img src='http://csz.lt/images/profile.png' width='15' border='0'> Koreguokis</a><br>
<a href='".BASEDIR."messages.php' class='side'><img src='http://csz.lt/images/private.png' width='15' border='0'> &#381;inut&#279;s</a><br>
<a href='".BASEDIR."members.php' class='side'><img src='http://csz.lt/images/users.png' width='15' border='0'> Vartotojai</a><br>";
   echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side'><img src='http://csz.lt/images/exit.png' width='15' border='0'> Atsijungti</a><br>";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<a href='".ADMIN."index.php".$aidlink."' class='side'><img src='http://csz.lt/images/ADMINKE.png' width='15' border='0'> Administracija</a>";
   } else {
      echo "<img src='http://csz.lt/images/ADMINKE.png' width='15' border='0'> Administracija";
   }
echo "</td></tr></table>";
} else {
   echo "<div align='left'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='Prisiminti mane' style='vertical-align:middle;'> <a href='#'>- Prisiminti visada</a><br>
<input type='submit' name='login' value='Jungtis !' class='button'><br>
</form>
<br>
<a href='".BASEDIR."register.php' class='side'>Registracija</a><br>
<a href='".BASEDIR."lostpassword.php' class='side'>Pamir&#353;ai slapta&#382;od&#303; ?</a><br><br>
</div>\n";
}
echo "</td></tr></table><center><img src='".THEME."images/panel-left-r.png' width='276' height='1'></center>
</td>
<td>
<table background='".THEME."images/head/--3-naujausi.png' width='138' height='172' cellspacing='0' cellpadding='0'><tr><td>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,9");
if (dbrows($result) != 0) {
echo "<table width='130' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 15);
echo "<tr>\n<td class='small'> <a href='".BASEDIR."downloads.php?d_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>
<td align='right'><a href='".BASEDIR."downloads.php?d_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>[".$data['download_count']."]</a></td></tr>";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>";
}
echo "<br><br></td></tr></table><center><img src='".THEME."images/panel-left-r.png' width='138' height='17'></center>
</td>
<td>
<img src='".THEME."images/head/--4.png' width='29' height='172'><center><img src='".THEME."images/panel-left-r.png' width='29' height='17'></center>
</td>
<td>
<table background='".THEME."images/head/--5-top.png' width='134' height='172' cellspacing='0' cellpadding='0'><tr><td>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,9");
if (dbrows($result) != 0) {
echo "<table width='130' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 15);
echo "<tr>\n<td class='small'> <a href='".BASEDIR."downloads.php?d_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>
<td align='right'><a href='".BASEDIR."downloads.php?d_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>[".$data['download_count']."]</a></td></tr>";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>";
}
echo "<br><br></td></tr></table><center><img src='".THEME."images/panel-left-r.png' width='134' height='17'></center>
</td>
<td>
<img src='".THEME."images/head/--6.png' width='138' height='172'><center><img src='".THEME."images/panel-left-r.png' width='138' height='17'></center>
</td>
</tr>
</table>
";
//Headerio Pabaiga
echo "<table width='973' cellspacing='0' cellpadding='4' align='center'><tr>";
}

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

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

   echo "<center><table cellSpacing='0' cellPadding='2' width='997' height='38' border='0' background='".THEME."images/footer.png' >";
   echo "<tr><td class='footer' align='left'>".showcounter()."<br>";
      if ($license == false) {
      echo "";
   }
      echo "</td></tr></table></td></tr></table><br>";
echo "</div>";
}

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

echo "<table width='628' cellpadding='0' cellspacing='0'>

<td>
<table cellpadding='0' cellspacing='0' >
<tr>
<td width='8' class='centr_paneles_virs-left'></td><td height='34' width='613' class='centr_paneles_virs'><center><img src='".THEME."images/panel-left-r.png' width='5' height='8'></center><center>$subject</center></td><td><table width='7' cellpadding='0' cellspacing='0' border='0' height='34'><tr><td><img src='".THEME."images/panel-left-r.png' width='5' height='1'></td></tr><tr><td width='7' height='33' class='centr_paneles_virs-right'></td></tr></table>
</td>
</tr>
<tr>
<td witdh='8' class='main-body-left'> </td><td witdh='613' class='main-body'>
<center>$news</center>
</td><td witdh='7' class='main-body-right'> </td>
</tr>
<tr>
<td width='8' class='centr_paneles_down-news-left'></td><td height='20' width='613' class='centr_paneles_down-news'></td><td><table width='7' cellpadding='0' cellspacing='0' border='0' height='20'><tr><td width='7' height='19' class='centr_paneles_down-news-right'></td></tr><tr><td><img src='".THEME."images/panel-left-r.png' width='7' height='1'></td></tr></table>
</td>
</tr>
</table>
</td>
</tr>
</table><br>";

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

echo "<table width='628' cellpadding='0' cellspacing='0'>

<td>
<table cellpadding='0' cellspacing='0' >
<tr>
<td width='8' class='centr_paneles_virs-left'></td><td height='34' width='613' class='centr_paneles_virs'><center><img src='".THEME."images/panel-left-r.png' width='5' height='8'></center><center>$subject</center></td><td><table width='7' cellpadding='0' cellspacing='0' border='0' height='34'><tr><td><img src='".THEME."images/panel-left-r.png' width='5' height='1'></td></tr><tr><td width='7' height='33' class='centr_paneles_virs-right'></td></tr></table>
</td>
</tr>
<tr>
<td witdh='8' class='main-body-left'> </td><td witdh='613' class='main-body'>
<center>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</center>
</td><td witdh='7' class='main-body-right'> </td>
</tr>
<tr>
<td width='8' class='centr_paneles_down-news-left'></td><td height='20' width='613' class='centr_paneles_down-news'></td><td><table width='7' cellpadding='0' cellspacing='0' border='0' height='20'><tr><td width='7' height='19' class='centr_paneles_down-news-right'></td></tr><tr><td><img src='".THEME."images/panel-left-r.png' width='7' height='1'></td></tr></table>
</td>
</tr>
</table>
</td>
</tr>
</table><br>";

}

function openforumtable($title) {

echo "<center><table width='1005' align='center' cellpadding='0' cellspacing='0'>
<td>
<center><table cellpadding='0' cellspacing='0'>
<tr>
<td height='30' width='1005' valign='bottom' align='center' class='forum-panel-head'>  <b>$title</b><br></td>
</tr>
<tr>
<td height='100%' class='forum-panel-body'><br><br>";

}

function closeforumtable() {

echo "</td>
</tr>
</table>
</td>
<tr>
<td height='13' width='1005' background='".THEME."images/centr-ap.png'><br></td>
</tr>
</table></center>";

}

function opentable($title) {

echo "<center><table width='628' cellpadding='0' cellspacing='0'>
<td>
<table cellpadding='0' cellspacing='0'>
<tr>
<td width='8' class='centr_paneles_virs-left'></td><td height='34' width='613' class='centr_paneles_virs'><center><img src='".THEME."images/panel-left-r.png' width='5' height='8'></center><center>$title</center></td><td><table width='7' cellpadding='0' cellspacing='0' border='0' height='34'><tr><td><img src='".THEME."images/panel-left-r.png' width='5' height='1'></td></tr><tr><td width='7' height='33' class='centr_paneles_virs-right'></td></tr></table>
</td>
</tr>
<tr>
<td height='100%' class='main-body-left'></td><td height='100%' class='main-body'>";

}

function closetable() {

echo "</td><td height='100%' class='main-body-right'></td>
</tr>
</table>
</td>
<tr>
<td height='20' class='news-footer'></td>
</tr>
</table></center><br>";

}

function openside($title) {

echo "<center><table width='226' cellpadding='0' cellspacing='0'>
<td>
<table cellpadding='0' cellspacing='0'>
<tr>
<td width='8' class='son_paneles_virs-left'></td><td height='39' width='213' class='son_paneles_virs'><center><img src='".THEME."images/panel-left-r.png' width='5' height='8'></center><center>$title</center><br></td><td><table width='5' cellpadding='0' cellspacing='0' border='0' height='40'><tr><td><img src='".THEME."images/panel-left-r.png' width='5' height='2'></td></tr><tr><td width='5' height='38' class='son_paneles_virs-right'></td></tr></table>
</td>
</tr>
<tr>
<td height='100%' class='side-body-left'></td><td height='100%' class='side-body'>";

}

function closeside() {

echo "</td><td height='100%' class='side-body-right'></td>
</tr>
</table>
</td>
<tr>
<td height='16' class='son_paneles_ap'></td>
</tr>
</table></center><br>";

}

function opensidex($title) {
   
echo "<table width='226'>
<td>
<table cellpadding='0' cellspacing='0'>
<tr>
<td>
<table cellspacing=0 celpadding=0 border=0>
<tr>
<td height='40' width='226' class='son_paneles_virs' valign='bottom'><center>$title</center></td>
</tr>
</table>
</tr>
<tr>
<table witdh='226' border='0' cellpadding='0' cellspacing='0'><tr>
<td height='100%' width='8' class='side-body-left'> </td><td height='100%' width='213' class='side-body'><br><br>";

}

function closesidex() {
echo "</td><td height='100%' width='5' class='side-body-right'> </td>
<tr>
<table width='226' border='0' cellspacing='0' celpadding='0'><td height='16' width='226' cellspacing='0' celpadding='0' background='".THEME."images/panel-left-down.png'>
<tr>
</table>
</td>
</tr>
</table>";
tablebreak();
}

function tablebreak() {

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

}
?>





bandyk

Redagavo BigMan· 2010 Bal. 2 15:04:14

Parašė IlOveBeeR· 2010 Bal. 2 16:04:00
#5

dekui nuemiai bet vistiek isitampe..

Parašė IlOveBeeR· 2010 Bal. 2 17:04:48
#6

vaizdas isitempia visivien..