Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
136
??? Sitem deki Haberleri ..(25273 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16377 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(36702 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(20761 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(13933 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(17682 okuma, 15 yanıt) üye aktivasyon ..(10593 okuma, 8 yanıt) Facebook tarzı altbar... ..(6242 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6517 okuma, 2 yanıt) Resimli RSS ..(23118 okuma, 25 yanıt) Onay linkini kaldirmak ..(11026 okuma, 8 yanıt) Yardım :( Site açılırken ..(6622 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8237 okuma, 4 yanıt) block genişliği ..(5678 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14312 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7270 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9392 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10439 okuma, 8 yanıt) ethai1 3 ..(13102 okuma, 10 yanıt) Yeni PEHASPESEO ..(69596 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(37581 okuma, 36 yanıt) tek modul için sağ ve sol ..(11340 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10537 okuma, 8 yanıt) Phpden iyi anlayan ..(5401 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(72912 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29402 okuma, 40 yanıt) Toplu üyelik silme? ..(11079 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12332 okuma, 11 yanıt) bloğu kayan hale getirmek ..(5947 okuma, 2 yanıt) Makale modulu ..(8545 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(84909 okuma, 121 yanıt) title değiştirme ..(10248 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10004 okuma, 6 yanıt) Php Nuke 8.1 ..(4331 okuma, 0 yanıt) merhaba ..(10232 okuma, 9 yanıt) Anasayfa için boş modül o ..(13432 okuma, 13 yanıt) admin panelinde Access De ..(6358 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26262 okuma, 25 yanıt) Nuke Tema yapilisi ..(17043 okuma, 16 yanıt) Mavisce-net temasina bann ..(8683 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6610 okuma, 2 yanıt) coppermine hata ..(10648 okuma, 8 yanıt) içerik tanıtımı ..(6255 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7124 okuma, 3 yanıt) google keywords ..(8931 okuma, 6 yanıt) 8.0'da html sorunu ..(5477 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(53825 okuma, 76 yanıt) üye olunurken gereksiz is ..(9982 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6331 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10440 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-05-20, 15:38:30 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