<!--#include file="conn.asp"-->
<!--#include file="check2.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>商品组合</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
td{font-size:9pt;line-height: 160%;}
body {
	margin-top: 5px;margin-left: 2px;
}
.style3 {color: #A84E22; font-weight: bold; }
#tabcss{
	BORDER-COLLAPSE: collapse;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #dddddd;
	border-left-color: #dddddd;
}#tabcss td {
	line-height: 24px;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 2px;
	padding-bottom: 2px;
	color: #333333;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #dddddd;
	border-bottom-color: #dddddd;
}

-->
</style>
</head>

<body bgcolor="#fcfcfc">

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="tabcss">
  <tr bgcolor="#E1EFFF"> 
    <td height="25" colspan="5"><b>商品组合设置：</b></td>
  </tr>
  <tr bgcolor="#eeeeee"> 
    <td height="25" width=10%><div align="center">套餐编号</div></td>
    <td width=20%> 
      <div align="center">套餐名称</div></td>
    <td width=6%> 
      <div align="center">套餐价格</div></td>
    <td width=50%> 
      <div align="center">套餐内的商品</div></td>
	<td width=14%> 
      <div align="center"><b><a href='productzuheadd.asp'>增 加</a></b></div></td>
  </tr>
  <%
i=0

sql="select * from e_product where zuheflag=1 order by pkid desc"

set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
if rs.bof or rs.eof then
	response.write "<div align=center><br>没有记录! </div>"
else
	do while not rs.eof 
	id=rs("pkid")
	model=rs("model")
	zuhename=rs("zuhename")
	price2=rs("price2")
	productname=rs("productname")
%>
  <tr onMouseOver="this.style.background='#FFE4CA';" onMouseOut="this.style.background='#ffffff';"> 
    
    <td><b><%=model%></b></td>
	<td><b><%=zuhename%></b></td>
	<td align=right><%=price2%></td>
	<td><%=productname%></td>
    <td align="center">
	<a href="../pro_zuhe.asp?backid=<%=id%>" target='_blank'>浏览</a>&nbsp;&nbsp;
	<a href="productzuheadd.asp?id=<%=id%>">修改</a>&nbsp;&nbsp;
	<a href="productzuhedel.asp?id=<%=id%>" onClick="return confirm('真的删除“<%=model%>”记录?')">删除</a>
	</td>
  </tr>
  <%
	rs.movenext
	i=i+1
	loop
end if
%>
</table>
<br><br>
</body>
</html>
<%
rs.close
set rs=nothing
call connclose
%>

