<%@ Page language="c#" Codebehind="admin_export_user.aspx.cs" AutoEventWireup="True" Inherits="Typhoto.admin_export_user" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		
<script src="../js/calendar.js" type=text/javascript></script>
<script language=javascript>
   var CalendarWebControl = new atCalendarControl();
		</script>
<link href="img/main.css" rel="stylesheet" type="text/css">
<style type=text/css>.style4 {
	COLOR: #ff0000
}
.style5 {
	FONT-WEIGHT: bold; COLOR: #ffffff
}
.STYLE6 {
	COLOR: #0000ff
}
</style>
</HEAD>
<body>
<form id=Form1 method=post runat="server">
<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%">
  <tr >
    <td colSpan="3" class="td_title">导出用户</TD></TR>
  <tr class=tableHeadLeft>
    <td align=right colSpan=2>
      <div align=left>&nbsp;说明：将数据库中的用户导出成其它文件：</DIV></TD></TR>
  <tr class=tableTd>
    <td align=right width="21%">项目间分隔符：</TD>
    <td width="79%"><asp:radiobuttonlist id=sign runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
<asp:ListItem Value="1">制表符</asp:ListItem>
<asp:ListItem Value="2">分号</asp:ListItem>
<asp:ListItem Value="3" Selected="True">逗号</asp:ListItem>
<asp:ListItem Value="4">空格</asp:ListItem>
<asp:ListItem Value="5">其它</asp:ListItem>
						</asp:RadioButtonList><asp:textbox id=other runat="server" Width="24px"></asp:TextBox></TD></TR>
  <tr class=tableTd>
    <td align=right>勾选要导出的项目：</TD>
    <td><FONT face=宋体>
      <asp:checkboxlist id=o runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal" Width="100%">
        <asp:ListItem Value="uusername" Selected="True">用户名</asp:ListItem>
        <asp:ListItem Value="upassword">密码</asp:ListItem>
        <asp:ListItem Value="uemail" Selected="True">电子邮件</asp:ListItem>
        <asp:ListItem Value="uquestion">密码问题</asp:ListItem>
        <asp:ListItem Value="uanswer">密码答案</asp:ListItem>
        <asp:ListItem Value="sex" Selected="True">性别</asp:ListItem>
        <asp:ListItem Value="url" Selected="True">主页</asp:ListItem>
        <asp:ListItem Value="QQ" Selected="True">QQ</asp:ListItem>
        <asp:ListItem Value="msn" Selected="True">msn</asp:ListItem>
        <asp:ListItem Value="recommend">备注</asp:ListItem>
        <asp:ListItem Value="money">金币</asp:ListItem>
        <asp:ListItem Value="jf">积分</asp:ListItem>
        <asp:ListItem Value="tjuser">推荐人</asp:ListItem>
        <asp:ListItem Value="enddate">到期日期</asp:ListItem>
        <asp:ListItem Value="regdate">注册日期</asp:ListItem>
        <asp:ListItem Value="uplogin">上次登录</asp:ListItem>
        <asp:ListItem Value="logincount">登录次数</asp:ListItem>
        <asp:ListItem Value="[level]">等级</asp:ListItem>
        <asp:ListItem Value="cxnum">诚信度</asp:ListItem>
      </asp:checkboxlist>
    </FONT></TD>
  </TR>
  <tr class=tableTd>
    <td align=right>&nbsp;</TD>
    <td><asp:checkbox id=title runat="server" Checked="True" Text="导出包含标题行"></asp:CheckBox></TD></TR>
  <tr class=tableTd>
    <td align=right><span class=STYLE6 
      >小贴士：</SPAN></TD>
    <td>1.项目分隔符选择逗号导出后，将txt后缀名改为csv即可在Excel中打开。<br 
      >2.若想按条件导出用户，可以在<A href="admin_search.aspx" >高级查找</A>菜单中输入条件，再点击下面的“导出用户”按钮即可来到本页，定义好格式后即可按条件导出。</TD></TR>
				<tr class="tableTd">
					<td colspan="2" align="right"><div align="center"><span class="forumrow"><span class="px14"><asp:Button ID="Submit1" runat="server" Width="100px" class="formbutton" Text="开始导出" onclick="Submit1_Click"></asp:Button>
								</span>
							</span>
						</div>					</td>
				</tr></TABLE></FORM>
	</body>
</HTML>
