Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: prisijungimas ant hederio perdejimas

Parašė vytaz· 2007 Gru. 23 12:12:55
#1

wa sitoje themoje yra prisijungiams ant hedrio

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

// theme settings
$body_text = "#585858";
$body_bg = "#000";
$theme_width = "700";
$theme_width_l = "161";
$theme_width_r = "161";

function render_header($header_content) {

global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;






echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>

<td>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>


<td> <img src=\"".THEME."images/radio_orange_02.gif\" width=\"627\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_03.gif\" width=\"93\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_04.gif\" width=\"106\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>
<td background=\"".THEME."images/radio_orange_06.gif\" width=\"242\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"><div style=\"padding-left: 5px; padding-right: 2px; padding-bottom: 20px\">
<!-- logowanie -->";

if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Witaj <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";

if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";

echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";


} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";

echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";


}

$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");

echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Aprašymas</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutės</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";

if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {

echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracija</a><br>\n";


}{echo "<br>

<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti (x)</a></div>\n";

if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();

} else {

opensidel();

echo "<div align='center' style=\" padding-bootom: 25px; padding-left: 5px; padding-right: 29px\" >".(isset($loginerror) ? $loginerror : "")."

<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>

<x class='text'> Nikas</x> <input type='text' name='user_name' class='panellogowania_texbox' value='Vardas' onBlur=\"if(this.value=='') this.value='Vardas';\" onFocus=\"if(this.value=='Vardas') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>

<x class='text'>Slaptažodis</x> <input type='password' name='user_pass' class='panellogowania_texbox' value='Slaptažodis' onBlur=\"if(this.value=='') this.value='Slaptažodis';\" onFocus=\"if(this.value=='Slalptažodis') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br><br>


<input type='submit' name='login' value='Prisijungti' class='Prisijungti' ><br><br>
</form>

\n";

if ($settings['enable_registration']) {

echo "<a href='".BASEDIR."register.php' class='text'>Registracija</a> / \n";

}

echo "<a href='".BASEDIR."lostpassword.php' class='text'>Priminti slaptažodį</a>

</div>\n";

}
closesidel();




echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"800\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>




</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>


</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">





</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>



</tr></table>


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

echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">
<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td background='".THEME."images/radio_orange_31.gif'width=\"700\" height=\"42\" border=\"0\" align='center' class='side'>".stripslashes($settings['footer'])."
Powered by: <a href='http://php-fusion.co.uk' target='_blank'>PHP-fusion </a> & <a href='http://extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> | <a href='http://okna.eu.pl/news.php' target='_blank'>Okna</a> | Desing & themes -<a href='http://www.grafa.biz' target='_blank'>Grafa.biz Team</a></small>

| Unikalnych wizyt: ".$settings['counter']."
</td>

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

}

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

global $settings;

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:5px; padding-left: 15px; padding-right: 5px\">


$news<br>


</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-top:-0px; padding-left: 33px; padding-right: 33px\"><table width=\"100%\"><tr><td >
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<td >".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a>" : "")."
<a href='news.php?readmore=".$info['news_id']."'>Komentarzy: ".$info['news_comments'].$locale['043']."</a> | Czytano:
".$info['news_reads'].$locale['044']." razy.
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></td></tr>
</table>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>
</tr>
</table>

";
}


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

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\"><b>Artykuł: $subject</b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\">
<b></b>

<div style=\"padding-left: 7px; padding-right: 7px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>





</td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-left: 15px; padding-right: 5px\"><table width='98%' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>
</tr>
</table>


\n";

}

function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"605\">
<tr>
<td background=\"".THEME."images/radio_orange_24.gif\" width=\"605\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='capmain'><b>$title<b></td></tr><tr>
<td background=\"".THEME."images/radio_orange_26.gif\" width=\"605\" style=\" padding-bottom:10px; padding-left: 15px; padding-right: 15px\">";


}

function closetable() {

echo "


</td></tr><tr>
<td><img src=\"".THEME."images/radio_orange_29.gif\" width=\"605\" height=\"11\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>
</tr>
</table>\n";

}

function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"221\">
<tr>
<td background=\"".THEME."images/radio_orange_23.gif\" width=\"221\" height=\"53\" style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\" class='scapmain'><b>$title</b></td></tr>
<tr>
<td background=\"".THEME."images/radio_orange_25.gif\" width=\"221\" style=\" padding-top: 1px; padding-left: 10px; padding-right: 10px\">



\n";

}

function closeside() {

echo "

</td>
</tr>
<tr>
<td><img src=\"".THEME."images/radio_orange_27.gif\" width=\"221\" height=\"9\" border=\"0\" alt=\"[Rozmiar: 551 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();

}



function opensidel() {



echo "<table cellpadding='0' cellspacing='0' width='100%'>

<tr>

<td>\n";

}



function closesidel() {



echo "</td>

</tr>

</table>\n";

tablebreak();



}

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

$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "</div>
<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>


Kiap man perkelt prisijungima ant kitos thema PVZ: ant sios

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

// theme settings
$body_text = "#fff";
$body_bg = "#454545";
$theme_width = "820";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {
global $theme_width;

echo "
<table align=center width=$theme_width height=13 background=".THEME."images/bg1.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=179 background=".THEME."images/header.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";
echo "
<table align=center width=$theme_width height=13 background=".THEME."images/bg2.jpg border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table>
";

echo "
<table align=center width=$theme_width height=44 class='nuorodos1' background=".THEME."images/bg3.jpg cellspacing=0 cellpadding=0>
<tr><td height=25 class='nuorodos2' align=left style='padding-left:20px;'>"; echo showsublinks(" ",white); echo "</td></tr>
</table>
";

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td>
\n";
}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>
<tr>
<td height='48' background='".THEME."images/footer.png' align='center' class='footer'>".stripslashes($settings['footer'])."<a href='http://php-fusion.co.uk' target='_blank'>Php-fusion</a> | <a href='http://unlimited-abyss.com' target='_blank'>UAThemes-Voodoo</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' background='".THEME."images/capc2.png' height='16' class='news-footer' style='padding-right:20px;'>\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 background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' background='".THEME."images/capc2.png' height='16' class='news-footer' style='padding-right:10px;'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·");
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/vrs2.png' height='35' class='capmain'><img src='".THEME."images/a.png'> $title</td>
</tr>
<tr>
<td class='main'>\n";

}

function closetable() {

echo "</td>
</tr>
<td background='".THEME."images/capc2.png' height='16' class='scapmain'></td>
</table>\n";

}

function openside($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/vrs.png' height='35' class='scapmain'><img src='".THEME."images/a.png'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
<td background='".THEME."images/apc.png' height='16' width='170' class='scapmain'></td>
</table>\n";
tablebreak();

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/vrs.png' height='35' width='170' class='scapmain'><img src='".THEME."images/a.png'> $title</td>
<td align='right'></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";

}
?>

Parašė sniuff· 2007 Gru. 23 12:12:33
#2

imk qurmiz temos, o ne grafa.biz

Parašė Enzo· 2007 Gru. 23 12:12:13
#3

Nuo function render header perkelk ant kitos temos iki function render footer


function render_header($header_content) {

global $theme_width,$settings, $locale, $userdata, $aidlink, $db_prefix ,$loginerror;






echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>

<td>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>


<td> <img src=\"".THEME."images/radio_orange_02.gif\" width=\"627\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_03.gif\" width=\"93\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_04.gif\" width=\"106\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>
<td background=\"".THEME."images/radio_orange_06.gif\" width=\"242\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"><div style=\"padding-left: 5px; padding-right: 2px; padding-bottom: 20px\">
<!-- logowanie -->";

if (iMEMBER) {
opensidel();
echo " <center><table cellspacing='2'> <tr>\n";
echo ("<td class='login' > Witaj <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'" ."<span style='color:#".$userdata['user_color']."'>".$userdata['user_prefix'].$userdata['user_name']);
echo "</span></a></td>\n";
echo "</tr></table></center>";

if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";

echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";


} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";

echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";


}

$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");

echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Aprašymas</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutės</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";

if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {

echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php$aidlink' class='side'> Administracija</a><br>\n";


}{echo "<br>

<div style=\"text-align: center\"> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti (x)</a></div>\n";

if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();

} else {

opensidel();

echo "<div align='center' style=\" padding-bootom: 25px; padding-left: 5px; padding-right: 29px\" >".(isset($loginerror) ? $loginerror : "")."

<form name='loginform' method='post' action='".FUSION_SELF."'><br><br>

<x class='text'> Nikas</x> <input type='text' name='user_name' class='panellogowania_texbox' value='Vardas' onBlur=\"if(this.value=='') this.value='Vardas';\" onFocus=\"if(this.value=='Vardas') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>

<x class='text'>Slaptažodis</x> <input type='password' name='user_pass' class='panellogowania_texbox' value='Slaptažodis' onBlur=\"if(this.value=='') this.value='Slaptažodis';\" onFocus=\"if(this.value=='Slalptažodis') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\"><br><br>


<input type='submit' name='login' value='Prisijungti' class='Prisijungti' ><br><br>
</form>

\n";

if ($settings['enable_registration']) {

echo "<a href='".BASEDIR."register.php' class='text'>Registracija</a> / \n";

}

echo "<a href='".BASEDIR."lostpassword.php' class='text'>Priminti slaptažodį</a>

</div>\n";

}
closesidel();




echo "</div></td>
<td> <img src=\"".THEME."images/radio_orange_07.gif\" width=\"800\" height=\"247\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></td>




</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_08.gif\" width=\"163\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_09.gif\" width=\"89\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_10.gif\" width=\"135\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_11.gif\" width=\"110\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_12.gif\" width=\"91\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_13.gif\" width=\"123\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>
<td> <a href=\"".BASEDIR."news.php\"><img src=\"".THEME."images/radio_orange_14.gif\" width=\"115\" height=\"48\" border=\"0\" alt=\"[Rozmiar: 700 bajtów]\"></a></td>


</tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">





</tr></table>

<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">

<tr>



</tr></table>


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

echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"700\">
<tr>\n";

}

function render_footer($license=false) {



Redagavo Enzo· 2007 Gru. 23 13:12:54

Parašė vytaz· 2007 Gru. 23 15:12:04
#4

meto klaida *


Fatal error: Call to undefined function opensidel() in /home/.a/vytaz/muzonz./themes/DJs/theme.php on line 44



Parašė Dandžu· 2007 Gru. 23 16:12:37
#5

Nu ir protas. Ir modų saite tokia pačią temą sukūrė. :|

Redagavo Dandžu· 2007 Gru. 23 16:12:12

Parašė bruzgis· 2007 Gru. 23 16:12:43
#6

1. Yra wtfthemes.com themu suportas fusiono
2. Jau simtai tokiu temu sukurta.
3. Per visus saportus nebutina eit ir kurt to pacio slamsto.
4. MOKEK PINIGUS IR PADARYS

Parašė vytaz· 2007 Gru. 23 17:12:01
#7

chipass parašė:
1. Yra wtfthemes.com themu suportas fusiono
2. Jau simtai tokiu temu sukurta.
3. Per visus saportus nebutina eit ir kurt to pacio slamsto.
4. MOKEK PINIGUS IR PADARYS

nu ir geria kad simta nesamoningu temu sukurta man ju nereikai man reikai ant mano senuciukes theme isimest sita daikta ir psio :|

Parašė Enzo· 2007 Gru. 23 18:12:27
#8

vytaz parašė:
chipass parašė:
1. Yra wtfthemes.com themu suportas fusiono
2. Jau simtai tokiu temu sukurta.
3. Per visus saportus nebutina eit ir kurt to pacio slamsto.
4. MOKEK PINIGUS IR PADARYS

nu ir geria kad simta nesamoningu temu sukurta man ju nereikai man reikai ant mano senuciukes theme isimest sita daikta ir psio :|


Va sita koda dek turetu veikt

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px;'>";
   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%'>";
   // Start banner code / Banerio kodas
   echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px;'>";
   echo "<tr><td height='150' background='".THEME."images/baner.jpg' align='right' valign='middle'>
   <table width='988' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";
   // Jei narys, prisijungimas atrodo taip
   if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userinfo.gif'>
  <tr>
    <td>\n";
   if ($userdata['user_avatar'] != "") {
   echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50' style='border:1px solid #999999'></center>\n";
   } else {
   echo "<center><img src='".THEME."images/noavatar.jpg' width='50' height='50' style='border:1px solid #999999'></center>\n";
   }
   echo "</td>
    <td><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Aprašymas</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Žinutės [naujų: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
   }
   echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";"
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>

\n";
   // Jei ne narys
} else {
   openside("Prisijungimas");
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' background='".THEME."images/userlogin.gif' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
  <tr>
    <td align='right'>Vardas: </td>
    <td>&nbsp;<input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'>".$locale['062'].": </td>
    <td>&nbsp;<input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
  </tr>
  <tr>
    <td align='right'><input type='checkbox' name='remember_me' value='y'></td>
    <td>&nbsp;<input type='submit' name='login' value='Prisijungti' class='button'></td>
  </tr>
  </form>\n";
   if ($settings['enable_registration']) {
      echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slaptažodis</a>\n";
   }
   echo"</div>\n";
}
closeside();
   echo "</td>
   <td><img src='".THEME."images/blank.gif'></td>
  </tr>
</table>
   </td>";
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
   echo "<td>\n";
   echo "&nbsp;<a href='".BASEDIR."members.php'><span class='white'>Vartotojų: ".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</span></a>\n";
   if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
   echo ($i == 0 ? "&nbsp;" : "")."</td>";
   echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
  <tr>
    <td width='5'></td>
    <td width='69' valign='top'><a href='".BASEDIR."index.php'><img src='".THEME."images/home.gif' border=0' alt='Pradinis'></a></td>
    <td width='69' valign='top'><a href='".BASEDIR."news.php'><img src='".THEME."images/news.gif' border=0' alt='Naujienos'></td>
    <td width='69' valign='top'><a href='".FORUM."index.php'><img src='".THEME."images/forum.gif' border=0' alt='Diskusijos'></td>
    <td width='69' valign='top'><a href='".BASEDIR."photogallery.php'><img src='".THEME."images/gallery.gif' border=0' alt='Galerija'></td>
   <td width='69' valign='top'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif' border=0' alt='Siuntiniai'></td>
    <td width='564' class='dark'><marquee>".parseubb(parsesmileys("Sveikas, atvykęs į .:SofTas:. ;)"))."</marquee></td>
   <td width='69' valign='top'><a href='".BASEDIR."contact.php'><img src='".THEME."images/contacts.gif' border=0' alt='Siuntiniai'></td>
   <td width='5'></td>
  </tr>
</table>\n";
   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}



Parašė vytaz· 2007 Gru. 23 19:12:59
#9

atjunk smailus ;)

Parašė bruzgis· 2007 Gru. 23 20:12:51
#10

topj vietoj kur smailas dek ;) ir viskas
nu nejaugi taip sunku...

Parašė Ptycka· 2007 Gru. 23 20:12:24
#11

buvau gi ne vienoj temoj parases koda i kuria veta deti paieska naudokis noob...