<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="uPageList.aspx.cs" Inherits="KstCMS.KstCMS_Manager.WebSet.upage.uPageList" %>
<html>
<head id="Head1"  runat="server">
    <title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">



<asp:Panel ID="Panel1" runat="server" CssClass="MainBox">
<table class="PageTitle" width="98%"><tr><td><img src="<%=SysRootUrl %>/KstCMS_Manager/images/menu/system.gif" align="absmiddle" /> 导航管理</td></tr></table>
    <asp:ScriptManager ID="ScriptManager1" runat="server" AllowCustomErrorsRedirect="false">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
<div style="padding:2px">
 <input type="button" class="bigButton" value="新建栏目" onclick="parent.document.getElementById('main').src='AdduPage.aspx';" />   
 </div>
<table width="98%" border="0" cellpadding="5" cellspacing="1" class="Table_Gray">
  <tr>
    <td  class="TableTd_Gray"  colspan="2">        
       <asp:DropDownList ID="drp_SiteId" runat="server" AutoPostBack="true">
        </asp:DropDownList>
        </td>
    <td  class="TableTd_Gray" align="right">
        <asp:DropDownList ID="drp_MenuId" runat="server" AutoPostBack="true">
        </asp:DropDownList>
    </td>
  </tr>
<asp:Repeater ID="repMain" runat="server">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
  <tr class="TableTd_Gray">
      <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "LmID")%>
    </td>
    <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "LmName")%>
    </td>


    <td nowrap>
    <a href="LMEdit.aspx?LmID=<%#DataBinder.Eval(Container.DataItem,"LmID") %>" target="main">设置</a> 
    <asp:Literal ID="litDel" runat="server"></asp:Literal>
    <asp:LinkButton ID="DelBtn" runat="server" CommandName=<%#DataBinder.Eval(Container.DataItem,"LmID") %>  OnClientClick="return confirm('真的删除此站点吗？');">删除</asp:LinkButton> 
        <asp:Literal ID="lit_OpenUrl" runat="server"></asp:Literal>
    </td>
  </tr>
</ItemTemplate>
<AlternatingItemTemplate>
  <tr class="TableTd_Gray1">
        <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "LmID")%>
    </td>
    <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "LmName")%>
    </td>


    <td nowrap>
    <a href="LMEdit.aspx?LmID=<%#DataBinder.Eval(Container.DataItem,"LmID") %>" target="main">设置</a> 
    <asp:Literal ID="litDel" runat="server"></asp:Literal>
    <asp:LinkButton ID="DelBtn" runat="server" CommandName=<%#DataBinder.Eval(Container.DataItem,"LmID") %>  OnClientClick="return confirm('真的删除此站点吗？');">删除</asp:LinkButton> 
        <asp:Literal ID="lit_OpenUrl" runat="server"></asp:Literal>
    </td>
  </tr>
</AlternatingItemTemplate>
<FooterTemplate>

</FooterTemplate>
</asp:Repeater>
</table>
    </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
    <ProgressTemplate>正在处理，请稍候...</ProgressTemplate>
    </asp:UpdateProgress>
</asp:Panel>
    </form>
</body>
</html>