Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
958
??? Sitem deki Haberleri ..(25660 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16607 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(37395 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(21074 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(14212 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(18008 okuma, 15 yanıt) üye aktivasyon ..(10738 okuma, 8 yanıt) Facebook tarzı altbar... ..(6326 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6602 okuma, 2 yanıt) Resimli RSS ..(23445 okuma, 25 yanıt) Onay linkini kaldirmak ..(11171 okuma, 8 yanıt) Yardım :( Site açılırken ..(6716 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8385 okuma, 4 yanıt) block genişliği ..(5758 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14546 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7383 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9508 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10585 okuma, 8 yanıt) ethai1 3 ..(13299 okuma, 10 yanıt) Yeni PEHASPESEO ..(70752 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(38133 okuma, 36 yanıt) tek modul için sağ ve sol ..(11498 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10677 okuma, 8 yanıt) Phpden iyi anlayan ..(5502 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(74156 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29924 okuma, 40 yanıt) Toplu üyelik silme? ..(11224 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12519 okuma, 11 yanıt) bloğu kayan hale getirmek ..(6014 okuma, 2 yanıt) Makale modulu ..(8654 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(86406 okuma, 121 yanıt) title değiştirme ..(10455 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10122 okuma, 6 yanıt) Php Nuke 8.1 ..(4380 okuma, 0 yanıt) merhaba ..(10361 okuma, 9 yanıt) Anasayfa için boş modül o ..(13665 okuma, 13 yanıt) admin panelinde Access De ..(6471 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26667 okuma, 25 yanıt) Nuke Tema yapilisi ..(17248 okuma, 16 yanıt) Mavisce-net temasina bann ..(8799 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6686 okuma, 2 yanıt) coppermine hata ..(10788 okuma, 8 yanıt) içerik tanıtımı ..(6344 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7232 okuma, 3 yanıt) google keywords ..(9043 okuma, 6 yanıt) 8.0'da html sorunu ..(5546 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(54872 okuma, 76 yanıt) üye olunurken gereksiz is ..(10120 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6414 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10615 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-06-28, 08:15:32 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