﻿<%@ LANGUAGE = "VBScript.Encode" CODEPAGE="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/			                                                                 
'###################################################################
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title>商城系统-威博单用户商城后台管理系统</title>
</head>
<!--#include file=../include2.asp-->
<%#@~^owgAAA==@#@&mG	x94@#@&NbhP	lh+^kdOB/k9skkY~7m^Vm/kVr/OSKDd@#@&A{Stn.'J2m9+s'Z~mx[,w|mtmxTdl^+x!r@#@&r6PD5E/YvEV+HhKD[Jb@!@*JEPD4+	@#@&7b0P.n$En/DcrYza+r#'ZPD4+	@#@&dihmA4+Dxh|ht.nPLPrPCx[~a{UlsnP^kVn,B]E'M+5EdD`E0+HhWMNrb[r]vJ@#@&7n^/+bWP,D+$;n/D`rYzwnE*'qPD4+	P@#@&idhmA4+.+{A|h4DP[,J,Cx9P2{ak[~^k3~BuJ[Mn5E/D`E3nzSW.Nrb[r]vE@#@&dnU9Pr0@#@&x[,k6@#@&b0,.+$En/D`EWbNJ*@!@*rJPD4nx@#@&ikWP.n$En/DcJ6k[E*@!@*ETrY4+	@#@&d76k9'/aVbO`M+5E/Ocr0k9E#BJurbc!*@#@&d70mWbNxoO?!4/sm//cES+8{a.Kmsm/kJ~6k9b@#@&d7h|h4nM+'Smh4+D~'PrPmx[P2m1VC/krN,kUcr[0mWbN'J*E@#@&7Vk+@#@&diA{StnD'AmSt+MnPLPJ,CUN,w|mslddbN~'ZE@#@&dnU9PkW@#@&+UN,r6@#@&b0,D+$EdYvJ2DbmnE*'JZEPDt+	@#@&dS{StnDnxS{At.+,[~EmxN~K|Hn:(nMn.bmP@!,FZTJ@#@&nVk+rW,D+$;+kY`r2.k1+r#xJqE,Y4+	@#@&ihmA4+DnxS{At.P',JmxN,n|\+s4nDhDr^P@*{q!ZPl	[~n|H:8+.KMk^+,@!*Z!E@#@&+Vdnb0~D5!+dD`rwDbmE#{J+J,Y4n	@#@&iA{St+Mnxh|h4+.+~',JCx9~n|Hnh(+DK.bmn@*{XZ!~mx9Pn|Hh4DKDbmn@!y!!ZE@#@&+Vknr0,D;;+dOvJ2Db^+r#xE2JPO4x@#@&iA|h4D'h|h4nDP'PrlU[,n{tn:(+Dh.rm@*{ T!TE@#@&nx9~k6@#@&r6PDn5!+dYvEkYCD+r#'r!r~Y4+U@#@&dAmSt+Mn'S{h4n.+,[,JCx[~a{2E(sk1lOn{FJ@#@&Vd+bW,Dn$E/YvJkOlD+E#{JqE,YtU@#@&dh|A4+M+{hmh4nM+~[,El	N~2|wE8sbmCYxZJ@#@&+	NPb0@#@&k6P.+$EndD`J6slTJ#{ETJ,Y4+U@#@&7S{At.+{hmA4+Dn~LPEl	[,nm"+1W:s+	['8J@#@&Vdnb0PMn;!+/DcE0^lTJb'EqrPOtU@#@&dAmSt+.n{hmh4nM+~LPrlx9PhmImG:s+U[{!J@#@&+	NPbW@#@&@#@&U+OPG.k'U+S~Z^/mj4WhGKmonB创建对象@#@&qkO4PKD/@#@&i ZKxU'1WUUiddE得到数据库连接对象@#@&iRf(Pzw'rb/J77iB数据库类型Sb;为Cm1+ddBH?j}d为/5VknM\nM Z!!BHUjpd{jn为存储过程版BHej5S为:Hd;^~nVj}S为hWkY!Dnj$V@#@&i ImPza+'T7idv取记录总数方法`Z执行^KEUD~8自写/;^语句取~y固定值b@#@&d Imj5^'!i7dE如果I+1Pzw＝F则{取记录/5V语句，如果是+x数值，等于Z'EJ@#@&dcIn^:+Dhxyd7dE取从记录条件是否有变化cZ无变化~q有变化B 不设置1WW0kd也就是及时统计，适用于搜索时候#@#@&7R;WGVb+1mh+{JD^CmrdiB如果]+^PDh＝ B^WK3rnkxlhn{JE~否则写1GK3r/	l:@#@&7R}D[+M'q7idB排序vT顺序F降序*~注意要和下面/$s里面主键(f的排序对应@#@&iRKlLnUk"+{+!id7v每页记录条数@#@&d Bkj.V{EcR&cRJL/JJiv/4WAW|wCLRLk的路径@#@&iR?$sxJbNBwmxCh~2{1slk/r[B$wms\nVYSktGak9~w|w!8VbmCY~Kmt+:(nDhDk1nSn|sKV[+.Sh{6x^zk9~KmUYW^VBwm/Ks9+[Bn|KD!+TGW9~K{"+^Gs:+	[~h{snSn|xhWVCLBnmtKO~h{d24WYGSh{]l	VBwmak9^h4|2DKN;mD^E'S{h4nD[JfKmb9NDkh+yr9J~B字段B表S条件`不需要Stn.#~排序c不需要需要6"f3I,$I#S主键&f@#@&2	N,	kDt@#@&bIn^;WE	O'KD/c]nm;W!xO`bv记录总数@#@&rIkxWM/ ]/EsOU+O`*@#@&B^^Wk+N(@#@&ClwCAA==^#~@%>
<STYLE type=text/css>
#dhtmltooltip {
	font-size: 9pt;BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 4px; Z-INDEX: 100; FILTER: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=120); VISIBILITY: hidden; PADDING-BOTTOM: 4px; BORDER-LEFT: gray 1px solid; WIDTH: 150px; PADDING-TOP: 4px; BORDER-BOTTOM: gray 1px solid; POSITION: absolute; BACKGROUND-COLOR: #cccccc
}
</STYLE>
<div id='dhtmltooltip' height=250 width=250><img src=""/></div>
<script language="javascript" src="../../js/jump.js"></script>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<center>
<!-- #include file="../loading2.asp" -->
<!--#include file=web_mall_include.asp-->
<div class="div-top">
<span class="right-span"><a href="addpro.asp"><font color="#990000">添加新商品</font></a>&nbsp;&nbsp;</span>
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - 商品列表 </span>
</div>

<div class="tab-div">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form name="queryform" method="get" action="?">
<tr>
<td height="30" colspan="11" align="center" bgcolor="#FFFFFF">搜索商品：
<input name="keyword" type="text" class="input2b" size="18">
<select name="type" class="input3b">
<option value="0" selected>商品名称</option>
<option value="1" >商品编号</option>
</select>
&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;
<select name="fid" id="fid"  onchange=changecat(this) class="input3b">
<option value="" selected>分类选择</option>
<option value="0" >没有分类的商品</option>
<%#@~^ugAAAA==~1WU	N(@#@&k+D~Dk'd+M\n.cmDCYW4Nn^YvJmNGN8 M+^WM[/YEb@#@&/5s{Jd+^n1Y~CP6DWsPqn4|n.W;VCdkPh4nDP0b[x!,WMNnD~8HPrN,C/1J@#@&M/RG2x~/$sBmG	xBF~2@#@&[W,h4k^+~UKYPMdRW0@#@&rN{Dk`Ek[E*@#@&kzkAAA==^#~@%>
<option value="<%=#@~^CAAAAA==.k`EbNr#RwIAAA==^#~@%>|<%=#@~^DQAAAA==.k`E^+7+Vr#3q7gMAAA==^#~@%>"><%=#@~^CgAAAA==.k`E	ls+J*GwMAAA==^#~@%></option>
<%#@~^IgAAAA==~1ls^P	WV\s`rn4|n.G;VlkdJBkNBqbYAsAAA==^#~@%>
<%#@~^OgAAAA==~@#@&.kRsW\xaY@#@&sWKw~@#@&D/c^VK/+,l~/Y,Dd'UGDtrxT@#@&BxAAAA==^#~@%>
</select>      
<select name="price" class="input3b">
<option selected>价格范围</option>
<option value="0">100以内</option>
<option value="1">100~500</option>
<option value="2">500~2000</option>
<option value="3">2000以上</option>
</select>
<select name="state" class="input3b">
<option selected>选择状态</option>
<option value="0">销售中</option>
<option value="1">未上架</option>
</select>
<select name="flag" class="input3b">
<option selected>是否推荐</option>
<option value="0">推荐</option>
<option value="1">未推荐</option>
</select>
<input type="submit" name="Submit2" value="搜索">	</td>
</tr>
</form>

<tr align="center" class="bottomborder2">
<td width="8%" height="30" bgcolor="#f1f1f1">-ID-</td>
<td width="28%" bgcolor="#f1f1f1">-商品名称-</td>
<td width="12%" bgcolor="#f1f1f1">-所属分类-</td>
<td width="6%" bgcolor="#f1f1f1">-库存-</td>
<td width="6%" bgcolor="#f1f1f1">-价格-</td>
<td width="8%" bgcolor="#f1f1f1">-相关商品-</td>
<td width="8%" bgcolor="#f1f1f1">-相关文章-</td>
<td width="15%" bgcolor="#f1f1f1">-架│实│荐│特│新│热-</td>
<td bgcolor="#f1f1f1" width="8%">- 操作 -</td>
</tr>
<form name="myform" method="post" action="wprosave.asp?action=falsedel&page=<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>">
<%#@~^FQAAAA==(6P~bImZKE	O@!8PPtxlwYAAA==^#~@%>
<tr bgcolor="#ffffff" height=30 align="center">
<td colspan="11">暂无记录</td>
</tr>
<%#@~^BgAAAA==~AVdPyQEAAA==^#~@%>
<%#@~^GAAAAA==oKD~b'ZPKKP`8W!x[`bIdSy#agcAAA==^#~@%>
<tr align="center" class="bottomborder" onMouseOver="this.className='onmouseover'" onMouseOut="this.className='bottomborder'">
<td height="30" bgcolor="#FFFFFF" align="left" class="left-padding"><input type="checkbox" name="ck"  value="<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>"><%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%></td>
<td bgcolor="#FFFFFF" align="left">
[<%=#@~^CQAAAA==r"?c8%Bk#XQIAAA==^#~@%>]
<a href="../../html/product/<%=#@~^CAAAAA==r"?cR~&#DAIAAA==^#~@%>.html" target="_blank"><font color="#688A00"><%=#@~^CAAAAA==r"?c8~b#JQIAAA==^#~@%></font></a>
<img src="../images/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=150 src=<%#@~^JgAAAA==r6Ps0D`YMksck"?cF+~(b*~c*xJ4YYaE~Y4+	owsAAA==^#~@%> <%=#@~^CQAAAA==r"?c8vBq#OwIAAA==^#~@%><%#@~^BAAAAA==n^/nqQEAAA==^#~@%>../../<%=#@~^CQAAAA==r"?c8vBq#OwIAAA==^#~@%><%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>>','#ffffff',150)" onMouseOut="hideddrivetip()"></td>
<td bgcolor="#FFFFFF">
<%#@~^EwAAAA==r6Pr"?v ~b#{TPDtnx,cQUAAA==^#~@%>
<font color="#ff0000">分类不存在</font>
<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
<%=#@~^NAAAAA==LYG	+7lV!+vE4mnMW/sm//rSJgl:ESJbN{J'k]jv Sk*'Jr#+Q8AAA==^#~@%>
<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
</td>
<td bgcolor="#FFFFFF"><%=#@~^FAAAAA==cbIjv,Bq# k"j`8!Sq*#wAQAAA==^#~@%>&nbsp;<a onClick="window.open('../dialog.asp?action=addstock&id=<%=#@~^CAAAAA==r"/cZ~b#RAIAAA==^#~@%>&stock=<%=#@~^FAAAAA==cbIjv,Bq# k"j`8!Sq*#wAQAAA==^#~@%>','','width=400,height=300,scrollbars=yes')" style="cursor:hand" title="点击入库"><font color="#ff0000">入库</font></a></td>
<td bgcolor="#FFFFFF"><%=#@~^CAAAAA==r"?c+~b#KgIAAA==^#~@%></td>
<td bgcolor="#FFFFFF"><a href="javascript:getlist('<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>','<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>');">编辑</a>(<%=#@~^FQAAAA==LY]VmYkKxvrIk`T~b#bEwcAAA==^#~@%>)</td>
<td bgcolor="#FFFFFF"><a href="javascript:getlist2('<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>','<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>');">编辑</a>(<%=#@~^GQAAAA==LY]VmYkKx6rV`rIk`TSb##swgAAA==^#~@%>)</td>
<td bgcolor="#FFFFFF">
<%#@~^FAAAAA==~b0~bDk`*Bk*xF,Y4+	P1QUAAA==^#~@%>
<font color="#668A00">√</font>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>×
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%> | 

<%#@~^FQAAAA==~b0~bDk`F8~bb'8POtx~AgYAAA==^#~@%>
<font color="#668A00">√</font>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>×
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%> | 

<%#@~^FQAAAA==~b0~bDk`Fy~bb'8POtx~AwYAAA==^#~@%>
<font color="#668A00">√</font>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>×
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>|

<%#@~^FQAAAA==~b0~bDk`F2~bb'8POtx~BAYAAA==^#~@%>
<font color="#668A00">√</font>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>×
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>|

<%#@~^FQAAAA==~b0~bDk`FW~bb'8POtx~BQYAAA==^#~@%>
<font color="#668A00">√</font>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>×
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>|

<%#@~^FQAAAA==~b0~bDk`Fl~bb'8POtx~BgYAAA==^#~@%>
<font color="#668A00">√</font>
<%#@~^BQAAAA==~VdyQEAAA==^#~@%>×
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%></td>
<td width="10%" bgcolor="#FFFFFF"><a href="javascript:ListUpdate('<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>','<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>');">编辑</a>│<a href="wprosave.asp?action=falsedel&page=<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>&ck=<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>&rg=7">删除</a></td>
</tr>
<%#@~^BAAAAA==U6OvwEAAA==^#~@%>
<tr bgcolor="#F1F1F1">
<td height="20" colspan="11" align="left">
<input name="CheckAll" type="checkbox" id="CheckAll"  onClick="CheckAllCK()" title=全部选择 style="cursor:hand">全选
<select name="rg">
<option value="" style="bgcolor:#f1f1f1">---选择操作1---</option>
<option value="0">├上架</option>
<option value="1">├实体</option>
<option value="3">├推荐</option>
<option value="4">├特价</option>
<option value="5">├新品</option>
<option value="6">├热卖</option>
<option value="">---选择操作2---</option>
<option value="7">├删除</option>
<option value="">---选择操作3---</option>
<option value="10" >├下架</option>
<option value="11">├虚拟</option>
<option value="13">├取消推荐</option>
<option value="14">├取消特价</option>
<option value="15">├取消新品</option>
<option value="16">├取消热卖</option>
</select>
<input type="submit" name="Submit3" value="确定" onClick="return check_str1();"></td>
</tr>
</form>
<tr bgcolor="#F1F1F1">
<td height="25" colspan="11" align="left" bgcolor="#FFFFFF"><%=#@~^DgAAAA==G"? ktKhwmoc#8QQAAA==^#~@%></td>
</tr>
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>	
<tr bgcolor="#F1F1F1">
<td height="25" colspan="11" align="left" bgcolor="#FFFFFF" class="showtip">备注:如果商品分类不存在，将无法显示在首页</td>
</tr>
</table>
</div>
</center>
<%#@~^BwAAAA==^^WdN(3AIAAA==^#~@%>
<!-- #include file="../bottom2.asp" -->
<script>
<!--
function addproduct()
{
	location='addpro.asp';
}
function ListUpdate(ID,page)
{
	location='addpro.asp?ID='+ID+'&page='+page;
}
function getlist(ID,page)
{
	location='Relation_addpro.asp?ID='+ID+'&page='+page;
}
function getlist2(ID,page)
{
	location='Relation_addfile.asp?ID='+ID+'&page='+page;
}
//-->
</script>
</body>
</html>