<?php /* Smarty version 2.6.20, created on 2016-05-05 23:18:07
         compiled from index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'index.tpl', 11, false),array('function', 'smarty_fewchars', 'index.tpl', 66, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array('p' => 'index')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 

<?php  $_SESSION['isFair'] = "Yes";  ?>
<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; ?>
	<br />
	<a href="<?php echo @_URL; ?>
/rss.php"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_rss.gif" alt="RSS FEED" border="0" /></a>
	</td>
    <td valign="top">
	<div id="mvotd">
		<h3 class="captions"><?php echo $this->_tpl_vars['lang']['featured']; ?>
</h3>
		<?php echo $this->_tpl_vars['lang']['now_playing']; ?>
: <?php echo $this->_tpl_vars['voth_title']; ?>

		<br /><br />
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "player.tpl", 'smarty_include_vars' => array('page' => 'index')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<br />
	</div>
	<br />
	<div id="playingnow">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['vbwrn']; ?>
</h3>
	<?php if ($this->_tpl_vars['playingnow'] == '0'): ?>
	<?php echo $this->_tpl_vars['lang']['no_vids_playing']; ?>

	<?php else: ?>
	<ul id="mycarousel" class="jcarousel-skin-phpmelody">
	<?php echo $this->_tpl_vars['playingnow']; ?>

	</ul>
    <?php endif; ?>
	</div>
	<br />
	<?php if (@_MOD_ARTICLE == 1): ?>
	<div id="index_articles">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['articles_latest']; ?>
</h3>
	
			 <ul class="relatedArticleli">
			 	<?php $_from = $this->_tpl_vars['articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['article']):
?>
			    <li>
			   	<?php if ($this->_tpl_vars['article']['meta']['post_thumb_show'] != ''): ?>
			   	<a href="<?php echo $this->_tpl_vars['article']['link']; ?>
"><img src="<?php echo @_ARTICLE_ATTACH_DIR; ?>
/<?php echo $this->_tpl_vars['article']['meta']['post_thumb_show']; ?>
" align="left" width="47" height="47" alt="" class="artThumb" /></a>
				<?php endif; ?> 				
				<a href="<?php echo $this->_tpl_vars['article']['link']; ?>
"><?php echo smarty_fewchars(array('s' => $this->_tpl_vars['article']['title'],'length' => 42), $this);?>
</a>
				<br />
				<?php if ($this->_tpl_vars['article']['meta']['post_thumb_show'] == ''): ?>
				<div class="minDesc"><?php echo smarty_fewchars(array('s' => $this->_tpl_vars['article']['excerpt'],'length' => 230), $this);?>
</div>
				<?php else: ?>
				<div class="minDesc"><?php echo smarty_fewchars(array('s' => $this->_tpl_vars['article']['excerpt'],'length' => 200), $this);?>
</div>
				<?php endif; ?>
				</li>
			    <?php endforeach; endif; unset($_from); ?>
			 </ul>
	</div>
	<br />
	<?php endif; ?>
	<div id="new_music_videos">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['new_videos']; ?>
</h3>
	<?php echo $this->_tpl_vars['new_videos']; ?>

	</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>
	<br />
	<?php if ($this->_tpl_vars['show_stats'] == 1): ?>
	<div id="site_stats">
	<h3 class="captions"><?php echo $this->_tpl_vars['lang']['site_stats']; ?>
</h3>
			<a href="<?php echo @_URL; ?>
/memberlist.<?php echo @_FEXT; ?>
?do=online"><?php echo $this->_tpl_vars['lang']['online_users']; ?>
</a>: <?php echo $this->_tpl_vars['stats']['online_users']; ?>
<br />
			<a href="<?php echo @_URL; ?>
/memberlist.<?php echo @_FEXT; ?>
"><?php echo $this->_tpl_vars['lang']['total_users']; ?>
</a>: <?php echo $this->_tpl_vars['stats']['users']; ?>
<br />
			<?php echo $this->_tpl_vars['lang']['total_videos']; ?>
: <?php echo $this->_tpl_vars['stats']['videos']; ?>
<br />
			<?php echo $this->_tpl_vars['lang']['videos_added_lw']; ?>
: <?php echo $this->_tpl_vars['stats']['videos_last_week']; ?>
<br />
	</div>
	<?php endif; ?>
<?php if ($this->_tpl_vars['ad_6'] != ''): ?>
	<div align="center"><?php echo $this->_tpl_vars['ad_6']; ?>
</div>
	<br />
	<?php endif; ?>
	</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);
 ?> 
