Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 1 savaitė
MaFetas 1 savaitė
TOMIJUS 2 savaitės
ozzWANTED 2 savaitės
Reikalas11 savaitės
Jaunelis17 savaitės
lanis17 savaitės
And2s18 savaitės
Memento Mori23 savaitės
Quwqkibor25 savaitės
asirija29 savaitės
tomeem31 savaitės
weberiz35 savaitės
mRokass37 savaitės
kartoonas38 savaitės
grunskiz41 savaitės
Bruksnys41 savaitės
illusion41 savaitės
ordo42 savaitės
Jurgaila43 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 52.15.68.97
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.

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

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Š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
forumas i foto
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: Žilvinas41 Peržiūrų: 1155      Spausdinti temą
2010 Geg. 5 15:05:43          1 žinutė iš 3
Spausdinti pranešimą
Mazu kas moketu ir galetu man headeryje yra forumas padarytas bet jis neveikia tai ji pakeisti i atsitiktine foto as koda turiu atsitiktines foto, tik nz kurioj vietoj ji ideti ir ka isimti kad neutu forumas. žliumbia nustebęs
2010 Geg. 5 16:05:39          2 žinutė iš 3
Spausdinti pranešimą
Cia theme.php
<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "620";
$theme_width_l = "269";
$theme_width_r = "269";

function render_header($header_content) {

global $theme_width,$userdata,$data,$db_prefix,$lookup,$msg_count,$aidlink,$locale,$data,$aidlink,$settings,$msg_count;

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\">
<tr>
   <td><img src=\"".THEME."images/zdj_03.jpg\" width=\"916\" height=\"23\" border=\"0\" alt=\"[Rozmiar: 7715 bajtów]\"></td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   <td><img src=\"".THEME."images/zdj_05.jpg\" width=\"703\" height=\"198\" border=\"0\" alt=\"[Rozmiar: 72613 bajtów]\"></td>
   <td background=\"".THEME."images/zdj_06.jpg\" width=\"213\" height=\"198\">
   <!-- logowanie -->";

if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\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><br>";
               
         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_prawa.png'  height='12' width='12'></td></tr><tr>\n";

         echo "<td align='center' height='1%'>";
         echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
         

echo "</table></center>";
         
         
         echo"<table><tr><td></td></tr></table>";


}

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

echo " <br><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilį</a><br>

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

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Narių sarašas</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."photogallery.php' class='side'>Foto galerija<b></a><br><br>\n";

echo "<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Admino panelė:</b><br></td></tr>
<tr>
<td><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Panelė turinio</a></td></tr>
</table></center>";

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

echo "<center><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Panelė Administratoriaus</a></center><br>\n";

}{echo "\n";

echo "<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Pateik:</b><br></td></tr>
<tr>
<td><a href='".BASEDIR."submit.php?stype=n' >Naujieną | </a><a href='".BASEDIR."submit.php?stype=a' >Straipsnį | </a><a href='".BASEDIR."submit.php?stype=p' >Foto | </a></td>

</tr>

</table></center><br>";

echo"<div style=\"text-align: center\"><a href='".BASEDIR."setuser.php?logout=yes' class='side'>[ Wyloguj ]</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."'>

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

<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\"  ><br>

<input type='checkbox' name='remember_me' value='y' title='Zapamiźtaj mnie' style='vertical-align:middle;'>

<input type='submit' name='login' value='Prisijungti' class='panelogowania_button'>

</form>

<br>\n";

if ($settings['enable_registration']) {

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

}

echo "<a href='".BASEDIR."lostpassword.php' class='side'>Pamiršau slaptažodį</a>

</div>\n";

}
closesidel();
   
   
echo "</td>
</tr>
</table>
   
   
   </td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   
</tr>
</table>
   
   
   </td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   <td background=\"".THEME."images/zdj_14.jpg\" width=\"231\" height=\"200\" style=\"padding-left: 20px; padding-right: 90px\">";
   

   if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM theme_forums tf
       INNER JOIN theme_threads tt USING(forum_id)
       INNER JOIN theme_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."images/bullet.gif' height='7'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
               } 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 theme_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 "</td>
   <td background=\"".THEME."images/zdj_15.jpg\" width=\"221\" height=\"200\" style=\"padding-left: 100px\">";$result = dbquery("SELECT article_id, article_subject FROM ".$db_prefix."articles ORDER BY article_id DESC LIMIT 0,9");
while ($row = mysql_fetch_array($result))
{
echo '<img src="'.THEME.'images/bullet.gif" alt=""> <a href="'.BASEDIR.'readarticle.php?article_id=';
echo($row['article_id']);
echo '">';
echo($row['article_subject']);
echo '</a>';
echo '<br>';
}echo "</td>
   <td background=\"".THEME."images/zdj_16.jpg\" width=\"254\" height=\"200\">";
   $result=dbquery(
"SELECT tp.*, ta.* FROM ".$db_prefix."photos tp
LEFT JOIN ".$db_prefix."photo_albums ta USING(album_id)
WHERE ".groupaccess('album_access')." ORDER BY RAND() LIMIT 1"
);

if(dbrows($result)==1){
$data=dbarray($result);
$randphotodir = PHOTOS.(!@ini_get("safe_mode") ? "album_".$data['album_id']."/" : "");
if(!file_exists($filename)) $filename=$image_url.'/imagenotfound.jpg';
echo "<div style='text-align:center'>";
echo"
<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='gallery'>
<img src='".$randphotodir.$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."' width='".$settings['thumb_image_w']."' height='".$settings['thumb_image_h']."' border='1' class='style1'></a><br><a href='".BASEDIR."photogallery.php?album=".$data['album_id']."' style=\"color: #F5F5F5\">".$data['photo_title']."</a></div>";
}
echo"   </td>
</tr>
</table>
   
   
   </td>
</tr>
<tr>
   <td>\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 "
   </td>
</tr>
<tr>
   <td><img src=\"".THEME."images/zdj_26.jpg\" width=\"916\" height=\"100\" border=\"0\" alt=\"[Rozmiar: 8928 bajtów]\"></td>
</tr>
<tr>
   <td align=\"center\" width=\"916\" style=\"color: #A9A9A9\">".stripslashes($settings['footer'])."<br>
nr:".$settings['counter']."<br>
<!-- Pamiźtaj - Usuwanie Stopki autora = naruszenie praw autorskich = sankcje prawne - zastanów siź zanim usuniesz! -->


Theme by angelside (<a href=\"http://grafa.biz\">grafa.biz</a>) engine: <a href=\"http://extreme-fusion.pl\">php-fusion</a> links: <a href=\"http://okna.eu.pl\" title=\"okna\">okna</a>, <a href=\"http://okna.eu.pl\" title=\"okna pcv\">okna pcv</a>, <a href=\"http://okna.eu.pl\" title=\"okna drewniane\">okna drewniane</a>

</td>
</tr>
</table>


\n";

}

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

global $settings;

opentable

($subject."<br><span style=\"font-weight: normal\">
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."&nbsp;&nbsp;&nbsp;&nbsp;".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>[ Czytaj wiecej ]</a> &#183;\n" : "")."
Komentarzy: <a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Czytan:
".$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></span>");   
echo "
$news







";
closetable();
}

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

opentable ($subject);   

echo "".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<div style='margin-top:5px'>
<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> ·
".$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>
\n";
closetable();
}

function opentable($title) {
echo "   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"631\">
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_21.jpg'); height: 66px; width: 631px\" align=\"center\"><b>$title</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_23.jpg')\"><div style=\"padding-left: 22px; padding-right: 22px\">";


}

function closetable() {

echo "
   
   
   </div></td>
</tr>
<tr>
   <td><img src=\"".THEME."images/zdj_25.jpg\" width=\"631\" height=\"40\" border=\"0\" alt=\"[Rozmiar: 9447 bajtów]\"></td>
</tr>
</table>\n";

}

function openside($title) {
echo "        <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"278\">   
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_19.jpg'); height: 59px; width: 278px\">
   <div style=\"color: #000000; font-family: Forte; font-size: 13px; font-weight: bolder; padding-right: 88px; padding-top: 22px; text-align: right\">$title</div>
   </td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_22.jpg'); background-position: bottom; background-repeat: no-repeat; color: #FFFFCC; padding-bottom: 22px; padding-top: 11px\">
   
   <div style=\"padding-left: 22px; padding-right: 22px\">

   
   
\n";

}

function closeside() {

echo "
   
   </div></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";

}
?>






Cia radau forumo pranesimus gal kas galit idet nes as nz kur deti i theme.php

$result = dbquery("
SELECT * FROM ".$db_prefix."threads
INNER JOIN ".$db_prefix."forums ON ".$db_prefix."threads.forum_id=".$db_prefix."forums.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY thread_lastpost DESC LIMIT 8
");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['thread_subject'], 23);
echo " <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."' title='".$data['thread_subject']."'  class='resursai' >$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}




2010 Geg. 6 14:05:35          3 žinutė iš 3
Spausdinti pranešimą
<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "620";
$theme_width_l = "269";
$theme_width_r = "269";

function render_header($header_content) {

global $theme_width,$userdata,$data,$db_prefix,$lookup,$msg_count,$aidlink,$locale,$data,$aidlink,$settings,$msg_count;

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\">
<tr>
   <td><img src=\"".THEME."images/zdj_03.jpg\" width=\"916\" height=\"23\" border=\"0\" alt=\"[Rozmiar: 7715 bajtów]\"></td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   <td><img src=\"".THEME."images/zdj_05.jpg\" width=\"703\" height=\"198\" border=\"0\" alt=\"[Rozmiar: 72613 bajtów]\"></td>
   <td background=\"".THEME."images/zdj_06.jpg\" width=\"213\" height=\"198\">
   <!-- logowanie -->";

if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\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><br>";
               
         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_prawa.png'  height='12' width='12'></td></tr><tr>\n";

         echo "<td align='center' height='1%'>";
         echo "<img src='".FORUM."/images/brak.gif' width='50' hight='50'></td>";
         

echo "</table></center>";
         
         
         echo"<table><tr><td></td></tr></table>";


}

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

echo " <br><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilį</a><br>

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

<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Narių sarašas</a><br>

<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."photogallery.php' class='side'>Foto galerija<b></a><br><br>\n";

echo "<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Admino panelė:</b><br></td></tr>
<tr>
<td><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Panelė turinio</a></td></tr>
</table></center>";

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

echo "<center><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Panelė Administratoriaus</a></center><br>\n";

}{echo "\n";

echo "<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Pateik:</b><br></td></tr>
<tr>
<td><a href='".BASEDIR."submit.php?stype=n' >Naujieną | </a><a href='".BASEDIR."submit.php?stype=a' >Straipsnį | </a><a href='".BASEDIR."submit.php?stype=p' >Foto | </a></td>

</tr>

</table></center><br>";

echo"<div style=\"text-align: center\"><a href='".BASEDIR."setuser.php?logout=yes' class='side'>[ Wyloguj ]</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."'>

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

<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\"  ><br>

<input type='checkbox' name='remember_me' value='y' title='Zapamiźtaj mnie' style='vertical-align:middle;'>

<input type='submit' name='login' value='Prisijungti' class='panelogowania_button'>

</form>

<br>\n";

if ($settings['enable_registration']) {

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

}

echo "<a href='".BASEDIR."lostpassword.php' class='side'>Pamiršau slaptažodį</a>

</div>\n";

}
closesidel();
   
   
echo "</td>
</tr>
</table>
   
   
   </td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   
</tr>
</table>
   
   
   </td>
</tr>
<tr>
   <td>
   
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
   <td background=\"".THEME."images/zdj_14.jpg\" width=\"231\" height=\"200\" style=\"padding-left: 20px; padding-right: 90px\">";
   

   if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
       "SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM theme_forums tf
       INNER JOIN theme_threads tt USING(forum_id)
       INNER JOIN theme_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."images/bullet.gif' height='7'>";
               } else if ($new_posts > 19) {
               $folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
               } 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 theme_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 "</td>
   <td background=\"".THEME."images/zdj_15.jpg\" width=\"221\" height=\"200\" style=\"padding-left: 100px\">";$result = dbquery("SELECT article_id, article_subject FROM ".$db_prefix."articles ORDER BY article_id DESC LIMIT 0,9");
while ($row = mysql_fetch_array($result))
{
echo '<img src="'.THEME.'images/bullet.gif" alt=""> <a href="'.BASEDIR.'readarticle.php?article_id=';
echo($row['article_id']);
echo '">';
echo($row['article_subject']);
echo '</a>';
echo '<br>';
}echo "</td>
   <td background=\"".THEME."images/zdj_16.jpg\" width=\"254\" height=\"200\">";
   $result=dbquery(
"SELECT tp.*, ta.* FROM ".$db_prefix."photos tp
LEFT JOIN ".$db_prefix."photo_albums ta USING(album_id)
WHERE ".groupaccess('album_access')." ORDER BY RAND() LIMIT 1"
);

if(dbrows($result)==1){
$data=dbarray($result);
$randphotodir = PHOTOS.(!@ini_get("safe_mode") ? "album_".$data['album_id']."/" : "");
if(!file_exists($filename)) $filename=$image_url.'/imagenotfound.jpg';
echo "<div style='text-align:center'>";
echo"
<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='gallery'>
<img src='".$randphotodir.$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."' width='".$settings['thumb_image_w']."' height='".$settings['thumb_image_h']."' border='1' class='style1'></a><br><a href='".BASEDIR."photogallery.php?album=".$data['album_id']."' style=\"color: #F5F5F5\">".$data['photo_title']."</a></div>";
}
echo"   </td>
</tr>
</table>
   
   
   </td>
</tr>
<tr>
   <td>\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 "
   </td>
</tr>
<tr>
   <td><img src=\"".THEME."images/zdj_26.jpg\" width=\"916\" height=\"100\" border=\"0\" alt=\"[Rozmiar: 8928 bajtów]\"></td>
</tr>
<tr>
   <td align=\"center\" width=\"916\" style=\"color: #A9A9A9\">".stripslashes($settings['footer'])."<br>
nr:".$settings['counter']."<br>
<!-- Pamiźtaj - Usuwanie Stopki autora = naruszenie praw autorskich = sankcje prawne - zastanów siź zanim usuniesz! -->


Theme by angelside (<a href=\"http://grafa.biz\">grafa.biz</a>) engine: <a href=\"http://extreme-fusion.pl\">php-fusion</a> links: <a href=\"http://okna.eu.pl\" title=\"okna\">okna</a>, <a href=\"http://okna.eu.pl\" title=\"okna pcv\">okna pcv</a>, <a href=\"http://okna.eu.pl\" title=\"okna drewniane\">okna drewniane</a>

</td>
</tr>
</table>


\n";

}

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

global $settings;

opentable

($subject."<br><span style=\"font-weight: normal\">
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."&nbsp;&nbsp;&nbsp;&nbsp;".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>[ Czytaj wiecej ]</a> &#183;\n" : "")."
Komentarzy: <a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Czytan:
".$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></span>");   
echo "
$news







";
closetable();
}

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

opentable ($subject);   

echo "".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
<div style='margin-top:5px'>
<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> ·
".$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>
\n";
closetable();
}

function opentable($title) {
echo "   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"631\">
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_21.jpg'); height: 66px; width: 631px\" align=\"center\"><b>$title</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_23.jpg')\"><div style=\"padding-left: 22px; padding-right: 22px\">";


}

function closetable() {

echo "
   
   
   </div></td>
</tr>
<tr>
   <td><img src=\"".THEME."images/zdj_25.jpg\" width=\"631\" height=\"40\" border=\"0\" alt=\"[Rozmiar: 9447 bajtów]\"></td>
</tr>
</table>\n";

}

function openside($title) {
echo "        <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"278\">   
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_19.jpg'); height: 59px; width: 278px\">
   <div style=\"color: #000000; font-family: Forte; font-size: 13px; font-weight: bolder; padding-right: 88px; padding-top: 22px; text-align: right\">$title</div>
   </td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/zdj_22.jpg'); background-position: bottom; background-repeat: no-repeat; color: #FFFFCC; padding-bottom: 22px; padding-top: 11px\">
   
   <div style=\"padding-left: 22px; padding-right: 22px\">

   
   
\n";

}

function closeside() {

echo "
   
   </div></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";

$result = dbquery("
SELECT * FROM ".$db_prefix."threads
INNER JOIN ".$db_prefix."forums ON ".$db_prefix."threads.forum_id=".$db_prefix."forums.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY thread_lastpost DESC LIMIT 8
");
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['thread_subject'], 23);
echo " <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."' title='".$data['thread_subject']."'  class='resursai' >$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}

?>





Štai bandyk gal už pagalba +10?>:?

Peršokti į forumą: