<%@ Page Language="C#" AutoEventWireup="true" CodeFile="singlepage.aspx.cs" Inherits="admin_singlepage" %>

<%@ Register Src="../controls/FormPaging_Rep.ascx" TagName="FormPaging_Rep" 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 runat="server">
    <title>单页信息管理</title>
     <link href="../Admin/skin/css.css" rel="stylesheet" type="text/css" />
    <link href="../images/css/inbox.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%" class=Ibx_gTable_Con>
            <tr>
                <td colspan="5" align="center">
                <a href="single_add.aspx" class="bt_css">添加单页</a>
                </td>
            </tr>
            <tr>
                <td>
                    单页ID</td>
                <td>
                    标题</td>
                <td>
                    模板路径</td>
                <td>
                    生成路径</td>
                <td>
                    基本操作</td>
            </tr>
             <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
            <tr>
                
                <td>
                    <%#Eval("sid") %>
                </td>
                <td>
                <%#Eval("stitle") %>
                </td>
                <td>
                <%#Eval("stemplates") %>
                </td>
                <td>
                <%#Eval("spath") %>
                </td>
                <td>
                <a href="<%#Eval("spath") %>" class="bt_css" target=_blank>预览</a>&nbsp;&nbsp;<a href="singlepage_edit.aspx?sid=<%#Eval("sid") %>" class="bt_css">编辑</a>&nbsp;&nbsp;<asp:LinkButton ID="HtmlWrite" runat="server" OnClick="HtmlWrite_Click" CssClass="bt_css" ToolTip='<%#Eval("sid") %>'>生成</asp:LinkButton>&nbsp;&nbsp;<asp:LinkButton
                    ID="DeleteBtn" runat="server" OnClientClick="return confirm('确认删除该单页吗?')" OnClick="DeleteBtn_Click" CssClass="bt_css" ToolTip='<%#Eval("sid") %>'>删除</asp:LinkButton>
                </td>
            </tr>
          
              </ItemTemplate>
                </asp:Repeater>
            <tr>
                <td>
                </td>
                <td colspan="5">
                    <uc1:FormPaging_Rep ID="FormPaging_Rep1" runat="server" />
                </td>
                <td>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
