Tarih: 2008-01-09, 00:41:21 Mesaj konusu: Re: En fazla okunan haberler.
mekansiz52 :
Örneğin en fazla okunan 5 haber ile en son eklenen 5 haberin orta bloğunu nasıl ekleyebiliriz?
Kod:
<?php
########################################################################
# PHP-Nuke Block: Center Block v.01 #
# #
# Copyright (c) 2002 by dECkER (decker@ircharstad.no) #
# #
########################################################################
# 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. #
# If you modify this, let me know for fun. =) #
########################################################################
if (eregi("block-Haber_Orta.php", $PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $dbi, $sitename;
// Change this to your own needs =)
$strip = "30"; // how many characters to show
$textforum = "forumda son 10 postalanan"; // 10 last posts in the forum
$textlinks = "Eklenen son 10 Linkler"; // 10 last added links
$textdowns = "En Son Eklenen 10 Haber"; // 10 last added downloads
$textartic = "Ek Çok Okunan 10 Haber"; // 10 last posted articles.
$textsubmit = "Tüm Haberleri Göster"; // Submit news
$textforums = "Forum"; // forum
$textaccount = "Hesabınız"; // your account
$textspacer = "|"; // text spacer
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