<html>
<head>
<title>CTB管理后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="./templates/css/ctbcss.css" type="text/css">
</head>
<body bgcolor='#f5f5f5' text="#000000" topmargin="5"><br>
<b>&nbsp;欢迎来到CTB论坛后台管理中心，以下是本论坛基本资料。</b><br><br>
      <table width="95%" border="0" align="center" cellspacing="1" cellpadding="3" bgcolor="#6394bd">
        <tr> 
          <TD vAlign=center width="100%" bgcolor="#6394bd" colspan=4><a href="main.php?mod=user&action=showAll" ><font color=white><b>用户列表<b></font></a><font color=white>>>$userName 的用户资料</font></TD>
        </tr>
        <form name="form1" method="post" action="./main.php">
          <tr bgcolor="#dee7ef"> 
            <td colspan="2">修改用户资料</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td width="24%">&nbsp;会员登陆id:</td>
            <td width="76%" bgcolor="#FFFFFF"> 
              <input type="text" name="userLoginId"  value="$userLoginId" readonly>&nbsp;*不可以修改
              </td>
          </tr>
          <tr bgcolor="#FFFFFF"> 
            <td width="24%">&nbsp;会员显示名称:</td>
            <td width="76%"> 
              <input type="text" name="userName"  value="$userName" readonly>&nbsp;*不可以修改
              </td>
          </tr>
		  <tr bgcolor="#FFFFFF"> 
            <td width="24%">&nbsp;会员登陆密码:</td>
            <td width="76%"> 
              <input type="text" name="userNewpass"  value="">&nbsp;可以修改
              </td>
          </tr>
      </table>
      <br>
      <table width="95%" border="0" align="center" cellspacing="1" cellpadding="3" bgcolor="#6394bd">
        <tr> 
          <td bgcolor="#dee7ef" colspan="2">修改资料</td>
        </tr>
       <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;性别:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
<input type="radio" name="gender" value="man" $gender_0> 男 &nbsp; 
<input type="radio" name="gender" value="woman" $gender_1> 女 &nbsp; 
<input type="radio" name="gender" value="person" $gender_2> 保密
</td>
        </tr>
       <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;生日:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userBirthday"  size="40" value="$userBirthday">
            </td>
        </tr>

        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;邮件:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userEmail"  size="40" value="$userEmail">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;网址:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userHomepage"  size="40" value="$userHomepage">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;来源:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userForm"  value="$userForm">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;qq:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userQq"  size="40" value="$userQq">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;msn:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userMsn"  value="$userMsn">
            </td>
        </tr>
		        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;icq:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userIcq" size="40" value="$userIcq">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;注册时间:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userTime" size="40" value="$userTime">
            </td>
        </tr>
		
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;最近访问时间:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userLastTime" size="40" value="$userLastTime">
            </td></tr>
				        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;签名:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
                <textarea name="userSign" cols="45" rows="3">$userSign</textarea>
              (不能超过<font color="#FF0000">80</font>字符) </td></tr>
        <tr>

            <td  bgcolor="#FFFFFF"  width="24%">&nbsp;自我介绍:</td>
            <td  bgcolor="#FFFFFF"  width="76%"> 
              <textarea name="introduce" cols="45" rows="3">$oldIntroduce</textarea>
              (限定<span class="highLight">80</span>字符) </td>
        </tr>	

            </table>
		

<br><table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#6394bd">

		<tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;用户组:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userGroup"  size="40" value="$userGroup">
              2(普通会员) 3(斑竹) 1(管理员)
			  </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;等级名称:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userGroupName"  size="40" value="$userGroupName">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;荣誉头衔:</td>
            <td bgcolor="#FFFFFF" width="76%">               
              <input type="text" name="memberTitle"  value="$memberTitle">
            </td>

      </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;等级图片:</td>
            <td bgcolor="#FFFFFF" width="76%">               
              <input type="text" name="userGroupPic"  value="$userGroupPic"readonly> *不可修改
            </td>

      </tr>
	        </table>
      <br>
      <table width="95%" border="0" align="center" cellspacing="1" cellpadding="3" bgcolor="#6394bd">

        <tr> 
          <td bgcolor="#dee7ef" colspan="2">帖子资料</td>
        </tr>

        
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;发贴子:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userPostAll"  value="$userPostAll">
            </td>
        </tr>
        
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;分数:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userGrade"  value="$userGrade">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;金钱:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userMoney"  value="$userMoney">
            </td>
        </tr>
		        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;最后发贴子版块:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userPostForum"  value="$userPostForum">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;最新发贴id:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userPostId"  value="$userPostId">
            </td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;最新发贴标题:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userPostTopic"  size="40" value="$userPostTopic">
            </td>
        </tr>
		<tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;最新发贴时间:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userPostTime" value="$userPostTime"size="40">
            </td>
        </tr>










        <tr>
            <td bgcolor="#FFFFFF" width="24%">&nbsp;头像:</td>
            <td bgcolor="#FFFFFF" width="76%">
<script language="javascript">
function openScript(url, width, height) {
        
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,status=yes' );
}
function showimage(){
    document.images.useravatars.src="$getImageDir/"+document.form1.usericon.options[document.form1.usericon.selectedIndex].value;}
</script> 
                    
<select value="$userPic" name="usericon" size=10 onChange="showimage()">
$userPic_1 
</select>

&nbsp;
<img src="$getImageDir/$userPic" name="useravatars" border=0 height=130>
            
			</td>
        </tr>

		<tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;自定义头像名称:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="userPicUp" value="$userPicUp" size="40">
            </td>
        </tr>
		<tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;虚拟形象代码:</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="text" name="faceDesign" value="$faceDesign" size="80">
            </td>
        </tr>
		<tr> 
            <td bgcolor="#FFFFFF" width="24%">&nbsp;头像显示模式:</td>
            <td bgcolor="#FFFFFF" width="76%">              <INPUT TYPE="radio" NAME="faceMode" value ="1" $faceModeChecked_1>自己上传
			  <INPUT TYPE="radio" NAME="faceMode"  value ="0" $faceModeChecked_0>ctb自带<INPUT TYPE="radio" NAME="faceMode"  value ="2" $faceModeChecked_2>虚拟形象&nbsp;&nbsp;
            </td>
        </tr>



        <tr>

            <td bgcolor="#FFFFFF" width="24%">&nbsp;</td>
            <td bgcolor="#FFFFFF" width="76%"> 
              <input type="submit" name="Submit3" value=" 确定 " class="input1">
              <input type="reset" name="Submit4" value=" 取消 " class="input1">
              <input type="hidden" name="action" value="saveUser">
              <input type="hidden" name="mod" value="user">
              <input type="hidden" name="userId" value="$userId">

            </td>
        </tr>
        </form>  
      </table>
      <br>
