<?php /* Smarty version 2.6.20, created on 2011-11-15 07:41:07
         compiled from tag.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'tag.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>
	<?php if (( $this->_tpl_vars['show_tags'] == 1 ) && ( count ( $this->_tpl_vars['tags'] ) > 0 )): ?>
	<br />
	<div id="reg_box">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['tags']; ?>
</h3>
	<br />
	<?php $_from = $this->_tpl_vars['tags']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['tag']):
?>
		<?php echo $this->_tpl_vars['tag']['href']; ?>

	<?php endforeach; endif; unset($_from); ?>
	</div>
	<?php endif; ?>
	</td>
    <td width="738" valign="top">
	<div id="browse_main">
		<h2 class="h2_search"><?php echo $this->_tpl_vars['searchstring']; ?>
</h2>
		<h2 class="h2_searchstring">"<?php echo $this->_tpl_vars['searchstring']; ?>
"</h2>
		<div class="error_msg">
		<?php echo $this->_tpl_vars['error_msg']; ?>

		</div>
		<div id="browse_results">
		<ul>
		<?php echo $this->_tpl_vars['results']; ?>

		</ul>
		</div>
	<?php echo $this->_tpl_vars['pagination']; ?>

	</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);
 ?> 