ColumnList.aspx 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ColumnList.aspx.cs" Inherits="CB.Admin.Plugins.SpecialColumn.ColumnList" %>
  2. <%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>专题基本信息管理</title>
  7. <link href="../../static/css/main.css" rel="stylesheet" type="text/css" />
  8. <script src="../../static/js/jquery.js" type="text/javascript"></script>
  9. </head>
  10. <body>
  11. <form id="Form1" runat="server">
  12. <div class="box">
  13. <div class="title">
  14. <span>@专题基本信息管理</span>
  15. <a href="ColumnEdit.aspx?authPage=<%=authPage %>">添加专题</a>
  16. </div>
  17. <div class="content">
  18. <div class="bar">
  19. 名称:<asp:TextBox ID="txtName" runat="server"></asp:TextBox>&nbsp;&nbsp;
  20. 彩种:<asp:DropDownList ID="ddlLottery" runat="server">
  21. <asp:ListItem Value="">==请选择==</asp:ListItem>
  22. <asp:ListItem Value="3d">福彩3D</asp:ListItem>
  23. <asp:ListItem Value="ssq">双色球</asp:ListItem>
  24. <asp:ListItem Value="dlt">大乐透</asp:ListItem>
  25. <asp:ListItem Value="p3">排列三</asp:ListItem>
  26. </asp:DropDownList>&nbsp;&nbsp;
  27. 类型:<asp:DropDownList ID="ddlType" runat="server">
  28. <asp:ListItem Value="">==请选择==</asp:ListItem>
  29. <asp:ListItem Value="tuku">图库类</asp:ListItem>
  30. <asp:ListItem Value="article">文章类</asp:ListItem>
  31. <asp:ListItem Value="tool">工具类</asp:ListItem>
  32. <asp:ListItem Value="rule">规则类</asp:ListItem>
  33. <asp:ListItem Value="opencode">开奖类</asp:ListItem>
  34. </asp:DropDownList>&nbsp;&nbsp;
  35. <asp:Button ID="btnSearch" runat="server" Text="查 询" onclick="btnSearch_Click"></asp:Button>
  36. </div>
  37. <div class="listtable">
  38. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  39. <tr>
  40. <th>名称</th>
  41. <th>URL重写</th>
  42. <th>Logo</th>
  43. <th>彩种</th>
  44. <th>类型</th>
  45. <th>热门</th>
  46. <th>时间</th>
  47. <th>操作</th>
  48. </tr>
  49. <asp:Repeater ID="repeaterList" runat="server" onitemcommand="repeaterList_ItemCommand">
  50. <itemtemplate>
  51. <tr>
  52. <td><%#DataBinder.Eval(Container.DataItem, "Name")%></td>
  53. <td><%#DataBinder.Eval(Container.DataItem, "RewriteUrl")%></td>
  54. <td style="text-align:left;"><%#DataBinder.Eval(Container.DataItem, "Logo")%></td>
  55. <td><%#DataBinder.Eval(Container.DataItem, "Lottery")%></td>
  56. <td><%#DataBinder.Eval(Container.DataItem, "TypeName")%></td>
  57. <td><%#DataBinder.Eval(Container.DataItem, "Status")%></td>
  58. <td><%#DataBinder.Eval(Container.DataItem, "Addtime")%></td>
  59. <td>
  60. <a href="ColumnEdit.aspx?authPage=<%=authPage %>&id=<%#DataBinder.Eval(Container.DataItem,"Id")%>">编辑</a>&nbsp;&nbsp;
  61. <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"Id")%>' CommandName="dndel" Text="&lt;span id=&quot;de&quot; onclick=&quot;javascript:return confirm('此操作不可恢复,确认要删除此内容吗?')&quot;&gt;删除&lt;/span&gt;" ></asp:LinkButton></td>
  62. </tr>
  63. </itemtemplate>
  64. </asp:Repeater>
  65. <tr>
  66. <td colspan="8"><div class="pager">
  67. <webdiyer:AspNetPager ID="AspNetPager1" runat="server"
  68. CurrentPageButtonPosition="Center"
  69. CustomInfoHTML="第%CurrentPageIndex%页,共%PageCount%页,每页%PageSize%条,共%RecordCount%条"
  70. ShowCustomInfoSection="Right" UrlPageIndexName="p" FirstPageText="第一页"
  71. LastPageText="最后一页" NextPageText="下一页" onpagechanged="AspNetPager1_PageChanged"
  72. PageSize="18" PagingButtonSpacing="14px" PrevPageText="上一页"
  73. ShowPageIndexBox="Never" AlwaysShow="true">
  74. </webdiyer:AspNetPager>
  75. </div></td>
  76. </tr>
  77. </table>
  78. </div>
  79. </div>
  80. </div>
  81. </form>
  82. </body>
  83. </html>