Sabtu, 07 September 2013

PHP Indonesia - Facebook: permisi admin... gan mau tanya nh,,, ane new pgang...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
How to Get into Medical School

A tested blueprint to approach the daunting admissions process with both confidence and success! Enroll in this online course for just $29.
From our sponsors
permisi admin... gan mau tanya nh,,, ane new pgang...
Sep 7th 2013, 18:59, by Jaka Saputra

Jaka Saputra 6:59pm Sep 7
permisi admin...
gan mau tanya nh,,, ane new pgang php krng bgtu teliti,,, mhon di cek in script ini,,, krngnya apa ,,,,, trims sblmnnya :

<form method="post" action="ubah_transaksi.php">
<table width="98%" border="0" cellspacing="1" cellpadding="1" align ="center">
<tr>
<td width="17%" height="16" bgcolor="#0B78B3" class="Teks_Tabel"><div align="LEFT">Produk</div></td>
<td width="30%" bgcolor="#0B78B3" class="Teks_Tabel"><div align="left">Nama</div></td>
<td width="20%" bgcolor="#0B78B3" class="Teks_Tabel"><div align="right">Harga (Rp)</div></td>
<td width="4%" colspan = "2" bgcolor="#0B78B3" class="Teks_Tabel"><div align="center">Aksi</div></td>
<td width="10%" bgcolor="#0B78B3" class="Teks_Tabel"><div align="right">Jumlah</div></td>
<td width="45%" bgcolor="#0B78B3" class="Teks_Tabel"><div align="right">Total (Rp)</div></td>
</tr>

<?php
require("config.php");
//fungsi SQl yang akan digunakan untuk menampilkan data transaksi yang dilakukan pelanggan berdarakan id produk dan ip pelanggan
$query = "select * from tabel_transaksi inner join tabel_produk on produk.id = transaksi.id where transaksi.ip=$cookie_kantong";
$hasil = mysql_query($query);
//jika ditemukan maka
if ($hasil > 0) {
$i = 1;
//tamplkan data pelanggan sekaligus membuat variabel perulangan dengan nama i untuk melakukan perhitungan jumlah record
while ($data = mysql_fetch_array($hasil))
{ ?>
<tr>
<td width ="17%" align="left"><img src="gambar-gambar/<?php echo $data['gambar']; ?>" width="75" height="75" border="0" >
<td width ="30%" align="left" class="Isi_Tabel_Nama" \><?php echo $data['nama']; ?></td>
<td width ="20%" align="right" class="Isi_Tabel_Harga" \><? echo 'Rp.'.number_format($data['harga'], 0, ',', '.').',- ; ';?></td>
<td width="2%" align="center"><a href="hapus_transaksi.php?id=<?php echo $data['id']; ?>&ubah_transaksi=<?php $cookie_kantong ?>"><img width="15" src="gambar-gambar/Hapus.png" height="15" border="0" alt="Ubah jumlah beli"></a></td>
<td width="2%" align="center"><a href="ubah_transaksi.php?id=<?php echo $data['id']; ?>&ubah_transaksi=<?php $cookie_kantong?>" /></a>
<input name="ubah_transaksi" type="image" src="gambar-gambar/Ubah.png" width="15" border="0"\>
<td width="10%" align ="right" \><input type='hidden' name='id<?php $i ?>' value='<?php echo $data['id']; ?>' />
<input type='text' name='jumlah<?php $i ?>' value='<?php $data['jumlah']; ?>' size="2" width="100"
maxlength="3" onkeypress="return isNumberKey(event)" /></td>
<td width ="55%" align="right" class="Isi_Tabel_Harga" ><? echo 'Rp.'.number_format($data['harga'], 0, ',', '.').',- ; ';?></td></tr>;
<?php

$i++;
}
$jumdata = $i-1;
//memberi nilai bariabel dengan nama jumdata dengan nila variabel i dikurangi angka 1

?>
<tr>
<table width="98%" border="0" cellspacing="1" cellpadding="1" align ="center">
<hr/>
<td width="82%" height="16" bgcolor="#0B78B3" class="Teks_Tabel"><div align="right">Total :</div></td>
<td width="100%" height="16" bgcolor="#CCCCCC" class="Isi_Tabel"><div align="right"><b><?php require("total_transaksi.php");?></b></font></span></div></td>

<tr>
<td colspan="3" align ="Center" class="Isi_Tabel"><br><br>
<a href="produk.php"><img src="gambar-gambar/LanjutBelanja.png" title="Lanjutkan Belanja" border="0" width=\"70\" height=\"30\" ></a>
</td>
</tr>

<table width="98%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr>

<td colspan="3" align ="Center"><br><br>

<p align="justify" class="Pesan_Teks"><font face=Tahoma size=\"2\" color = "#000">Setelah Anda memesan barang, selanjutnya Anda klik tombol </font><strong><font face=Tahoma size=\"2\" color = "#F00">Belum Daftar</font></strong> <font face=Tahoma size=\"2\" color = "#000">untuk mengisi Formulir Data Diri, atau klik</font> <strong><font face=Tahoma size=\"2\" color = "#F00">Sudah Daftar</font></strong><font face=Tahoma size=\"2\" color = "#000"> jika sebelumnya Anda sudah mendaftar. Isi Data Diri dengan lengkap untuk mempermudah dalam pengiriman barang nantinya. Setelah itu Anda akan mendapat balasan dari kami untuk mentransfer dana. </font></p>
<p >&nbsp;</p><hr/>

<a href=<?php echo 'sudah_daftar.php?id='.$data['id'].''; ?> ><input name="imageField" type="image" src="gambar-gambar/SudahDaftar.png" width="85" height="35" border="0"></a>
<a href=<?php echo 'belum_daftar.php?id='.$data['id'].''; ?> ><input name="imageField" type="image" src="gambar-gambar/BelumDaftar.png" width="85" height="35" border="0"></a>

</td>
</tr>
</table>
</table>
</tr>
</table>

<input type="hidden" name="n" value="<?php echo $jumdata ?>" />
</form>

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar