|
<TITLE>.: Palapa Sport Website :.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <style type="text/css">
| <map name="Map">
<map name="Map2"> <area shape="rect" href="hubungikami.php">
coords="665,7,758,25"
<area shape="rect" href="member.php">
coords="555,5,648,23"
<area shape="rect" href="carapembelian.php">
coords="438,6,531,24"
<area shape="rect" href="tentangkami.php">
coords="322,6,415,24"
<area shape="rect" href="aksesoris.php">
coords="52,339,126,353"
<area shape="rect" href="index.php">
coords="212,6,305,24"
<area shape="rect" href="bolasepak.php">
coords="52,320,126,334"
<area shape="rect" href="chart.php">
coords="636,36,756,60"
<area shape="rect" href="kaoskaki.php">
coords="52,300,126,314"
<area shape="rect" href="validasi.php">
coords="225,39,348,57"
<area shape="rect" href="tassport.php">
coords="52,279,126,293"
{ $stok=$row->stok; }
Update Barang ?>
session_start();
$total_jumlah=$temp_jumlah+$jumlah;
?>
if ($stok>=$total_jumlah)
{
iclude ('koneksi.php');
<meta http-equiv="Content-Type" charset=iso-8859-1">
content="text/html;
$ubah2="UPDATE temp SET jumlah='$jumlah' where no='$no'";
Untitled Document
mysql_query($ubah2);
}
else
{
include ('koneksi.php');
?>
$sqlstrxy="SELECT*from
temp
where
no=$no"; $resultxy=mysql_query($sqlstrxy) ("Kesalahan pada perintah SQL");
or
die
<meta http-equiv="refresh" url=stok_kurang.php">
content="0;
}
mysql_close($link);
//header("location:data_barang.php");
while ($row=mysql_fetch_object($resultxy))
?> <meta http-equiv="refresh" content="0; url=chart.php">
{ $jumlah_temp=$row->jumlah;
}
?> Validasi
include ('koneksi.php'); $sqlstrx="SELECT*from kd_produk=$kd_produk";
produk
$resultx=mysql_query($sqlstrx) ("Kesalahan pada perintah SQL Salah"); mysql_close($link); while ($row=mysql_fetch_object($resultx))
where or
die
session_start(); ?>
<meta http-equiv="Content-Type" charset=iso-8859-1">
font-family: Verdana, Arial, Helvetica, sans-
content="text/html; serif;
font-size: 14px;
}
.style2 {
font-size: 14px; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-
serif; include ('koneksi.php'); } $sqlstr="INSERT INTO validasi values( '$kd_validasi'
.style3 {font-size: 16px; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; } ,'$nama' .style18 { font-family: Verdana, Arial, Helvetica, sans-
,'$no_trans' serif;
font-size: 11px; ,'$no_ref_bank' } .style5 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
,'$jmlh_transfer' )";
.style4 { serif;
(mysql_query($sqlstr))
font-size: 12px;
?> <meta http-equiv="refresh" url=konfirmasi_validasi.php">
font-family: Verdana, Arial, Helvetica, sans-
color: #FFFFFF;
content="0;
font-weight: bold; } .style19 { font-family: Verdana, Arial, Helvetica, sansserif; font-size: 12px;
Laporan }
-->
<TITLE>.: Palapa Sport Website :.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style type="text/css">
|