Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
474
ME_Haber 2.3 ..(108706 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(121774 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13610 okuma, 6 yanıt) nukecode.com will close ..(11195 okuma, 5 yanıt) super youtube player a lo ..(6335 okuma, 1 yanıt) Need good PHP Haber port ..(5603 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35105 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(9932 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(10975 okuma, 6 yanıt) Aşk Flashları Modülü ..(6977 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11413 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32366 okuma, 36 yanıt) ürün tanıtım modülü ..(25220 okuma, 23 yanıt) PHP Nuke is out ..(14995 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 ..(51922 okuma, 72 yanıt) Musıc Box elinde olan var ..(6683 okuma, 2 yanıt) Online Okey , Batak , Tav ..(173166 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 ..(5483 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9064 okuma, 7 yanıt) free wordpress themes ..(5575 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 ..(27650 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 ..(4937 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5161 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 ..(4828 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 Ş ..(14947 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14534 okuma, 14 yanıt) CNB Your Account 750 442 ..(14222 okuma, 13 yanıt) Admin panelindeki simge ç ..(12324 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 ..(6917 okuma, 3 yanıt) Kan Bankası Modül istek ..(6130 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5753 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7053 okuma, 3 yanıt) sonhaberler flash block ..(6619 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-05-18, 12:50:24 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