<!--#include file="conn.asp"-->
<html><head><title>商品管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<link href="css.css" rel="stylesheet" type="text/css">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-color: #E8F1FF;
	margin-top: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	font-size: 12px;
	font-weight: bold;
}
.STYLE4 {font-size: 12px}
-->
</style></head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
<td height="100">
      <table class="tableBorder" width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
        <tr>
          <td colspan="6" align="center" bgcolor="#254b8f"><span class="STYLE1"><font color="#ffffff">产品信息</font></span></td>
	    </tr>
		<tr bgcolor="#E8F1FF">
         
          <td width="19%" align="center" class="wz">名称</td>
          <td width="12%" align="center" class="wz">入库时间</td>
          <td width="28%" align="center" class="wz">管理操作</td>
		</tr>
       <% 
					     a2=request("a2")%>
					  <%
					  set rs=server.CreateObject("adodb.recordset")
						 sql="select * from product where "
						if a2<>"" then sql=sql+" cpmc like'%"&a2&"%' and "
						if right(sql,4)="and " then sql=left(sql,len(sql)-4)
						if right(sql,6)="where " then sql=left(sql,len(sql)-6)
						sql=sql+"order by id asc"
						rs.source=sql
						rs.open ,conn,1,1
					 %>
                      <%
					  if rs.eof then 
							response.Write"sorry!系统没有找到您想要的找的内容！"
					 end if 
					  if not rs.eof and not rs.bof then%>
                      <%    	 
				 rs.pagesize=18
				 page=request.querystring("page")   if isempty(page) or page="" or not isnumeric(page) then page=1
				 if cint(page)<1 then page=1
				 if cint(page)>rs.pagecount then page=rs.pagecount
				 rs.absolutepage=cint(page)
				 for i=1 to rs.pagesize
				   %>
		
        <tr bgcolor="#E8F1FF">
         
          <td width="19%" align="center" class="wz" STYLE='PADDING-LEFT: 10px'><a href="productedit.asp?id=<%=rs("id")%>"><font color="#000000"><%=rs("cpmc")%></font></a></td>
          <td width="12%" align="center" class="wz" STYLE='PADDING-LEFT: 10px'><font color="#000000"><%=rs("sj")%></font></td>
          <td align="center" class="wz">&nbsp;&nbsp;<a href="productedit.asp?id=<%=rs("id")%>"><font color="#FF0000">修改</font></a>&nbsp;&nbsp;<a href="javascript:if(confirm('确定要删除该文件吗？\n\n注意：删除后无法恢复！')){location.href='product_del.asp?id=<%=rs("id")%>&lb=<%=lb%>'}" title="删除文件"><font color="#FF0000">删除</font></a>&nbsp;&nbsp;</td>
		</tr>
		
       <%
		    rs.movenext
			if rs.eof then exit for
		 next
		 end if	
       %>
        <tr bgcolor="#E8F1FF">
		<form name="form3" method="post" action="searchxx.asp">
          <td height="30" colspan="12" align="right" class="wz"><span class="GrayText"><a href="searchxx.asp?page=1&a2=<%=a2%>" class="a2">第一页</a> <a href="searchxx.asp?page=<%=page-1%>&a2=<%=a2%>" class="a2">上一页</a> <a href="searchxx.asp?page=<%=page+1%>&a2=<%=a2%>" class="a2">下一页</a> <a href="searchxx.asp?page=<%=rs.pagecount%>&a2=<%=a2%>" class="a2">最后一页</a> 共<font color="#0000FF"><%=rs.pagecount%></font>页 当前第<font color="#0000FF"><%=page%></font>页 跳至<input type="text" name="page" size="4">页
<input type="submit" name="Submit2" value="转至">
<input type="hidden" name="id" value="<%=id%>">
          </span></td>
		  </form>
		</tr>
        <tr align="center" bgcolor="#E8F1FF">
          <td height="30" colspan="12" class="wz">&nbsp;</td>
        </tr>
      </table>
	
  <table width="12" height="7" border="0" cellpadding="0" cellspacing="0">
  <tr> 
  <td height=7></td>
  </tr>
  </table>
</td>
</tr>
</table>
<table class="tableBorder" width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td align="center" bgcolor="#254b8f" class="bsz"><strong>快速查讯</strong></td>
</tr>
<tr bgcolor="#E8F1FF"> 
<form name="form2" method="post" action="searchxx.asp">
<td height="50"> 
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
<td align="center">
<input name="a2" type="text" id="a2" onFocus="this.value=''" value="请输入关键字" size="60"></td>
<td width="20%" height="30" align="center">
<input type="submit" name="Submit2" value="查 询"></td>
</tr>
<tr>
  <td colspan=2 height=40>&nbsp;</td>
</tr>
</table></td>
</form>
</tr>
<tr bgcolor="#E8F1FF">
  <td height="50" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#1A70D2">
    <tr>
      <td height="20" background="images/admin-00.jpg"><span class="STYLE4">&nbsp; </span><span class="bsz">⊙ 温馨提示</span></td>
    </tr>
    <tr>
      <td height="124" valign="top" bgcolor="#E4F4FC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="3%" height="124">&nbsp;</td>
            <td width="97%" valign="top" class="wz">尊敬的用户：<br>
              &nbsp;&nbsp;&nbsp; 感谢您选择芜湖天颂！我们将一如即往的为您提供优质的服务！<br>
              &nbsp;&nbsp;&nbsp; 您在使用过程中遇到任何问题请拨打服务热线：<span class="red-wz">0553-3846251</span><br>
              &nbsp;&nbsp;&nbsp; 如果您觉得我们哪里还可以做的更好，请拨打：<span class="red-wz">0553-3846257</span>，或发邮件至<span class="red-wz"> 001@tian-song.com</span><br>
              &nbsp;&nbsp;&nbsp; 如果您对我们的服务有任何不满请拨打投诉电话：<span class="red-wz">0553-3872351&nbsp; 3316160</span><br>
              &nbsp;&nbsp;&nbsp; 邮箱：<span class="red-wz">002@tian-song.com</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;传真：<span class="red-wz">0553-3872351&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp; 客服QQ：<span class="red-wz">405815079</span></td>
          </tr>
      </table></td>
    </tr>
  </table></td>
</tr>
</table>

</body>
</html>


