Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1011
??? Sitem deki Haberleri ..(25696 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16622 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37423 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21082 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14219 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(18021 okuma, 15 yanıt) üye aktivasyon ..(10749 okuma, 8 yanıt) Facebook tarzı altbar... ..(6329 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6605 okuma, 2 yanıt) Resimli RSS ..(23464 okuma, 25 yanıt) Onay linkini kaldirmak ..(11178 okuma, 8 yanıt) Yardım :( Site açılırken ..(6720 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8390 okuma, 4 yanıt) block genişliği ..(5759 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14558 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7391 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9519 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10591 okuma, 8 yanıt) ethai1 3 ..(13308 okuma, 10 yanıt) Yeni PEHASPESEO ..(70801 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(38159 okuma, 36 yanıt) tek modul için sağ ve sol ..(11507 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10684 okuma, 8 yanıt) Phpden iyi anlayan ..(5503 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(74190 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29940 okuma, 40 yanıt) Toplu üyelik silme? ..(11232 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12526 okuma, 11 yanıt) bloğu kayan hale getirmek ..(6017 okuma, 2 yanıt) Makale modulu ..(8663 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86480 okuma, 121 yanıt) title değiştirme ..(10459 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10127 okuma, 6 yanıt) Php Nuke 8.1 ..(4381 okuma, 0 yanıt) merhaba ..(10369 okuma, 9 yanıt) Anasayfa için boş modül o ..(13674 okuma, 13 yanıt) admin panelinde Access De ..(6473 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26692 okuma, 25 yanıt) Nuke Tema yapilisi ..(17256 okuma, 16 yanıt) Mavisce-net temasina bann ..(8805 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6689 okuma, 2 yanıt) coppermine hata ..(10796 okuma, 8 yanıt) içerik tanıtımı ..(6345 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7234 okuma, 3 yanıt) google keywords ..(9048 okuma, 6 yanıt) 8.0'da html sorunu ..(5550 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54908 okuma, 76 yanıt) üye olunurken gereksiz is ..(10125 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6421 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10621 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - A.Shop bloğunu üç stunda nasıl gösteririm ?
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
zafertemizturk Mesaj: 1+
Kayıt: May 20, 2006 Mesajlar: 5
Tarih: 2007-11-08, 02:30:07 Mesaj konusu: A.Shop bloğunu üç stunda nasıl gösteririm ?
Aser's Shop alış veriş modülünü kurdum.İçinde bulunan bir blokuda ekledim.Ama blokta siteye eklenen ürünler tek sütünda gösteriliyor.Bense eklenen ürünleri 3 sütünda istiyorum.Bu blokun aynısı ama 3 sütün.Birde ürün kısıtlaması koyulabilir.mesela son 20 ürün 3 sütünda gösterilsin gibi.çok uğraştım ama yapamadım.Neolur YARDIM edin.
Blok kodları aşağıda:
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 $prefix, $db;
/********************************************************/
/* | Blokk mûködésének beállításai | hungarian */
/* | Block function configuration | english */
/********************************************************/
$piclim = 1000; // Kép limit (1-10000...) | Picture limit (1-10000...)
$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
/********************************************************/
/* | Blokk mûködésének beállításai | hungarian */
/* | Block function configuration | english */
/********************************************************/
$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";
$a = 0;
$result2 = $db->sql_query("SELECT lid, title, image, price FROM asershop_products ORDER BY RAND() DESC LIMIT 0,$piclim");
$content = "<div align=\"center\">\n";
while ($row2 = $db->sql_fetchrow($result2)) {
$lid = intval($row2['lid']);
$title = stripslashes($row2['title']);
$ttitle = str_replace (" ", "_", $title);
$ttitle = str_replace ("'", "", $ttitle);
$ttitle = str_replace (":", "", $ttitle);
$ttitle = str_replace ("(", "", $ttitle);
$ttitle = str_replace (")", "", $ttitle);
$ttitle = str_replace ("&", "and", $ttitle);
$image = $row2['image'];
$price = $row2['price'];
$content .= "<br>
<div align=\"left\"><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></div><br>";
$a++;
}
if ($scroll == 1) {
$content .= "</marquee>";
}
$content .= "<a href=\"modules.php?name=$Asers_Shop\"><big>»</big> "._HREADMORE."…</a>";
$content .= "</div>\n";
?>
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-07-02, 14:56:35 Mesaj konusu: Forum Arası Reklamlar
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