<?php require_once 'head.html';?>
        <div class="span9">
        
		  <div class="row-fluid">
			<div class="page-header">
				<h1>个人设置 <small>Personal Setting</small></h1>
			</div>
			<form class="form-horizontal" action="?c=my" method="post" enctype="multipart/form-data">
				<fieldset>
				   <div class="control-group">

						<label class="control-label" for="touxiang" style="margin-top:35px;">头像</label>
						<div class="controls"><img src="<?php echo $ver['img'];?>" style="width:100px; height:100px; border-radius:50%; overflow:hidden;">
					<input id="file" type="file" class="input-xlarge inputfile" id="touxiang" name="t" style=""/>
            
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="name">用户名</label>
						<div class="controls">
							<input type="text" name="u" class="input-xlarge" id="name" value="<?php echo $ver['username'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="email">密码</label>
						<div class="controls">
							<input type="text" name="p" class="input-xlarge" id="email" placeholder="不修改请留空.." />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="pnohe">呢称</label>
						<div class="controls">
							<input type="text" name="n" class="input-xlarge" id="phone" value="<?php echo $ver['nickname'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="qian">签名</label>
						<div class="controls">
							<input type="text" name="q" class="input-xlarge" id="qian" value="<?php echo $ver['sig'];?>" />
						</div>
					</div>	
					<div class="control-group">
						<label class="control-label" for="sex">性别</label>
						<div class="controls" name="sex">
							<select id="sex" name="sex">
								<option value="1" <?php if($ver[sex]==1)echo 'selected = "selected"';?>>女</option>
								<option value="2" <?php if($ver[sex]==2)echo 'selected = "selected"';?> >男</option>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="qq_num">QQ</label>
						<div class="controls">
							<input type="text" name="qq_num" class="input-xlarge" id="qq_num" value="<?php echo $ver['qq_num'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="user_mail">邮箱</label>
						<div class="controls">
							<input type="text" name="user_mail" class="input-xlarge" id="user_mail" value="<?php echo $ver['user_mail'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="user_bri">笔言(20字内)</label>
						<div class="controls">
							<input type="text" name="user_bri" class="input-xlarge" id="user_bri" value="<?php echo $ver['user_bri'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="user_weibo">腾讯微博(账号)</label>
						<div class="controls">
							<input type="text" name="user_weibo" class="input-xlarge" id="user_weibo" value="<?php echo $ver['user_weibo'];?>" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="user_image_new">展示图(400*160)</label>
						<div class="controls">
							<input type="text" name="user_image_new" class="input-xlarge" id="user_image_new" value="<?php echo $ver['user_image_new'];?>" />
							 <a href="<?php echo $ver['user_image_new'];?>" target="_blank"><img title="点击查看大图" alt="点击查看大图" style="height: 28px;" src="<?php echo $ver['user_image_new'];?>"> 查看</a>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="user_qzone">QQ空间签名档</label>
						<div class="controls">
							<input type="text" name="user_qzone" class="input-xlarge" id="user_qzone" value="<?php echo $ver['user_qzone'];?>" /> <a href="http://connect.qq.com/intro/signature" target="_blank">获取KEY地址</a> (src后双引号的全部内容)
						</div>
					</div>		
					<div class="form-actions">
						<input name="update_set" type="submit" class="btn btn-success btn-large" value="修改设置" /> <a class="btn" href="?c=index">返回仪表盘</a>
					</div>					
				</fieldset>
			</form>
		  </div>
		  
		  
		  
		  
		  
		  
		  
		  
        </div>
      </div>

      <hr>

      <?php require_once 'foot.html';?>

    </div>

    <script src="Delivery/js/jquery.js"></script>
	<script src="Delivery/js/bootstrap.min.js"></script>
  </body>
</html>
