<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdManage.aspx.cs" Inherits="Maticsoft.Web.Admin.adManage.adManage"
    MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br /><div id="List" runat="server">
    </div>
    <script language="javascript" type="text/javascript">
function Del(id,url)
{
    if(confirm('你确认删除此广告吗?'))
    {
        self.location="?Action=Del&ID="+id+"&url="+url;
    }
}

function Edit(id)
{
    self.location="Modify.aspx?id="+id;
}
 function delAll() {
   if(confirm('你确认删除所选广告吗?'))
    {
    var ids="";
    
    for (var i = 0; i < document.getElementsByName("selectFlag").length; i++) {
     if(document.getElementsByName("selectFlag")[i].checked){
    if(document.getElementsByName("selectFlag")[i].value.split(",").length>0){
    ids+=document.getElementsByName("selectFlag")[i].value.split(",")[0]+","+document.getElementsByName("selectFlag")[i].value.split(",")[1]+"|";
   
}    }
   
  }
  self.location="?Action=Dels&ID="+ids;
        
    }
  
 }
    </script>
<br />
<%--<table width="98%" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td width="19%" bgcolor="#F2F2F2"><strong><span style="color:#F00">注意事项：</span></strong></td>
    <td width="28%" bgcolor="#F2F2F2">&nbsp;</td>
    <td width="20%" bgcolor="#F2F2F2">&nbsp;</td>
    <td width="33%" bgcolor="#F2F2F2">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#F2F2F2">首页上部广告尺寸：</td>
    <td bgcolor="#F2F2F2">645*100px</td>
    <td bgcolor="#F2F2F2">首页中部广告尺寸：</td>
    <td bgcolor="#F2F2F2">860*100px</td>
  </tr>
  <tr>
    <td bgcolor="#F2F2F2">首页底部广告尺寸：</td>
    <td bgcolor="#F2F2F2">860*100px</td>
    <td bgcolor="#F2F2F2">滚动图片尺寸：</td>
    <td bgcolor="#F2F2F2">423*203px</td>
  </tr>
  </table>--%>

</asp:Content>
