|
|
|
พี่ครับช่วยดูปัญหาสคริปสั่งซื้อของนะครับ เวลามันสั่งซื้อแล้วพอจะยืนยีนมันกลายเป็นหน้าขาววโพล่นนไปนะครับต้องทำยังไงครับ |
|
|
|
|
|
|
|
คือว่า พี่ลองเขาไปลองซื้อสินค้า ที่
http://cat.puksukneed.net/index.php
นะครับ
ต้องเป็นสมาชิกก่อนนะครับ
พอถึงหน้ายืนยันการซื้อของนะครับ
มันจะเป็นขาววโพล่นไม่มีไรเกิดขึ้นเลยนะครับ
ต้องแก้ไงอ่ะครับ
Order.php นี้ คือทั้งหมดก่อนจะ ไปหน้า อีกหน้านะครับ
Code (PHP)
<?
@session_start();
ob_start();
$usermem = $_SESSION["usermem"];
require_once "include/connectdb.php";
require_once "include/connect.php";
require_once "include/tdate.php";
if(empty($usermem))
{
$showmember = "
<table width=100% border=0 align=center cellpadding=1 cellspacing=1>
<form method=post action=SignIn.php><tr>
<td width=32% align=right><font size=2 color=#ffffff>ชื่อสมาชิก :</font></td>
<td width=68%><input name=usermem type=text size=15></td>
</tr>
<tr>
<td align=right><font size=2 color=#ffffff>รหัสผ่าน :</font></td>
<td><input name=passmem type=password size=15></td>
</tr>
<tr>
<td> </td>
<td><input name=submit type=submit class=submit value=เข้าสู่ระบบ!></td>
</tr>
<tr>
<td> </td>
<td><font size=2 color=#ffff00>!</font> <a href=ForgetPass.php><font size=2 color=#ffffff>ลืมรหัสผ่าน</font></a></td>
</tr></form>
</table>
";
}else{
$sql="select * from member where usermem='$usermem'";
$db_query=mysql_db_query($db,$sql);
$result=mysql_fetch_array($db_query);
$idxx=$result[id];
$usename=$result[name];
$user_mem=$result[usermem];
$pass_mem=$result[passmem];
$showmember = "
<div align=center><font size=2 color=#ffffff><img src=images/user.gif width=25 height=15>ยินดีต้อนรับ : <font color=#FFFF00>$usename</font>
<br><font size=2 color=#ffffff>[</font> <a href=CheckMyOrder.php><font size=2 color=#ffffff>ประวัติสั่งซื้อสินค้า</font></a> <font size=2 color=#ffffff>]
<br><font size=2 color=#ffffff>[</font> <a href=ChangePass.php><font size=2 color=#ffffff>เปลี่ยนรหัสผ่าน</font></a> <font size=2 color=#ffffff>]
<br><font size=2 color=#ffffff>[</font> <a href=Profiles.php><font size=2 color=#ffffff>ข้อมูลส่วนตัว</font></a> <font size=2 color=#ffffff>]
<br>[</font><a href=Logout.php><font size=2 color=#ffffff>ออกจากระบบ</font></a><font size=2 color=#ffffff>]</font>
</div>
";
$myorder = "<a href=CheckMyOrder.php><img src=images/myorder.gif border=0><a>";
}
?>
<html>
<head>
<title>:: <? echo "$headtxt_web"; ?> ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="css/instyle.css" rel="stylesheet" type="text/css">
<link href="css/style1.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="css/jquery-latest.pack.js" type="text/javascript"></script>
<script src="css/jquery.lightbox.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$(".lightbox").lightbox();
});
</script>
<LINK href="css/contentslider2.css" type=text/css rel=stylesheet>
<STYLE type=text/css>BODY {
MARGIN-TOP: 0px; MARGIN-LEFT: 0px
}
</STYLE>
<SCRIPT src="js/contentslider.js" type=text/javascript>
</SCRIPT>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style>
.jc{
position:relative;
}
</style>
<script language="JavaScript1.2">
var ns6=document.getElementById&&!document.all
var ie=document.all
var customcollect=new Array()
var i=0
function jiggleit(num){
if ((!document.all&&!document.getElementById)) return;
customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1
}
function init(){
if (ie){
while (eval("document.all.jiggle"+i)!=null){
customcollect[i]= eval("document.all.jiggle"+i)
i++
}
}
else if (ns6){
while (document.getElementById("jiggle"+i)!=null){
customcollect[i]= document.getElementById("jiggle"+i)
i++
}
}
if (customcollect.length==1)
setInterval("jiggleit(0)",80)
else if (customcollect.length>1)
for (y=0;y<customcollect.length;y++){
var tempvariable='setInterval("jiggleit('+y+')",'+'100)'
eval(tempvariable)
}
}
window.onload=init
</script>
</head>
<body bgcolor="#ffffff" background="images/bg.gif">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="5"><img name="home_r1_c1" src="images/home_r1_c1.jpg" width="1000" height="20" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="20" border="0" alt=""></td>
</tr>
<tr>
<td><img name="home_r2_c1" src="images/home_r2_c1.jpg" width="423" height="133" border="0" alt=""></td>
<td colspan="2"><img name="home_r2_c2" src="images/home_r2_c2.jpg" width="241" height="133" border="0" alt=""></td>
<td background="images/home_r2_c4.jpg"><div align="center"> <? echo "$showmember"; ?></div></td>
<td><img name="home_r2_c5" src="images/home_r2_c5.jpg" width="21" height="133" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="133" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2"><img src="images/home_r3_c1.jpg" alt="" name="home_r3_c1" width="439" height="62" border="0" usemap="#home_r3_c1Map"></td>
<td colspan="3"><img src="images/home_r3_c3.jpg" alt="" name="home_r3_c3" width="561" height="62" border="0" usemap="#home_r3_c3Map"></td>
<td><img src="images/spacer.gif" width="1" height="62" border="0" alt=""></td>
</tr>
<tr>
<td colspan="5" bgcolor="#FFFFFF"><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="190"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><img src="images/h_prdtype.jpg" width="187" height="32"></td>
</tr>
<tr>
<td>
<?
$page = $_GET['page'];
$select_type="select * from productstype order by id asc";
$query_select=mysql_query($select_type);
$num_rows=mysql_num_rows($query_select);
if($num_rows<1){
echo "<br><br><center><font color=#666666 face=tahoma size=2><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></font></center>";
}else{
$select="select * from productstype order by id asc";
$q_ry = mysql_query($select);
$num_rows=mysql_num_rows($q_ry);
$pagesize=20;
$rt=$num_rows%$pagesize;
if($rt!=0)
{
$totalpage=floor($num_rows/$pagesize)+1;
}
else
{
$totalpage=floor($num_rows/$pagesize);
$toppic_id=1;
}
if(empty($page))
{
$page=1;
}
mysql_free_result($q_ry);
$goto=($page-1)*$pagesize;
$sql_select_mem="Select * From productstype order by id asc limit $goto,$pagesize";
$fect=mysql_query($sql_select_mem);
if(!$fect)
{
("ติดต่อฐานข้อมูลไม่ได้".mysql_error());
exit;
}
$bgcount=0;
while($rows=mysql_fetch_array($fect))
{
$idx =$rows['id'];
$productstypecode =$rows['productstypecode'];
$productstypename = $rows['productstypename'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
$bgcolor="#E9E9E8";
}else{
$bgcolor="#FFFFFF";
}
$s_num="select * from products where productstypecode = '$productstypecode'";
$query_select_num=mysql_query($s_num);
$snum=mysql_num_rows($query_select_num);
?>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="23"> <div align="left"></div>
<div align="left"></div>
<div align="center"> </div>
<div align="left"><img src="images/opened.gif" width="17" height="17"><font color="#993300" size="2">
<? echo "<a href=ProductList.php?PRD=$productstypecode>$productstypename</a> ($snum)"; ?></font></div></td>
</tr>
<tr>
<td height="5"><img src="images/inline.jpg" width="184" height="3"></td>
</tr>
</table>
<?
}
}
?>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><img src="images/step2.jpg" width="796" height="64"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="1">
<form name="form1" method="post" action="orderComplete.php">
<tr>
<td><strong><font color="#990000" size="2">ข้อมูลการจัดส่ง</font></strong></td>
</tr>
<tr>
<td>
<?
$sqla="select * from member where usermem='$usermem'";
$resulta=mysql_db_query($db,$sqla);
$rs=mysql_fetch_array($resulta);
?>
<table width="582" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="130"><div align="right"><font color="#333333" size="2">คำนำชื่อ
:</font></div></td>
<td width="445"><input name="fname" type="text" class="inputinput" id="fname2" size=20 value='<? echo $rs[fname]; ?>'></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ชื่อ-นามสกุล
:</font></div></td>
<td><input name="name" type="text" class="inputinput" size=40 value='<? echo $rs[name]; ?>'></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ที่อยู่
:</font></div></td>
<td><font color="#333333" size="2">
<input name="address" type="text" class="inputinput" id="address" size=20 value='<? echo $rs[address]; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ถนน
:</font></div></td>
<td><font color="#333333" size="2">
<input name="road" type="text" class="inputinput" id="road2" size=20 value='<? echo $rs[road]; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ตำบล/แขวง
:</font></div></td>
<td><font color="#333333" size="2">
<input name="district" type="text" class="inputinput" id="district2" size=20 value='<? echo $rs[district]; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">อำเภอ/เขต
:</font></div></td>
<td><font color="#333333" size="2">
<input name="city" type="text" class="inputinput" id="city2" size=20 value='<? echo $rs[city]; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">จังหวัด
:</font></div></td>
<td><font color="#333333" size="2">
<input name="province" type="text" class="inputinput" id="province2" size=20 value='<? echo $rs[province]; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ประเทศ
:</font></div></td>
<td><font color="#333333" size="2">
<input name="country" type="text" class="inputinput" id="country3" size=20 value='<? echo $rs[country]; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">รหัสไปรษณีย์
:</font></div></td>
<td><input name="zipcode" type="text" class="inputinput" id="zipcode2" size=30 value='<? echo $rs[zipcode]; ?>'></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">โทรศัพท์
:</font></div></td>
<td><input name="phone" type="text" class="inputinput" id="phone2" size=30 value='<? echo $rs[phone]; ?>'></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">โทรสาร
:</font></div></td>
<td><input name="fax" type="text" class="inputinput" id="fax" size=30 value='<? echo $rs[fax]; ?>'></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">มือถือ
:</font></div></td>
<td><input name="mobile" type="text" class="inputinput" id="mobile" size=30 value='<? echo $rs[mobile]; ?>'></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">Email
:</font></div></td>
<td><input name="email" type="text" class="inputinput" id="email6" size=30 value='<? echo $rs[email]; ?>'></td>
</tr>
</table></td>
</tr>
<tr>
<td><strong><font color="#990000" size="2">รายการสินค้าที่สั่งซื้อ</font></strong></td>
</tr>
<tr>
<td><br> <TABLE WIDTH="650" BORDER="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
<TR BGCOLOR="#f4f4f4">
<TD WIDTH="15%" height="34"><CENTER>
<font size="2"><B>รหัสสินค้า</B> </font></CENTER></TD>
<TD WIDTH="50%"><CENTER>
<font size="2"><b>รายการสินค้าที่ได้สั่งซื้อ</b>
</font></CENTER></TD>
<TD WIDTH="12%"><CENTER>
<font size="2"><B>จำนวน</B> </font></CENTER></TD>
<TD WIDTH="10%"><CENTER>
<font size="2"><B>ราคา</B> </font></CENTER></TD>
<TD WIDTH="13%"><CENTER>
<font size="2"><B>รวม</B> </font></CENTER></TD>
</TR>
<?
for ($i=0;$i<count($sess_idproduct);$i++) {
$total_unit=$sess_num[$i]*$sess_price[$i];
$total=$total+$total_unit;
//$prd_code=sprintf("%05d",$sess_idproduct[$i]);
$prdcode = $sess_idproduct[$i];
$a = $sess_num[$i] *150 ;
$c=number_format($total_unit,2,'.',',') ;
$total_all=$total;
echo "
<TR bgcolor='#FFFFFF' height='22'>
<TD><center><font size=2>$prdcode</font></center></TD>
<TD><font size=2>$sess_name_prd[$i]</font></TD>
<TD><CENTER><font size=2>$sess_num[$i]</font></CENTER></TD>
<TD><CENTER><font size=2>$sess_price[$i]</font></CENTER></TD>
<TD><div align=right><font size=2>$c</font></div></TD>
</TR>";
}
?>
</TABLE>
<table width="648" border="0" align="center" cellspacing="0">
<tr>
<td width="504" height="25"><div align="right"></div></td>
<td width="143"><div align="center"> </div></td>
</tr>
</table>
<BR> <table width="650" border="0" align="center" cellpadding="5" cellspacing="2">
<tr>
<td width="264"><div align="right"></div></td>
<td width="360"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1"><div align="left"></div></td>
<td width="164" bgcolor="#FFFFFF"> <div align="right"><font color="#FF0000" size="3"><strong>รวมเป็นเงินทั้งหมด</strong></font></div></td>
<td width="142" bgcolor="#FFFFFF"> <div align="center">
<font size="3">
<?
$a=number_format($total_all,2,'.',',') ;
echo "<center><b><font color=#ff0000 size=3>$a</font></b></center>";
?>
</font></div></td>
<td width="53" bgcolor="#FFFFFF"><font color="#FF0000" size="3"><strong>บาท</strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
<td><div align="right" class="style5"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td><strong><font color="#333333" size="3">โอนเงินผ่านธนาคาร
(Bank Transfer)</font></strong></td>
</tr>
<tr>
<td><strong><u><font size="2">ชำระเข้าบัญชี<br>
</font></u></strong></td>
</tr>
<tr>
<td bgcolor="#ECE7D6"> <table width="800" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="116"><font size="2"><strong>ธนาคาร</strong></font></td>
<td width="171"><font size="2"><strong>ชื่อบัญชี</strong></font></td>
<td width="156"><font size="2"><strong>ประเภทบัญชี</strong></font></td>
<td width="161"><font size="2"><strong>สาขา</strong></font></td>
<td width="180"><font size="2"><strong>เลขที่บัญชี</strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<?
$page = $_GET['page'];
$select_type="select * from bank order by id asc";
$query_select=mysql_query($select_type);
$num_rows=mysql_num_rows($query_select);
if($num_rows<1){
echo "<br><br><center><font color=#666666 face=tahoma size=2><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></font></center>";
}else{
$select="select * from bank order by id asc";
$q_ry = mysql_query($select);
$num_rows=mysql_num_rows($q_ry);
$pagesize=20;
$rt=$num_rows%$pagesize;
if($rt!=0)
{
$totalpage=floor($num_rows/$pagesize)+1;
}
else
{
$totalpage=floor($num_rows/$pagesize);
$toppic_id=1;
}
if(empty($page))
{
$page=1;
}
mysql_free_result($q_ry);
$goto=($page-1)*$pagesize;
$sql_select_mem="Select * From bank order by id asc limit $goto,$pagesize";
$fect=mysql_query($sql_select_mem);
if(!$fect)
{
("ติดต่อฐานข้อมูลไม่ได้".mysql_error());
exit;
}
$bgcount=0;
while($rows=mysql_fetch_array($fect))
{
$idx =$rows['id'];
$accname =$rows['accname'];
$bankname = $rows['bankname'];
$accno = $rows['accno'];
$branch = $rows['branch'];
$acctype = $rows['acctype'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
$bgcolor="#E9E9E8";
}else{
$bgcolor="#FFFFFF";
}
?>
<table width="800" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="116"><? echo "<font size=2 color=#000000>$bankname</font>"; ?></td>
<td width="171"><? echo "<font size=2 color=#000000>$accname</font>"; ?></td>
<td width="156"><? echo "<font size=2 color=#000000>$acctype</font>"; ?></td>
<td width="161"><? echo "<font size=2 color=#000000>$branch</font>"; ?></td>
<td width="180"><? echo "<font size=2 color=#000000>$accno</font>"; ?></td>
</tr>
</table>
<?
}
}
?>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
<table width="520" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="170"><div align="center"><a href="Cart.php"><img src="images/orderbutt1.jpg" width="140" height="49" border="0"></a>
</div></td>
<td width="170"><div align="center"><a href="orderCancel.php"><img src="images/orderbutt2.jpg" width="141" height="49" border="0"></a>
</div></td>
<td width="170"><div align="center">
<input name="image" type="image" src="images/orderbutt3.jpg">
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div></td>
<td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2"><img src="images/home_r5_c1.jpg" alt="" name="home_r5_c1" width="439" height="39" border="0" usemap="#home_r5_c1Map"></td>
<td colspan="3"><img src="images/home_r5_c3.jpg" alt="" name="home_r5_c3" width="561" height="39" border="0" usemap="#home_r5_c3Map"></td>
<td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
</tr>
<tr>
<td><img name="home_r6_c1" src="images/home_r6_c1.jpg" width="423" height="71" border="0" alt=""></td>
<td colspan="4" background="images/home_r6_c2.jpg"><font color="#FFFFFF" size="2"><? echo "$buttomtxt_web"; ?></font></td>
<td><img src="images/spacer.gif" width="1" height="71" border="0" alt=""></td>
</tr>
</table>
<map name="home_r3_c1Map">
<area shape="rect" coords="13,20,79,50" href="index.php">
<area shape="rect" coords="99,20,193,52" href="Member.php">
<area shape="rect" coords="204,19,301,51" href="Products.php">
<area shape="rect" coords="326,17,425,51" href="Cart.php">
</map>
<map name="home_r3_c3Map">
<area shape="rect" coords="15,16,109,52" href="Payment.php">
<area shape="rect" coords="125,16,237,53" href="ConfirmPayment.php">
<area shape="rect" coords="257,16,373,53" href="CheckRef.php">
<area shape="rect" coords="383,14,458,55" href="Webboard.php">
<area shape="rect" coords="472,13,547,51" href="Contact.php">
</map>
<map name="home_r5_c1Map">
<area shape="rect" coords="10,5,84,33" href="index.php">
<area shape="rect" coords="98,2,189,49" href="Member.php">
<area shape="rect" coords="208,2,303,42" href="Products.php">
<area shape="rect" coords="324,2,423,44" href="Cart.php">
</map>
<map name="home_r5_c3Map">
<area shape="rect" coords="12,-2,100,36" href="Payment.php">
<area shape="rect" coords="127,-6,235,36" href="ConfirmPayment.php">
<area shape="rect" coords="383,-1,453,37" href="Webboard.php">
<area shape="rect" coords="477,-12,546,37" href="Contact.php">
<area shape="rect" coords="256,1,365,57" href="CheckRef.php">
</map>
</body>
</html>
Tag : PHP, HTML/CSS, JavaScript
|
|
|
|
|
|
Date :
2012-02-23 18:00:39 |
By :
nonzakiza |
View :
994 |
Reply :
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
orderComplete.php หน้านี้และ ขาวโพล่น
....นะครับ
Code (PHP)
<?
@session_start();
ob_start();
$usermem = $_SESSION["usermem"];
require_once "include/connectdb.php";
require_once "include/connect.php";
require_once "include/tdate.php";
if(empty($usermem))
{
$showmember = "
<table width=100% border=0 align=center cellpadding=1 cellspacing=1>
<form method=post action=SignIn.php><tr>
<td width=32% align=right><font size=2 color=#ffffff>ชื่อสมาชิก :</font></td>
<td width=68%><input name=usermem type=text size=15></td>
</tr>
<tr>
<td align=right><font size=2 color=#ffffff>รหัสผ่าน :</font></td>
<td><input name=passmem type=password size=15></td>
</tr>
<tr>
<td> </td>
<td><input name=submit type=submit class=submit value=เข้าสู่ระบบ!></td>
</tr>
<tr>
<td> </td>
<td><font size=2 color=#ffff00>!</font> <a href=ForgetPass.php><font size=2 color=#ffffff>ลืมรหัสผ่าน</font></a></td>
</tr></form>
</table>
";
}else{
$sql="select * from member where usermem='$usermem'";
$db_query=mysql_db_query($db,$sql);
$result=mysql_fetch_array($db_query);
$idxx=$result[id];
$usename=$result[name];
$user_mem=$result[usermem];
$pass_mem=$result[passmem];
$showmember = "
<div align=center><font size=2 color=#ffffff><img src=images/user.gif width=25 height=15>ยินดีต้อนรับ : <font color=#FFFF00>$usename</font>
<br><font size=2 color=#ffffff>[</font> <a href=CheckMyOrder.php><font size=2 color=#ffffff>ประวัติสั่งซื้อสินค้า</font></a> <font size=2 color=#ffffff>]
<br><font size=2 color=#ffffff>[</font> <a href=ChangePass.php><font size=2 color=#ffffff>เปลี่ยนรหัสผ่าน</font></a> <font size=2 color=#ffffff>]
<br><font size=2 color=#ffffff>[</font> <a href=Profiles.php><font size=2 color=#ffffff>ข้อมูลส่วนตัว</font></a> <font size=2 color=#ffffff>]
<br>[</font><a href=Logout.php><font size=2 color=#ffffff>ออกจากระบบ</font></a><font size=2 color=#ffffff>]</font>
</div>
";
$myorder = "<a href=CheckMyOrder.php><img src=images/myorder.gif border=0><a>";
}
$address_new = "$_POST[address] ถนน $_POST[road] ตำบล/แขวง : $_POST[district] อำเภอ/แขวง : $_POST[city] จ.$_POST[province] $_POST[zipcode] ประเทศ : $_POST[country]";
$randnum = rand(111111,999999);
$sql_numcode="select * from tb_order";
$db_queryr=mysql_db_query($db,$sql_numcode);
$result_numcode=mysql_fetch_array($db_queryr);
$num_rows_code=mysql_num_rows($db_queryr);
$run_number = $num_rows_code+1;
$rand_num=sprintf("%05d",$run_number);
$userCus = $_GET[user];
$passCus = $_GET[pass];
$sent_rate = $_GET[sr];
$today = date("d-m-Y");
$sql="select * from member where usermem='$usermem' ";
$result=mysql_db_query($db,$sql);
$rs=mysql_fetch_array($result);
$dateorder = date("$e_date");
$dateime1 = $dateorder;
$date = explode('/', $dateime1);
$newdate = implode('-', array($date[2], $date[1], $date[0]));
for ($n=0;$n<count($sess_idproduct);$n++) {
$sql1= insert("pId,refid,pNum,pPrice,date,id_cus"," '$sess_idproduct[$n]','$randnum','$sess_num[$n]','$sess_price[$n]','$newdate','$usermem' ","tb_order");
mysql_db_query($db,$sql1);
$sql_data = "update products set amount = amount-$sess_num[$n] where productscode = '$sess_idproduct[$n]'";
mysql_query($sql_data);
$sql_update_address = "update tb_order set address2 = '$address_new' where refid = '$randnum'";
mysql_query($sql_update_address);
$sql_stats = "update products set stats = stats+1 where productscode = '$sess_idproduct[$n]'";
mysql_query($sql_stats);
}
?>
<html>
<head>
<title>:: <? echo "$headtxt_web"; ?> ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="css/instyle.css" rel="stylesheet" type="text/css">
<link href="css/style1.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="css/jquery-latest.pack.js" type="text/javascript"></script>
<script src="css/jquery.lightbox.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$(".lightbox").lightbox();
});
</script>
<LINK href="css/contentslider2.css" type=text/css rel=stylesheet>
<STYLE type=text/css>BODY {
MARGIN-TOP: 0px; MARGIN-LEFT: 0px
}
</STYLE>
<SCRIPT src="js/contentslider.js" type=text/javascript>
</SCRIPT>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style>
.jc{
position:relative;
}
</style>
<script language="JavaScript1.2">
var ns6=document.getElementById&&!document.all
var ie=document.all
var customcollect=new Array()
var i=0
function jiggleit(num){
if ((!document.all&&!document.getElementById)) return;
customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1
}
function init(){
if (ie){
while (eval("document.all.jiggle"+i)!=null){
customcollect[i]= eval("document.all.jiggle"+i)
i++
}
}
else if (ns6){
while (document.getElementById("jiggle"+i)!=null){
customcollect[i]= document.getElementById("jiggle"+i)
i++
}
}
if (customcollect.length==1)
setInterval("jiggleit(0)",80)
else if (customcollect.length>1)
for (y=0;y<customcollect.length;y++){
var tempvariable='setInterval("jiggleit('+y+')",'+'100)'
eval(tempvariable)
}
}
window.onload=init
</script>
</head>
<body bgcolor="#ffffff" background="images/bg.gif">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="Untitled" fwbase="home.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="images/spacer.gif" width="423" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="16" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="225" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="315" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="21" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="5"><img name="home_r1_c1" src="images/home_r1_c1.jpg" width="1000" height="20" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="20" border="0" alt=""></td>
</tr>
<tr>
<td><img name="home_r2_c1" src="images/home_r2_c1.jpg" width="423" height="133" border="0" alt=""></td>
<td colspan="2"><img name="home_r2_c2" src="images/home_r2_c2.jpg" width="241" height="133" border="0" alt=""></td>
<td background="images/home_r2_c4.jpg"><div align="center"> <? echo "$showmember"; ?></div></td>
<td><img name="home_r2_c5" src="images/home_r2_c5.jpg" width="21" height="133" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="133" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2"><img src="images/home_r3_c1.jpg" alt="" name="home_r3_c1" width="439" height="62" border="0" usemap="#home_r3_c1Map"></td>
<td colspan="3"><img src="images/home_r3_c3.jpg" alt="" name="home_r3_c3" width="561" height="62" border="0" usemap="#home_r3_c3Map"></td>
<td><img src="images/spacer.gif" width="1" height="62" border="0" alt=""></td>
</tr>
<tr>
<td colspan="5" bgcolor="#FFFFFF"><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="190"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><img src="images/h_prdtype.jpg" width="187" height="32"></td>
</tr>
<tr>
<td>
<?
$page = $_GET['page'];
$select_type="select * from productstype order by id asc";
$query_select=mysql_query($select_type);
$num_rows=mysql_num_rows($query_select);
if($num_rows<1){
echo "<br><br><center><font color=#666666 face=tahoma size=2><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></font></center>";
}else{
$select="select * from productstype order by id asc";
$q_ry = mysql_query($select);
$num_rows=mysql_num_rows($q_ry);
$pagesize=20;
$rt=$num_rows%$pagesize;
if($rt!=0)
{
$totalpage=floor($num_rows/$pagesize)+1;
}
else
{
$totalpage=floor($num_rows/$pagesize);
$toppic_id=1;
}
if(empty($page))
{
$page=1;
}
mysql_free_result($q_ry);
$goto=($page-1)*$pagesize;
$sql_select_mem="Select * From productstype order by id asc limit $goto,$pagesize";
$fect=mysql_query($sql_select_mem);
if(!$fect)
{
("ติดต่อฐานข้อมูลไม่ได้".mysql_error());
exit;
}
$bgcount=0;
while($rows=mysql_fetch_array($fect))
{
$idx =$rows['id'];
$productstypecode =$rows['productstypecode'];
$productstypename = $rows['productstypename'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
$bgcolor="#E9E9E8";
}else{
$bgcolor="#FFFFFF";
}
$s_num="select * from products where productstypecode = '$productstypecode'";
$query_select_num=mysql_query($s_num);
$snum=mysql_num_rows($query_select_num);
?>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="23"> <div align="left"></div>
<div align="left"></div>
<div align="center"> </div>
<div align="left"><img src="images/opened.gif" width="17" height="17"><font color="#993300" size="2">
<? echo "<a href=ProductList.php?PRD=$productstypecode>$productstypename</a> ($snum)"; ?></font></div></td>
</tr>
<tr>
<td height="5"><img src="images/inline.jpg" width="184" height="3"></td>
</tr>
</table>
<?
}
}
?>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><img src="images/step3.jpg" width="796" height="64"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><table width="38%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#ECE7D6"><strong><font size="2">ผลการสั่งซื้อ</font></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td><br> <img src="images/loading.gif" width="32" height="32">
<font size="2">ข้อมูลการสั่งซื้อได้ส่งไปเรียบร้อยแล้ว</font>
</td>
</tr>
<tr>
<td><br> <br> <font size="2"><strong>การสั่งซื้อมีรายละเอียดดังนี้
</strong></font></td>
</tr>
<tr>
<td><img src="images/lineorder.jpg" width="800" height="3"></td>
</tr>
<tr>
<td><br> <table width="38%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#ECE7D6"><strong><font size="2">หมายเลขการสั่งซื้อ</font></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td><font size="2">Order No : <font color="#FF0000"><? echo "$randnum"; ?></font></font></td>
</tr>
<tr>
<td><font size="2">สถานะการสั่งซื้อ : <font color="#FF0000">รอการชำระเงิน</font></font></td>
</tr>
<tr>
<td><font size="2">วันที่สั่งซื้อ : <font color="#FF0000"><? echo "$e_date $etime"; ?></font></font></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="38%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#ECE7D6"><strong><font size="2">รายการสินค้าที่สั่งซื้อ</font></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td><TABLE WIDTH="100%" BORDER="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
<TR BGCOLOR="#f4f4f4">
<TD WIDTH="15%" height="34"> <CENTER>
<font size="3"><B>รหัสสินค้า</B> </font></CENTER></TD>
<TD WIDTH="50%"> <CENTER>
<font size="3"><b>รายการสินค้าที่ได้สั่งซื้อ</b>
</font></CENTER></TD>
<TD WIDTH="12%"> <CENTER>
<font size="3"><B>จำนวน</B></font></CENTER></TD>
<TD WIDTH="10%"> <CENTER>
<font size="3"><B>ราคา</B></font></CENTER></TD>
<TD WIDTH="13%"> <CENTER>
<font size="3"><B>รวม</B></font></CENTER></TD>
</TR>
<?
for ($i=0;$i<count($sess_idproduct);$i++) {
$total_unit=$sess_num[$i]*$sess_price[$i];
$total=$total+$total_unit;
$prd_code=sprintf("%05d",$sess_idproduct[$i]);
$a = $sess_num[$i] *150 ;
$c=number_format($total_unit,2,'.',',') ;
$total_all=$total;
echo "
<TR bgcolor='#FFFFFF' height='22'>
<TD><center><font size=2>$sess_idproduct[$i]</font></center></TD>
<TD><font size=2>$sess_name_prd[$i]</font></TD>
<TD><CENTER><font size=2>$sess_num[$i]</font></CENTER></TD>
<TD><CENTER><font size=2>$sess_price[$i]</font></CENTER></TD>
<TD><div align=center><font size=2>$c</font></div></TD>
</TR>";
}
?>
</TABLE>
<table width="100%" border="0" align="center" cellspacing="0">
<tr>
<td width="473" height="25"><div align="right"></div></td>
<td width="118"><div align="center"> <font size="2">
</font></div></td>
</tr>
</table>
<font size="2"><br>
</font> <table width="83%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="418"> <div align="right"><font size="3"><strong>รวมเป็นเงินทั้งหมดที่คุณต้องชำระ</strong></font></div></td>
<td width="118"> <font size="3"><u>
<?
$a=number_format($total_all,2,'.',',') ;
echo "<center><b>$a</b></center>";
?>
</u></font></td>
<td width="66"><font size="3"><strong>บาท</strong></font></td>
</tr>
<tr>
<td colspan="3"><div align="center"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td><br> <img src="images/lineorder.jpg" width="800" height="3"><br>
</td>
</tr>
<tr>
<td><table width="38%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#ECE7D6"><strong><font size="2">วิธีการชำระเงิน</font></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td><font size="2"><br>
<strong> ชำระผ่านธนาคารโดยการโอนเงิน</strong><br>
ชำระเงินเข้าบัญชี </font></td>
</tr>
<tr>
<td bgcolor="#ECE7D6"> <table width="800" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="116"><font size="2"><strong>ธนาคาร</strong></font></td>
<td width="171"><font size="2"><strong>ชื่อบัญชี</strong></font></td>
<td width="156"><font size="2"><strong>ประเภทบัญชี</strong></font></td>
<td width="161"><font size="2"><strong>สาขา</strong></font></td>
<td width="180"><font size="2"><strong>เลขที่บัญชี</strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<?
$page = $_GET['page'];
$select_type="select * from bank order by id asc";
$query_select=mysql_query($select_type);
$num_rows=mysql_num_rows($query_select);
if($num_rows<1){
echo "<br><br><center><font color=#666666 face=tahoma size=2><b>ยังไม่มีการเพิ่มข้อมูลค่ะ</b></font></center>";
}else{
$select="select * from bank order by id asc";
$q_ry = mysql_query($select);
$num_rows=mysql_num_rows($q_ry);
$pagesize=20;
$rt=$num_rows%$pagesize;
if($rt!=0)
{
$totalpage=floor($num_rows/$pagesize)+1;
}
else
{
$totalpage=floor($num_rows/$pagesize);
$toppic_id=1;
}
if(empty($page))
{
$page=1;
}
mysql_free_result($q_ry);
$goto=($page-1)*$pagesize;
$sql_select_mem="Select * From bank order by id asc limit $goto,$pagesize";
$fect=mysql_query($sql_select_mem);
if(!$fect)
{
("ติดต่อฐานข้อมูลไม่ได้".mysql_error());
exit;
}
$bgcount=0;
while($rows=mysql_fetch_array($fect))
{
$idx =$rows['id'];
$accname =$rows['accname'];
$bankname = $rows['bankname'];
$accno = $rows['accno'];
$branch = $rows['branch'];
$acctype = $rows['acctype'];
$bgcount=$bgcount+1;
$bgmod=$bgcount%2;
if($bgmod==0){
$bgcolor="#E9E9E8";
}else{
$bgcolor="#FFFFFF";
}
?>
<table width="800" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="116"><? echo "<font size=2 color=#000000>$bankname</font>"; ?></td>
<td width="171"><? echo "<font size=2 color=#000000>$accname</font>"; ?></td>
<td width="156"><? echo "<font size=2 color=#000000>$acctype</font>"; ?></td>
<td width="161"><? echo "<font size=2 color=#000000>$branch</font>"; ?></td>
<td width="180"><? echo "<font size=2 color=#000000>$accno</font>"; ?></td>
</tr>
</table>
<?
}
}
?>
</td>
</tr>
<tr>
<td><br> <img src="images/lineorder.jpg" width="800" height="3"><br>
<br> <table width="38%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#ECE7D6"><strong><font size="2">ข้อมูลผู้สั่งซื้อ</font></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td><font size="2">
<?
$sql="select * from member where usermem='$usermem' ";
$result=mysql_db_query($db,$sql);
$rs=mysql_fetch_array($result);
?>
</font> <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td width="96" valign="top"><div align="left"><font size="2">ชื่อ</font></div></td>
<td width="8" valign="top"><font size="2">:</font></td>
<td width="668" valign="top"><font size="2"><? echo "$rs[name]"; ?></font></td>
</tr>
<tr>
<td valign="top"><div align="left"><font size="2">อีเมล์</font></div></td>
<td valign="top"><font size="2">:</font></td>
<td valign="top"><font size="2">
<label><? echo "$rs[email]"; ?></label>
</font></td>
</tr>
</table></td>
</tr>
<tr>
<td><br> <table width="38%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#ECE7D6"><strong><font size="2">สถานที่ในการจัดส่ง</font></strong></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="99%" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td width="96" valign="top"><div align="left"><font size="2">ชื่อ</font></div></td>
<td width="8" valign="top"><font size="2">:</font></td>
<td width="668" valign="top"><font size="2"><? echo "$rs[name]"; ?></font></td>
</tr>
<tr>
<td valign="top"><div align="left"><font size="2">ที่อยู่</font></div></td>
<td valign="top"><font size="2">:</font></td>
<td valign="top"><font size="2">
<label>
<?
echo "$address_new";
?>
</label>
</font></td>
</tr>
<tr>
<td valign="top"><div align="left"><font size="2">เบอร์โทรศัพท์</font></div></td>
<td valign="top"><font size="2">:</font></td>
<td valign="top"><font size="2">
<label><? echo "$rs[phone]"; ?></label>
</font></td>
</tr>
<tr>
<td valign="top"><div align="left"><font size="2">อีเมล์</font></div></td>
<td valign="top"><font size="2">:</font></td>
<td valign="top"><font size="2">
<label><? echo "$rs[email]"; ?></label>
</font></td>
</tr>
</table>
<div align="center"><br>
<br>
<br>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div></td>
<td><img src="images/spacer.gif" width="1" height="25" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2"><img src="images/home_r5_c1.jpg" alt="" name="home_r5_c1" width="439" height="39" border="0" usemap="#home_r5_c1Map"></td>
<td colspan="3"><img src="images/home_r5_c3.jpg" alt="" name="home_r5_c3" width="561" height="39" border="0" usemap="#home_r5_c3Map"></td>
<td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
</tr>
<tr>
<td><img name="home_r6_c1" src="images/home_r6_c1.jpg" width="423" height="71" border="0" alt=""></td>
<td colspan="4" background="images/home_r6_c2.jpg"><font color="#FFFFFF" size="2"><? echo "$buttomtxt_web"; ?></font></td>
<td><img src="images/spacer.gif" width="1" height="71" border="0" alt=""></td>
</tr>
</table>
<map name="home_r3_c1Map">
<area shape="rect" coords="13,20,79,50" href="index.php">
<area shape="rect" coords="99,20,193,52" href="Member.php">
<area shape="rect" coords="204,19,301,51" href="Products.php">
<area shape="rect" coords="326,17,425,51" href="Cart.php">
</map>
<map name="home_r3_c3Map">
<area shape="rect" coords="15,16,109,52" href="Payment.php">
<area shape="rect" coords="125,16,237,53" href="ConfirmPayment.php">
<area shape="rect" coords="257,16,373,53" href="CheckRef.php">
<area shape="rect" coords="383,14,458,55" href="Webboard.php">
<area shape="rect" coords="472,13,547,51" href="Contact.php">
</map>
<map name="home_r5_c1Map">
<area shape="rect" coords="10,5,84,33" href="index.php">
<area shape="rect" coords="98,2,189,49" href="Member.php">
<area shape="rect" coords="208,2,303,42" href="Products.php">
<area shape="rect" coords="324,2,423,44" href="Cart.php">
</map>
<map name="home_r5_c3Map">
<area shape="rect" coords="12,-2,100,36" href="Payment.php">
<area shape="rect" coords="127,-6,235,36" href="ConfirmPayment.php">
<area shape="rect" coords="383,-1,453,37" href="Webboard.php">
<area shape="rect" coords="477,-12,546,37" href="Contact.php">
<area shape="rect" coords="256,1,365,57" href="CheckRef.php">
</map>
</body>
</html>
|
|
|
|
|
Date :
2012-02-23 18:02:00 |
By :
nonzakiza |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
code เยอะขนาดนี้ คุณจะให้ดูตรงไหนครับ
|
|
|
|
|
Date :
2012-02-24 06:49:23 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
จะ ถาม ว่า มีตรงไหนที่ผิด พลาดนะครับ
เพราะ ว่า พอ กดมาหน้า
orderComplete.php
มันจะเป็นขาวโพล่นน ไม่อะไรเกิดขึ้น เลย
................
|
|
|
|
|
Date :
2012-02-25 19:25:03 |
By :
nonzakiza |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code มันเยอะครับ ไม่รู้จะดูตรงไหนครับ
|
|
|
|
|
Date :
2012-02-26 09:37:50 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|