Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
838
ME_Haber 2.3 ..(108684 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(121759 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13608 okuma, 6 yanıt) nukecode.com will close ..(11192 okuma, 5 yanıt) super youtube player a lo ..(6334 okuma, 1 yanıt) Need good PHP Haber port ..(5602 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35101 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(9932 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(10974 okuma, 6 yanıt) Aşk Flashları Modülü ..(6975 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11413 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32365 okuma, 36 yanıt) ürün tanıtım modülü ..(25218 okuma, 23 yanıt) PHP Nuke is out ..(14994 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5194 okuma, 0 yanıt) haberhit.com ..(5785 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(51914 okuma, 72 yanıt) Musıc Box elinde olan var ..(6682 okuma, 2 yanıt) Online Okey , Batak , Tav ..(173144 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12275 okuma, 8 yanıt) WM who ist shampions ..(5040 okuma, 1 yanıt) coppermine resim galerisi ..(5480 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9062 okuma, 7 yanıt) free wordpress themes ..(5573 okuma, 1 yanıt) JW image rotator for nsn ..(7642 okuma, 4 yanıt) need Iletisim module ..(11003 okuma, 8 yanıt) Yeni modul: İletişim modu ..(27648 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5827 okuma, 1 yanıt) world cup flash ..(5040 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(4936 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5160 okuma, 1 yanıt) Content Plus Önceki Konu ..(4769 okuma, 0 yanıt) Php nuke Tickets Modülü ..(7972 okuma, 5 yanıt) need help to news time ..(4540 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4827 okuma, 0 yanıt) how to save flash as imag ..(6037 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(5981 okuma, 2 yanıt) gazete ara ..(9785 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(14940 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14532 okuma, 14 yanıt) CNB Your Account 750 442 ..(14221 okuma, 13 yanıt) Admin panelindeki simge ç ..(12321 okuma, 9 yanıt) Hosting Modülü ..(14009 okuma, 13 yanıt) Bizim şairler Modülü ..(5178 okuma, 1 yanıt) new plugin for nsn news v ..(4755 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(6916 okuma, 3 yanıt) Kan Bankası Modül istek ..(6130 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5751 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7052 okuma, 3 yanıt) sonhaberler flash block ..(6619 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - AnaSayfadaki Aktif Forum Sayısını Artırmak
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
testes Mesaj: 1+
Kayıt: Aug 04, 2005 Mesajlar: 17 Konum: asıkların şehrinden
Tarih: 2006-02-01, 21:17:27 Mesaj konusu: AnaSayfadaki Aktif Forum Sayısını Artırmak
Arkadaşlar Ben Anasayfamdaki 5 Aktif Forumu 20miye çevirmek istiyorum Nasıl Yapabilirim işte Kodlar
Kod:
<?php
if (eregi("block-BlackW_Forums.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $dbi, $sitename, $admin;
$HideViewReadOnly = 1;
$Last_New_Topics = 5;
$show = " <tr>
<td height=\"28\" colspan=\"6\" align=\"center\" class=\"catbottom\" background=\"themes/BlackW/forums/images/cellpic3.gif\"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>";
$Count_Topics = 0;
$Topic_Buffer = "";
$result = sql_query( "SELECT topic_id, forum_id, topic_last_post_id, topic_title, topic_poster, topic_views, topic_replies, topic_moved_id FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC", $dbi );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = sql_fetch_row( $result, $dbi ) )
{
$skip_display = 0;
if( $HideViewReadOnly == 1 )
{
$result1 = sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'", $dbi );
list( $auth_view, $auth_read ) = sql_fetch_row( $result1, $dbi );
if( ( $auth_view != 0 ) or ( $auth_read != 0 ) ) { $skip_display = 1; }
}
if( $topic_moved_id != 0 )
{
// Shadow Topic !!
$skip_display = 1;
}
if( $skip_display == 0 )
{
$Count_Topics += 1;
$result2 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi);
list($username, $user_id)=sql_fetch_row($result2, $dbi);
$avtor=$username;
$sifra=$user_id;
$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
list($poster_id, $post_time)=sql_fetch_row($result3, $dbi);
$result4 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'", $dbi);
list($username, $user_id)=sql_fetch_row($result4, $dbi);
$viewlast .=" <tr>
<td height=\"30\" nowrap bgcolor=\"#2A2A2A\" class=\"row1\"><img src=\"themes/BlackW/forums/images/folder_new.gif\" border=\"0\" /></td>
<td width=\"100%\" bgcolor=\"#2A2A2A\" class=\"row1\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id#$topic_last_post_id\">$topic_title</a></td>
<td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_replies</td>
<td align=\"center\" bgcolor=\"#2A2A2A\" class=\"row3\"><a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$sifra\">$avtor</a></td>
<td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_views</td>
<td align=\"center\" nowrap bgcolor=\"#363636\" class=\"row3\"><font size=\"-2\"><i> $post_time </i></font><br>
<a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\">$username</a> <a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"><img src=\"themes/BlackW/forums/images/icon_minipost_new.gif\" border=\"0\"></a></td>
</tr>";
}
if( $Last_New_Topics == $Count_Topics ) { break 1; }
}
$content .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\">
<tr>
<th height=\"25\" colspan=\"2\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerl\"><font color=\"#DCDCDC\"><strong>Topics</strong></font></th>
<th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong> Replies </strong></font></th>
<th width=\"100\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong> Author </strong></font></th>
<th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong> Views </strong></font></th>
<th align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerr\"><font color=\"#DCDCDC\"><strong> Last Post </strong></font></th>
</tr>";
$content .= "$viewlast";
$content .= "$show";
?>
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-18, 02:30:17 Mesaj konusu: Forum Arası Reklamlar
Başa dön
aslanonur Mesaj: 1000+
Kayıt: Apr 03, 2005 Mesajlar: 1904 Konum: İzmir
Tarih: 2006-02-01, 21:19:41 Mesaj konusu:
Kod:
<?php
if (eregi("block-BlackW_Forums.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $dbi, $sitename, $admin;
$HideViewReadOnly = 1;
$Last_New_Topics = 20;
$show = " <tr>
<td height=\"28\" colspan=\"6\" align=\"center\" class=\"catbottom\" background=\"themes/BlackW/forums/images/cellpic3.gif\"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>";
$Count_Topics = 0;
$Topic_Buffer = "";
$result = sql_query( "SELECT topic_id, forum_id, topic_last_post_id, topic_title, topic_poster, topic_views, topic_replies, topic_moved_id FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC", $dbi );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = sql_fetch_row( $result, $dbi ) )
{
$skip_display = 0;
if( $HideViewReadOnly == 1 )
{
$result1 = sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'", $dbi );
list( $auth_view, $auth_read ) = sql_fetch_row( $result1, $dbi );
if( ( $auth_view != 0 ) or ( $auth_read != 0 ) ) { $skip_display = 1; }
}
if( $topic_moved_id != 0 )
{
// Shadow Topic !!
$skip_display = 1;
}
if( $skip_display == 0 )
{
$Count_Topics += 1;
$result2 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi);
list($username, $user_id)=sql_fetch_row($result2, $dbi);
$avtor=$username;
$sifra=$user_id;
$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
list($poster_id, $post_time)=sql_fetch_row($result3, $dbi);
$result4 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'", $dbi);
list($username, $user_id)=sql_fetch_row($result4, $dbi);
$viewlast .=" <tr>
<td height=\"30\" nowrap bgcolor=\"#2A2A2A\" class=\"row1\"><img src=\"themes/BlackW/forums/images/folder_new.gif\" border=\"0\" /></td>
<td width=\"100%\" bgcolor=\"#2A2A2A\" class=\"row1\"> <a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id#$topic_last_post_id\">$topic_title</a></td>
<td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_replies</td>
<td align=\"center\" bgcolor=\"#2A2A2A\" class=\"row3\"><a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$sifra\">$avtor</a></td>
<td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_views</td>
<td align=\"center\" nowrap bgcolor=\"#363636\" class=\"row3\"><font size=\"-2\"><i> $post_time </i></font><br>
<a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\">$username</a> <a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"><img src=\"themes/BlackW/forums/images/icon_minipost_new.gif\" border=\"0\"></a></td>
</tr>";
}
if( $Last_New_Topics == $Count_Topics ) { break 1; }
}
$content .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\">
<tr>
<th height=\"25\" colspan=\"2\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerl\"><font color=\"#DCDCDC\"><strong>Topics</strong></font></th>
<th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong> Replies </strong></font></th>
<th width=\"100\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong> Author </strong></font></th>
<th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong> Views </strong></font></th>
<th align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerr\"><font color=\"#DCDCDC\"><strong> Last Post </strong></font></th>
</tr>";
$content .= "$viewlast";
$content .= "$show";
?>
Denemedim ama çalışacaktır :)
Bilirsiniz asidin üzerine baz döktüm maksat PH olsun diye ?
Başa dön
testes Mesaj: 1+
Kayıt: Aug 04, 2005 Mesajlar: 17 Konum: asıkların şehrinden
Tarih: 2006-02-01, 21:26:41 Mesaj konusu:
aga tamam şimdi gördüm demin arama yapmıstım 5 i bulmamıstı o yuzden saolasın yinede
Başa dön
aslanonur Mesaj: 1000+
Kayıt: Apr 03, 2005 Mesajlar: 1904 Konum: İzmir
Tarih: 2006-02-01, 21:29:10 Mesaj konusu:
Çalıştı dimi ben sadece News Topics i görünce :) hemen atladım ama :)
Başa dön
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız