<%@ page language="C#" autoeventwireup="true" inherits="admin_mysqlmag, App_Web_tqrintju" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>safehost</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<link type="text/css" href="../css/common.css" rel="Stylesheet" />
</head>

<body>
<script type="text/javascript">
function checkform(theForm)
{
    if (!confirm("真的要删除吗？删除后无法恢复！"))
        return false;
}

</script>

    <form id="form1" runat="server">
    <div>

    
    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" class="site_bg_site" id="tab">

    <tr class="tr3 s3" style="height:30px;">

    <td class="site_bg_bs" width="100px" scope=col align=middle><strong>mysql名称</strong></td>
    <td class="site_bg_bs" width="100px" scope=col align=middle><strong>mysql大小(MB)</strong></td>
    <td class="site_bg_bs" width="80px" scope=col  align=middle><strong>状&nbsp;&nbsp;态</strong></td>
    <td class="site_bg_bs" width="150px" scope=col align=middle><strong>到期时间</strong></td>
    <td class="site_bg_bs" width="100px" scope=col align=middle><strong>操&nbsp;&nbsp;作</strong></td>
  </tr>

<asp:Repeater ID="Repeater" runat="server" onitemcommand="Repeater_ItemCommand">
             <ItemTemplate>
				 <tr class="tr3 s3">
                     <td class="site_bg_bs" align=middle>
                     <asp:Label ID="lblsql" Visible="true" runat="server" Text=' <%# DataBinder.Eval(Container.DataItem, "mysqlid")%>'> </asp:Label>
				</td>
					<td class="site_bg_bs" align=middle><%#Eval("mysqlsize")%></td> 
					<td class="site_bg_bs" align=middle><%#Eval("state")%></td>
					<td class="site_bg_bs" align=middle><%#Eval("mysqltime")%></td>
					<td class="site_bg_bs" align=middle>
                        <asp:ImageButton ID="btnEdit" runat="server" ToolTip="编辑"  CommandName="edit" ImageUrl="../images/host/edit.gif" />
                        <asp:ImageButton ID="btnDelete" runat="server" ToolTip="删除" CommandName="del" OnClientClick="return checkform(this)" ImageUrl="../images/host/del.gif" />
				</tr>
             </ItemTemplate>
  </asp:Repeater>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" class="site_bg_site" id="Table1">
<tbody>
 <tr>
          <td width="50%" align=left>&nbsp;共 
              <asp:Label ID="lblcount" runat="server" Text="Label"></asp:Label> 条记录 当前第 <asp:Label ID="lblindex" runat="server" Text="Label"></asp:Label>
               /<asp:Label ID="lblPagecount" runat="server" Text="Label"></asp:Label>  页 每页 <asp:Label 
                  ID="lblpageSize" runat="server" Text="Label"></asp:Label>
               条 </td>
          <td width="33%" align=right><asp:LinkButton ID="linkFirst" runat="server" 
                  onclick="linkFirst_Click">首页</asp:LinkButton>  &nbsp;|  &nbsp;
              <asp:LinkButton ID="linklast" runat="server" onclick="linklast_Click">上一页</asp:LinkButton>  &nbsp;|   &nbsp;
              <asp:LinkButton ID="linknext" runat="server" onclick="linknext_Click">下一页</asp:LinkButton>  &nbsp; |  &nbsp;
              <asp:LinkButton ID="linkend" runat="server" onclick="linkend_Click">尾页</asp:LinkButton> &nbsp;
              转到 第 
              <asp:DropDownList ID="droppage" runat="server" 
                  onselectedindexchanged="droppage_SelectedIndexChanged" AutoPostBack="True">
              </asp:DropDownList>  页&nbsp;</td></tr>
</tbody>
</table>
    </div>
    </form>
</body>

</html>