<?php /* Smarty version 2.6.10, created on 2010-02-07 15:19:22
         compiled from user.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'user.tpl', 35, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


  <h2>User Panel</h2>
  <div class="mcenter">
    <form method="post" action="user.php">
    <div>
      <input type="hidden" name="id"     value="<?php echo $this->_tpl_vars['id']; ?>
" />
      <input type="hidden" name="action" value="changeinfo" />
      <table class="mcenter tracktable txtleft" style="width:500px;">
      <thead>
        <tr>
          <td class="trackheader txtcenter" colspan=2>User Information</th>
        <tr>
      </thead>
      <tbody>
        <tr>
          <td class="trackheader">Username</th>
          <td><?php echo $this->_tpl_vars['name']; ?>
</td>
        </tr>
        <tr>
          <td class="trackheader" rowspan="2">New password</th>
          <td><input size=40 type="password" name="newpass" value="" /></td>
        </tr>
        <tr>
          <td><input size=40 type="password" name="newpass2" value="" /></td>
        </tr>
        <tr>
          <td class="trackheader">Your email</th>
          <td><input size=40 type="text" name="email" value="<?php echo $this->_tpl_vars['email']; ?>
" /></td>
        </tr>
        <tr>
          <td class="trackheader">Away Status</td>
          <td><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['awaystatus'],'name' => 'away','selected' => $this->_tpl_vars['away']), $this);?>
</td>
        </tr>
        <tr class="txtcenter">
          <td colspan="2"><input type="submit" value="Change Info" /></td>
        </tr>
      </tbody>
      </table>
    </div>
    </form>
    <div class="mcenter txtcenter">
    <?php if ($this->_tpl_vars['IS_IGB']): ?>
      <form method="post" action="user.php">
      <div>
        <input type="hidden" name="action" value="updatecorpinfo" />
        <input type="submit" value="Update Corp/Alliance" />
      </div>
      </form>
    <?php else: ?>
      <table class="mcenter tracktable" style="width:500px;">
      <tbody>
        <tr>
          <td class="trackheader">Update Corp/Alliance</td>
          <td>ERROR: Need to use the in-game browser</td>
        </tr>
      </tbody>
      </table>
    <?php endif; ?>
    </div>
    <br /><hr /><br />
  </div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>