<?php /* Smarty version 2.6.20, created on 2011-11-30 10:11:23
         compiled from upload_avatar.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'upload_avatar.tpl', 9, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array('no_index' => '1','p' => 'general')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="150" valign="top">
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['genre']; ?>
</h3>
		<div id="list_cats">
		<?php echo list_categories(array(), $this);?>
		
		</div>
	</div>
	<br />
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['members']; ?>
</h3>
	<?php if ($this->_tpl_vars['logged_in'] == '1'): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'loggedin_body.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
	<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'login_body.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
	<?php endif; ?>
	</div>	
	</td>
    <td valign="top">
	<div id="content_index">
	<table width="100%" border="0" cellspacing="1" cellpadding="3">
      <tr>
        <td valign="top"><h1 class="h1_default"><?php echo $this->_tpl_vars['lang']['update_avatar']; ?>
</h1>
		<p><?php echo $this->_tpl_vars['lang']['ua_msg1']; ?>
</p>
		</td>
        <td width="100" align="center" valign="top"><span class="avatar_border"><img src="<?php echo $this->_tpl_vars['avatar']; ?>
" border="0" alt="Avatar" /></span></td>
      </tr>
    </table>
	<?php if (! empty ( $this->_tpl_vars['err_msg'] )): ?>
	<div class="confirm_send">
	<?php echo $this->_tpl_vars['err_msg']; ?>
 <br />

	<a href="<?php echo @_URL; ?>
/profile.<?php echo @_FEXT; ?>
?u=<?php echo $this->_tpl_vars['s_username']; ?>
" rel="nofollow"><?php echo $this->_tpl_vars['lang']['return_to_profile']; ?>
</a>

	</div>
	<?php else: ?>	
	  <form method="post" action="<?php echo @_URL; ?>
/upload_avatar.php" enctype="multipart/form-data"> 
	  <strong><?php echo $this->_tpl_vars['lang']['ua_msg2']; ?>
:</strong><br /><br /> 
	  <input name="imagefile" type="file" class="inputtext" size="50" /> 
	  <br />
	  <input name="submit" type="submit" value="<?php echo $this->_tpl_vars['lang']['submit_upload']; ?>
" class="inputbutton">
	  </form> 
	<?php endif; ?>
	</div>
	</td>
    <td width="250" valign="top">
	<div id="top_videos">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['top_m_videos']; ?>
</h3>
	<?php echo $this->_tpl_vars['top_videos']; ?>

	</div>
	</td>
  </tr>
</table>
<?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);
 ?> 