Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
340
??? Sitem deki Haberleri ..(25384 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16471 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(36887 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(20889 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14036 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(17767 okuma, 15 yanıt) üye aktivasyon ..(10647 okuma, 8 yanıt) Facebook tarzı altbar... ..(6267 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6545 okuma, 2 yanıt) Resimli RSS ..(23230 okuma, 25 yanıt) Onay linkini kaldirmak ..(11081 okuma, 8 yanıt) Yardım :( Site açılırken ..(6647 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8277 okuma, 4 yanıt) block genişliği ..(5713 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14420 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7310 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9439 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10502 okuma, 8 yanıt) ethai1 3 ..(13161 okuma, 10 yanıt) Yeni PEHASPESEO ..(69855 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(37750 okuma, 36 yanıt) tek modul için sağ ve sol ..(11412 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10593 okuma, 8 yanıt) Phpden iyi anlayan ..(5422 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(73230 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29524 okuma, 40 yanıt) Toplu üyelik silme? ..(11129 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12391 okuma, 11 yanıt) bloğu kayan hale getirmek ..(5975 okuma, 2 yanıt) Makale modulu ..(8588 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(85249 okuma, 121 yanıt) title değiştirme ..(10304 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10038 okuma, 6 yanıt) Php Nuke 8.1 ..(4348 okuma, 0 yanıt) merhaba ..(10286 okuma, 9 yanıt) Anasayfa için boş modül o ..(13506 okuma, 13 yanıt) admin panelinde Access De ..(6390 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26382 okuma, 25 yanıt) Nuke Tema yapilisi ..(17125 okuma, 16 yanıt) Mavisce-net temasina bann ..(8727 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6639 okuma, 2 yanıt) coppermine hata ..(10693 okuma, 8 yanıt) içerik tanıtımı ..(6281 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7168 okuma, 3 yanıt) google keywords ..(8970 okuma, 6 yanıt) 8.0'da html sorunu ..(5501 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54023 okuma, 76 yanıt) üye olunurken gereksiz is ..(10021 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6359 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10497 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-03, 02:31:45 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