<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SheZhi_GongGaoList.aspx.cs" Inherits="Maticsoft.Web.WebPage.SheZhi_GongGaoList" %>
<%@ Register Src="../UserControls/HeaderControl.ascx" TagName="HeaderControl" TagPrefix="uc2" %>
<%@ Register src="../UserControls/FooterControl.ascx" tagname="FooterControl" tagprefix="uc3" %>
<%@ Register src="UserControls/SheZhi_GuangGao.ascx" tagname="SheZhi_GuangGao" tagprefix="uc1" %>
<%@ Register src="UserControls/SheZhi.ascx" tagname="SheZhi" tagprefix="uc1" %>
<!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 id="Head1" runat="server">
	<meta http-equiv="content-type" content="text/html" charset="UTF-8">
	<title>艾尚团购 - 管理后台</title>
	</head>
<body class="newbie">
    <form id="form1" runat="server">
   <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">
<uc2:HeaderControl ID="HeaderControl1" runat="server" />



<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<div class="dashboard" id="dashboard">
	    <uc1:SheZhi   ID="SheZhi1" runat="server" />
	</div>
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            
            <div class="box-content">
               
                <div class="sect">
                 <a href="SheZhi_Guangao.aspx" target=_blank>新建广告位</a>
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
				    
                   <tr>
              <th width='40'>ID</th>
               <th width='200'>广告</th>
               <th width='100'>广告位置</th>
      <th width='100'>状态</th>
              <th width='120'>操作</th>
                 </tr>
      
             
           
         <%int i = 1;
             foreach (Maticsoft.Model.Location locationmodel in locationlist)
           { %>
                <tr <%if(i%2!=0) {%> class="alt"  <%} %>  height="20px">
                   
                    <td><%=locationmodel.id %></td>
                    <td><%=locationmodel.width%></td>                    
                    <td><%=Get(locationmodel.location.ToString())%></td>
                   <td><%=GetVis(locationmodel.visibility.ToString())%>

</td>
                    <td><a href="SheZhi_Guangao.aspx?id=<%=locationmodel.id%>" >编辑</a>｜
                    <a class="remove-record" href="SheZhi_GongGaoList.aspx?deid=<%=locationmodel.id%>" >删除</a>
                    
                    </td>
                  
                    </tr>
          <% i++;} %>

                
                    </table>
                    </div>
            </div>
            
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->


<uc3:FooterControl ID="FooterControl1" runat="server" />

</div>
    </form>
</body>
</html>
