<%@ page language="C#" autoeventwireup="true" inherits="_Default, xnzy-radius-web_deploy" %>
<!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 id="Head1" runat="server">
    <title>宽带认证-自助管理系统</title>
    <style type="text/css">
        #show_swf1
        {
            width: 978px;
        }
    </style>
</head>
<BODY bgColor="#2E67B1" bottomMargin=0 leftMargin=0 topMargin=0 rightMargin=0 
MS_POSITIONING="GridLayout">
    <form class="STYLE0" id="Form1" runat="server">
  <DIV align=center>
 

<TABLE id=table1 cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=left bgColor=#ededed>
      <DIV align=center>
              <TABLE id=table2 cellSpacing=0 cellPadding=0 border=0>
                <TBODY>
                  <TR> 
                    <TD width="980px"> 
                                <embed src="images/topflash.swf" id=show_swf1 wmode="transparent" 
                                    type="application/x-shockwave-flash" name="show_swf1"></TD>
                  </TR>
                  <TR> 
                    <TD vAlign=top align=left bgColor=#ffffff class="style7">
                        <table bgcolor="White" width="980px" frame="hsides">
                            <tr>
                                <td width="980px">
                        <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" Height="16px" 
                                        style="text-align: center" PageSize="2">
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                            <Columns>
                                <asp:BoundField DataField="user_name" HeaderText="姓名" />
                                <asp:TemplateField HeaderText="单位/地址">
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" 
                                        
                                            Text='<%# Eval("user_address").ToString().Length>10?Eval("user_address").ToString().Substring(0,10)+"...":Eval("user_address") %>' 
                                            ToolTip='<%#Eval("user_address") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Left" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="证件">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("user_department") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("user_department") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="user_telephone" HeaderText="电话" />
                                <asp:BoundField DataField="user_age" HeaderText="年龄" />
                                <asp:BoundField DataField="user_sex" HeaderText="性别" />
                                <asp:BoundField DataField="user_pppoed" HeaderText="帐户名" />
                                <asp:BoundField DataField="user_password" HeaderText="密码" />
                                <asp:BoundField DataField="user_count" HeaderText="余额" />
                                <asp:HyperLinkField DataNavigateUrlFields="id" 
                                    DataNavigateUrlFormatString="Useredit.aspx?id={0}" HeaderText="操作" Text="修改" />
                                <asp:HyperLinkField DataNavigateUrlFields="id" 
                                    DataNavigateUrlFormatString="countcard.aspx?id={0}" HeaderText="充值" 
                                    Text="充值卡" />
                                <asp:HyperLinkField HeaderText="记录" Text="记录" DataNavigateUrlFields="id" 
                                    DataNavigateUrlFormatString="userreport.aspx/?id={0}" />
                            </Columns>
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td bgcolor="Yellow" height="4px" width="980px">
                        <asp:Label ID="Label4" runat="server" 
                            Text=" [用户订单区域]" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" 
                            Height="40px" onrowcommand="GridView1_RowCommand" style="text-align: center">
                            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#E3EAEB" />
                            <Columns>
                                <asp:BoundField >
                                    <ItemStyle Width="10px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="user_name" HeaderText="用户帐号" />
                                <asp:BoundField DataField="begin_date" HeaderText="下单日期" 
                                    DataFormatString="{0:yyyy-MM-dd HH:MM}" />
                                <asp:BoundField DataField="day" HeaderText="服务天数(天)" />
                                <asp:BoundField DataField="Rate" HeaderText="带宽状态" />
                                <asp:BoundField DataField="count" HeaderText="费用情况" />
                                <asp:TemplateField HeaderText="订单操作">
                                       <itemtemplate>
                                               <asp:LinkButton ID="LinkButton1" runat="server" 
                                                   CommandArgument='<%# Eval("id") %>' CommandName="DelCmd" 
                                                   onclientclick="return confirm('您确定要删除该定单吗？');">删除</asp:LinkButton>
                                               &nbsp;&nbsp;
                                               <asp:LinkButton ID="LinkButton2" runat="server" 
                                               CommandArgument='<%# Eval("id") %>' CommandName="Goumai" 
                                                   onclientclick="return confirm('您确定要购买该定单吗？');">购买</asp:LinkButton>
                                        </itemtemplate>
                                </asp:TemplateField>
                                        
                            </Columns>
                            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#7C6F57" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td bgcolor="Yellow" height="4px" width="980px">
                        <asp:Label ID="Label5" runat="server" 
                            Text="[用户服务区域]" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" Height="40px" 
                                        style="text-align: center">
                            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#E3EAEB" />
                            <Columns>
                                <asp:TemplateField HeaderText="订单">
                                    <ItemTemplate>
                                        <asp:Image ID="Image9" runat="server" ImageUrl="~/images/news_dot.gif" />
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemStyle Width="40px" HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="user_name" HeaderText="用户帐号">
                                    <ItemStyle Width="120px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="user_begindate" HeaderText="开始日期" 
                                    DataFormatString="{0:yyyy-MM-dd HH:MM}">
                                </asp:BoundField>
                                <asp:BoundField DataField="user_enddate" HeaderText="结束日期" 
                                    DataFormatString="{0:yyyy-MM-dd HH:MM}" />
                                <asp:BoundField DataField="Rate" HeaderText="带宽类型">
                                </asp:BoundField>
                                <asp:BoundField DataField="count" HeaderText="资费费用">
                                    <ItemStyle Width="160px" HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="状态">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("user_Stat") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("user_Stat") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="mac" HeaderText="MAC捆绑" />
                            </Columns>
                            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                            <EmptyDataTemplate>
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/images/news_dot.gif" />
                            </EmptyDataTemplate>
                            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#7C6F57" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                                </td>
                            </tr>
                        </table>
                      </TD>
                  </TR>
                  <TR> 
                    <TD vAlign=top align=center bgColor=White height=6 >
                        <asp:Image ID="Image1" runat="server" Height="113px" 
                            ImageUrl="~/images/service.jpg" Width="978px" />
                    </TD>
                  </TR>
                  <TR> 
                    <TD 
          style="BORDER-RIGHT: #d3d3d3 1px solid; BORDER-TOP: #d3d3d3 1px solid; BORDER-LEFT: #d3d3d3 1px solid; BORDER-BOTTOM: #d3d3d3 1px solid" 
          vAlign=top align=left bgColor=#ffffff class="style7"> 
                        <TABLE id=table79 cellSpacing=0 cellPadding=0 
              border=0>
                        <TBODY>
                          <TR> 
                            <TD> 
                                <TABLE 
                  border=0 cellPadding=0 cellSpacing=0 id=table80>
                                <TBODY>
                                  <TR> 
                                    <TD height=48 align=left vAlign=top 
                                          style="height: 24px; background-image: url('images/bg.JPG');" 
                                          width="980px">
                                        <asp:Image ID="Image3" runat="server" Height="37px" 
                                            ImageUrl="~/images/product.gif" Width="190px" />
                                      </TD>
                                  </TR>
                                  <TR> 
                                    <TD height=48 align=left vAlign=top style="height: 24px">
                                        <asp:DataList ID="DataList1" runat="server" RepeatDirection="Horizontal" 
                                            CellSpacing="2" RepeatColumns="6" Width="980px" Height="85px">
                                            <ItemTemplate>
                                                <table class="style1">
                                                    <tr>
                                                        <td class="style2">
                                                            <asp:Image ID="Image2" runat="server" BorderStyle="Dotted" Height="50px" 
                                                                ImageUrl='<%#Convert.ToString( Eval("product_images")).Trim()%>' 
                                                                Width="144px" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style2">
                                                            <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" 
                                                                NavigateUrl='<%# "showproduct.aspx?id="+Eval("id") %>' Target="_parent" 
                                                                Width="144px" style="text-align: center"><%# Eval("product_name")%></asp:HyperLink>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </ItemTemplate>
                                        </asp:DataList>
                                      </TD>
                                  </TR>
                                </TBODY>
                              </TABLE></TD>
                          </TR>
                        </TBODY>
                      </TABLE></TD>
                  </TR>
                  <TR> 
                    <TD vAlign=top align=left bgColor=#ffffff height=6></TD>
                  </TR>
                  <TR> 
                    <TD 
          style="BORDER-RIGHT: #d3d3d3 1px solid; BORDER-TOP: #d3d3d3 1px solid; BORDER-LEFT: #d3d3d3 1px solid; BORDER-BOTTOM: #d3d3d3 1px solid" 
          vAlign=top align=left bgColor=#ebebeb class="style7"> <P align=center> 
                      <TABLE id=tablepic9 cellSpacing=0 cellPadding=0 border=0>
                        <TBODY>
                          <TR> 
                            <TD&nbsp;</TD>
                          </TR>
                        </TBODY>
                      </TABLE>
                      <table cellpadding=6 border=0 style="width: 85%">
                        <tbody>
                          <tbody>
                            <td> <span lang="zh-cn">西南资源网宽带自助管理系统</span><tbody>
                          <tr> 
                            <td> <div align=center>软件版本:<span lang="zh-cn">西南资源网宽带认证系统&nbsp;&nbsp;&nbsp; Coprright 
                                By QQ:17384771 Tel:13467934880</span></div></td>
                          </tr>
                          <tr> 
                            <td> <div align=center>
                                <strong号</strong>&nbsp; </div></td>
                          </tr>
                        </tbody>
                      </table></P>                      </TD>
                  </TR>
                </TBODY>
              </TABLE>
            </DIV></TD></TR></TBODY></TABLE></DIV>
    </form>
</BODY>
</html>