{include file='header.tpl' p="index"} 

{php} $_SESSION['isFair'] = "Yes"; {/php}
<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="150" valign="top">
	<div id="reg_box">
	<h3 class="captions">{$lang.genre}</h3>
		<div id="list_cats">
		{list_categories}		
		</div>
	</div>
	<br />
	<div id="reg_box">
	<h3 class="captions">{$lang.members}</h3>
	{if $logged_in == '1'}
	{include file='loggedin_body.tpl'} 
	{else}
	{include file='login_body.tpl'} 
	{/if}
	</div>
	{if ($show_tags == 1) && (count($tags) > 0)}
	<br />
	<div id="reg_box">
	<h3 class="captions">{$lang.tags}</h3>
	<br />
	{foreach from=$tags item=tag key=k}
		{$tag.href}
	{/foreach}
	</div>
	{/if}
	<br />
	<a href="{$smarty.const._URL}/rss.php"><img src="{$smarty.const._URL}/templates/{$template_dir}/images/ico_rss.gif" alt="RSS FEED" border="0" /></a>
	</td>
    <td valign="top">
	<div id="mvotd">
		<h3 class="captions">{$lang.featured}</h3>
		{$lang.now_playing}: {$voth_title}
		<br /><br />
		{include file="player.tpl" page="index"}
		<br />
	</div>
	<br />
	<div id="playingnow">
	<h3 class="captions">{$lang.vbwrn}</h3>
	{if $playingnow == '0'}
	{$lang.no_vids_playing}
	{else}
	<ul id="mycarousel" class="jcarousel-skin-phpmelody">
	{$playingnow}
	</ul>
    {/if}
	</div>
	<br />
	{if $smarty.const._MOD_ARTICLE == 1}
	<div id="index_articles">
	<h3 class="captions">{$lang.articles_latest}</h3>
	
			 <ul class="relatedArticleli">
			 	{foreach from=$articles item=article key=id}
			    <li>
			   	{if $article.meta.post_thumb_show != ''}
			   	<a href="{$article.link}"><img src="{$smarty.const._ARTICLE_ATTACH_DIR}/{$article.meta.post_thumb_show}" align="left" width="47" height="47" alt="" class="artThumb" /></a>
				{/if} 				
				<a href="{$article.link}">{smarty_fewchars s=$article.title length=42}</a>
				<br />
				{if $article.meta.post_thumb_show == ''}
				<div class="minDesc">{smarty_fewchars s=$article.excerpt length=230}</div>
				{else}
				<div class="minDesc">{smarty_fewchars s=$article.excerpt length=200}</div>
				{/if}
				</li>
			    {/foreach}
			 </ul>
	</div>
	<br />
	{/if}
	<div id="new_music_videos">
	<h3 class="captions">{$lang.new_videos}</h3>
	{$new_videos}
	</div>
	</td>
    <td width="250" valign="top">
	<div id="top_videos">
	<h3 class="captions">{$lang.top_m_videos}</h3>
	{$top_videos}
	</div>
	<br />
	{if $show_stats == 1}
	<div id="site_stats">
	<h3 class="captions">{$lang.site_stats}</h3>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?do=online">{$lang.online_users}</a>: {$stats.online_users}<br />
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}">{$lang.total_users}</a>: {$stats.users}<br />
			{$lang.total_videos}: {$stats.videos}<br />
			{$lang.videos_added_lw}: {$stats.videos_last_week}<br />
	</div>
	{/if}
{if $ad_6 != ''}
	<div align="center">{$ad_6}</div>
	<br />
	{/if}
	</td>
  </tr>
</table>
{include file='footer.tpl'} 

