{template 'user/head.html'}

<div class="tags">

  <div id="tagstitle">
	<ul>
	  <li id="one1" onclick="setTab('one',1,2)" class="hover">{lang(userinfo)}</li>
	</ul>
  </div>

 <div id="tagscontent"> 
 <div id="con_one_1">
 
  <div class="table_td" style="margin-top:10px;">

<table border="0" cellspacing="1" cellpadding="4" class="list" name="table" id="table" width="100%">

<tbody>
		<tr>
<td align="center" class="left">ID </td>
<td>{$user[userid]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(username)} </td>
<td align="left">{$user[username]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(question)} </td>
<td align="left">{$user[question]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(answer)}</td>
<td align="left">{$user[answer]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(tel)}</td>
<td align="left">{$user[tel]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(e_mail)}</td>
<td align="left">{$user[e_mail]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(address)}</td>
<td align="left">{$user[address]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(qq)}</td>
<td align="left">{$user[qq]}</td>
</tr>

<tr>
<td align="center" class="left">{lang(intro)} </td>
<td align="left">{$user[intro]}</td>
</tr>
 {loop $field $f}
            <?php
            $name=$f['name'];
            if(!preg_match('/^my_/',$name)) {
            unset($field[$name]);
            continue;
            }
            if(!isset($data[$name])) $data[$name]='';
            ?>
            <tr>
                <td align="center" class="left"><?php echo setting::$var['user'][$name]['cname']; ?></td>
                <td align="left">
                    <?php echo form::getform($name,$form,$field,$data); ?>
                </td>
            </tr>
            {/loop}
            
      </tbody>
    </table>
    
  </div>
  </div>
  </div>
  </div>  
  
    </div>
</div>
    <div class="clear"></div>
     

</div>

{template 'user/foot.html'}