<?php /* Smarty version 2.6.20, created on 2016-05-11 22:17:01
         compiled from favorites.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'favorites.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' => 'favorites')));
$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="favorites_main">
	<table width="100%" border="0" cellspacing="1" cellpadding="3">
      <tr>
        <td valign="top">
		
		<table width="100%" border="0" cellpadding="3" cellspacing="1">
		  <tr>
			<td><a name="videoplayer" id="videoplayer"></a><h1 class="h1_default"><?php echo $this->_tpl_vars['meta_title']; ?>
</h1></td>
		  </tr>
		  <tr>
			<td align="center">
			 <?php if ($this->_tpl_vars['action'] == 'show'): ?>
			  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "player.tpl", 'smarty_include_vars' => array('page' => 'favorites')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
			 <?php endif; ?>
			 <br />
			</td>
		  </tr>
		</table>
		<?php if ($this->_tpl_vars['action'] == 'show'): ?>
			<?php if (! empty ( $this->_tpl_vars['problem'] )): ?>
			<p class="confirm_send"><?php echo $this->_tpl_vars['problem']; ?>
</p>
			<?php endif; ?>
		<?php endif; ?>
		</td>
        </tr>
    	<tr>
		<td>
		<?php if ($this->_tpl_vars['action'] == 'add' || $this->_tpl_vars['action'] == 'del'): ?>
			<?php if (! empty ( $this->_tpl_vars['add_problem'] )): ?>
			<div class="confirm_send">
			<?php echo $this->_tpl_vars['add_problem']; ?>
<br />
			<a href="javascript:history.back()"><?php echo $this->_tpl_vars['lang']['return_to_ppage']; ?>
</a>
			</div>
			<?php endif; ?>
		<?php endif; ?>
		</td>
		</tr>
		<tr>
		<td>
		<div id="fav_list">
		<table width="100%" border="0" cellspacing="0" cellpadding="3">
				<?php echo $this->_tpl_vars['favorite_videos_list']; ?>

		</table>
		</div>
		</td>
		</tr>
		<?php if ($this->_tpl_vars['share_link'] != ''): ?>
		<tr>
		<td>
		<div class="fav_share_link">
		 <?php echo $this->_tpl_vars['lang']['myfavorites_share']; ?>

		 <input type="text" name="" value="<?php echo $this->_tpl_vars['share_link']; ?>
" size="60" class="inputtext" />
		</div>
		</td>
		</tr>
		<?php endif; ?>
	</table>
	</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);
 ?> 
