{template 'head.html'}

<div class="t_1">
<div>
<h3>{lang(memeberinfo)}</h3>
<p>Member Info</p>
</div>
</div>


<div class="row">
<table class="table table-striped table-hover">
<tbody>
<tr>
<td align="right" class="col-xs-4 col-sm-4 col-md-2 col-lg-2">ID：</td>
<td class="col-xs-8 col-sm-8 col-md-10 col-lg-10">{$user[userid]}</td>
</tr>

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

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

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

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

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

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

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

<tr>
<td align="right">{lang(intro)}：</td>
<td align="left">&nbsp;{$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="right" class="col-xs-4 col-sm-4 col-md-2 col-lg-2"><?php echo setting::$var['user'][$name]['cname']; ?>：</td>
                <td align="left" class="col-xs-8 col-sm-8 col-md-10 col-lg-10">
                   <?php echo $data[$name];?>
                </td>
            </tr>
            {/loop}
          <tr>
<td align="right">{lang('quick-login')}：</td>
<td align="left"><?php if($user['qqlogin']){echo '{lang(has-opened-QQ-quick-login)}';}?> <?php if($user['alipaylogin']){echo '{lang(alipay-has-opened-a-quick-login)}';}?></td>
</tr>  
      </tbody>
    </table>
</div>

{template 'foot.html'}