12.10.2008 07:27
Ücretsiz Üyelik
Ana Menü
Pardus... Özgürlük İçin...

Özgürlükİçin OOXML'e karşı!

Türkçe Konuş



Başlığı Görüntüle
 Başlığı Yazdır
Forum Yerimi Modifikasyonu (Digg, del.icio.us ve diğerleri)
LoRd
#21 Mesajı Yazdır
Mesaj Tarihi 11.04.2008 23:49
Kullanıcı Avatarı

Üye


Mesaj Sayısı: 215
Katılım Tarihi: 02.05.05

mod için teşekkür ederim.

bir kaç hata ile karşılaştım ve biraz uğraşarak mod'un bende aşağıdaki şekilde çalıştırabildim. Sorun yaşıyan arkadaşlar bunuda deniyebilir.

Kaynağı İndir  Kod
echo "<tr>
<td class='tbl2'>Bu Mesajı İmleyin:</td>\n";

echo "<td class='tbl1'><a href='http://digg.com/submit?phase=2&url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."digg.gif' style='border:0px;'></a>\n";

echo "<a href='http://del.icio.us/post?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."delicious.gif' style='border:0px;'></a>\n";

echo "<a href='http://technorati.com/faves/?add=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."technorati.gif' style='border:0px;'></a>\n";

echo "<a href='http://furl.net/storeIt.jsp?u=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."furl.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."blinklist.gif' style='border:0px;'></a>\n";

echo "<a href='http://ma.gnolia.com/bookmarklet/add?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."magnolia.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.netscape.com/submit/?U=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."netscape.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.newsvine.com/_wine/save?u=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."newsvine.gif' style='border:0px;'></a>\n";

echo "<a href='http://reddit.com/submit?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."reddit.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.stumbleupon.com/submit?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."stumble.gif' style='border:0px;'></a>\n";

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


 
antiseptic
#22 Mesajı Yazdır
Mesaj Tarihi 12.04.2008 10:22
Kullanıcı Avatarı

Üye


Mesaj Sayısı: 148
Katılım Tarihi: 26.03.07

saolsın süper paylaşım
 
http://www.yamahaci.com
Support
#23 Mesajı Yazdır
Mesaj Tarihi 20.04.2008 00:31
Kullanıcı Avatarı

Acemi Üye


Mesaj Sayısı: 34
Katılım Tarihi: 01.10.07

Kaynağı İndir  Kod
Parse error: syntax error, unexpected '<' in /home/islamden/public_html/forum/viewthread.php on line 314



bole bir sorunla karsilastim ..

Ben dostlarimi ne kalbimle, ne de aklimla severim...
Olur ya... Kalp durur... Akil unutur...

Ben dostlarimi ruhumla severim...
O, ne durur... Ne de unutur
 
www.islamdenizi.net
programmer
#24 Mesajı Yazdır
Mesaj Tarihi 03.06.2008 00:03
Yeni Gelen


Mesaj Sayısı: 23
Katılım Tarihi: 29.12.06

LoRd yazdı:
mod için teşekkür ederim.

bir kaç hata ile karşılaştım ve biraz uğraşarak mod'un bende aşağıdaki şekilde çalıştırabildim. Sorun yaşıyan arkadaşlar bunuda deniyebilir.

Kaynağı İndir  Kod
echo "<tr>
<td class='tbl2'>Bu Mesajı İmleyin:</td>\n";

echo "<td class='tbl1'><a href='http://digg.com/submit?phase=2&url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."digg.gif' style='border:0px;'></a>\n";

echo "<a href='http://del.icio.us/post?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."delicious.gif' style='border:0px;'></a>\n";

echo "<a href='http://technorati.com/faves/?add=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."technorati.gif' style='border:0px;'></a>\n";

echo "<a href='http://furl.net/storeIt.jsp?u=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."furl.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."blinklist.gif' style='border:0px;'></a>\n";

echo "<a href='http://ma.gnolia.com/bookmarklet/add?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."magnolia.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.netscape.com/submit/?U=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."netscape.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.newsvine.com/_wine/save?u=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."newsvine.gif' style='border:0px;'></a>\n";

echo "<a href='http://reddit.com/submit?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."reddit.gif' style='border:0px;'></a>\n";

echo "<a href='http://www.stumbleupon.com/submit?url=".$settings['siteurl']."forum/viewthread.php?forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."' target='_blank'><img src='".IMAGES."stumble.gif' style='border:0px;'></a>\n";

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





Yeni versiyonlarda bu kod çalışıyor ;) Teşekkürler
ProGrammeR
 
http://www.bilgiportal.net
gnckampus
#25 Mesajı Yazdır
Mesaj Tarihi 03.06.2008 23:18
Kullanıcı Avatarı

Kıdemli Üye


Mesaj Sayısı: 1147
Katılım Tarihi: 17.02.07

alternatif olarak
http://www.social...erator.htm
PHP-Fusion Bir Yaşam Tarzıdır, Yaşam Aşktır, Aşk Yanlızdır, Gecelerim Günlerim Arkadaşlarım Dostlarım siz değerli webmaster arkadaşlarım için elimden gelenleri(Türkçeleştirdiklerimi) ve paylaştıklarımı sunuyorum...



www.gnckampus.com/sig.gif
www.gnckampus.com/themes/Kampus/images/red/logo.png
 
http://www.gnckampus.com
damesi26
#26 Mesajı Yazdır
Mesaj Tarihi 07.06.2008 18:51
Acemi Üye


Mesaj Sayısı: 33
Katılım Tarihi: 29.11.07

eline sağlık güzel durduGrin
 
www.nikfer.biz
gnckampus
#27 Mesajı Yazdır
Mesaj Tarihi 07.06.2008 19:06
Kullanıcı Avatarı

Kıdemli Üye


Mesaj Sayısı: 1147
Katılım Tarihi: 17.02.07

yani şöyle işinize yarayabilir
Kaynağı İndir  Kod
?><div align="center">   <script src="http://www.social-bookmark-script.com/bookmark.js" type="text/javascript"></script>
</div>
<?




blog olarak eklerseniz ;)
PHP-Fusion Bir Yaşam Tarzıdır, Yaşam Aşktır, Aşk Yanlızdır, Gecelerim Günlerim Arkadaşlarım Dostlarım siz değerli webmaster arkadaşlarım için elimden gelenleri(Türkçeleştirdiklerimi) ve paylaştıklarımı sunuyorum...



www.gnckampus.com/sig.gif
www.gnckampus.com/themes/Kampus/images/red/logo.png
 
http://www.gnckampus.com
praspataculus
#28 Mesajı Yazdır
Mesaj Tarihi 17.06.2008 23:39
Üye


Mesaj Sayısı: 126
Katılım Tarihi: 27.12.06

oooo sağol valla harikasın
 
http://aramok.co.cc/v7bee/news.php
genisel
#29 Mesajı Yazdır
Mesaj Tarihi 18.06.2008 02:21
Üye


Mesaj Sayısı: 283
Katılım Tarihi: 29.04.08

olmuyor hocam denedim olmadıı
ea iskluchenie iz vsex pravil


img517.imageshack.us/my.php?image=12ku6.jpg
 
www.genisel.net
genisel
#30 Mesajı Yazdır
Mesaj Tarihi 18.06.2008 02:22
Üye


Mesaj Sayısı: 283
Katılım Tarihi: 29.04.08

olmuyor hocam denedim olmadıı
ea iskluchenie iz vsex pravil


img517.imageshack.us/my.php?image=12ku6.jpg
 
www.genisel.net
genisel
#31 Mesajı Yazdır
Mesaj Tarihi 18.06.2008 23:24
Üye


Mesaj Sayısı: 283
Katılım Tarihi: 29.04.08

bunun neresine eklicem arkadaşlar

Kaynağı İndir  Kod
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "../maincore.php";
require_once INCLUDES."forum_functions_include.php";
require_once BASEDIR."subheader.php";
//require_once BASEDIR."side_left.php";
include LOCALE.LOCALESET."forum/main.php";
include_once INCLUDES."countries.php";

include INFUSIONS."wob_rank_system/func/func.php";
require_once INCLUDES."comments_include.php";
require_once INCLUDES."ratings_include.php";
include FORUM."includes/warning_include.php";
include FORUM."includes/forum_includes.php";

$fboardControl = dbarray(dbquery("SELECT * FROM ".$db_prefix."fboard_control"));

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

$posts_per_page = 20;

update_warning();

if (!FUSION_QUERY || !isset($forum_id) || !isNum($forum_id) || !isset($thread_id) || !isNum($thread_id)) fallback("index.php");

$result = dbquery(
   "SELECT f.*, f2.forum_name AS forum_cat_name
   FROM ".$db_prefix."forums f
   LEFT JOIN ".$db_prefix."forums f2 ON f.forum_cat=f2.forum_id
   WHERE f.forum_id='".$forum_id."'"
);
if (dbrows($result)) {
   $fdata = dbarray($result);
   if (!checkgroup($fdata['forum_access']) || !$fdata['forum_cat']) fallback("index.php");
} else {
   fallback("index.php");
}
$can_post = checkgroup($fdata['forum_posting']);
$can_reply = checkgroup($fdata['forum_reply']);
$can_edit = $fdata['forum_edit'];

if(isset($_GET['style']) && is_numeric($_GET['style'])){ $style=$_GET['style']; }else{ $style = $fboardControl['fbc_view']; }

$forum_mods = explode(".", $fdata['forum_moderators']);
if (iMEMBER && in_array($userdata['user_id'], $forum_mods)) { define("iMOD", true); } else { define("iMOD", false); }

$result = dbquery("SELECT * FROM ".$db_prefix."threads WHERE thread_id='".$thread_id."' AND forum_id='".$fdata['forum_id']."'");
if (dbrows($result)) { $tdata = dbarray($result); } else { fallback("index.php"); }

$caption = $fdata['forum_cat_name']." | <a href='viewforum.php?forum_id=".$fdata['forum_id']."'>".$fdata['forum_name']."</a>";
$result = dbquery("UPDATE ".$db_prefix."threads SET thread_views=thread_views+1 WHERE thread_id='$thread_id'");

if (iMEMBER && $can_reply && isset($_POST['postquickreply'])) {
   $flood = false;
   $message = stripinput(censorwords($_POST['message']));
   if ($message != "") {
      $result = dbquery("SELECT MAX(post_datestamp) AS last_post FROM ".$db_prefix."posts WHERE post_author='".$userdata['user_id']."'");
      if (dbrows($result) > 0) {
         $data = dbarray($result);
         if ((time() - $data['last_post']) < $settings['flood_interval']) {
            $flood = true;
            $result = dbquery("INSERT INTO ".$db_prefix."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')");
            if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) {
               $result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='".$userdata['user_id']."'");
            }
            fallback("viewforum.php?forum_id=$forum_id");
         }
      }
      if (!$flood) {
         $sig = ($userdata['user_sig'] ? '1' :'0');
         $smileys = isset($_POST['disable_smileys']) ? "0" : "1";
         $subject = "RE: ".$tdata['thread_subject'];
         $result = dbquery("UPDATE ".$db_prefix."forums SET forum_lastpost='".time()."', forum_lastuser='".$userdata['user_id']."' WHERE forum_id='$forum_id'");
         $result = dbquery("UPDATE ".$db_prefix."threads SET thread_lastpost='".time()."', thread_lastuser='".$userdata['user_id']."' WHERE thread_id='$thread_id'");
         $result = dbquery("INSERT INTO ".$db_prefix."posts (forum_id, thread_id, post_subject, post_message, post_showsig, post_smileys, post_author, post_datestamp, post_ip, post_edituser, post_edittime) VALUES ('$forum_id', '$thread_id', '$subject', '$message', '$sig', '$smileys', '".$userdata['user_id']."', '".time()."', '".USER_IP."', '0', '0')");
         $newpost_id = mysql_insert_id();
         $result = dbquery("UPDATE ".$db_prefix."users SET user_posts=user_posts+1 WHERE user_id='".$userdata['user_id']."'");
         redirect("postify.php?post=reply&error=0&forum_id=$forum_id&thread_id=$thread_id&post_id=$newpost_id");
      }
   }
}

//www.phpfusion-tr.com
//Hazırlayan : Gencislam - Gencislam.net
//openside($locale['gnc_025']);
//include FORUM."forumust.php";
//closeside();
if (!iMEMBER) {
$timeoutseconds = 60;
$timestamp = time();
$timeout = $timestamp-$timeoutseconds;
$SID = session_id();
$thread_id = "".$tdata['thread_id']."";
$insert = dbquery("INSERT INTO ".$db_prefix."onlineguests (timestamp,ip,izlenen) VALUES ('$timestamp','$SID','$thread_id')");
if(!($insert)) {
echo "Hata!";
}
$delete = dbquery("DELETE FROM ".$db_prefix."onlineguests WHERE timestamp<$timeout");
if(!($delete)) {
echo "Hata!";
}
$result2 = dbquery("SELECT DISTINCT ip FROM ".$db_prefix."onlineguests WHERE izlenen='$thread_id'");
if(!($result2)) {
echo "Hata!";
}
$users = dbrows($result2);
}

if (count($users) == "") {
$users = "0";
}

if(iMEMBER) {

$timeoutseconds2 = 60;
$timestamp2 = time();
$timeout2 = $timestamp2-$timeoutseconds2;
$thread_id = "".$tdata['thread_id']."";
$update3 = dbquery("UPDATE ".$db_prefix."users SET izledigi_konu='".$thread_id."', timestamp='".$timestamp2."' WHERE user_id='".$userdata['user_id']."'");
if(!($update3)) {
echo "Hata!";
}
$delete3 = dbquery("UPDATE ".$db_prefix."users SET izledigi_konu='', timestamp='0' WHERE user_id='".$userdata['user_id']."' AND timestamp<$timeout2");
if(!($delete3)) {
echo "Hata!";
}
$result3 = dbquery("SELECT DISTINCT user_id FROM ".$db_prefix."users WHERE izledigi_konu='$thread_id'");
if(!($result3)) {
echo "Hata!";
}
$uye = dbarray($result3);

}


tablebreak();
openside('Başlığı İzleyenler');
echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>";
echo "<tr><td class='tbl1'>";
$liste = dbquery("SELECT * FROM ".$db_prefix."users WHERE izledigi_konu='".$tdata['thread_id']."' AND timestamp>0");
$uye = "".dbrows($liste)."";
if (dbrows($liste) != "" || $users != 0) {
echo "<b>".$uye."</b> Üye ve <b>".$users."</b> Ziyaretçi Başlığı Görüntülüyor Toplam <b>".($users + $uye)."</b> Kişi.<br><fieldset></br><legend><b>Başlığı İzleyen Üyelerimiz</b></legend>";
if (dbrows($liste) == "") {
echo ".";
echo "Toplam ".($users + $uye)." Kişi.";
} else {
echo "<br>";
}
while ($izleyenler = dbarray($liste)){
echo "<a href='".BASEDIR."profile.php?lookup=".$izleyenler['user_id']."'>".$izleyenler['user_name'].",</a>";
}
if (dbrows($liste) != "") {
}
} else {
echo "Bu Başlığı İzleyen Yok.";
}
echo "</td></tr>";
echo "</table>";
closeside();
opentable($locale['500']);
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='smallalt'><a href='index.php'>".$settings['sitename']."</a> | $caption</td>\n";
if (iMEMBER) {
   echo "<td align='right'>\n";
   if (!$tdata['thread_locked'] && $can_reply) {
      echo "<a href='post.php?action=reply&forum_id=$forum_id&thread_id=$thread_id'><img src='".THEME."forum/reply.gif' alt='".$locale['565']."' style='border:0px;'></a>\n";
   }
   if ($can_post)
{
   echo "<a href='post.php?action=newthread&forum_id=$forum_id'><img src='".THEME."forum/newthread.gif' alt='".$locale['566']."' style='border:0px;'></a></td>\n";
}
}
echo "</tr>
</table>\n";
if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
echo "<br /><table cellpadding='0' cellspacing='0' class='tbl-border' align='right'>
<tr>
<td class='tbl1'><b><a href='printthread.php?forum_id=$forum_id&thread_id=$thread_id&rowstart=$rowstart'>Başlığı Yazdır</a></b></td>
<td class='tbl1'><b><a href='#rate'>Başlığı Oyla</a></b></td>
</tr>
</table><br /><br />";

$rows = dbcount("(thread_id)", "posts", "thread_id='$thread_id'");

if (isset($pid) && isNum($pid)) {
   $reply_count = dbcount("(post_id)", "posts", "thread_id='".$tdata['thread_id']."' AND post_id<='".$pid."'");
   if ($reply_count > $posts_per_page) $rowstart = ((ceil($reply_count / $posts_per_page)-1)*$posts_per_page);
}



if ($rows > $posts_per_page) {
   echo "<div align='center' style='margin-top:5px;margin-bottom:5px;'>
".makePageNav($rowstart,$posts_per_page,$rows,3,FUSION_SELF."?forum_id=$forum_id&thread_id=$thread_id&")."
</div>\n";
}

if($style == "1"){
/* begin fusion style */

echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n";

if ($rows != 0) {
   $result = dbquery(
      "SELECT p.*, fa.attach_id, fa.attach_name, fa.attach_ext, fa.attach_size, u.*, u2.user_name AS edit_name FROM ".$db_prefix."posts p
      LEFT JOIN ".$db_prefix."forum_attachments fa USING(post_id)
      LEFT JOIN ".$db_prefix."users u ON p.post_author = u.user_id
      LEFT JOIN ".$db_prefix."users u2 ON p.post_edituser = u2.user_id AND post_edituser > '0'
      WHERE p.thread_id='$thread_id' ORDER BY post_datestamp LIMIT $rowstart,$posts_per_page"
   );
   $numrows = dbrows($result);
   while ($data = dbarray($result)) {
      $message = $data['post_message'];
      if ($data['post_showsig']) { $message = $message."\n\n<hr>".$data['user_sig']; }
      if ($data['post_smileys']) { $message = parsesmileys($message); }
      $message = parseubb($message);
      $message = parseubb_extra($message);
      $message = nl2br($message);
      if ($data['post_edittime'] != "0") {
         $edituser = "<a href='../profile.php?lookup=".$data['post_edituser']."'>".$data['edit_name']."</a>";
         $edittime = showdate("forumdate", $data['post_edittime']);
      }
      $is_mod = in_array($data['user_id'], $forum_mods) && $data['user_level'] < "102" ? true : false;
      echo "<tr>
<td width='145' class='tbl2'>".$locale['501']."</td>
<td class='tbl2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']."</td>
</tr>
<tr>
<td valign='top' rowspan='3' width='145' class='tbl1'>
<a href='../profile.php?lookup=".$data['user_id']."'>";
if ($data[user_level]=="103"){
$user="<center><font size='3px' color=#cc0000><b>$data[user_name]</b></center></font>";
} else if ($data[user_level]== "102"){
$user="<center><font size='3px' color=#e55b3c><b>$data[user_name]</b></center></font>";
} else if ($data[user_level]=="101"){
$user="<center><font size='3px' color=#0066ff><b>$data[user_name]</b></center></font>";
}
$moderator_user = "<center><font size='3px' color=#4cc417><b>$data[user_name]</b></center></font>";
echo "".($is_mod ? $moderator_user : $user)."</a><br>";
echo "<center><span class='alt'>".getRank($data['user_id'])."</center>\n<br>";
      if ($data['user_avatar'] != "") {
         echo "<center><a href='../profile.php?lookup=".$data['user_id']."'><img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'></a></center>\n";
         $height = "210";
      } else {
         echo "<a href='../profile.php?lookup=".$data['user_id']."'></center><img src='".FORUM."images/noav.gif' alt='".$locale['567']."'></a></center>\n";
         $height = "210";
      }

      if($fboardControl['fbc_ranks'] == "1") echo"<br><span class='alt'><center><b>Madalyaları</b></span><br><br>".show_medals($data['user_id'])."</center>";
      
   echo "<span class='alt'><hr><b>Cinsiyet:</b></span> ".($data['user_gender'] != 0 ? ($data['user_gender'] == 1 ? $locale['UGM_001'] : $locale['UGM_002']) : $locale['u048'])."<br>\n";
   echo "<span class='alt'><b>Üye No:</b></span> ".$data['user_id']."<br>\n";
   echo "<span class='alt'>".$locale['504']."</span> ".showdate("%d.%m.%y", $data['user_joined'])."<br>\n";
      if ($data['user_location']) {
         if (!isset($ft_csm['user'][$data['user_id']])) { $ft_csm['user'][$data['user_id']] = csm_getLocation($data['user_location']); }
         echo "<span class='alt'>".$locale['503']."</span> ".$ft_csm['user'][$data['user_id']]."<br>\n";
      }
echo "<span class='alt'>".$locale['502']."</span> ".$data['user_posts']."<br>\n";
//thread count (başlık sayma) mod
//by SoulSmasher | phpfusion-tr
//www.soulsmasher.net
$konusay = dbcount("(thread_id)", "threads", "thread_author='".$data['user_id']."'");
echo " <font color='#555555'><b>Açtığı Konu Sayısı:</b></font>".$konusay."\n";
$mooddata = dbarray(dbquery("SELECT mood FROM ".$db_prefix."user_status WHERE user_id='".$data['user_id']."'"));
echo "<br>";
if ($mooddata[mood] != "") {
echo "<span class='alt'><b>Ruh Hali: </b></span>";
echo "<img align='center' src='".IMAGES."mood/".$mooddata['mood'].".gif'>";
} else {
echo "Ruh Hali: Seçilmemiş";
}
echo "<br>";
      $lastseen = time() - $data['user_lastvisit'];

if($lastseen < 60) {
$durum = " <img src='".IMAGES."/online.png'> <font size='1px' color='#43923F'><b>Çevrim içi</b></font>";
}else{
$durum = " <img src='".IMAGES."/offline.png'> <font size='1px' color='#CC0000'><b>Çevrim dışı</b></font>";
}
echo "<span class='alt'><b>Durumu:</b></span> ".$durum."\n";

$result4 = dbquery("SELECT * FROM ".$db_prefix."reputation WHERE post_id='".$data['post_id']."' AND rep_veren LIKE '".$userdata['user_id']."'");
$data4 = dbrows($result4);
if (!$data4){
$repver = "<a href='".FORUM."reputation.php?forum_id=$forum_id&thread_id=$thread_id&post_id=".$data['post_id']."&rep_rep=".$data['user_id']."&post=".$data['post_id']."'title='Rep Ver'><img src='".IMAGES."reputation/reputation.gif' border='0'></a>";
} else {
$repver = "";
}
$repseviye = dbarray(dbquery("SELECT * FROM ".$db_prefix."repseviye"));
$repp = $data['users_rep_puan'];
$balimg = "<img src='".IMAGES."reputation/balance.gif' title='$repp' border='0'>";
$hnegimg = "<img src='".IMAGES."reputation/hneg.gif' title='$repp' border='0'>";
$hposimg = "<img src='".IMAGES."reputation/hpos.gif' title='$repp' border='0'>";
$negimg = "<img src='".IMAGES."reputation/neg.gif' title='$repp' border='0'>";
$offimg = "<img src='".IMAGES."reputation/off.gif' title='$repp' border='0'>";
$posimg = "<img src='".IMAGES."reputation/pos.gif' title='$repp' border='0'>";
$msj = "".$data['user_posts']."";
$baslik = "".number_format(dbcount("(thread_id)", "threads", "thread_author='".$data['user_id']."'"))."";
$shout = "".number_format(dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'"))."";
echo "<span class='alt'><hr><b>Rep Gücü:</b></span>";
if ($data['users_rep_puan'] == $repseviye['rep_seviye_1'] ) { echo "".$offimg.$offimg.$offimg.$offimg.$offimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_1'] ) { if ($data['users_rep_puan'] < $repseviye['rep_seviye_2'] ) { echo "<br>".$negimg.$negimg.$negimg.$negimg.$negimg.$hnegimg.$hnegimg.$hnegimg.$hnegimg.$hnegimg.""; }}
if ($data['users_rep_puan'] > $repseviye['rep_seviye_2'] ) { if ($data['users_rep_puan'] < $repseviye['rep_seviye_3'] ) { echo "".$negimg.$negimg.$negimg.$negimg.$negimg.""; }}
if ($data['users_rep_puan'] > $repseviye['rep_seviye_3'] ) { if ($data['users_rep_puan'] < $repseviye['rep_seviye_4'] ) { echo "".$negimg.$negimg.$negimg.""; }}
if ($data['users_rep_puan'] == $repseviye['rep_seviye_4'] ) { echo "".$balimg.$balimg.$balimg.$balimg.$balimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_4'] ) { echo "".$posimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_5'] ) { echo "".$posimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_6'] ) { echo "".$posimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_7'] ) { echo "".$posimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_8'] ) { echo "".$posimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_9'] ) { echo "".$hposimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_10'] ) { echo "".$hposimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_11'] ) { echo "".$hposimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_12'] ) { echo "".$hposimg.""; }
if ($data['users_rep_puan'] > $repseviye['rep_seviye_13'] ) { echo "".$hposimg.""; }
echo "<span class='alt'><br><b>Rep Puanı: </b></span>";
if ($msj > 0 || $baslik > 0) {
echo "".((($msj) * ($baslik)) + $shout)."";
} else if ($msj == 0 || $baslik == 0) {
echo "".$shout."";
} else if ($baslik == 0) {
echo "".((($msj) * ($baslik + 1)) + $shout)."";
}
echo "<span class='alt'><br><b>Uyarı Seviyesi:</b></span>".show_warning()."\n<hr>";
$thanks = dbcount("(thanks_id)", "forum_thanks", "user_id='".$data['user_id']."'");
$thanked = dbcount("(thanks_id)", "forum_thanks JOIN ".$db_prefix."posts USING (post_id)", "post_author='".$data['user_id']."'");
$tposts = dbquery("SELECT * FROM ".$db_prefix."forum_thanks t1
JOIN ".$db_prefix."posts t2 ON t1.post_id=t2.post_id
WHERE post_author='".$data['user_id']."' GROUP BY t1.post_id"
);
if ($tposts) { $tposts = dbrows($tposts); }
echo "<span class='alt'>".$locale['THNK_001']."</span> {$thanks}<br>
<span class='alt'>".sprintf(($thanked == 1 ? ($tposts == 1 ? $locale['THNK_002'] : $locale['THNK_003']) : ($tposts == 1 ? $locale['THNK_003'] : $locale['THNK_004'])), "</span>{$thanked}<span class='alt'>", "</span>{$tposts}<span class='alt'>")."</span><hr>";
   
      if (iMEMBER) {
if ($userdata['user_posts'] > 30 || $data['user_posts'] > 30) {
if ($data['post_author'] != $userdata['user_id']) echo "$repver";
} else if ($userdata['user_posts'] < 30 || $data['user_posts'] < 30) { echo ""; }
}
//Reputation Mod v2 By Burak
echo "</td><td>
<table cellspacing='0' cellpadding='0' width='100%'>
<tr>
<td class='tbl1'>".$locale['505'].showdate("forumdate", $data['post_datestamp'])."</td>
<td align='right' class='tbl1'>
<form name='delpost".$data['post_id']."form' method='post' action='post.php?action=edit&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."'>
<input type='hidden' name='delete'>
<input type='hidden' name='savechanges'>
</form>\n";
      if (iMEMBER && $can_reply) {
         if (!$tdata['thread_locked']) {
            if (($userdata['user_id'] == $data['post_author'] && $can_edit) || iMOD || iSUPERADMIN) {
               echo "<a href='post.php?action=edit&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."'><img src='".THEME."forum/edit.gif' alt='".$locale['568']."' style='border:0px;'></a>
<a href='javascript:void(0)' onClick='return DeletePost(".$data['post_id'].");'><img src='".THEME."forum/delete.gif' alt='Delete' style='border:0px;'></a>\n";
            }
            echo "<a href='post.php?action=reply&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id'].""e=".$data['post_id']."'><img src='".THEME."forum/quote.gif' alt='".$locale['569']."' style='border:0px;'></a>\n";
            if (iMOD || iSUPERADMIN && $data['post_ip'] != "0.0.0.0" && file_exists(THEME."forum/ip.gif")) echo "<img src='".THEME."forum/ip.gif' alt='".$locale['570']."' title='".$data['post_ip']."' style='border:0px;'>\n";
         } else {
            if (iMOD || iSUPERADMIN) {
               echo "<a href='post.php?action=edit&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."'><img src='".THEME."forum/edit.gif' alt='".$locale['568']."' style='border:0px;'></a>
<a href='javascript:void(0)' onClick='return DeletePost(".$data['post_id'].");'><img src='".THEME."forum/delete.gif' alt='Delete' style='border:0px;'></a>\n";
               if ($data['post_ip'] != "0.0.0.0" && file_exists(THEME."forum/ip.gif")) echo "<img src='".THEME."forum/ip.gif' alt='".$locale['570']."' title='".$data['post_ip']."' style='border:0px;'>\n";
            }
         }
      }
      echo "</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign='top' height='$height' class='tbl1'>
$message";
      if ($data['attach_id']) {
         if (in_array($data['attach_ext'], $imagetypes) && @getimagesize(FORUM."attachments/".$data['attach_name'])) {
            echo "<hr>\n".$data['user_name'].$locale['506']."<br><br>\n<img src='".FORUM."attachments/".$data['attach_name']."'>";
         } else {
            echo "<hr>\n".$data['user_name'].$locale['507']."<br>\n<a href='".FUSION_SELF."?forum_id=$forum_id&thread_id=$thread_id&getfile=".$data['post_id']."'>".$data['attach_name']."</a>";
         }
      }
      if ($data['post_edittime'] != "0") {
         echo "<hr>\n".$locale['508'].$edituser.$locale['509']."$edittime";
      }
echo "</td></tr>
<tr>
<td class='tbl1'>\n";
      echo "<a href='#top'><img src='".THEME."forum/pageup.gif' alt='Yukarı' title='Yukarı'></a> ";
      if ($data['user_aim'] && file_exists(THEME."forum/aim.gif")) {
         echo "<a href='aim:goim?screenname=".str_replace(" ", "+", $data['user_aim'])."' target='_blank'><img src='".THEME."forum/aim.gif' alt='".$data['user_aim']."' style='border:0px;'></a> ";
      }
      if ($data['user_icq']) {
         echo "<a href='http://web.icq.com/wwp?Uin=".$data['user_icq']."' target='_blank'><img src='".THEME."forum/icq.gif' alt='".$data['user_icq']."' style='border:0px;'></a> ";
      }
      if ($data['user_msn']) {
         echo "<a href='mailto:$data[user_msn]'><img src='".THEME."forum/msn.gif' alt='".$data['user_msn']."' style='border:0px;'></a> ";
      }
      if ($data['user_yahoo']) {
         echo "<a href='http://uk.profiles.yahoo.com/$data[user_yahoo]' target='_blank'><img src='".THEME."forum/yahoo.gif' alt='".$data['user_yahoo']."' style='border:0px;'></a> ";
      }
      if ($data['user_web']) {
         if (!strstr($data['user_web'], "http://")) { $urlprefix = "http://"; } else { $urlprefix = ""; }
         echo "<a href='".$urlprefix."".$data['user_web']."' target='_blank'><img src='".THEME."forum/web.gif' alt='".$data['user_web']."' style='border:0px;'></a> ";
      }
echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='".$locale['571']."' style='border:0px;'></a>";
if (iMEMBER && $can_post) { echo " <a href='post.php?action=thanks&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."'><img src='".THEME."forum/thanks.gif' alt='".$locale['THNK_000']."' style='border:0px;'></a>\n"; }
echo "</td>\n</tr>\n";
$result2 = dbquery("SELECT t1.user_id, t2.user_name FROM ".$db_prefix."forum_thanks AS t1
JOIN ".$db_prefix."users AS t2 USING (user_id) WHERE post_id='".$data['post_id']."' ORDER BY thanks_id"
);
$thanks = dbrows($result2);
if ($thanks != 0) {
echo "<tr>\n<td colspan='2' align='center' class='tbl1'>".sprintf(($thanks == 1 ? $locale['THNK_005'] : $locale['THNK_006']), "<b>{$thanks}</b>", "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a>")." \n";
$tcount = 0;
while($data2 = dbarray($result2)) {
echo ($tcount != 0 ? ",\n " : "")."<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'>".$data2['user_name']."</a>";
$tcount ++;
}
echo "</td>\n</tr>\n";
}
echo "</table>\n";
tablebreak();
echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n";
   }
}

echo "</table>\n";

/* end fusion style */




} else {



/* begin vbulletin style */

echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>\n";

if ($rows != 0) {
   $result = dbquery(
      "SELECT p.*, fa.attach_id, fa.attach_name, fa.attach_ext, fa.attach_size, u.*, u2.user_name AS edit_name FROM ".$db_prefix."posts p
      LEFT JOIN ".$db_prefix."forum_attachments fa USING(post_id)
      LEFT JOIN ".$db_prefix."users u ON p.post_author = u.user_id
      LEFT JOIN ".$db_prefix."users u2 ON p.post_edituser = u2.user_id AND post_edituser > '0'
      WHERE p.thread_id='$thread_id' ORDER BY post_datestamp LIMIT $rowstart,$posts_per_page"
   );
   $numrows = dbrows($result);
   while ($data = dbarray($result)) {
      $message = $data['post_message'];
      if ($data['post_showsig']) { $message = $message."\n\n<hr>".$data['user_sig']; }
      if ($data['post_smileys']) { $message = parsesmileys($message); }
      $message = parseubb_extra($message);
      $message = parseubb($message);
      $message = nl2br($message);
      if ($data['post_edittime'] != "0") {
         $edituser = "<a href='../profile.php?lookup=".$data['post_edituser']."'>".$data['edit_name']."</a>";
         $edittime = showdate("forumdate", $data['post_edittime']);
      }
      $is_mod = in_array($data['user_id'], $forum_mods) && $data['user_level'] < "102" ? true : false;
      echo "<tr>
<td class='tbl2' colspan='2'><a name='post_".$data['post_id']."' id='post_".$data['post_id']."'></a>".$data['post_subject']." -
".$locale['505'].showdate("forumdate", $data['post_datestamp'])."</td>
</tr>
<tr>
<td colspan='2'>
<table cellspacing='0' cellpadding='0' width='100%' class='tbl-border'>
<tr>
<td width='100px' valign='middle' class='tbl1'>";
if ($data['user_avatar'] != "") {
   echo "<center><img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'></center>\n";
} else {
   echo "<center><img src='".FORUM."images/noav.gif' alt='".$locale['567']."'></center>\n";
}
echo "</td>
<td align='left' class='tbl1' valign='top'>
<span style='font-size: 24px;'><a href='../profile.php?lookup=".$data['user_id']."'>";
if ($data[user_level]=="103"){
$user="<center><font size='3px' color=#cc0000><b>$data[user_name]</b></center></font>";
} else if ($data[user_level]== "102"){
$user="<center><font size='3px' color=#e55b3c><b>$data[user_name]</b></center></font>";
} else if ($data[user_level]=="101"){
$user="<center><font size='3px' color=#0066ff><b>$data[user_name]</b></center></font>";
}
$moderator_user = "<center><font size='3px' color=#4cc417><b>$data[user_name]</b></center></font>";
echo "".($is_mod ? $moderator_user : $user)."</a>
" . ($fboardControl['fbc_ranks'] == "1" ? getRank($data['user_id']) : ""). "
".($fboardControl['fbc_medals'] == "1" ? $locale['fb_a100']."<br />
".show_medals($data['user_id']) : "")."
</td><td align='right' class='tbl1' valign='top'>";
show_level();
echo "<br><br>\n";
   
   echo "<span class='alt'><hr><b>Cinsiyet:</b></span> ".($data['user_gender'] != 0 ? ($data['user_gender'] == 1 ? $locale['UGM_001'] : $locale['UGM_002']) : $locale['u048'])."<br>\n";
   echo "<span class='alt'><b>Üye No:</b></span> ".$data['user_id']."<br>\n";
   echo "<span class='alt'>".$locale['502']."</span> ".$data['user_posts']."<br>\n";
   $konusay = dbcount("(thread_id)", "threads", "thread_author='".$data['user_id']."'");
   echo " <font color='#555555'><b>Açtığı Konu Sayısı:</b></font>".$konusay."\n";
      if ($data['user_location']) {
         if (!isset($ft_csm['user'][$data['user_id']])) { $ft_csm['user'][$data['user_id']] = csm_getLocation($data['user_location']); }
         echo "<span class='alt'>".$locale['503']."</span> ".$ft_csm['user'][$data['user_id']]."<br>\n";
      }   echo "<span class='alt'>".$locale['504']."</span> ".showdate("%d.%m.%y", $data['user_joined'])."\n<br /><br />";
echo show_warning();
echo "</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign='top' class='tbl1' colspan='2'>
$message";
      if ($data['attach_id']) {
         if (in_array($data['attach_ext'], $imagetypes) && @getimagesize(FORUM."attachments/".$data['attach_name'])) {
            echo "<hr>\n".$data['user_name'].$locale['506']."<br><br>\n<img src='".FORUM."attachments/".$data['attach_name']."'>";
         } else {
            echo "<hr>\n".$data['user_name'].$locale['507']."<br>\n<a href='".FUSION_SELF."?forum_id=$forum_id&thread_id=$thread_id&getfile=".$data['post_id']."'>".$data['attach_name']."</a>";
         }
      }
      if ($data['post_edittime'] != "0") {
         echo "<hr>\n".$locale['508'].$edituser.$locale['509']."$edittime";
      }
echo "</td></tr>
<tr>
<td class='tbl1'>\n";
      if ($data['user_aim'] && file_exists(THEME."forum/aim.gif")) {
         echo "<a href='aim:goim?screenname=".str_replace(" ", "+", $data['user_aim'])."' target='_blank'><img src='".THEME."forum/aim.gif' alt='".$data['user_aim']."' style='border:0px;'></a> ";
      }
      if ($data['user_icq']) {
         echo "<a href='http://web.icq.com/wwp?Uin=".$data['user_icq']."' target='_blank'><img src='".THEME."forum/icq.gif' alt='".$data['user_icq']."' style='border:0px;'></a> ";
      }
      if ($data['user_msn']) {
         echo "<a href='mailto:$data[user_msn]'><img src='".THEME."forum/msn.gif' alt='".$data['user_msn']."' style='border:0px;'></a> ";
      }
      if ($data['user_yahoo']) {
         echo "<a href='http://uk.profiles.yahoo.com/$data[user_yahoo]' target='_blank'><img src='".THEME."forum/yahoo.gif' alt='".$data['user_yahoo']."' style='border:0px;'></a> ";
      }
      if ($data['user_web']) {
         if (!strstr($data['user_web'], "http://")) { $urlprefix = "http://"; } else { $urlprefix = ""; }
         echo "<a href='".$urlprefix."".$data['user_web']."' target='_blank'><img src='".THEME."forum/web.gif' alt='".$data['user_web']."' style='border:0px;'></a> ";
      }
      echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='".$locale['571']."' style='border:0px;'></a>";
if (iMEMBER && $can_post) {
         
         if (!$tdata['thread_locked']) {
            echo "</td><td class='tbl1' align='right' width='165px'>";
            if ($userdata['user_id'] == $data['post_author'] || iMOD || iSUPERADMIN) {
               echo "<a href='post.php?action=edit&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."'><img src='".THEME."forum/edit.gif' alt='".$locale['568']."' style='border:0px;'></a>\n";
            }
            echo "<a href='post.php?action=reply&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id'].""e=".$data['post_id']."'><img src='".THEME."forum/quote.gif' alt='".$locale['569']."' style='border:0px;'></a>\n";
            if (iMOD || iSUPERADMIN && $data['post_ip'] != "0.0.0.0" && file_exists(THEME."forum/ip.gif")) echo "<img src='".THEME."forum/ip.gif' alt='".$locale['570']."' title='".$data['post_ip']."' style='border:0px;'>\n";
         } else {
            if (iMOD || iSUPERADMIN) {
               if($tdata['thread_locked']) echo "</td><td class='tbl1' align='right' width='165px'>";
               echo "<a href='post.php?action=edit&forum_id=$forum_id&thread_id=".$data['thread_id']."&post_id=".$data['post_id']."'><img src='".THEME."forum/edit.gif' alt='".$locale['568']."' style='border:0px;'></a>\n";
               if ($data['post_ip'] != "0.0.0.0" && file_exists(THEME."forum/ip.gif")) echo "<img src='".THEME."forum/ip.gif' alt='".$locale['570']."' title='".$data['post_ip']."' style='border:0px;'>\n";
            }
         }
      }
echo "</td>
</tr>\n";
   }
}

echo "</table>\n";

/* end fusion style */
}

if ($rows > $posts_per_page) {
   echo "<div align='center' style='margin-top:5px;'>
".makePageNav($rowstart,$posts_per_page,$rows,3,FUSION_SELF."?forum_id=$forum_id&thread_id=$thread_id&")."
</div>\n";
}

echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top:5px;'>\n<tr>\n";
$forum_list = ""; $current_cat = "";
$result = dbquery(
   "SELECT f.forum_id, f.forum_name, f2.forum_name AS forum_cat_name
   FROM ".$db_prefix."forums f
   INNER JOIN ".$db_prefix."forums f2 ON f.forum_cat=f2.forum_id
   WHERE ".groupaccess('f.forum_access')." AND f.forum_cat!='0' ORDER BY f2.forum_order ASC, f.forum_order ASC"
);
while ($data = dbarray($result)) {
   if ($data['forum_cat_name'] != $current_cat) {
      if ($current_cat != "") $forum_list .= "</optgroup>\n";
      $current_cat = $data['forum_cat_name'];
      $forum_list .= "<optgroup label='".$data['forum_cat_name']."'>\n";
   }
   $sel = ($data['forum_id'] == $fdata['forum_id'] ? " selected" : "");
   $forum_list .= "<option value='".$data['forum_id']."'$sel>".$data['forum_name']."</option>\n";
}
$forum_list .= "</optgroup>\n";
echo "<td align='left' class='tbl'>".$locale['540']."<br>
<select name='jump_id' class='textbox' onChange=\"jumpForum(this.options[this.selectedIndex].value);\">
$forum_list</select></td>\n";

if (iMEMBER && ($can_post || $can_reply)) {
   if (iMOD || iSUPERADMIN) {
      echo "<td align='right' class='tbl'>
<form name='modopts' method='post' action='options.php?forum_id=$forum_id&thread_id=$thread_id'>
".$locale['520']."<br>
<select name='step' class='textbox'>
<option value='none'> </option>
<option value='renew'>".$locale['527']."</option>
<option value='delete'>".$locale['521']."</option>\n";
      if (!$tdata['thread_locked']) {
         echo "<option value='lock'>".$locale['522']."</option>\n";
      } else {
         echo "<option value='unlock'>".$locale['523']."</option>\n";
      }
      if (!$tdata['thread_sticky']) {
         echo "<option value='sticky'>".$locale['524']."</option>\n";
      } else {
         echo "<option value='nonsticky'>".$locale['525']."</option>\n";
      }
      echo "<option value='move'>".$locale['526']."</option>\n";
      echo "</select>
<input type='submit' name='go' value='".$locale['528']."' class='button'>
<br><center><iframe src='http://imageshack.us/iframe.php?txtcolor=111111&type=blank&size=30' scrolling='no' allowtransparency='true' frameborder='0' width='280' height='90'> ImageShack.us'dan anında resim yüklemek için tarayıcınızı güncellemelisiniz</iframe></center>
</form>
</td>
</tr>\n";
   }
}
echo "</table>\n";
if (iMEMBER) {
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   if ($settings['thread_notify']) {
      echo "<td valign='top' class='tbl'>";
      if (dbcount("(thread_id)", "thread_notify", "thread_id='$thread_id' AND notify_user='".$userdata['user_id']."'")) {
         $result = dbquery("UPDATE ".$db_prefix."thread_notify SET notify_datestamp='".time()."', notify_status='1' WHERE thread_id='$thread_id' AND notify_user='".$userdata['user_id']."'");
         $notify_link = "<a href='postify.php?post=off&forum_id=$forum_id&thread_id=$thread_id'>".$locale['515']."</a>";
      } else {
         $notify_link = "<a href='postify.php?post=on&forum_id=$forum_id&thread_id=$thread_id'>".$locale['516']."</a>";
      }
      echo "$notify_link</td>\n";
   }
   
if ($can_post || $can_reply) {
      echo "<td align='right' class='tbl'>";
      if (!$tdata['thread_locked'] && $can_reply) {
         echo "<a href='post.php?action=reply&forum_id=$forum_id&thread_id=$thread_id'><img src='".THEME."forum/reply.gif' alt='".$locale['565']."' style='border:0px;'></a>\n";
      }
      if ($can_post)
{
   echo "<a href='post.php?action=newthread&forum_id=$forum_id'><img src='".THEME."forum/newthread.gif' alt='".$locale['566']."' style='border:0px;'></a>\n";
}
      echo "</td>\n";
   }
   echo "</tr>\n</table>\n";
}
closetable();
echo "<a name='rate' id='rate'></a>";
showratings("F",$thread_id,FUSION_SELF."?".FUSION_QUERY);

if (iMEMBER && $can_reply && !$tdata['thread_locked']) {

echo "<br />";
opentable($locale['512']);
$useAdvancedEditor = $settings['adv_edit_enabled'];
if ($useAdvancedEditor){
echo "<script type='text/javascript' language='JavaScript' src='".INCLUDES."pf_editor.js'></script>
<script type='text/javascript' language='JavaScript' src='".INCLUDES."pf_editor_std.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
// Helpline messages
default_help = 'Tip: Butonların üzerine mouse ile gelerek nasıl kullanabileceğinizi görebilirsiniz';
b_help = 'Bold: Kalınlaştırılmasını istediğiniz metin';
i_help = 'Italic: Eğik görüntülenmesini istediğiniz metin';
u_help = 'Underline: Altı çizili grünmesini istediğiniz metin';
url_help = 'URL: [url]Sayfanın adresi[/url]   veya şu şekildede kullanabilirsiniz [url=sayfanın adresi]Link üstünde görünmesini istediğiniz metin[/url]';
mail_help = 'Email: [email]Buraya e-mail adresini yazın[/email]';
img_help = 'Image: [img]Resmin tam linkini buraya yazın[/img]';
center_help= 'Center: [align=center]Ortalanmasını istediğiniz metin[/align]';
small_help= 'Small: Small Text';
code_help = 'Code:
Kaynağı İndir  Kod
Kodu buraya yazın


';
quote_help = 'Quote:
Alıntı yapılacak metin
';
php_help = 'PHP: [php]PHP Kodu[/php]';
smileys_help = 'Smileys: Buraya tıklayarak ifadeleri görebilirsiniz';
mp3_help='mp3: [mp3]Buraya mp3 linkini tam şekilde yazmalısınız[/mp3]';
sebeb_help='sebeb: [sebeb] Buraya konunun kilitlenme sebebini yazınız[/sebeb]';
flash_help='flash: [flash]Buraya videonun linkini yazın[/flash] ';
hide_help='hide: ';
youtube_help = 'youtube: [youtube]Buraya youtube videosunun linkini yazın[/youtube]';
gvideo_help = 'gvideo: [gvideo]Buraya google videosunun linkini yazın[/gvideo]';
geshi_help = 'geshi: [geshi]Buraya php kodu gelecek.[/geshi]';
user_help = 'user: [user]Buraya üye numarası gelecek.[/user]';
google_help = 'google: [google]Buraya googleda aranmasını istediğiniz kelimeyi yazın.[/google]';
s_help = 's: [s]Buraya üzeri çizilecek metni yazın.[/s]';
kaykay = 'kayan link: [kay]kaydırmak istediğiniz yazıyı yazınız.[/kay]';
// Shows the help messages in the helpline window
function helpline(help) {
document.inputform.helpbox.value = eval(help + '_help');
}
//-->
</script>";
}

echo "<form name='inputform' method='post' action='".FUSION_SELF."?forum_id=$forum_id&thread_id=$thread_id'>
<table align='center' cellpadding='0' cellspacing='1' class='tbl-border'>
<tr>
<td align='center' class='tbl1'><textarea id='postcontent' name='message' cols='80' rows='7' class='textbox'></textarea><br />";
if ($useAdvancedEditor){
echo "<input type='image' src='images/bbcode/bold.gif' class='button' onmouseover=\"helpline('b');\" onclick=\"addText('message',
'', '');return false;\" />
<input type='image' src='images/bbcode/italic.gif' class='button' onmouseover=\"helpline('i');\" onclick=\"addText('message', '',
'
');return false;\" />
<input type='image' src='images/bbcode/under.gif' class='button' onmouseover=\"helpline('u');\" onclick=\"addText('message', '',
'
');return false;\" />
<input type='image' src='images/bbcode/s.gif' class='button' onmouseover=\"helpline('s');\" onclick=\"addText('message', '[s]',
'[/s]');return false;\" />
<input type='image' src='images/bbcode/url.gif' class='button' onmouseover=\"helpline('url');\" onclick=\"addText('message', '[url]',
'[/url]');return false;\" />
<input type='image' src='images/bbcode/mail.gif' class='button' onmouseover=\"helpline('mail');\" onclick=\"addText('message',
'[mail]', '[/mail]');return false;\" />
<input type='image' src='images/bbcode/img.gif' class='button' onmouseover=\"helpline('img');\" onclick=\"addText('message', '[img]',
'[/img]');return false;\" />
<input type='image' src='images/bbcode/center.gif' class='button' onmouseover=\"helpline('center');\" onclick=\"addText('message',
'
', '
');return false;\" />
<input type='image' src='images/bbcode/small.gif' class='button' onmouseover=\"helpline('small');\" onclick=\"addText('message',
'', '');return false;\" />
<input type='image' src='images/bbcode/code.gif' class='button' onmouseover=\"helpline('code');\" onclick=\"addText('message',
'
Kaynağı İndir  Kod
', '


');return false;\" />
<input type='image' src='images/bbcode/quote.gif' class='button' onmouseover=\"helpline('quote');\" onclick=\"addText('message',
'
', '
');return false;\" />
<input type='image' src='images/bbcode/php.gif' class='button' onmouseover=\"helpline('php');\" onclick=\"addText('message', '[php]',
'[/php]');return false;\" /><br>
<input type='image' src='images/bbcode/youtube.gif' class='button' onmouseover=\"helpline('youtube');\" onclick=\"addText('message', '[youtube]',
'[/youtube]');return false;\" />
<input type='image' src='images/bbcode/google2.gif' class='button' onmouseover=\"helpline('google');\" onclick=\"addText('message',
'[google]', '[/google]');return false;\" />
<input type='image' src='images/bbcode/gvideo.gif' class='button' onmouseover=\"helpline('gvideo');\" onclick=\"addText('message', '[gvideo]',
'[/gvideo]');return false;\" />
<input type='image' src='images/bbcode/sebeb.gif' class='button' onmouseover=\"helpline('sebeb');\" onclick=\"addText('message',
'[sebeb]', '[/sebeb]');return false;\" />
<input type='image' src='images/bbcode/flash.gif' class='button' onmouseover=\"helpline('flash');\" onclick=\"addText('message',
'[flash]', '[/flash]');return false;\" />
<input type='image' src='images/bbcode/hide.gif' class='button' onmouseover=\"helpline('hide');\" onclick=\"addText('message',
'');return false;\" />
<input type='image' src='images/bbcode/mp3.gif' class='button' onmouseover=\"helpline('mp3');\" onclick=\"addText('message',
'[mp3]', '[/mp3]');return false;\" />
<input type='image' src='images/bbcode/geshi.gif' class='button' onmouseover=\"helpline('geshi');\" onclick=\"addText('message',
'[geshi]', '[/geshi]');return false;\" />
<input type='image' src='images/bbcode/smiley.gif' class='button' onmouseover=\"helpline('smileys');\" onclick=\"return overlay(this,
'smiley', 'rightbottom')\" />
<div class='tbl1' align='center' id='smiley' style='background-image:url(../infusions/shoutbox_panel/images/sb_bg.gif);
position:absolute; display:none; border: 1px solid black; width: 200px; height: auto;'>
".displaysmileys("message", "smiley")."
</div>
<br />
<input type='text' name='helpbox' size='45' maxlength='100' style='width:450px;' class='textbox' value='Tip: Styles can be applied
quickly to selected text' />";
} else {
echo "<input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick=\"addText('message', '',
'
');\">
<input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick=\"addText('message', '', '');\">
<input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick=\"addText('message', '',
'
');\">
<input type='button' value='s' class='button' style='width:30px;' onClick=\"addText('message', '[s]', '[/s]');\">
<input type='button' value='url' class='button' style='width:30px;' onClick=\"addText('message', '[url]', '[/url]');\">
<input type='button' value='mail' class='button' style='width:35px;' onClick=\"addText('message', '[mail]', '[/mail]');\">
<input type='button' value='img' class='button' style='width:30px;' onClick=\"addText('message', '[img]', '[/img]');\">
<input type='button' value='center' class='button' style='width:45px;' onClick=\"addText('message', '
', '
');\">
<input type='button' value='small' class='button' style='width:40px;' onClick=\"addText('message', '', '');\">
<input type='button' value='code' class='button' style='width:40px;' onClick=\"addText('message', '[code]', '


');\">
<input type='button' value='php' class='button' style='width:40px;' onClick=\"addText('message', '[php]', '[/php]');\">
<input type='button' value='youtube' class='button' style='width:40px;' onClick=\"addText('message', '[youtube]', '[/youtube]');\">
<input type='button' value='gvideo' class='button' style='width:40px;' onClick=\"addText('message', '[gvideo]', '[/gvideo]');\">
<input type='button' value='quote' class='button' style='width:45px;' onClick=\"addText('message', '
', '
');\">
<input type='button' value='sebep' class='button' style='width:45px;' onClick=\"addText('message', '[sebep]', '[/sebep]');\">
<input type='button' value='flash' class='button' style='width:45px;' onClick=\"addText('message', '[flash]', '[/flash]');\">
<input type='button' value='hide' class='button' style='width:45px;' onClick=\"addText('message', '');\">
<input type='button' value='mp3' class='button' style='width:45px;' onClick=\"addText('message', '[mp3]', '[/mp3]');\">
<input type='button' value='geshi' class='button' style='width:30px;' onClick=\"addText('message', '[geshi]', '[/geshi]');\">
<input type='button' value='google' class='button' style='width:30px;' onClick=\"addText('message', '[google]', '[/google]');\">
<input type='button' value='user' class='button' style='width:30px;' onClick=\"addText('message', '[user]', '[/user]');\">";
}

echo "</td>
</tr>
<tr>
<td align='center' class='tbl2'>".(!$useAdvancedEditor ? displaysmileys("messa