| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ColumnList.aspx.cs" Inherits="CB.Admin.Plugins.SpecialColumn.ColumnList" %>
- <%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
- <!DOCTYPE html>
- <html>
- <head>
- <title>专题基本信息管理</title>
- <link href="../../static/css/main.css" rel="stylesheet" type="text/css" />
- <script src="../../static/js/jquery.js" type="text/javascript"></script>
- </head>
- <body>
- <form id="Form1" runat="server">
- <div class="box">
- <div class="title">
- <span>@专题基本信息管理</span>
- <a href="ColumnEdit.aspx?authPage=<%=authPage %>">添加专题</a>
- </div>
- <div class="content">
- <div class="bar">
- 名称:<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
- 彩种:<asp:DropDownList ID="ddlLottery" runat="server">
- <asp:ListItem Value="">==请选择==</asp:ListItem>
- <asp:ListItem Value="3d">福彩3D</asp:ListItem>
- <asp:ListItem Value="ssq">双色球</asp:ListItem>
- <asp:ListItem Value="dlt">大乐透</asp:ListItem>
- <asp:ListItem Value="p3">排列三</asp:ListItem>
- </asp:DropDownList>
- 类型:<asp:DropDownList ID="ddlType" runat="server">
- <asp:ListItem Value="">==请选择==</asp:ListItem>
- <asp:ListItem Value="tuku">图库类</asp:ListItem>
- <asp:ListItem Value="article">文章类</asp:ListItem>
- <asp:ListItem Value="tool">工具类</asp:ListItem>
- <asp:ListItem Value="rule">规则类</asp:ListItem>
- <asp:ListItem Value="opencode">开奖类</asp:ListItem>
- </asp:DropDownList>
- <asp:Button ID="btnSearch" runat="server" Text="查 询" onclick="btnSearch_Click"></asp:Button>
- </div>
- <div class="listtable">
- <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <th>名称</th>
- <th>URL重写</th>
- <th>Logo</th>
- <th>彩种</th>
- <th>类型</th>
- <th>热门</th>
- <th>时间</th>
- <th>操作</th>
- </tr>
- <asp:Repeater ID="repeaterList" runat="server" onitemcommand="repeaterList_ItemCommand">
- <itemtemplate>
- <tr>
- <td><%#DataBinder.Eval(Container.DataItem, "Name")%></td>
- <td><%#DataBinder.Eval(Container.DataItem, "RewriteUrl")%></td>
- <td style="text-align:left;"><%#DataBinder.Eval(Container.DataItem, "Logo")%></td>
- <td><%#DataBinder.Eval(Container.DataItem, "Lottery")%></td>
- <td><%#DataBinder.Eval(Container.DataItem, "TypeName")%></td>
- <td><%#DataBinder.Eval(Container.DataItem, "Status")%></td>
- <td><%#DataBinder.Eval(Container.DataItem, "Addtime")%></td>
- <td>
- <a href="ColumnEdit.aspx?authPage=<%=authPage %>&id=<%#DataBinder.Eval(Container.DataItem,"Id")%>">编辑</a>
- <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"Id")%>' CommandName="dndel" Text="<span id="de" onclick="javascript:return confirm('此操作不可恢复,确认要删除此内容吗?')">删除</span>" ></asp:LinkButton></td>
- </tr>
- </itemtemplate>
- </asp:Repeater>
- <tr>
- <td colspan="8"><div class="pager">
- <webdiyer:AspNetPager ID="AspNetPager1" runat="server"
- CurrentPageButtonPosition="Center"
- CustomInfoHTML="第%CurrentPageIndex%页,共%PageCount%页,每页%PageSize%条,共%RecordCount%条"
- ShowCustomInfoSection="Right" UrlPageIndexName="p" FirstPageText="第一页"
- LastPageText="最后一页" NextPageText="下一页" onpagechanged="AspNetPager1_PageChanged"
- PageSize="18" PagingButtonSpacing="14px" PrevPageText="上一页"
- ShowPageIndexBox="Never" AlwaysShow="true">
- </webdiyer:AspNetPager>
- </div></td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </form>
- </body>
- </html>
|