|
|
|
ช่วยดู โค้ดให้หน่อย มันไม่รันอ่ะคะ มันรับค่ามาอ่ะ ดูแล้วมันไม่เข้าใจอ่าาาาาาาาาาาาาาาาาาาาา |
|
|
|
|
|
|
|
หน้า สินค้า
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ร้าน ส.สัมพันธ์</title>
<link href="css/style_all.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/styles_menu.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nav-h.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nav-v.css" type="text/css" media="screen" />
<?
include "admin/config.php";
?>
<?php
//$id_type = $rs_show['id_type'];
if($id_group =="")
{
$sql_group = mysql_query("select * from product_ssumphan where id_type = '$id_type' order by id_ssumphan_pro DESC");
} else {
$sql_group = mysql_query("select * from product_ssumphan where id_type = '$id_type' and id_group = '$id_group'");
}
?>
<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<title><?php echo $title_name ; ?></title>
</script>
<script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<!--[if gte IE 5.5]><script language="JavaScript" src="jquery.ienav.js" type="text/javascript"></script><![endif]-->
<script language="JavaScript" type="text/javascript">
$(document).ready(function() {
$('.links li code').hide();
$('.links li p').click(function() {
$(this).next().slideToggle('fast');
});
});
</script>
<style type="text/css">
a.page:link {text-decoration:none;color:#444;} /* unvisited link */
a.page:visited {text-decoration:none;color:#444;} /* visited link */
a.page:hover {text-decoration:underline;color:#f90;} /* mouse over link */
a.page:active {text-decoration:none;color:#444;} /* selected link */
</style>
<script type="text/javascript">
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_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_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_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>
</head>
<body style="margin:0px; width:100%;" onload="MM_preloadImages('images/icon2_01.png','images/icon2_03.png','images/btn2_37.png','images/btn2_38.png','images/btn2_39.png','images/btn2_40.png','images/btn_buy2_05.jpg')">
<div class="all">
<!--header -->
<div class="hd_bg">
<div class="hd_area">
<div class="icon1"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/icon2_01.png',1)"><img src="images/icon1_01.png" name="Image6" width="24" height="24" border="0" id="Image6" /></a></div>
<div class="icon2"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/icon2_03.png',1)"><img src="images/icon1_03.png" name="Image7" width="24" height="24" border="0" id="Image7" /></a></div>
<div class="search">
<input name="" type="text" class="search_txt" value="Search" onclick="if(this.value=='Search')this.value='';" onblur="if(this.value=='')this.value='Search';"/>
</div>
<div class="menu">
<div class="btn1"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/btn2_37.png',1)"><img src="images/btn1_37.png" name="Image4" width="76" height="16" border="0" id="Image4" /></a></div>
<div class="btn2"><a href="about.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/btn2_38.png',1)"><img src="images/btn1_38.png" name="Image5" width="107" height="16" border="0" id="Image5" /></a></div>
<div class="btn3"><a href="faq.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images/btn2_39.png',1)"><img src="images/btn1_39.png" name="Image8" width="67" height="16" border="0" id="Image8" /></a></div>
<div class="btn4"><a href="contact.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','images/btn2_40.png',1)"><img src="images/btn1_40.png" name="Image11" width="122" height="16" border="0" id="Image11" /></a></div>
</div>
</div><!--/hd_area -->
<div class="hd_line"></div>
</div>
<!--content -->
<div class="bg_all">
<div class="content_area"><div class="content_bg">
<div class="content_L">
<div class="category"></div>
<div class="menu_list"><? include"inc_menu.php" ?></div>
<div class="login_area"><? include"inc_logout.php" ?></div>
</div><!--/L -->
<div class="content_R" style="background:#fff;">
<div class="pd_area">
<div class="pd_txt1">หมวดหมู่สินค้า >> ผลิตภัณฑ์กระดาษ >> กระดาษโปสเตอร์</div>
<div class="pd_txt2">Page
<a class="page" href="#">1</a> |
<a class="page" href="#">2</a> |
<a class="page" href="#">3</a> |
<a class="page" href="#">4</a> |
<a class="page" href="#">5</a></div>
<div class="pd_line2"></div>
<div class="pd_table">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="22%" align="left" valign="top"><div class="pd_pic"><img src="images/pd1.jpg" width="150" height="100" border="0" /></div></td>
<td width="58%" align="left" valign="top"><div class="pd_txt3">ชื่อสินค้า : <?php echo $rs_group['name_group']; ?></div>
<div class="pd_txt4">รหัสสินค้า : xxxxxxx <br/>ราคาสินค้า : <?php echo $rs_group['price_ssumphan_pro']; ?> บาท</div></td>
<td width="20%" align="right" valign="middle"><div class="pd_txt5">ชิ้น</div>
<input name="" type="text" class="pd_field" />
<div class="pd_txt5">จำนวน</div>
<div class="pd_btn"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image17','','images/btn_buy2_05.jpg',1)"><img src="images/btn_buy1_05.jpg" name="Image17" width="94" height="26" border="0" id="Image17" onClick="javascript:window.open('pop_up.php' , 'pj1' ,'nenuber=no,toorlbar=no,location=no,scrollbars=no, status=no,resizable=no,width=400,height=250,top=200,left=420 ' )";/></a></div></td>
</tr>
</table>
<div class="pd_line"></div>
</div>
<div class="pd_table">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="22%" align="left" valign="top"><div class="pd_pic"><img src="images/pd1.jpg" width="150" height="100" border="0" /></div></td>
<td width="58%" align="left" valign="top"><div class="pd_txt3">ชื่อสินค้า : <?php echo $rs_group['name_group']; ?></div>
<div class="pd_txt4">รหัสสินค้า : xxxxxxx <br/>ราคาสินค้า : xxxx บาท</div></td>
<td width="20%" align="right" valign="middle"><div class="pd_txt5">ชิ้น</div>
<input name="" type="text" class="pd_field" />
<div class="pd_txt5">จำนวน</div>
<div class="pd_btn"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image18','','images/btn_buy2_05.jpg',1)" onClick="javascript:window.open('pop_up.php' , 'pj1' ,'nenuber=no,toorlbar=no,location=no,scrollbars=no, status=no,resizable=no,width=400,height=250,top=200,left=420 ' )";><img src="images/btn_buy1_05.jpg" name="Image18" width="94" height="26" border="0" id="Image18" /></a></div></td>
</tr>
</table>
<div class="pd_line"></div>
</div>
<div class="pd_table">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="22%" align="left" valign="top"><div class="pd_pic"><img src="images/pd1.jpg" width="150" height="100" border="0" /></div></td>
<td width="58%" align="left" valign="top"><div class="pd_txt3">ชื่อสินค้า : xxxxxxxxxxxxxxxxxxxxxxxxxxxx</div>
<div class="pd_txt4">รหัสสินค้า : xxxxxxx <br/>ราคาสินค้า : xxxx บาท</div></td>
<td width="20%" align="right" valign="middle"><div class="pd_txt5">ชิ้น</div>
<input name="" type="text" class="pd_field" />
<div class="pd_txt5">จำนวน</div>
<div class="pd_btn"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/btn_buy2_05.jpg',1)" onClick="javascript:window.open('pop_up.php' , 'pj1' ,'nenuber=no,toorlbar=no,location=no,scrollbars=no, status=no,resizable=no,width=400,height=250,top=200,left=420 ' )";><img src="images/btn_buy1_05.jpg" name="Image19" width="94" height="26" border="0" id="Image19" /></a></div></td>
</tr>
</table>
<div class="pd_line"></div>
</div>
</div><!--/pd_area -->
</div><!--/R -->
</div></div><!--/content_area -->
</div>
<!--footer -->
<div class="footer"><div class="content_line"></div><? include"inc_copyright.php" ?></div>
</div><!--/all -->
</body>
</html>
|
|
|
|
|
Date :
2012-05-08 09:27:14 |
By :
yaiblooliverpool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|