<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="../inc/Conn.asp"-->
<!--#include file="Inc/Admin.Asp"-->
<!--#include file="../Inc/Ubbcode.asp"-->
<!--#include file="Inc/Function.asp"-->
<%

StrTitle="信息"

dim ID,rs_news
dim sql
dim count
ID=trim(request("ID"))
if ID="" then 
	response.Redirect("Dream_User.asp")
end if
sql="select * from Dream_User where ID=" & ID & ""
Set rs_news= Server.CreateObject("ADODB.Recordset")
rs_news.open sql,conn,1,1
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>修改<%=StrTitle%></title>
<link href="css/adminstyle.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/table.js"></script>
<script charset="utf-8" src="../editor/kindeditor.js"></script>
<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
<script>
		var editor;
		var editor2;
		var editor3;
        KindEditor.ready(function(K){
                editor = K.create('#editor_id', {
                        langType : 'zh_CN',
						uploadJson : '../editor/asp/upload_json.asp',
						fileManagerJson : '../editor/asp/file_manager_json.asp',
						allowFileManager : true
                });
				editor2 = K.create('#editor_id2', {
                        langType : 'zh_CN',
						uploadJson : '../editor/asp/upload_json.asp',
						fileManagerJson : '../editor/asp/file_manager_json.asp',
						allowFileManager : true
                });
				editor3 = K.create('#editor_id3', {
                        langType : 'zh_CN',
						uploadJson : '../editor/asp/upload_json.asp',
						fileManagerJson : '../editor/asp/file_manager_json.asp',
						allowFileManager : true
                });
        });
</script>
</head>
<body>
<div class="container">
  <div class="local">
    <h3>您现在的位置：<a href="admin_Index_Main.asp">管理首页</a> >> <a href="Dream_User.asp"><%=StrTitle%>管理</a> >> 修改<%=StrTitle%></h3>
  </div>
  <table width="100%" border="0" cellpadding="10" cellspacing="0" class="border" style="margin-top:10px;">
    <tr>
      <td><div class="page_content">
          <div class="r_title">
            <h3><img src="images/xiao.jpg" /> 修改<%=StrTitle%></h3>
            <div style="float:right; padding-right:10px;">
              <input name="" onclick="javascript:location.href='Dream_User.asp';" type="button" value="返回列表" />              
            </div>
          </div>
          <%				
				if FoundErr=True then
					call WriteErrMsg()
				else
				%>
          <form method="POST" name="myform"  action="Dream_UserSave.asp?action=Modify" target="_self">
            <table  width="100%" border="0" cellpadding="2" cellspacing="1" class="table_style">              
              <tr>
                <th>用户名：</th>
                <td><%=rs_news("Dream_UserName")%></td>
              </tr>
			  <tr>
                <th>最近登录IP：</th>
                <td><%=rs_news("Dream_LastLoginIP")%></td>
              </tr>
			  <tr>
                <th>最近登录时间：</th>
                <td><%=rs_news("Dream_LastLoginTime")%></td>
              </tr>
			  <tr>
                <th>登录次数：</th>
                <td><%=rs_news("Dream_LoginTimes")%>次</td>
              </tr>            
			  <tr>
                <th>新密码：</th>
                <td><input name="P_PassWord" type="text" class="input" size="50" maxlength="200"> 不修改密码请留空</td>
              </tr>
			  <tr>
                <th>确认密码：</th>
                <td><input name="P_PassWord2" type="text" class="input" size="50" maxlength="200"></td>
              </tr>
			  <tr>
                <th>真实姓名：</th>
                <td><input name="P_FullName" type="text" class="input" size="50" maxlength="200" value="<%=rs_news("Dream_FullName")%>"></td>
              </tr>
			  <tr>
                <th>性别：</th>
                <td><input name="P_Sex" type="radio" value="男" class="input_sex" <%if rs_news("Dream_Sex")<>"女" then %>checked<%end if%>>男&nbsp;&nbsp;<input name="P_Sex" type="radio" class="input_sex" value="女" <%if rs_news("Dream_Sex")="女" then %>checked<%end if%>>女</td>
              </tr>	
			  <tr>
                <th>电话：</th>
                <td><input name="P_Phone" type="text" class="input" size="50" maxlength="200" value="<%=rs_news("Dream_Phone")%>"></td>
              </tr>
			  <tr>
                <th>QQ：</th>
                <td><input name="P_QQ" type="text" class="input" size="50" maxlength="200" value="<%=rs_news("Dream_QQ")%>"></td>
              </tr>
			  <tr>
                <th>公司/单位：</th>
                <td><input name="P_Tjr" type="text" class="input" size="50" maxlength="200" value="<%=rs_news("Dream_Tjr")%>"></td>
              </tr>
			  <tr>
                <th>身份证：</th>
                <td><a href="../<%=rs_news("Dream_IdentityCard")%>" target="_blank"><img src="../<%=rs_news("Dream_IdentityCard")%>" border="0" style="max-width:500px"/></a><br /><br /><a href="../<%=rs_news("Dream_IdentityCard2")%>" target="_blank"><img src="../<%=rs_news("Dream_IdentityCard2")%>" border="0" style="max-width:500px"/></a></td>
              </tr>	
			  <tr>
                <th>实名验证：</th>
                <td><select name="P_IdentityOK"><option value="未申请" <%if rs_news("dream_identityok")="未申请" then%>selected="selected"<%end if%>>未申请</option><option value="验证中" <%if rs_news("dream_identityok")="验证中" then%>selected="selected"<%end if%>>验证中</option><option value="通过验证" <%if rs_news("dream_identityok")="通过验证" then%>selected="selected"<%end if%>>通过验证</option><option value="未通过验证" <%if rs_news("dream_identityok")="未通过验证" then%>selected="selected"<%end if%>>未通过验证</option>
                </select></td>
              </tr>	
			  <tr>
                <th>评论：</th>
                <td><input name="P_Review" type="radio" value="yes" <%if rs_news("dream_rok")=true then%>checked="checked"<%end if%> />
                启用&nbsp;&nbsp;&nbsp;<input name="P_Review" type="radio" value="no" <%if rs_news("dream_rok")=false then%>checked="checked"<%end if%>/>关闭</td>
              </tr>		  			  	    
              <tr id="tr_9" align="center">
                <input type="hidden" name="Id" value="<%=Id%>">
                <td height="35" colspan="2"><input type="submit" name="Submit" value=" 提交 ">
                  &nbsp;&nbsp;
                  <input type="reset" name="Submit" value=" 重置 ">
                </td>
              </tr>
            </table>
          </form>
        </div></td>
    </tr>
  </table>
  <%
end if
rs_news.close
set rs_news=nothing
call CloseConn()
%>
</div>
</body>
</html>
