linkadsmanage.asp

来自「网店批发系统,很好很强大,很好很强大很好很强大」· ASP 代码 · 共 99 行

ASP
99
字号
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../inc/check_inc.asp"-->
<!--#include file="../sysConfig.asp"-->
<!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=gb2312" />
<title>广告管理</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--#include file="inc/LinkAdsManage_inc.asp"-->
<table width="97%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td height="24" align="center" class="listtop">ID</td>
		<td height="24" align="center" class="listtop">新闻广告图片</td>
		<td align="center" class="listtop">链接地址</td>
		<td align="center" class="listtop">所属类别</td>
		<td align="center" class="listtop">排序号</td>
		<td align="center" class="listtop">操作</td>
	  </tr>
<%
	if AdsNum <> -1 then
		for j = 0 to AdsNum
%>
	<form name="Ads" method="post" action="linkAdsManage.asp?action=edit&AdsID=<%=Ads(0,j)%>">
	  <tr>
		<td align="center" class="listitem">		
			<%=j+1%>
		</td>
		<td align="center" class="listitem">			
			<input name="AdsTitle" type="text" size="20" class="input_text" value="<%=Ads(1,j)%>" />
			<img src="images/icon-viewpic.gif" width="18" height="18" border="0" align="absmiddle" onMouseOver="document.getElementById('pic<%=Ads(0,j)%>').style.display='block';" onMouseOut="document.getElementById('pic<%=Ads(0,j)%>').style.display='none';" style="cursor:pointer;" />
			<div id="pic<%=Ads(0,j)%>" style="position:absolute;z-index:1;display:none"><img src="../<%=Ads(1,j)%>" border="0" style="border:1px solid #000000;" /></div>
		</td>
		<td height="24" align="center" class="listitem">
			<input name="Adsurl" type="text" size="20" class="input_text" value="<%=Ads(2,j)%>" />
		</td>		
		<td align="center" class="listitem">	
			<select name="n_classid"> 
			<%
				if n_classNum <> -1 then
					for k = 0 to n_classNum
			%>
				<option value="<%=n_class(0,k)%>" <%if n_class(0,k) = Ads(4,j) then%>selected="selected"<%end if%>><%=n_class(1,k)%></option>
			<%
					next
				end if
			%>
			</select>
		</td>	
		<td align="center" class="listitem">
			<input name="orderID" type="text" size="10" class="input_text" value="<%=Ads(3,j)%>" />
		</td>	
		<td align="center" class="listitem">	
			<input name="submit" type="submit" class="Button" value="修改" /> 
			<input name="del" type="button" class="Button" value="删除" onclick="window.location.href='linkadsmanage.asp?action=del&AdsID=<%=Ads(0,j)%>';" /> 
		</td>
	  </tr>
  </form>
<%
		next
	end if
%>	  
</table>
	<table width="97%" border="0" cellpadding="0" cellspacing="0">
</table>
<form name="addAds" method="post" action="linkAdsManage.asp?action=add">
<table width="97%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td height="24" align="center" class="listtitle">
		    图片:<input name="AdsTitle" type="text" class="input_text" value="" size="20" />	
			<input name="upload" type="button" class="Button" onClick="window.open('../<%=upload%>?Form=addAds&Edit=AdsTitle&Path=adv','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" value="上传" />	
			链接:<input name="Adsurl" type="text" class="input_text" value="" size="20" />
			  &nbsp;&nbsp;&nbsp;&nbsp;				
			<select name="n_classid"> 
			<%
				if n_classNum <> -1 then
					for k = 0 to n_classNum
			%>
				<option value="<%=n_class(0,k)%>"><%=n_class(1,k)%></option>
			<%
					next
				end if
			%>
			</select>			
			&nbsp;&nbsp;&nbsp;&nbsp; 
			排序号:<input name="orderID" type="text" size="10" class="input_text" value="10000" />
			<input name="submit" type="submit" class="Button" value="添加" />
		</td>
	  </tr>
  </table>
</form>
<!--#include file="inc/CloseConn_inc.asp"-->
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?