<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title>资料修改</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="/skin/img/style.css" type="text/css" rel="stylesheet">
<link href="/skin/img/user.css" type="text/css" rel="stylesheet">
<script type="text/javascript">var web_url ="/";</script>
<script type="text/javascript" src="/skin/ajax.js"></script>
<script type="text/javascript" src="/skin/function.js"></script>
<script type="text/javascript" src="/skin/selectcss.js"></script>
</head>
<body>
<?php include(DEDEMEMBER."/memberhtml/top.htm"); ?>
<div id="albumend">
 <div id="main">
        <div class="U_border c">
            <div class="left_Navi">
                <div class="box_UI">
                    <h1 class="title_L">
                        我的信息设置</h1>
                    <ul class="U_options">
                        <li><a href="mybox.php">我的收藏</a></li>
                        <li><a href="ziliao.php">资料修改</a></li>
                        <li><a href="../" target="_blank">回到首页</a></li>
                        <li><a href="index_do.php?fmdo=login&dopost=exit#" target="_self">安全退出</a></li>
                    </ul>
                </div>
            </div>

<div class="right_Con">
<div class="tips">
                    小提示：个人信息修改</div>
 <div class="box_List">
                <form action="ziliao.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();">
     <input type="hidden" name="dopost" value="save" />
      <div id="mainCp">
  
        <div class="postForm">
   
            <label>用户名：</label>
            <?php echo $cfg_ml->M_LoginID; ?>
<div style="display:none">
          <p class="cellBg">
            <label style="width:90px">昵称/公司名称：</label>
            <input name="uname" type="text" id="uname" value="<?php echo $row['uname']; ?>" class="intxt" style="width:100px"/>
            * <span id="_uname">(个人会员该项为昵称，企业会员填写公司名称)</span>
          </p>
 <p class="cellBg">
            <label>原安全问题：</label>
            <?php
      			require(DEDEDATA.'/safequestions.php');
      			echo GetSafequestion($row['safequestion'],'safequestion');
     		 ?>
                <span id="_safequestion">(忘记密码时重设密码用)</span>
          </p>
          <p>
            <label>原问题答案：</label>
            <input name="safeanswer" type="text" id="safeanswer" value="" class="intxt" />
          </p>

          <p class="cellBg">
            <label>新安全问题：</label>
            <?php
      			echo GetSafequestion(0,'newsafequestion');
      		?>
               <span id="_safequestionnew">(不修改不用填写)</span> 
          </p>
          <p>
            <label>新问题答案：</label>
            <input name="newsafeanswer" type="text" id="newsafeanswer" class="intxt"/>
          </p>
</div>
          <p>
            <label>原登陆密码：</label>
            <input name="oldpwd" type="password" id="oldpwd" class="intxt" /> <span style="color:red;">*</span>
          </p>
          <p class="cellBg">
            <label>新密码：</label>
            <input name="userpwd" type="password" id="userpwd" class="intxt" />
            <span id="_userpwdok">(不修改密码请保留此项为空)</span>
          </p>
          <p>
            <label>确认新密码：</label>
            <input name="userpwdok" type="password" id="userpwdok" value="" class="intxt" />
            <span id="_userpwdok2">(不修改密码请保留此项为空)</span> </span>
          </p>
         
          <p class="cellBg">
            <label><span class="tdl">电子邮箱</span>：</label>
            <input name="email" type="text" id="email" value="<?php echo $row['email']; ?>" class="intxt"/><br>
            <span id="_email" style="margin-left:80px"> <span style="color:red;">*</span> (每个电子邮邮箱只能注册一个帐号，要修改电子邮箱必须填写正确安全问题的答案)</span> 
          </p>
          <p>
            <label>性别：</label>
			<input type="radio" name="sex" value="男" <?php if($row['sex']=='男') echo " checked='checked' "; ?>/>
             男 &nbsp;
            <input type="radio" name="sex" value="女" <?php if($row['sex']=='女') echo " checked='checked' "; ?>/>
             女 &nbsp;
            <input type="radio" name="sex" value="保密'" <?php if($row['sex']=='保密') echo " checked='checked' "; ?>/>
             保密 
          </p>
          <p class="cellBg">
            <label>验证码：</label>
			<input name="vdcode" type="text" id="vdcode" style='width:50px;text-transform:uppercase;' class="intxt" />
           <img src="../include/vdimgck.php" align="absmiddle" alt="看不清？点击更换" style="cursor:pointer" onclick="this.src=this.src+'?'" />
          </p>
          <p><center>
            <button class="button2" type="submit">更新</button>
            <button class="button2 ml10" type="reset">重设</button>
          </p></center>
    </div>
      </div>
      </form>


    </div>
      </div>




<?php include(DEDEMEMBER."/memberhtml/bot.htm"); ?>