Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
988
ME_Haber 2.3 ..(110846 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(123322 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13787 okuma, 6 yanıt) nukecode.com will close ..(11330 okuma, 5 yanıt) super youtube player a lo ..(6434 okuma, 1 yanıt) Need good PHP Haber port ..(5682 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35510 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(10048 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(11108 okuma, 6 yanıt) Aşk Flashları Modülü ..(7096 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11582 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32671 okuma, 36 yanıt) ürün tanıtım modülü ..(25504 okuma, 23 yanıt) PHP Nuke is out ..(15235 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5288 okuma, 0 yanıt) haberhit.com ..(5868 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(52691 okuma, 72 yanıt) Musıc Box elinde olan var ..(6800 okuma, 2 yanıt) Online Okey , Batak , Tav ..(175829 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12461 okuma, 8 yanıt) WM who ist shampions ..(5133 okuma, 1 yanıt) coppermine resim galerisi ..(5559 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9174 okuma, 7 yanıt) free wordpress themes ..(5654 okuma, 1 yanıt) JW image rotator for nsn ..(7760 okuma, 4 yanıt) need Iletisim module ..(11147 okuma, 8 yanıt) Yeni modul: İletişim modu ..(27956 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5923 okuma, 1 yanıt) world cup flash ..(5112 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(5005 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5243 okuma, 1 yanıt) Content Plus Önceki Konu ..(4837 okuma, 0 yanıt) Php nuke Tickets Modülü ..(8066 okuma, 5 yanıt) need help to news time ..(4615 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4900 okuma, 0 yanıt) how to save flash as imag ..(6133 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(6066 okuma, 2 yanıt) gazete ara ..(9914 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(15125 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14770 okuma, 14 yanıt) CNB Your Account 750 442 ..(14422 okuma, 13 yanıt) Admin panelindeki simge ç ..(12474 okuma, 9 yanıt) Hosting Modülü ..(14212 okuma, 13 yanıt) Bizim şairler Modülü ..(5281 okuma, 1 yanıt) new plugin for nsn news v ..(4828 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(7019 okuma, 3 yanıt) Kan Bankası Modül istek ..(6253 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5847 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7166 okuma, 3 yanıt) sonhaberler flash block ..(6716 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - arkadaslar NG download ejklentisinin kategorilerini ana sa..
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
gokhan87 Mesaj: 300+
Kayıt: Oct 20, 2006 Mesajlar: 348
Tarih: 2007-05-02, 21:25:13 Mesaj konusu: arkadaslar NG download ejklentisinin kategorilerini ana sa..
arkadaslar NG_download ejklentisinin kategorilerini ana sayfada orta blok halinde nasil gösteririm..Yardimlariniz icin tesekkurler.
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-15, 21:10:21 Mesaj konusu: Forum Arası Reklamlar
Başa dön
rap-medcezir Mesaj: 100+
Kayıt: Feb 13, 2007 Mesajlar: 128
Tarih: 2007-05-02, 21:51:58 Mesaj konusu:
direk modüle girince görünen şekil gibi istiyorsan Nsn gd downloads modülünü anasayfaya koyabilirsin.
Başa dön
gokhan87 Mesaj: 300+
Kayıt: Oct 20, 2006 Mesajlar: 348
Tarih: 2007-05-02, 21:59:05 Mesaj konusu:
biraz daha açarmısınız lutfen
Başa dön
rap-medcezir Mesaj: 100+
Kayıt: Feb 13, 2007 Mesajlar: 128
Tarih: 2007-05-02, 22:15:38 Mesaj konusu:
eğer anasayfada istediğin görünümü donwload modülüne girinceki gibi istiyorsan Nsn Gr Downloads modülünü anasayfaya koyabilirsin.
Başa dön
gokhan87 Mesaj: 300+
Kayıt: Oct 20, 2006 Mesajlar: 348
Tarih: 2007-05-07, 21:47:15 Mesaj konusu:
arkadaslar nasil ana sayfada blok olarak gösterecem ya ben bu cozumu anlamadim .. yardimlarinizi bekliyorum
Başa dön
kasimgok Mesaj: 1+
Kayıt: Mar 12, 2007 Mesajlar: 13
Tarih: 2007-05-25, 11:14:10 Mesaj konusu: Re: arkadaslar NG download ejklentisinin kategorilerini ana
Aşağıda verdiğim kodlari "blocks" klasörünün icine yeni bir block_dosyalar.php ismiinde oluştur. Bütün dosya ve kategorilerini ana sayfada gösterir. hadi kolay gelsin. 7,9 ve 8,0 icin gecerlidir.
Kod:
<?php
// Make sure people don't try and access it directly
if (eregi("block-dosyalar.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
/************************/
/* Variables */
/************************/
$downloadstoshow = 40;
$usemarquee = 1;
$scrolldirection = "up";
$most = "Popüler Dosyalar";
$latest = "Yeni Dosyalar";
$totalfiles = "Toplam Dosya";
$totalcategories = "Toplam Kategori";
$totaldownloads = "Toplam İndirme";
$hitstext = "İndirme";
$totalserved = "Toplam";
/************************/
/* End Variables */
/************************/
global $prefix, $dbi, $db;
// Total Files
$result = sql_query("select * from ".$prefix."_nsngd_downloads", $dbi);
$files = sql_num_rows($result, $dbi);
// Total Categories
$result = sql_query("select * from ".$prefix."_nsngd_categories", $dbi);
$cats = sql_num_rows($result, $dbi);
// Total Downloads
$result = sql_query("select hits from ".$prefix."_nsngd_downloads", $dbi);
$a = 1;
while(list($hits) = sql_fetch_row($result, $dbi)) {
$total_hits = $total_hits + $hits;
$a++;
}
$result=sql_query("select lid, hits from $prefix"._nsngd_downloads." order by lid", $dbi);
$dresult=0;
while(list($lid, $hits) = sql_fetch_row($result, $dbi)) {
$dresult = $dresult + $hits;
}
$result = sql_query("select * from $prefix"._nsngd_downloads."", $dbi);
$numrows = sql_num_rows($result, $dbi);
$result = sql_query("select sum(filesize*hits) as serv from $prefix"._nsngd_downloads."", $dbi);
while(list($serv) = sql_fetch_row($result, $dbi)) {
$served = $serv;
}
$tb = 1024*1024*1024*1024;
$gb = 1024*1024*1024;
$mb = 1024*1024;
$kb = 1024;
if ($served >= $tb){
$mysizes = sprintf ("%01.2f",$served/$tb) . " TB ";
} elseif ($served >= $gb) {
$mysizes = sprintf ("%01.2f",$served/$mb) . " GB ";
} elseif ($served >= $mb) {
$mysizes = sprintf ("%01.2f",$served/$mb) . " MB ";
} elseif ($served >= $kb) {
$mysizes = sprintf ("%01.2f",$served/$kb) . " KB ";
} else{
$mysizes = $served . " B ";
}
$content .= "$totalfiles: $files<br>$totalcategories: $cats<br> $totaldownloads: $total_hits<br> $totalserved: $mysizes<br>";
if ($usemarquee == 1) {
$content .= "<Marquee Behavior=\"Scroll\" Direction=\"$scrolldirection\" ScrollAmount=\"1\" ScrollDelay=\"50\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\"><br>";
}
// Yeni Dosyalar
$content .= $latest."<br>";
$a = 1;
if ($scron == 1) {
$content .= "<marquee behavior='scroll' direction='$scrdr' height='$scrhg' width='$scrwd' scrollamount='2' scrolldelay='50' onMouseOver='this.stop()' onMouseOut='this.start()'><br>";
}
$result = $db->sql_query("select lid, title from $prefix"._nsngd_downloads." order by date DESC limit 0,$blkh");
while(list($lid, $title) = $db->sql_fetchrow($result)) {
$title2 = ereg_replace("_", " ", $title);
$title = strtr($title, " ()", "_[]");
if ($blkw > 0) { if (strlen($title2) > $blkw) { $title2 = substr($title2, 0, $blkw); } }
if ($a < 10) { $content .= "0$a: "; } else { $content .= "$a: "; }
$content .= "<a href=modules.php?name=Downloads&op=getit&lid=$row[lid]&title=$row[title]>$title2</a><br>";
$a++;
}
// Popüler Dosyalar
$content .= "<br>".$most."<br>";
$a = 1;
$sql = "select lid, title, hits from ".$prefix."_nsngd_downloads order by hits DESC limit 0,$downloadstoshow";
$result = $db->sql_query($sql);
while($row = $db->sql_fetchrow($result)) {
$title2 = ereg_replace ("_", " ", $row[title]);
$transfertitle = str_replace(" ", "_", $row[title]);
$content .= "<strong><big>·</big></strong> $a: <a title=\"$title2\" href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$row[lid]&ttitle=$transfertitle\">$title2</a><br>[$hitstext: ".$row['hits']."]<br><br>";
$a++;
}
?>
Başa dön
artistbaron Mesaj: 1000+
Kayıt: Dec 09, 2006 Mesajlar: 2993
Tarih: 2007-05-25, 11:32:06 Mesaj konusu:
kodları
komutunun ıcıne alsak daha ıyı olur((
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