Navigacija

Vartotojų tinkle

Prisijungusių svečių: 739
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

MaFetas 1 savaitė
ozzWANTED 3 savaitės
saulyzas 5 savaitės
TOMIJUS 6 savaitės
Reikalas15 savaitės
Jaunelis21 savaitės
lanis21 savaitės
And2s22 savaitės
Memento Mori27 savaitės
Quwqkibor29 savaitės
asirija33 savaitės
tomeem35 savaitės
weberiz39 savaitės
mRokass41 savaitės
kartoonas42 savaitės
grunskiz45 savaitės
Bruksnys45 savaitės
illusion45 savaitės
ordo46 savaitės
Jurgaila47 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.191.205.149
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Help! Del theme
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: Trintukas Peržiūrų: 2290      Spausdinti temą
2008 Lie. 16 13:07:10          1 žinutė iš 8
Spausdinti pranešimą
Turiu va toke problema:

Ten kur tie erorai niekaip man ju neisheina istaisyti.

Gal kas gaudosi galetu padeti.
Labai reikut :)

Va code:
<?
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "862";
$theme_width_l = "231";
$theme_width_r = "231";

function render_header($header_content) {

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

if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."user_info_panel/locale/English.php";
}


echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"783\">
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   
   <td ><img src=\"".THEME."images/salongier_02.gif\" width=\"511\" height=\"105\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   <td background=\"".THEME."images/salongier_03.gif\" width=\"272\" height=\"105\" valign=\"top\"><div style=\"padding-left: 2px; padding-right: 2px; padding-bottom: 9px\">
   <!-- logowanie -->";

if (iMEMBER) {
opensidel();


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 "<br><table cellspacing='0'> <tr>\n";
echo ("<td class='class='loguj2'' > <x class='loguj2'>Witaj</x> <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>";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='loguj2'>Edytuj Profil</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='loguj2'>Wiadomo¶ci</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='loguj2'>Uæytkownicy</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='loguj2'> Administracja</a>\n";


}{echo "

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

if ($msg_count) echo "<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'>".(isset($loginerror) ? $loginerror : "")."

<form name='loginform' method='post' action='".FUSION_SELF."'><br>
<table><tr><td>
<x class='loguj2' >Login </x><input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>

<x class='loguj2' >Has&#322;o </x><input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\">
</td>
<td>
<input type='submit' name='login' value='Loguj' class='loguj'>
</td>
</tr></table>





</form>\n";

if ($settings['enable_registration']) {

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

}

echo "<a href='".BASEDIR."lostpassword.php' class='loguj2'>/ Zgubione has³o</a>

</div>\n";

}
closesidel();
   
   
   
   
echo "</div>
</td>
   
</tr>

</table>


</td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"783\"><tr>
   <td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_05.gif\" width=\"144\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_06.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_07.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_08.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_09.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_10.gif\" width=\"151\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   
    </tr></table>
   <table  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
   <tr>
   <td><img src=\"".THEME."images/salongier_11.gif\" width=\"783\" height=\"32\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr>
   
   </table>
   
   
   
   </td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td background=\"".THEME."images/salongier_12.gif\" width=\"10\" height=\"187\" valign=\"top\"></td>
   <td background=\"".THEME."images/salongier_13.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 43px; padding-right: 29px\">";
   
include BASEDIR."infusions/info_panel/locale/English.php";
include BASEDIR."includes/theme.php";

echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><td>";
echo "\n";
$result=dbquery("SELECT * FROM ep_users ORDER BY user_lastvisit DESC LIMIT 0,10");
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#86df3e'><b>na stronie</b></font>";
}elseif($lastseen<360){
$lastseen="<font color='#df3e3e'><b>odchodzi</b></font>";
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}

if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";

echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>";
}
}



if ($settings['maintenance'] != "1") {
   $cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
   $result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
   if (dbrows($result) != 0) {
      $result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
   } else {
      $name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
      $result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
   }
   $result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
   $result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> &nbsp;&nbsp;&nbsp;<b><span style=\"color: #FFF\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
   $result = dbquery(
      "SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ep_online ton
      LEFT JOIN ep_users tu ON ton.online_user=tu.user_id
      WHERE online_user!='0'"
   );
   } else {
      echo $locale['013']."<br>\n";
   }
echo "</td></tr></table>";

;

echo "
   
   </div></td>
   <td background=\"".THEME."images/salongier_14.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 43px; padding-right: 29px\">Brak panelu...</div></td>
    <td background=\"".THEME."images/salongier_15.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 29px\">";

   
if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM ep_forums tf
       INNER JOIN ep_threads tt USING(forum_id)
       INNER JOIN ep_users tu ON tt.thread_lastuser=tu.user_id
       ".$usr_grps." ORDER BY thread_lastpost DESC LIMIT 0,11");
if (dbrows($result) != 0) {
       $i=0;
       if ($theme_width == "100%") echo "\n";
       while ($data = dbarray($result)) {
              if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
                     $new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
                     //$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
                     $thread_replies = $data['thread_replies'];
                     $forum_id = $data['forum_id'];
                     if ($new_posts > 0) {
               $folder123 = "<img src='".THEME."forum/foldernew.gif' height='11'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."forum/folderhot.gif' height='11'>";
               } else {
                     if ($data['thread_locked'] == 1) {
               $folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
               } else if ($data['thread_locked'] == 0) {
                     $folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
                     }
                     }
              //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
              $reply_count = $data['thread_replies']+1;
             
              $data2 = dbarray(dbquery("SELECT post_id FROM ep_posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
              $threads_message = $data['thread_subject'];
              $threads_message = str_replace("&#39;", "", $threads_message);
              $rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
              echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" width='65%' class='small'>";
              if ($theme_width == "100%") {
                     echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"ddrivetip('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b>: ".$threads_message."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
              } else {
                     echo "$folder123 <a  href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"gpe('text:<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost']).";')\" (".$data['forum_name'].")'>".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
              }
              echo "</tr></table>";
              $i++;
       }

} else {
       echo "<center>".$locale['004']."</center>\n";
}
   
echo "</div></td>
   <td background=\"".THEME."images/salongier_16.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 49px\">
   <!-- tematy -->";

   
   
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name FROM ep_forums tf
       INNER JOIN ep_threads tt USING(forum_id)
       INNER JOIN ep_users tu ON tt.thread_lastuser=tu.user_id
       ".$usr_grps." ORDER BY thread_views DESC LIMIT 0,11");
if (dbrows($result) != 0) {
       $i=0;
       if ($theme_width == "100%") echo "\n";
       while ($data = dbarray($result)) {
              if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
                     $new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
                     //$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
                     $thread_replies = $data['thread_replies'];
                     $forum_id = $data['forum_id'];
                     if ($new_posts > 0) {
               $folder123 = "<img src='".THEME."forum/foldernew.gif' height='11'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."forum/folderhot.gif' height='11'>";
               } else {
                     if ($data['thread_locked'] == 1) {
               $folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
               } else if ($data['thread_locked'] == 0) {
                     $folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
                     }
                     }
              //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
              $reply_count = $data['thread_replies']+1;
             
              $data2 = dbarray(dbquery("SELECT post_id FROM ep_posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
              $rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
              echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" class='small' width='75%'>";
              if ($theme_width == "100%") {
                     echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b>: ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]</td>";
              } else {
                     echo "$folder123 <a  href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\" (".$data['forum_name'].")' onMouseout=\"hideddrivetip()\">".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]</td>";
              }
              echo "</tr></table>";
              $i++;
       }

} else {
       echo "<center>".$locale['004']."</center>\n";
}
   
echo "   </div></td>
   <td background=\"".THEME."images/salongier_17.gif\" width=\"13\" height=\"187\" valign=\"top\"></td>
    </tr></table>
   
   
   
   </td>
</tr>
<tr><td style=\"height: 1px\"></td></tr>
<tr>
   <td width=\"783\">\n";

echo "   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

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

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td><img src=\"".THEME."images/salongier_26.gif\" width=\"783\" height=\"21\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td background=\"".THEME."images/salongier_27.gif\" width=\"783\" height=\"126\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><center><a href='http://www.grafa.biz/crew.php/'><img src=\"http://www.grafa.biz/grafa_biz_reklamy/b1.gif\" border=\"1\" ></a></center></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td><img src=\"".THEME."images/salongier_28.gif\" width=\"783\" height=\"14\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td><img src=\"".THEME."images/salongier_29.gif\" width=\"783\" height=\"37\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td background=\"".THEME."images/salongier_30.gif\" width=\"783\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 25px; padding-right: 2px; padding-bottom: 9px\">
    <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> |
   
    <div></td>
   
   
    </tr></table>";



echo "<table background=\"".THEME."images/salongier_31.gif\" width=\"783\" height=\"30\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>";
echo "<td align='center' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
      if ($license == false) {
      echo "Powered by <b><a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</a></b> & <b><a href='http://www.extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> </b><a href='http://okna.eu.pl'>okna</a>";
   }
   echo "</td>";

   echo "<td  align='center' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">".stripslashes($settings['footer'])."</td>";
   
   echo "<td   align='center' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
   echo "Themes by <a href='http://grafa.biz' target='_blank'><b>Grafa Team</a></b> </a></td>";
   
   echo "<td align='right' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
   echo "<span >".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "</td><td width='4%'  align='right'>";
   
   
   
   echo "</tr></table></td></tr></table>";
   
}

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

global $settings;

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"576\">
<tr>
    <td background=\"".THEME."images/salongier_20.gif\" width=\"576\" height=\"20\" border=\"0\" alt=\"[Rozmiar: 3409 bajt?w]\" class='capmain'>$subject</td></tr><tr>
    <td background=\"".THEME."images/salongier_22.gif\" width=\"576\" height=\"2\" border=\"0\" padding-left: 50px; padding-right: 50px\">
   

    <div style=\"padding-left: 10px; padding-right: 20px\">$news</div><br>


    </td></tr><tr>
    <td background=\"".THEME."images/salongier_23.gif\" width=\"576\" height=\"35\" style=\"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><td>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &#183;\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &#183;
".$info['news_reads'].$locale['044']."
<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>
</table>

";
}

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

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"576\">
<tr>
    <td background=\"".THEME."images/salongier_20.gif\" width=\"576\" height=\"20\" border=\"0\" alt=\"[Rozmiar: 3409 bajt?w]\" class='capmain'>$subject</td></tr><tr>
    <td background=\"".THEME."images/salongier_22.gif\" width=\"576\" height=\"2\" border=\"0\" padding-left: 15px; padding-right: 5px\">
   

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


   
   
   
    </td></tr><tr>
    <td background=\"".THEME."images/salongier_23.gif\" width=\"576\" height=\"35\" style=\"padding-left: 33px; padding-right: 33px\"><table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='tbl2'><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' class='tbl2'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$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>
</table>


\n";

}

function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"576\">
<tr>
    <td background=\"".THEME."images/salongier_20.gif\" width=\"576\" height=\"20\"  class='capmain'><b>$title<b></td></tr><tr>
    <td background=\"".THEME."images/salongier_22.gif\" width=\"576\" height=\"2\" border=\"0\"><div style=\"padding-left: 8px; padding-right: 20px; padding-bottom: 9px\">";


}

function closetable() {

echo "
   
   
    </div></td></tr><tr>
    <td><img src=\"".THEME."images/salongier_23a.gif\" width=\"576\" height=\"13\" border=\"0\" alt=\"[Rozmiar: 846 bajt?w]\"><br><br></td>
</tr>
</table>\n";

}

function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"207\">
<tr>
    <td background=\"".THEME."images/salongier_19.gif\" width=\"207\" height=\"20\" border=\"0\" alt=\"$title\" class='scapmain' >$title</td>
</tr>
<tr>
    <td background=\"".THEME."images/salongier_21.gif\" width=\"207\" border=\"0\" style=\"padding-left: 25px; padding-right: 20px; padding-bottom: 9px\">
   
   
\n";

}

function closeside() {

echo "
   
    </div></td>
</tr>
<tr>
    <td><img src=\"".THEME."images/salongier_24.gif\" width=\"207\" height=\"14\" border=\"0\" alt=\"[Rozmiar: 551 bajt?w]\"><br><br></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='0'></td></tr>
</table>\n";

}
?>




2008 Lie. 16 13:07:27          2 žinutė iš 8
Spausdinti pranešimą
o 175 eilute negalejai pažymet?
2008 Lie. 16 13:07:30          3 žinutė iš 8
Spausdinti pranešimą
sita tema skirta extreme fusionui

MMOG.lt - atrask naują pasaulį
2008 Lie. 16 14:07:39          4 žinutė iš 8
Spausdinti pranešimą
arba bent jau panaikinti tas 4 erorus istrinti tas paneles ar ka ten
2008 Lie. 16 14:07:48          5 žinutė iš 8
Spausdinti pranešimą
<?
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "862";
$theme_width_l = "231";
$theme_width_r = "231";

function render_header($header_content) {

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

if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."user_info_panel/locale/English.php";
}


echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"783\">
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   
   <td ><img src=\"".THEME."images/salongier_02.gif\" width=\"511\" height=\"105\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   <td background=\"".THEME."images/salongier_03.gif\" width=\"272\" height=\"105\" valign=\"top\"><div style=\"padding-left: 2px; padding-right: 2px; padding-bottom: 9px\">
   <!-- logowanie -->";

if (iMEMBER) {
opensidel();


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 "<br><table cellspacing='0'> <tr>\n";
echo ("<td class='class='loguj2'' > <x class='loguj2'>Witaj</x> <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>";
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='loguj2'>Edytuj Profil</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='loguj2'>Wiadomo¶ci</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='loguj2'>Uæytkownicy</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='loguj2'> Administracja</a>\n";


}{echo "

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

if ($msg_count) echo "<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'>".(isset($loginerror) ? $loginerror : "")."

<form name='loginform' method='post' action='".FUSION_SELF."'><br>
<table><tr><td>
<x class='loguj2' >Login </x><input type='text' name='user_name' class='panellogowania_texbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>

<x class='loguj2' >Has&#322;o </x><input type='password' name='user_pass' class='panellogowania_texbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style=\" padding-top: 4px; padding-left: 5px; padding-right: 29px\">
</td>
<td>
<input type='submit' name='login' value='Loguj' class='loguj'>
</td>
</tr></table>





</form>\n";

if ($settings['enable_registration']) {

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

}

echo "<a href='".BASEDIR."lostpassword.php' class='loguj2'>/ Zgubione has³o</a>

</div>\n";

}
closesidel();
   
   
   
   
echo "</div>
</td>
   
</tr>

</table>


</td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"783\"><tr>
   <td> <a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_05.gif\" width=\"144\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_06.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_07.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_08.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_09.gif\" width=\"122\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   <td><a href='".BASEDIR."news.php'><img src=\"".THEME."images/salongier_10.gif\" width=\"151\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></a></td>
   
    </tr></table>
   <table  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
   <tr>
   <td><img src=\"".THEME."images/salongier_11.gif\" width=\"783\" height=\"32\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr>
   
   </table>
   
   
   
   </td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td background=\"".THEME."images/salongier_12.gif\" width=\"10\" height=\"187\" valign=\"top\"></td>
   <td background=\"".THEME."images/salongier_13.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 43px; padding-right: 29px\">";
   


echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><td>";
echo "\n";
$result=dbquery("SELECT * FROM users ORDER BY user_lastvisit DESC LIMIT 0,10");
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#86df3e'><b>na stronie</b></font>";
}elseif($lastseen<360){
$lastseen="<font color='#df3e3e'><b>odchodzi</b></font>";
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}

if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";

echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>";
}
}



if ($settings['maintenance'] != "1") {
   $cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
   $result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
   if (dbrows($result) != 0) {
      $result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
   } else {
      $name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
      $result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
   }
   $result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
   $result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> &nbsp;&nbsp;&nbsp;<b><span style=\"color: #FFF\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
   $result = dbquery(
      "SELECT ton.*, user_id,user_name,user_color,user_prefix FROM online ton
      LEFT JOIN users tu ON ton.online_user=tu.user_id
      WHERE online_user!='0'"
   );
   } else {
      echo $locale['013']."<br>\n";
   }
echo "</td></tr></table>";

;

echo "
   
   </div></td>
   <td background=\"".THEME."images/salongier_14.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 43px; padding-right: 29px\">Brak panelu...</div></td>
    <td background=\"".THEME."images/salongier_15.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 29px\">";

   
if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM forums tf
       INNER JOIN threads tt USING(forum_id)
       INNER JOIN users tu ON tt.thread_lastuser=tu.user_id
       ".$usr_grps." ORDER BY thread_lastpost DESC LIMIT 0,11");
if (dbrows($result) != 0) {
       $i=0;
       if ($theme_width == "100%") echo "\n";
       while ($data = dbarray($result)) {
              if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
                     $new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
                     //$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
                     $thread_replies = $data['thread_replies'];
                     $forum_id = $data['forum_id'];
                     if ($new_posts > 0) {
               $folder123 = "<img src='".THEME."forum/foldernew.gif' height='11'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."forum/folderhot.gif' height='11'>";
               } else {
                     if ($data['thread_locked'] == 1) {
               $folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
               } else if ($data['thread_locked'] == 0) {
                     $folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
                     }
                     }
              //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
              $reply_count = $data['thread_replies']+1;
             
              $data2 = dbarray(dbquery("SELECT post_id FROM ep_posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
              $threads_message = $data['thread_subject'];
              $threads_message = str_replace("&#39;", "", $threads_message);
              $rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
              echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" width='65%' class='small'>";
              if ($theme_width == "100%") {
                     echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"ddrivetip('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b>: ".$threads_message."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
              } else {
                     echo "$folder123 <a  href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"gpe('text:<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost']).";')\" (".$data['forum_name'].")'>".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
              }
              echo "</tr></table>";
              $i++;
       }

} else {
       echo "<center>".$locale['004']."</center>\n";
}
   
echo "</div></td>
   <td background=\"".THEME."images/salongier_16.gif\" width=\"190\" height=\"187\" valign=\"top\"><br><br><div style=\"padding-left: 34px; padding-right: 49px\">
   <!-- tematy -->";

   
   
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name FROM forums tf
       INNER JOIN threads tt USING(forum_id)
       INNER JOIN users tu ON tt.thread_lastuser=tu.user_id
       ".$usr_grps." ORDER BY thread_views DESC LIMIT 0,11");
if (dbrows($result) != 0) {
       $i=0;
       if ($theme_width == "100%") echo "\n";
       while ($data = dbarray($result)) {
              if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
                     $new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
                     //$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
                     $thread_replies = $data['thread_replies'];
                     $forum_id = $data['forum_id'];
                     if ($new_posts > 0) {
               $folder123 = "<img src='".THEME."forum/foldernew.gif' height='11'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."forum/folderhot.gif' height='11'>";
               } else {
                     if ($data['thread_locked'] == 1) {
               $folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
               } else if ($data['thread_locked'] == 0) {
                     $folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
                     }
                     }
              //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
              $reply_count = $data['thread_replies']+1;
             
              $data2 = dbarray(dbquery("SELECT post_id FROM posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
              $rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
              echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" class='small' width='75%'>";
              if ($theme_width == "100%") {
                     echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b>: ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]</td>";
              } else {
                     echo "$folder123 <a  href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onMouseover=\"gpe('$start<center><b>&#176; ".$locale['XXX_017']." &#176;</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("&#39;", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."/".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\" (".$data['forum_name'].")' onMouseout=\"hideddrivetip()\">".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
                     echo "<td align=\"right\" width='25%'>[".$data['thread_views']."]</td>";
              }
              echo "</tr></table>";
              $i++;
       }

} else {
       echo "<center>".$locale['004']."</center>\n";
}
   
echo "   </div></td>
   <td background=\"".THEME."images/salongier_17.gif\" width=\"13\" height=\"187\" valign=\"top\"></td>
    </tr></table>
   
   
   
   </td>
</tr>
<tr><td style=\"height: 1px\"></td></tr>
<tr>
   <td width=\"783\">\n";

echo "   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

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

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td><img src=\"".THEME."images/salongier_26.gif\" width=\"783\" height=\"21\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td background=\"".THEME."images/salongier_27.gif\" width=\"783\" height=\"126\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><center><a href='http://www.grafa.biz/crew.php/'><img src=\"http://www.grafa.biz/grafa_biz_reklamy/b1.gif\" border=\"1\" ></a></center></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td><img src=\"".THEME."images/salongier_28.gif\" width=\"783\" height=\"14\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td><img src=\"".THEME."images/salongier_29.gif\" width=\"783\" height=\"37\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"></td>
   
   
    </tr></table>";
   
   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
   <td background=\"".THEME."images/salongier_30.gif\" width=\"783\" height=\"39\" border=\"0\" alt=\"[Rozmiar: 846 bajtów]\"><div style=\"padding-left: 25px; padding-right: 2px; padding-bottom: 9px\">
    <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> | <a href='http://www.grafa.biz/crew.php/'>Grafa.biz Team</a> |
   
    <div></td>
   
   
    </tr></table>";



echo "<table background=\"".THEME."images/salongier_31.gif\" width=\"783\" height=\"30\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>";
echo "<td align='center' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
      if ($license == false) {
      echo "Powered by <b><a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</a></b> & <b><a href='http://www.extreme-fusion.pl/' target='_blank'>eXtreme-fusion</a> </b><a href='http://okna.eu.pl'>okna</a>";
   }
   echo "</td>";

   echo "<td  align='center' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">".stripslashes($settings['footer'])."</td>";
   
   echo "<td   align='center' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
   echo "Themes by <a href='http://grafa.biz' target='_blank'><b>Grafa Team</a></b> </a></td>";
   
   echo "<td align='right' style=\" padding-left: 15px; padding-right: 5px border=\"0\" alt=\"\">";
   echo "<span >".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "</td><td width='4%'  align='right'>";
   
   
   
   echo "</tr></table></td></tr></table>";
   
}

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

global $settings;

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"576\">
<tr>
    <td background=\"".THEME."images/salongier_20.gif\" width=\"576\" height=\"20\" border=\"0\" alt=\"[Rozmiar: 3409 bajt?w]\" class='capmain'>$subject</td></tr><tr>
    <td background=\"".THEME."images/salongier_22.gif\" width=\"576\" height=\"2\" border=\"0\" padding-left: 50px; padding-right: 50px\">
   

    <div style=\"padding-left: 10px; padding-right: 20px\">$news</div><br>


    </td></tr><tr>
    <td background=\"".THEME."images/salongier_23.gif\" width=\"576\" height=\"35\" style=\"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><td>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &#183;\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &#183;
".$info['news_reads'].$locale['044']."
<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>
</table>

";
}

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

echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"576\">
<tr>
    <td background=\"".THEME."images/salongier_20.gif\" width=\"576\" height=\"20\" border=\"0\" alt=\"[Rozmiar: 3409 bajt?w]\" class='capmain'>$subject</td></tr><tr>
    <td background=\"".THEME."images/salongier_22.gif\" width=\"576\" height=\"2\" border=\"0\" padding-left: 15px; padding-right: 5px\">
   

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


   
   
   
    </td></tr><tr>
    <td background=\"".THEME."images/salongier_23.gif\" width=\"576\" height=\"35\" style=\"padding-left: 33px; padding-right: 33px\"><table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='tbl2'><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' class='tbl2'>
<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$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>
</table>


\n";

}

function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"576\">
<tr>
    <td background=\"".THEME."images/salongier_20.gif\" width=\"576\" height=\"20\"  class='capmain'><b>$title<b></td></tr><tr>
    <td background=\"".THEME."images/salongier_22.gif\" width=\"576\" height=\"2\" border=\"0\"><div style=\"padding-left: 8px; padding-right: 20px; padding-bottom: 9px\">";


}

function closetable() {

echo "
   
   
    </div></td></tr><tr>
    <td><img src=\"".THEME."images/salongier_23a.gif\" width=\"576\" height=\"13\" border=\"0\" alt=\"[Rozmiar: 846 bajt?w]\"><br><br></td>
</tr>
</table>\n";

}

function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"207\">
<tr>
    <td background=\"".THEME."images/salongier_19.gif\" width=\"207\" height=\"20\" border=\"0\" alt=\"$title\" class='scapmain' >$title</td>
</tr>
<tr>
    <td background=\"".THEME."images/salongier_21.gif\" width=\"207\" border=\"0\" style=\"padding-left: 25px; padding-right: 20px; padding-bottom: 9px\">
   
   
\n";

}

function closeside() {

echo "
   
    </div></td>
</tr>
<tr>
    <td><img src=\"".THEME."images/salongier_24.gif\" width=\"207\" height=\"14\" border=\"0\" alt=\"[Rozmiar: 551 bajt?w]\"><br><br></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='0'></td></tr>
</table>\n";

}
?>






Mėgink laime...

2008 Lie. 16 14:07:40          6 žinutė iš 8
Spausdinti pranešimą
Warning: include(includes/theme.php) [function.include]: failed to open stream: No such file or directory in /home/emp3/domains/judam.net/public_html/dnb-dance/themes/salongier/theme.php on line 176

wa sitie erorai pasiliko.tik

2008 Lie. 16 14:07:46          7 žinutė iš 8
Spausdinti pranešimą
Paredagavau tą kodą dabar turėtu veikti
2008 Lie. 16 14:07:36          8 žinutė iš 8
Spausdinti pranešimą
aciu šypsosi au shadow labai padejai šypsosi

Peršokti į forumą: