﻿<%@ 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/			                                                                 
'###################################################################
-->
<html>
<head>
<title>其他系统-威博多用户商城后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>
<!--#include file=../include2.asp-->
<%#@~^VgUAAA==@#@&mG	x94@#@&fbhPKDd@#@&Nrh,xlsnVb/YBdrN^kkYS\m^^ld/^r/D@#@&OHw+r[{Dn;!nkYcrYHw+bNrb@#@&@#@&k6POza+k9xJrPY4nU@#@&dS{Atn.'EP,~b9ZsCk/q9xZPCx9~,l[4Na0Vmo{TPr@#@&+^/n@#@&dh|AtD+{E~PzN;VC/d(G'E[Dzwk['rPPCU9PCN4[a0smo{!Pr@#@&nx9Pr0@#@&VnHxlsn'DDksc.+$E/O`EVXUlsnJ*#@#@&@#@&kW~0+zxmh@!@*rJ,Ytx@#@&db0~D;;nkY`r5EDXDz2+r#{JTJ~O4+U@#@&7dS{A4D+x~rP~l949wW^lT'!,l	[PmNUls+~sb3+,v]r[3zUls+LJYB~E@#@&7+^d+b0~~M+;;nkYcJ$;DzDXa+J*'rqJ,Y4+	@#@&7ih{S4+M+'r~~PmN4N20sCT'TPmUN,PC[KxVzr9Psk0n,BYr[0+X	lsn[r]vPr@#@&7V/r0,D+$;n/D`r;;+.zDX2+rb'r E~Dt+U@#@&d7h|A4+.'rPb9qGxPr[V+HxCh[J,E@#@&d+	[~k6@#@&+UN~r6@#@&?OPKDdx	+h~/^/m?4GSWKmodB创建对象@#@&qrY4PGDk@#@& ;Wx	xmKxxi77B得到数据库连接对象@#@&cf8Kz2'Eb;Edidv数据库类型SzZ为l^^/d~tjUpJ为k;^/+M\. Z!T~t?j}d{?h为存储过程版SHI?pd为hz/$VBn!?}J为hWdYV.+U;s@#@&RIn^:X2+{Tid7E取记录总数方法`Z执行mW!xDSF自写k;s语句取~y固定值#@#@&cI+1j;^'!i77B如果"+1Kzwn＝q则{取记录/5V语句，如果是yx数值，等于!{JE@#@&RIn^:+.:{+id7E取从记录条件是否有变化`Z无变化~F有变化B 不设置1GW0kn/也就是及时统计，适用于搜索时候*@#@& ;WW0r+gl:xEDmmmEd7v如果"+^K.:＝y~^GK3knd	lh+{Er~否则写^KW0k+kxmh+@#@& rMNn.{Fdi7B排序v!顺序F降序*S注意要和下面d;^里面主键qG的排序对应@#@&RKCT+jk.n'y!77iB每页记录条数@#@& x/iD^xrR JRczLkzr7didv/4WAG|wlTnRN/的路径@#@& j;^'rl[k[SmNUlsn~zN/sm//(9Bb[KH2~C9W	VXbNB)Nhk^nmY4SktWaWVmo~z[Kk1bNOtS)9nrm_nkTtOSzNSG^0^A+(mmNyr[S{h4+Mn[r^CN&fyC9kNr~B字段B表~条件`不需要S4nD#B排序`不需要需要6I93"P$5*S主键qG@#@&3	NP	rDt@#@&b]m/KE	Y'KDk Im/W!xOc*B记录总数@#@&rIk'WMd I/!VO?nOv#@#@&LlsBAA==^#~@%>
<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()">
<!-- #include file="../loading2.asp" -->
<center>
<!--#include file="../other/web_other_include.asp"-->
<div class="div-top">
<span class="right-span"><a href="ad1.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" bgcolor="#F1F1F1">
<form name="queryform" action="?" method="post">
<tr>
<td height="30" colspan="6" align="center" bgcolor="#FFFFFF">搜索：
<input name="keyname" type="text" class="input6b" size="18">
<select name="querytype" class="input6b">
<option value="0">广告名称</option>
<option value="1">广告编号</option>
<option value="2">ID号搜索</option>
</select>
&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;
<input type="submit" name="Submit" value="搜索"></td>
</tr>
</form>
<form name="myform" action="wadsave.asp?action=delad" method="post">
<tr align="center" class="bottomborder2">
<td width="9%"  height="30" bgcolor="#f1f1f1">- ID -</td>
<td width="26%"  bgcolor="#f1f1f1">-广告名称 -</td>
<td width="14%"  bgcolor="#f1f1f1">- 广告类型 -</td>
<td width="16%"  bgcolor="#f1f1f1">- 广告编号 -</td>
<td width="10%"  bgcolor="#f1f1f1">状态</td>
<td width="25%"  bgcolor="#f1f1f1">- 操作 -</td>
</tr>

<%#@~^GgEAAA==@#@&kW,YMk:vI5E/OR5En.H?YMrxT`JDz2+bNr#b@!@*ErPOtU@#@&/O.|nl.n	Y(f,x,J~mx9PnmDUY&fxJLIn5!+/D p!+DHjODbxT`EYz2k[J*'Jr@#@&n^/+rW,xGY,rkx;s+MkmvYMr:vIn;!+dOcpE.XUYDbUL`rYHwnk[E*#bPD4+	@#@&dDD{KCM+UY&9,'~rPmxN,nm.+	Y(f{!E@#@&+Vkn@#@&/YMmKlM+	Y(f~x,J~l	[Phl.n	Yq9xZJ@#@&U9Pr6P@#@&wlUAAA==^#~@%>
<%#@~^YAAAAA==~k+O,h4{M/{^W	x +X+^;D+`rd+^+mD~MP6DK:~hn8|l[YH2+,h4nM+Pqx8PE[kOM{KmDxY&fLEP,W.ND~8HPk9~lkmJ*hSAAAA==^#~@%>
<%#@~^GAAAAA==~9W~StbV+,xKOPS+8{M/ nK0pwgAAA==^#~@%>
<tr align="center" bgcolor="#F8FCFC" class="bottomborder" onMouseOver="this.className='onmouseover'" onMouseOut="this.className='bottomborder'">
<td  height="30" bgcolor="#fefefe" ><img src="../images/Folder/folder.gif" width="20" height="16"></td>
<td colspan="5" align=left  bgcolor="#fefefe">&nbsp;<a href=ad2.asp?typeid=<%=#@~^DAAAAA==A4mM/vJk9J*5AMAAA==^#~@%>><%=#@~^EgAAAA==A4mM/vJYHwUls+E#egYAAA==^#~@%></a></td>
</tr>
<%#@~^HAAAAA==~S+8|DkR:K\U+XY@#@&^WG2@#@&LggAAA==^#~@%>

<%#@~^FQAAAA==(6P~bImZKE	O@!8PPtxlwYAAA==^#~@%>
<tr bgcolor="#ffffff" height=30 align="center">
<td height="30" colspan="6">暂无记录</td>
</tr>
<%#@~^BgAAAA==~AVdPyQEAAA==^#~@%>
<%#@~^NAEAAA==@#@&sGMPb'!,KK~j(W;x9`r]k~ *@#@&kYX^nmk9'bIj`TSb#@#@&kOX^+mUm:+xr"?cFBr*@#@&kYHV+|mKUYxO'bIjc2~k*@#@&kYX^nmm^lk/xk]jv Sk*@#@&kYzs{WUsHk['b]U`*Bk*@#@&kYHs+|b[nbmKCDt'b]?v*~bb@#@&kYHVn{d4KwWVmL'bIjc+~kb@#@&/OX^n|b[hk1k9Y4xk"?cGBkb@#@&/YHs+|bNhr^CkTtO'r]U`0~bb@#@&/Oz^+{dOmYn'b]U`1Bk*@#@&DXank9'rIU`+Sb#@#@&ylkAAA==^#~@%>
<tr align="center" bgcolor="#F8FCFC" class="bottomborder" onMouseOver="this.className='onmouseover'" onMouseOut="this.className='bottomborder'">
<td height="30"  align="left" class="left-padding"><input name="id" type="checkbox" id="id" value="<%=#@~^CAAAAA==dDXs{bNXQMAAA==^#~@%>"> <%=#@~^CAAAAA==dDXs{bNXQMAAA==^#~@%></td>
<td align="left" style="padding-left: 10px;"><font color="#006699">·<%=#@~^CgAAAA==dDXs{	l:MQQAAA==^#~@%></font><img src="../images/index/icon-viewpic.gif" width="18" height="18" onMouseOver="javascript:ddrivetip('<img width=224 src=../../<%=#@~^DwAAAA==dDXs{zNnbmhCY43gUAAA==^#~@%>>','#ffffff', 224)" onMouseOut="hideddrivetip()"></td>
<td align="left" style="padding-left: 10px;"><%=#@~^GgAAAA==j4WAzNDXw`;sxT`rIU`fSb##*VQgAAA==^#~@%></td>
<td align="left" style="padding-left: 10px;"><%=#@~^DAAAAA==dDXs{KxVHk9HwUAAA==^#~@%></td>
<td align="left" style="padding-left: 10px;"><%#@~^JwAAAA==r6PdDX^+{kYmO+{!~WMPdOHV+|dYmY+{EEPDtxLw4AAA==^#~@%>开启<%#@~^BAAAAA==n^/nqQEAAA==^#~@%><font  color="#FF0000">关闭 </font><%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%></td>
<td align="center" style="padding-left: 10px;"> <%#@~^JwAAAA==r6PdDX^+{kYmO+{!~WMPdOHV+|dYmY+{EEPDtxLw4AAA==^#~@%><a href="javascript:AdUnLock('<%=#@~^DgAAAA==/^xLvk"?`Z~bb#+QMAAA==^#~@%>','<%=#@~^DgAAAA==/^xLvk"?`y~bb#+wMAAA==^#~@%>','<%=#@~^GwAAAA==];;/DRp!+Mz?DDrxT`EKmo+rbtgkAAA==^#~@%>');">关闭</a><%#@~^BAAAAA==n^/nqQEAAA==^#~@%><a href="javascript:adlock('<%=#@~^DgAAAA==/^xLvk"?`Z~bb#+QMAAA==^#~@%>','<%=#@~^DgAAAA==/^xLvk"?`y~bb#+wMAAA==^#~@%>','<%=#@~^GwAAAA==];;/DRp!+Mz?DDrxT`EKmo+rbtgkAAA==^#~@%>');">开启</a><%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
┆<a href="wadsave.asp?action=delad&id=<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>&Page=<%=#@~^DwAAAA==];;/D`JhlTnJ*+wQAAA==^#~@%>&typeid=<%=#@~^CAAAAA==r"?cy~b#JgIAAA==^#~@%>" onClick=" return confirm('您确认要删除吗?')">删除</a> | <a href="editad.asp?ID=<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>&AdClassID=<%=#@~^CAAAAA==r"?cy~b#JgIAAA==^#~@%>&page=<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>">修改</a> | 
<a href="javascript:UseCode('<%=#@~^DgAAAA==/^xLvk"?`Z~bb#+QMAAA==^#~@%>');">调用代码</a></td>
</tr>
<%#@~^BAAAAA==U6OvwEAAA==^#~@%>
<%#@~^CAAAAA==~x[,k6PZgIAAA==^#~@%>
<tr class="bottomborder">
<td height="30" colspan="6" align="left" bgcolor="#E6E6E6" class="left-padding">
<input type="hidden" name="page"  value="<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>">
<input type="hidden" name="typeid" value="<%=#@~^BgAAAA==OHwnbNjwIAAA==^#~@%>">
<input type="checkbox" name="CheckAll" onClick="CheckAllCK()" title=全部选择 style="cursor:hand">&nbsp;<strong>全选</strong>&nbsp;
<input type="submit" name="Submit" value="删除"  onClick=" return confirm('您确认要执行吗?')">&nbsp;</td>
</tr>
</form>
<tr align="center">
<td height="30" colspan="6" bgcolor="#FFFFFF"><%=#@~^DgAAAA==G"? ktKhwmoc#8QQAAA==^#~@%></td>
</tr>
<tr align="center">
<td height="30" colspan="6" align="left" bgcolor="#FFFFFF"  class="showtip"><font color="#FF0000">备注：双击目录进入下一级目录，<br>
  调用代码即可放在网页中，此代码即代表该广告</font></td>
</tr>
</table>
</div>
</center>
<%#@~^BwAAAA==^^WdN(3AIAAA==^#~@%>
<!-- #include file="../bottom2.asp" -->
<script language="javascript">
<!--
function OpenWindow(Url,Width,Height,WindowObj)
{
var ReturnStr=showModalDialog(Url,WindowObj,'dialogWidth:'+Width+'pt;dialogHeight:'+Height+'pt;status:no;help:no;scroll:no;');
return ReturnStr;
}

function CheckAll(CheckType)
{
var checkBoxArray=document.all(CheckType)
if(checkBoxArray[checkBoxArray.length-1].checked)
{
for(var i=0;i<checkBoxArray.length-1;i++)
{
checkBoxArray[i].checked=true;

}
}else
{
for(var i=0;i<checkBoxArray.length-1;i++)
{
checkBoxArray[i].checked=false;
}
}
}

function adlock(ID,ClassID,Page)
{
if(confirm('此操作将开启选中的广告？\n你确定开启吗？'))
{
ID=parseInt(ID);
location='wadsave.asp?action=AdLock&adid='+ID+'&AdClassID='+ClassID+'&Page='+Page;
}
}
function AdUnLock(ID,ClassID,Page)
{
if(confirm('此操作将关闭选中的广告？\n你确定关闭吗？'))
{
ID=parseInt(ID);
location='wadsave.asp?action=UnLock&adid='+ID+'&AdClassID='+ClassID+'&Page='+Page;
}
}
function P_Del()
{
if(confirm('此操作将删除选中的广告？\n你确定删除吗？'))
{
document.AdInfo.action="wadsave.asp?action=Delad"+'&Page=<%=#@~^GwAAAA==];;/DRp!+Mz?DDrxT`EKmo+rbtgkAAA==^#~@%>';
document.AdInfo.submit();
}
}
function UseCode(ID)
{
OpenWindow('Ad_ShowCode.asp?PageTitle=获取调用代码&ID='+ID+"&rnd="+Math.random(),300,130,window);
}
function ShowClassInfo(TrID)
{
document.all(TrID).style.display="";
}
function HideClassInfo(TrID)
{
document.all(TrID).style.display="none";
}
function OpenParentFolder(typeid,Page)
{    

alert(typeid);
alert(Page);
location.href='ad2.asp?typeid='+typeid+'&Page='+Page;
}
-->
</script>
</body>
</html>