Site, Server Genel » AWBS Destek

AWBS de sepet ürün sayısı

http://forum.whmdestek.com/

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » AWBS Destek
 
Türkiye' nin Webmaster Sitesi
Webmaster Araçları, Bilgi ve hizmet alışverişi
Webmaster.com.TR
Firma tanıtımı!
Firmanızın reklamını hemen yapın!
Reklamlar
Reklam Alın!
Günlük 5k tekil ve üzeri sitelerinize reklam!
Fixreklam

Cevapla
 
LinkBack Seçenekler Stil
  #1  
Alt 06.01.08, 14:07
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 188
Tecrübe Puanı: 1
inspration is on a distinguished road
AWBS de sepet ürün sayısı

merhaba arkadaşlar..
ben awbs de ana sayfada gelen kişinin sepetindeki ürün sayısnı nasıl gösterebilirim. sepet te ürün sayısını gösteren kodu bulamadım...

örnek:

Sepetinizde 0 ürün bulunmaktadır.

Sepete bak l Ödeme Yap

---------------------------------

ürün sayısını gösteren kod nedir...
teşekkürler
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2  
Alt 06.01.08, 16:23
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - MSN üzeri Mesaj gönder
Kod:
<?php 
global $reseller_free_plan;
include("includes/dbconfig.php");
if ($LoggedIn== "1"){
				$goster = @mysql_query("select * from users where username='$newuid'");
				$isim = @mysql_result($goster,0,"fname");
				$soyisim = @mysql_result($goster,0,"lname");
				
				$goster2 = @mysql_query("select * from accounts where ownerid='$newuid'");
				$kredi = @mysql_result($goster2,0,"amount");
				$kredi= number_format($LIVECREDITS, 2);

				$goster3 = @mysql_query("select * from accounts where ownerid='$newuid'");
				$kredi = @mysql_result($goster3,0,"amount");
				$kredi= number_format($kredi, 3);

echo "<tr><td>Hoşgeldin; <br><b>$isim $soyisim</b> <br>Aktif Krediniz : <br>$kredi</td></tr>";

}else{
echo "<!-- fesih Biçer - whmdestek.com -->";
}
?>
__________________
domain bayiliği Deizm Agnostik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #3  
Alt 06.01.08, 16:37
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 188
Tecrübe Puanı: 1
inspration is on a distinguished road
hemen deniyorum teşekkürler...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #4  
Alt 06.01.08, 16:46
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 188
Tecrübe Puanı: 1
inspration is on a distinguished road
ewet kodu denedim. çok güzel bişi ama benim istediğim bu değildi ki... ben sadece sepetteki ürün sayısını gösteren kodu istiyodum. mesela örnek veriyim... sol menülerde 2. sırada alışveriş sepeti yazıyo

sepetinizde 0 ürün var
Sepete bak l ödeme yap..

ben sadece ordaki 0'ı yani sepetteki ürün sayısını çeken kodu istemiştim...

Son Düzenleme: Onursal; Tarih / Saat: 06.01.08 17:05. Sebep: link kaldırıldı. oda kimmiş
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #5  
Alt 06.01.08, 16:58
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - MSN üzeri Mesaj gönder
pardon yalnış okumuşum o zaman ben aktif kredi sandım. o aktif krediyi gösterir.

sizin istediğiniz bu. çoklu dil kullanıyorsanız dil dosyasına ekleyin tanımları, eğer tek dil kullanıyorsanız aşağıda tanımlarsınız.

Kod:
<?php 
global $reseller_free_plan;
if ($LoggedIn== "1"){ ?>

<?php }?>
                  <tr>
                    <td>
                    <b><?=MENUSOL7?></b>
                    </td>
                  </tr>
                  <tr>
                    <td>
                    <br>
                    <a href="<?=$curcart[view]?>">
                    <?=$curcart[items]?><?=MENUSOL8?></a><br>
                    <a href="cart.php?ca=checkout"><?=MENUSOL9?></a><br></td>
                  </tr>
__________________
domain bayiliği Deizm Agnostik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #6  
Alt 06.01.08, 17:38
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 188
Tecrübe Puanı: 1
inspration is on a distinguished road
yok buda değil sanırım bende bir sorun var anlatmayı beceremiyorum. benim istediğim sadece ordaki 0 yerine gelicek kodu istiyorum yani sepetindeki ürün sayısını gösterecek kodu istiyorum.. sizide uğraştırıyorum. umarım bu sefer doğru anlatabilmişimdir...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #7  
Alt 06.01.08, 17:41
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 188
Tecrübe Puanı: 1
inspration is on a distinguished road
tamam doğru yazmışsınız 0 yerine gelicek kod şuymuş ....

<a href="<?=$curcart[view]?>">

çok teşekkür ederim...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #8  
Alt 06.01.08, 17:55
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 188
Tecrübe Puanı: 1
inspration is on a distinguished road
ama şunu çözemedim
önce bişi yazmıyo
yani hiç alışveriş yapmadığı zaman orda hiç bişi yazmıyo..

yani 0 yazsa alışveriş yapınca sepete eklenen sayı 0 ın yerine gelse o mümkün mü
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #9  
Alt 12.01.08, 09:57
Onursal - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 625
Tecrübe Puanı: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Onursal - MSN üzeri Mesaj gönder
verdiğim kodların tümünü sitene enteğre edersen sorun kalmaz. sadece <a href="<?=$curcart[view]?>"> kendi başına bir anlam ifade etmez.

Kod:
                    Sepetinizde <a href="<?=$curcart[view]?>">
                    <?=$curcart[items]?> Ürün Bulunmaktadır.</a>
gibi yapmalısın
__________________
domain bayiliği Deizm Agnostik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla


Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü