Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1089
??? Sitem deki Haberleri ..(25371 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16448 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(36858 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(20861 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14013 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(17740 okuma, 15 yanıt) üye aktivasyon ..(10632 okuma, 8 yanıt) Facebook tarzı altbar... ..(6259 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6534 okuma, 2 yanıt) Resimli RSS ..(23218 okuma, 25 yanıt) Onay linkini kaldirmak ..(11066 okuma, 8 yanıt) Yardım :( Site açılırken ..(6636 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8262 okuma, 4 yanıt) block genişliği ..(5703 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14374 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7298 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9425 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10487 okuma, 8 yanıt) ethai1 3 ..(13144 okuma, 10 yanıt) Yeni PEHASPESEO ..(69827 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(37718 okuma, 36 yanıt) tek modul için sağ ve sol ..(11397 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10577 okuma, 8 yanıt) Phpden iyi anlayan ..(5414 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(73191 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29483 okuma, 40 yanıt) Toplu üyelik silme? ..(11112 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12370 okuma, 11 yanıt) bloğu kayan hale getirmek ..(5963 okuma, 2 yanıt) Makale modulu ..(8575 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(85199 okuma, 121 yanıt) title değiştirme ..(10290 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10025 okuma, 6 yanıt) Php Nuke 8.1 ..(4340 okuma, 0 yanıt) merhaba ..(10266 okuma, 9 yanıt) Anasayfa için boş modül o ..(13483 okuma, 13 yanıt) admin panelinde Access De ..(6377 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26366 okuma, 25 yanıt) Nuke Tema yapilisi ..(17101 okuma, 16 yanıt) Mavisce-net temasina bann ..(8714 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6630 okuma, 2 yanıt) coppermine hata ..(10678 okuma, 8 yanıt) içerik tanıtımı ..(6271 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7157 okuma, 3 yanıt) google keywords ..(8954 okuma, 6 yanıt) 8.0'da html sorunu ..(5493 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54001 okuma, 76 yanıt) üye olunurken gereksiz is ..(10006 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6349 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10484 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Bu kodları nasıl Bloka çevircem.
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
zafertemizturk Mesaj: 1+
Kayıt: May 20, 2006 Mesajlar: 5
Tarih: 2007-11-10, 17:36:24 Mesaj konusu: Bu kodları nasıl Bloka çevircem.
Merhaba Arkadaşlar.Aşağıdaki kodları sorunsuz halde nasıl blok yapcam.Şuı anda bir blok içine yerleştirdim ama sitede yayınladığım zaman sağ bloklar gözükmüyor yani index karışıyor YARDIM edermisiniz.
Kod:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* Andrei Orlov http://www.x-prices.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. */
/************************************************************************/
/* Additional security & Abstraction layer conversion */
/* 2003 chatserv */
/* http://www.nukefixes.com -- http://www.nukeresources.com */
/************************************************************************/
/* Aser's Shop Featured Products Block 1.0 */
/* http://www.nuker.hu */
/* Copyright © 2004 by NUKER.HU */
/************************************************************************/
if (stristr($_SERVER['PHP_SELF'], "block-Hacker_Beware.php") OR stristr($_SERVER['script_NAME'], "block-Hacker_Beware.php")) {
Header("Location: ../index.php");
die();
}
global $db, $image_path;
$scroll = 0; // görgetés (1 = igen, 0 = nem) | scroll (1 = yes, 0 = no)
$blockw = 120; // blokk szélesség (alapértelmezett 120) | block width (default 120)
$blockh = 250; // blokk magasság | block height
$blocksc = "right"; // görgetés irányítás (up = fel, down = le, left = bal, vagy right = jobb) | scroll direction (up, down, left, or right)
$scrollam = 2; // scrollamount
$scrollde = 1; // scrolldelay
$lid = intval($lid);
$result = $db->sql_query("SELECT lid, title, image, price FROM asershop_products ORDER BY RAND() DESC LIMIT 0,$piclim");
list($title,$image)=$db->sql_fetchrow($result);
$lid = intval($lid);
$title = "<a href=modules.php?name=$Asers_Shop&s_op=viewproductdetails&lid=$lid>$title</a>";
$title=getparentlink($lid,"");
$title="<a href=modules.php?name=$Asers_Shop>"._MAIN."</a>/$title$image";
echo "<center><font class=\"option\"><b>"._CATEGORY.": $title</b></font></center><br>";
echo "<table border=\"0\" cellspacing=\"10\" cellpadding=\"0\" align=\"center\"><tr>";
$result = $db->sql_query("SELECT * from asershop_config");
while ($row = $db->sql_fetchrow($result)) {
$asershop_config[$row['config_name']] = $row['config_value'];
}
$product_image_path = $asershop_config['product_image_path'];
$product_image_size_w = $asershop_config['product_image_size_w'];
$currency = $asershop_config['currency'];
$featured_num = $asershop_config['featured_num'];
$Asers_Shop = "Asers_Shop";
$image = $row2['image'];
$price = $row2['price'];
$lid = intval($lid);
$result2 = $db->sql_query("SELECT lid, title, image FROM asershop_products");
$Asers_Shop = "Asers_Shop";
$count = 0;
while(list($lid, $title, $image) = $db->sql_fetchrow($result2)) {
$lid = intval($lid);
$cresult = $db->sql_query("SELECT lid, title, image FROM asershop_products");
$cnumrows = $db->sql_numrows($cresult);
if ($image != "" && file_exists($image_path)) {
echo "<td><a href=\"modules.php?name=$Asers_Shop&s_op=viewproductdetails&lid=$lid&ttitle=$ttitle\"><img src=\"$product_image_path/$image\" alt=\"$title\" title=\"$title\" width=\"$blockw\" border=\"1\"><br>$title<br></a></td>";
} else {
echo "<td><font class=\"option\"><strong><big>·</big></strong></td>";
}
echo "<td><a href=\"modules.php?name=$Asers_Shop&s_op=viewproductdetails&lid=$lid&ttitle=$ttitle\"><img src=\"$product_image_path/$image\" alt=\"$title\" width=\"$blockw\" border=\"1\"><br>$title<br></a></font>";
echo "<br>";
$result3 = $db->sql_query("SELECT lid, title, image, price FROM asershop_products ORDER BY RAND() DESC LIMIT 0,$piclim");
$space = 0;
while(list($lid, $title) = $db->sql_fetchrow($result3)) {
$lid = intval($lid);
if ($space>0) {
echo ", ";
}
$cresult2 = $db->sql_query("SELECT lid, title, image, price FROM asershop_products");
$cnumrows2 = $db->sql_numrows($cresult2);
$cnumm = "($cnumrows2)";
$space++;
}
if ($count<1) {
echo "</td><td> </td>";
$dum = 1;
}
$count++;
if ($count==2) {
echo "</td></tr><tr>";
$count = 0;
$dum = 0;
}
}
if ($dum == 1) {
echo "</tr></table>";
} elseif ($dum == 0) {
echo "<td></td></tr></table>";
}
echo "<hr noshade size=\"1\">";
}
?>
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-02, 10:47:22 Mesaj konusu: Forum Arası Reklamlar
Başa dön
macrodex Mesaj: 200+
Kayıt: Dec 08, 2006 Mesajlar: 281
Başa dön
zafertemizturk Mesaj: 1+
Kayıt: May 20, 2006 Mesajlar: 5
Tarih: 2007-11-10, 17:45:05 Mesaj konusu: Re: Bu kodları nasıl Bloka çevircem.
yaptım ama olmadı..
Başa dön
macrodex Mesaj: 200+
Kayıt: Dec 08, 2006 Mesajlar: 281
Tarih: 2007-11-10, 17:47:57 Mesaj konusu:
kaydederken not defterinden şöyle kaydet:
block-blokismi.php
Başa dön
elektrik Mesaj: 300+
Kayıt: Apr 30, 2005 Mesajlar: 331 Konum: Gaziantep
Tarih: 2007-11-11, 11:27:32 Mesaj konusu:
Bu zaten blok kodu;
Kod:
if (stristr($_SERVER['PHP_SELF'], "block-Hacker_Beware.php") OR stristr($_SERVER['script_NAME'], "block-Hacker_Beware.php")) {
Senin yapacagin bir ".php" dosyası oluşturmak ve ismini "block-Hacker_Beware" koyacaksin yani elinde "block-Hacker_Beware.php" dosyası olacak ve onuda Block klasörünün içine atıp admin'den Blok Yönetimine Girip onaylayacaksin...
Kodu başka bir koda çevirmene gerek yok zaten yukarda olan blok kodlarıdır...
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