<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_Adv_site" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" /><link href="inc/style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {color: #FF0000}
.lh15 {LINE-HEIGHT: 150%
}
-->
</style>
<script type="Text/JavaScript" language="javascript">
function check(){
	if(document.form.file.value==""){
		alert("选点击浏览选择您要上传的图片！");
	}else{
		document.form.Submit.disabled=true;
		form.submit();
	}
}
function del(URL){
	if(confirm('确定要删除这条记录吗？')){
	window.location=URL;
	}
}
</script>
<script type="Text/JavaScript" language="javascript" src="inc/title.js"></script>
</head>

<body><table style="width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr>
        <td style="height:24" class="topbg"><div align="center"><strong>==广告位管理==</strong></div></td>
      </tr>
</table>
<table style="width:100%"  border="0" align="center" cellpadding="1" cellspacing="1" class="border">
    <tr class="Title">
      <td style="height:27; width:70" align="center"><strong>管理功能：</strong></td>
      <td> | <a href="Admin_Adv_site.aspx"><font color="#ffffff">广告位查看</font></a> |
        <a href="Admin_adv_siteadd.aspx"><font color="#ffffff">添加广告位</font> </a> | <a href="Admin_adv_config.aspx"><font color="#ffffff">行业关键词广告设置</font></a> | 
      <a href="Admin_adv_add.aspx"><font color="#ffffff">投放新广告</font></a> | 
      <a href="Member_jifeng.aspx"><font color="#ffffff">充积分点</font></a> | <a href="Member_sendadv.aspx"><font color="#ffffff">广告提交管理</font></a></td>
    </tr>
</table>
<br>
<table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td style="height:27; width:30" align="center"><img src="images/12.gif" width="6" height="10" /></td>
      <td>您现在的位置：<%=AppConst.SiteName%> > 广告服务 > 广告位管理</td>
    </tr>
</table>
<br>
<table style="width:100%"  border="0" cellpadding="1" cellspacing="1" class="border">
    <tr class="Title">
      <td style="height:22; width:40"><div align="center"><strong>ID</strong></div></td>
      <td><div align="center"><strong>广告名称</strong></div></td>
      <td style="width:100"><div align="center"><strong>广告宽度</strong></div></td>
      <td style="width:100"><div align="center"><strong>广告高度</strong></div></td>
      <td style="width:100"><div align="center"><strong>所需积分点数</strong></div></td>
      <td style="width:100"><div align="center"><strong>显示个数</strong></div></td>
      <td style="width:100"><div align="center"><strong>所属栏目</strong></div></td>
      <td style="width:100"><div align="center"><strong>管理操作</strong></div></td>
    </tr>
	<%do while not rs.eof%>
    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
      <td style="height:24; width:40"><div align="center"><%=rs("id").Value%></div></td>
      <td style="height:24"><%=rs("S_sortname").Value%></td>
      <td style="height:24; width:100"><div align="center"><%=IsNull(rs("S_w").Value, 0)%>px</div></td>
      <td style="height:24; width:100"><div align="center"><%=IsNull(rs("S_h").Value, 0)%>px</div></td>
      <td style="width:100"><div align="center"><%=rs("S_jifeng").Value%></div></td>
      <td style="width:100"><div align="center"><%=rs("S_num").Value%></div></td>
      <td style="width:100"><div align="center"><%=rs("T_ad_typename").Value%></div></td>
      <td style="width:100"><div align="center">
        <table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td style="width:33%"><div align="center"><a href="Admin_adv_siteedit.aspx?id=<%=rs("id").Value%>">修改</a></div></td>
            <td style="width:33%"><div align="center"><a href="Admin_Adv_sitydy.aspx?id=<%=rs("id").Value%>" title="查看调用代码">调用</a></div></td>
            <td style="width:33%"><div align="center"><a href="javascript:del('Admin_Adv_site.aspx?id=<%=rs("id").Value%>&action=del')">删除</a></div></td>
          </tr>
        </table>
      </div></td>
    </tr>
	<%rs.movenext() : loop %>
</table>
</body>
<%Page_Loaded()%>
</html>
