<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Info_SinglePageList, QianboCMS" EnableEventValidation="false" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>Html连接代码</title>
<link href="../Css/layout.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="../../Js/jquery.js"></script>
<script type="text/javascript" src="../../Js/lhgdialog/lhgdialog.min.js?self=true"></script>
<script src="../../Js/Common.js" type="text/javascript"></script>
</head>

<body>
<table width="99%" cellspacing="1" cellpadding="0" class="wzdh" align="center">
  <tr>
    <td style="padding-left: 10px;"><img src="../Images/Skin/Default/you.gif" align="absmiddle" /> 您现在的位置：<a href="../SystemInfo.aspx">后台管理</a> &gt;&gt; <a href="ChannelList.aspx">内容管理</a> &gt;&gt; 单页管理</td>
  </tr>
</table>
<table cellpadding="0" cellspacing="1" class="border" align="center">
  <tr class="wzlist">
    <td><a href="SinglePage.aspx">新增单页</a></td>
  </tr>
</table>
<form id="form1" runat="server">
  <table width="99%" align="center" class="border" cellspacing="1" cellpadding="0">
    <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
      <HeaderTemplate>
        <tr class="title">
          <td>单页名称</td>
          <td width="120px">更新时间</td>
          <td width="90px">Html连接代码</td>
          <td width="180px">操作</td>
        </tr>
      </HeaderTemplate>
      <ItemTemplate>
<script type="text/javascript">
var jq = jQuery.noConflict();
jQuery(function(){
    jQuery('#SinglePageUrl<%# Eval("SingleId") %>').click(function(){
        jQuery.dialog({
            id: 'txtSinglePageUrl',
            lock: true,
            title: 'Html连接代码',
            content: "url:SinglePageUrl.aspx?SingleId=<%#Eval("SingleId")%>",
            width: 650,
            height: 180
        });
    });
});
</script>
        <tr class="tdbg" onMouseOver="this.className='tdbgmouseover'" onMouseOut="this.className='tdbg'">
          <td align="left" style="padding-left: 5px;"><%# Eval("Name") %></td>
          <td><%# Eval("AddTime")%></td>
          <td><a id="SinglePageUrl<%# Eval("SingleId") %>" class="mouseStyle">Html连接代码</a></td>
          <td><asp:LinkButton ID="LinkButton2" runat="server" CommandName="Create" CommandArgument='<%# Eval("SingleId") %>'>生成该单页</asp:LinkButton> | <a href="SinglePage.aspx?SingleId=<%# Eval("SingleId") %>">修改</a> | <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" CommandArgument='<%# Eval("SingleId") %>' OnClientClick="return confirm('是否确定删除此单页？')">删除</asp:LinkButton></td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
  </table>
  <table cellpadding="0" cellspacing="1" class="border" align="center">
    <tr class="wzlist">
      <td><webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PageSize="20" HorizontalAlign="Right" PrevPageText="上一页" ShowInputBox="Never" UrlPageIndexName="p" UrlPaging="True" ShowCustomInfoSection="Left" Width="99%" LayoutType="Table" CustomInfoSectionWidth="10%"></webdiyer:AspNetPager></td>
    </tr>
  </table>
</form>
<br />
</body>
</html>