<?php if(!defined("RUN_MODE")) die();?>
<?php include '../../common/view/header.modal.html.php';?>
<table class='table table-form'>
  <tr>
    <th class='w-80px'><?php echo $lang->user->account;?></th>
    <td><?php echo $user->account;?></td>
  </tr> 
  <tr>
    <th class='w-80px'><?php echo $lang->user->realname;?></th>
    <td><?php echo $user->realname;?></td>
  </tr> 
  <tr>
    <th class='w-80px'><?php echo $lang->user->email;?></th>
    <td>
      <?php echo str2Entity($user->email);?>
      <?php if(zget($user, 'emailCertified', 0) == 1) echo "<i class='icon icon-envelope'> </i>";?>
    </td>
  </tr> 
  <?php if(!empty($user->mobile)):?>
  <tr>
    <th class='w-80px'><?php echo $lang->user->mobile;?></th>
    <td>
      <?php echo str2Entity($user->mobile);?>
      <?php if(zget($user, 'mobileCertified', 0) == 1) echo "<i class='icon icon-mobile' title='{$lang->user->certified}'> </i>";?>
    </td>
  </tr> 
  <?php endif;?>
  <?php if(!empty($user->phone)):?>
  <tr>
    <th class='w-80px'><?php echo $lang->user->phone;?></th>
    <td><?php echo str2Entity($user->phone);?></td>
  </tr> 
  <?php endif;?>
  <?php if(!empty($user->qq)):?>
  <tr>
    <th class='w-80px'><?php echo $lang->user->qq;?></th>
    <td><?php echo str2Entity($user->qq);?></td>
  </tr> 
  <?php endif;?>
  <?php if(!empty($user->ip)):?>
  <tr>
    <th class='w-80px'><?php echo $lang->user->ip;?></th>
    <td><?php echo str2Entity($user->ip) . ' ' . $user->location;?></td>
  </tr> 
  <?php endif;?>

  <?php if(!empty($user->company)):?>
  <tr>
    <th class='w-80px'><?php echo $lang->user->company;?></th>
    <td><?php echo $user->company;?></td>
  </tr> 
  <?php endif;?>
</table>
<?php include '../../common/view/footer.modal.html.php';?>
