<?php /* Smarty version 2.6.20, created on 2011-11-15 07:40:52
         compiled from login.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'login.tpl', 10, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array('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">
	<h1 class="h1_default"><?php echo $this->_tpl_vars['lang']['login']; ?>
 ...</h1>
	<?php if ($this->_tpl_vars['success'] === 1): ?>
		<h2><?php echo $this->_tpl_vars['lang']['loggedin']; ?>
</h2><br />
		<div class="confirm_send">
			<?php echo $this->_tpl_vars['redir_msg']; ?>

			<meta http-equiv="refresh" content="3;URL=<?php echo $this->_tpl_vars['redir']; ?>
" />
		</div>
	<?php else: ?>
			<?php if (count ( $this->_tpl_vars['errors'] ) > 0): ?>
			<div class="error_msg2">
			<?php echo $this->_tpl_vars['lang']['problems_maybe']; ?>

			<ol>
			<?php $_from = $this->_tpl_vars['errors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
			<li><?php echo $this->_tpl_vars['v']; ?>
</li>
			<?php endforeach; endif; unset($_from); ?>
			</ol>
			</div>
			<?php endif; ?>
	<?php endif; ?>
	<?php if ($this->_tpl_vars['logged_in'] == '' && $this->_tpl_vars['success'] == 0): ?>
	<?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 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);
 ?> 