Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1155
??? Sitem deki Haberleri ..(25559 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16541 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37268 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21021 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14161 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(17941 okuma, 15 yanıt) üye aktivasyon ..(10699 okuma, 8 yanıt) Facebook tarzı altbar... ..(6301 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6576 okuma, 2 yanıt) Resimli RSS ..(23339 okuma, 25 yanıt) Onay linkini kaldirmak ..(11128 okuma, 8 yanıt) Yardım :( Site açılırken ..(6691 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8346 okuma, 4 yanıt) block genişliği ..(5740 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14499 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7348 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9474 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10549 okuma, 8 yanıt) ethai1 3 ..(13263 okuma, 10 yanıt) Yeni PEHASPESEO ..(70373 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(37987 okuma, 36 yanıt) tek modul için sağ ve sol ..(11459 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10643 okuma, 8 yanıt) Phpden iyi anlayan ..(5478 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(73791 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29821 okuma, 40 yanıt) Toplu üyelik silme? ..(11179 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12469 okuma, 11 yanıt) bloğu kayan hale getirmek ..(5995 okuma, 2 yanıt) Makale modulu ..(8624 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86044 okuma, 121 yanıt) title değiştirme ..(10414 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10085 okuma, 6 yanıt) Php Nuke 8.1 ..(4371 okuma, 0 yanıt) merhaba ..(10335 okuma, 9 yanıt) Anasayfa için boş modül o ..(13617 okuma, 13 yanıt) admin panelinde Access De ..(6447 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26567 okuma, 25 yanıt) Nuke Tema yapilisi ..(17187 okuma, 16 yanıt) Mavisce-net temasina bann ..(8774 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6664 okuma, 2 yanıt) coppermine hata ..(10760 okuma, 8 yanıt) içerik tanıtımı ..(6326 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7212 okuma, 3 yanıt) google keywords ..(9021 okuma, 6 yanıt) 8.0'da html sorunu ..(5525 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54589 okuma, 76 yanıt) üye olunurken gereksiz is ..(10074 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6387 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10569 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - block Advanced Center Forum
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
bir_umut Mesaj: 200+
Kayıt: Aug 09, 2005 Mesajlar: 272 Konum: phpnuketurkiye
Tarih: 2008-03-23, 20:34:54 Mesaj konusu: block Advanced Center Forum
arkadaşlar block advanced center forumda bildiginiz gibi foruma açılan son 10 mesajı gösteriyor bunu azaltabilirmiyiz azaltabiliyorsak hangi kodan yapılıyor şimdiden cevaplarınız için teşekürler
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-16, 08:11:48 Mesaj konusu: Forum Arası Reklamlar
Başa dön
BURHAN Mesaj: 300+
Kayıt: Feb 21, 2006 Mesajlar: 341
Tarih: 2008-03-23, 21:12:16 Mesaj konusu: Re: block Advanced Center Forum
block içerisinde 10 yazan yeri istediğin kadar düşürebilirsin
Başa dön
bir_umut Mesaj: 200+
Kayıt: Aug 09, 2005 Mesajlar: 272 Konum: phpnuketurkiye
Tarih: 2008-03-23, 21:18:19 Mesaj konusu:
block icinde 10 yazan yer yok
Başa dön
BURHAN Mesaj: 300+
Kayıt: Feb 21, 2006 Mesajlar: 341
Tarih: 2008-03-23, 21:33:14 Mesaj konusu:
BLOĞU BURADA VERİRMİSİN
Başa dön
bir_umut Mesaj: 200+
Kayıt: Aug 09, 2005 Mesajlar: 272 Konum: phpnuketurkiye
Tarih: 2008-03-23, 21:44:07 Mesaj konusu: Re: block Advanced Center Forum
Kod:
<?php
/************************************************************************************/
/* */
/* CENTER BLOCK: block-Forums-Center.php */
/* For PHP-Nuke 6.5 */
/* By iPenang.com ( webmaster@ipenang.com ), Sept 2003 */
/* http://www.iPenang.com */
/* */
/* Modified From : */
/* CENTER BLOCK: block-phpBB_Forums.php */
/* For PHP-Nuke 6.5 */
/* v1.5 06-04-2003 */
/* */
/* by: Maty Scripts (webmaster@matyscripts.com) */
/* http://www.matyscripts.com */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/* */
/************************************************************************************/
// Define Language
// Add following definitions to your /language/lang-english.php file:
// Or leave it here.
// Center block-phpBB_Forums.php
define("_BBFORUM_NEWTOPICS","Başlık");
define("_BBFORUM_POSTER","Yazar");
define("_BBFORUM_VIEWS","Okunma");
define("_BBFORUM_REPLIES","Yanıt");
define("_BBFORUM_LASTPOSTER","Son Gönderen");
define("_BBFORUM_TOTTOPICS","Konu: ");
define("_BBFORUM_TOTPOSTS","Mesaj: ");
define("_BBFORUM_TOTVIEWS","Toplam Okunma: ");
define("_BBFORUM_TOTREPLIES","Toplam Cevap: ");
define("_BBFORUM_TOTMEMBERS","Kayıtlı Üye:");
define("_BBFORUM_FORUM","Forumlar Anasayfa");
define("_BBFORUM_SEARCH","Forum Arama");
if( eregi( "block-Forums_Center.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
global $prefix, $user_prefix, $db, $dbi, $sitename, $bgcolor1, $bgcolor2, $bgcolor3, $ThemeSel;
/* Get darker color for $bgcolor1 */
$bgcolor5 = str_replace('#', '', $bgcolor1);
$bgcolor5 = sprintf("#%02X%02X%02X", (hexdec(substr($bgcolor5, 0, 2))* .95 ),(hexdec(substr($bgcolor5, 2, 2))* .95 ) , (hexdec(substr($bgcolor5, 4, 2))* .95 ));
/**********************************/
/* */
/* Configuration parameters */
/* */
/**********************************/
// When set to 1 then Forums permissions which View and/or Read are NOT set to 'ALL' will NOT be displayed in the center block
$HideViewReadOnly = 0;
// Show only 5 last new topics
$Last_New_Topics = 8;
// Icon that is displayed in Center Block in front of Topic
/*************************************/
/* */
/* You Can Add More Themes Here */
/* */
/*************************************/
$table_bottom = '';
$table_top = '';
$IconPath = "modules/Forums/templates/subSilver/images/icon_mini_message.gif";
/**********************************/
/* */
/* Don't Edit Below ! */
/* */
/**********************************/
$border = 1;
$cellspacing = 0;
//$cellstyle = "style=\"border-left-width: 1; border-right-width: 1; border-top-width: 1; border-bottom-style: dotted; border-bottom-width: 1\"";
/* Total Amount of Topics */
$result = $db->sql_query( "SELECT * FROM ".$prefix."_bbtopics" );
$Amount_Of_Topics = $db->sql_numrows( $result );
/* Total Amount of Posts */
$result = $db->sql_query( "SELECT * FROM ".$prefix."_bbposts" );
$Amount_Of_Posts = $db->sql_numrows( $result );
/* Total Amount of Topic Views */
$Amount_Of_Topic_Views = 0;
$result = $db->sql_query( "SELECT topic_views FROM ".$prefix."_bbtopics" );
while( list( $topic_views ) = $db->sql_fetchrow( $result ) )
{
$Amount_Of_Topic_Views = $Amount_Of_Topic_Views + $topic_views;
}
/* Total Amount of Topic Replies */
$Amount_Of_Topic_Replies = 0;
$result = $db->sql_query( "SELECT topic_replies FROM ".$prefix."_bbtopics" );
while( list( $topic_replies ) = $db->sql_fetchrow( $result ) )
{
$Amount_Of_Topic_Replies = $Amount_Of_Topic_Replies + $topic_replies;
}
/* Total Amount of Members */
$result = $db->sql_query( "SELECT * FROM ".$user_prefix."_users" );
$Amount_Of_Members = $db->sql_numrows( $result ) - 1;
/* Last X New Topics */
$Count_Topics = 0;
$Topic_Buffer = "";
$result1 = $db->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" );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = sql_fetch_row( $result1, $dbi ) )
{
$skip_display = 0;
if( $HideViewReadOnly == 1 )
{
$result5 = $db->sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'" );
list( $auth_view, $auth_read ) = $db->sql_fetchrow( $result5 );
if( ( $auth_view != 0 ) or ( $auth_read != 0 ) ) { $skip_display = 1; }
}
if( $topic_moved_id != 0 )
{
// Shadow Topic !!
$skip_display = 0;
}
if( $skip_display == 0 )
{
$Count_Topics += 1;
$result2 = $db->sql_query( "SELECT topic_id, poster_id, FROM_UNIXTIME( post_time,'%b %d, %Y at %T') as post_time FROM ".$prefix."_bbposts where post_id = '$topic_last_post_id'" );
list( $topic_id, $poster_id, $post_time ) = $db->sql_fetchrow( $result2 );
$result3 = $db->sql_query( "SELECT username, user_id FROM ".$user_prefix."_users where user_id='$poster_id'" );
list( $uname, $uid ) = $db->sql_fetchrow( $result3 );
$LastPoster = "<A HREF=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$uid\"STYLE=\"text-decoration: none\"> $uname </a>";
$result4 = $db->sql_query( "SELECT username, user_id FROM ".$user_prefix."_users where user_id='$topic_poster'" );
list( $uname, $uid ) = $db->sql_fetchrow( $result4 );
$OrigPoster = "<A HREF=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$uid\"STYLE=\"text-decoration: none\"> $uname </a>";
$TopicImage = "<img src=\"$IconPath\" border=\"0\" alt=\"\">";
$TopicTitleShow = "<a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"STYLE=\"text-decoration: none\">$topic_title</a>";
$Topic_Buffer .= "<tr height=20 onmouseover=\"this.style.backgroundColor='$bgcolor5'\" onmouseout=\"this.style.backgroundColor=''\"><td $cellstyle>$TopicImage </td><td $cellstyle>$TopicTitleShow</td><td $cellstyle><div align=\"center\">$OrigPoster</div></td><td $cellstyle><div align=\"center\"><b>$topic_views</b></div></td><td $cellstyle><div align=\"center\"><b>$topic_replies</b></div></td><td $cellstyle align=\"center\">$LastPoster<br><font size=\"-2\"><i>$post_time</i></font></td></tr>";
}
if( $Last_New_Topics == $Count_Topics ) { break 1; }
}
//*/
/* Write Table to Screen */
$content = "<table width=\"100%\" border=\"$border\" cellspacing=\"$cellspacing\" bordercolor=\"$bgcolor2\" bgcolor=\"$bgcolor1\">";
$content .= "<tr bgcolor=$bgcolor5><td> </td><td align=\"center\">"._BBFORUM_NEWTOPICS."</td><td align=\"center\">"._BBFORUM_POSTER."</td><td align=\"center\">"._BBFORUM_VIEWS."</td><td align=\"center\">"._BBFORUM_REPLIES."</td><td align=\"center\">"._BBFORUM_LASTPOSTER."</td></tr>";
$content .= "$Topic_Buffer";
$content .= "<tr><td align=\"center\" colspan=\"6\">"._BBFORUM_TOTTOPICS."<b>$Amount_Of_Topics</b> <b>|</b> "._BBFORUM_TOTPOSTS."<b>$Amount_Of_Posts</b> <b>|</b> "._BBFORUM_TOTVIEWS."<b>$Amount_Of_Topic_Views</b> <b>|</b> "._BBFORUM_TOTREPLIES."<b>$Amount_Of_Topic_Replies</b> <b>|</b> <a href=\"modules.php?name=Members_List\">"._BBFORUM_TOTMEMBERS."</a> <b>$Amount_Of_Members</b></center></td></tr>";
$content .= "<tr><td align=\"center\" colspan=\"6\">[ <a href=\"modules.php?name=Forums\">"._BBFORUM_FORUM."</a> ] [ <a href=\"modules.php?name=Forums&file=search\">"._BBFORUM_SEARCH."</a> ]</center></td></tr>";
$content .= $table_bottom;
$content .= "</table>";
?>
Başa dön
BURHAN Mesaj: 300+
Kayıt: Feb 21, 2006 Mesajlar: 341
Tarih: 2008-03-23, 21:53:57 Mesaj konusu:
$Last_New_Topics = 8; İŞTE BURASI
Başa dön
bir_umut Mesaj: 200+
Kayıt: Aug 09, 2005 Mesajlar: 272 Konum: phpnuketurkiye
Tarih: 2008-03-23, 21:58:00 Mesaj konusu:
teşekür ederim
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