<?php /* Smarty version 2.6.20, created on 2011-11-24 02:47:35
         compiled from profile.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'list_categories', 'profile.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">
	<table width="100%" border="0" cellspacing="1" cellpadding="3">
	  <tr>
		<td width="24%">
		<?php if ($this->_tpl_vars['logged_in'] == '1' && $this->_tpl_vars['username'] == $this->_tpl_vars['s_username']): ?>
		<span class="avatar_border"><img src="<?php echo $this->_tpl_vars['avatar']; ?>
" border="0" alt="" /><br /><a href="<?php echo @_URL; ?>
/upload_avatar.<?php echo @_FEXT; ?>
"><?php echo $this->_tpl_vars['lang']['edit']; ?>
</a></span>
		<?php else: ?>
		<span class="avatar_border"><img src="<?php echo $this->_tpl_vars['avatar']; ?>
" border="0" alt="" /></span>
		<?php endif; ?>		</td>
		<td width="76%" valign="top">
		<h1 class="h1_default"><?php echo $this->_tpl_vars['username']; ?>
's <?php echo $this->_tpl_vars['lang']['profile']; ?>
</h1>
		<?php if ($this->_tpl_vars['logged_in'] == '1' && $this->_tpl_vars['username'] == $this->_tpl_vars['s_username']): ?>
			<div id="profile_menu">

			<img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/small_arrow.gif" width="3" height="5" alt="" align="absmiddle" /> <a href="<?php echo @_URL; ?>
/edit_profile.<?php echo @_FEXT; ?>
"><?php echo $this->_tpl_vars['lang']['edit_profile']; ?>
</a><br />
			<img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/small_arrow.gif" width="3" height="5" alt="" align="absmiddle" /> <a href="<?php echo @_URL; ?>
/upload_avatar.<?php echo @_FEXT; ?>
"><?php echo $this->_tpl_vars['lang']['update_avatar']; ?>
</a>			</div>
		<?php endif; ?>		</td>
	  </tr>
	  <tr>
		<td><strong><?php echo $this->_tpl_vars['lang']['gender']; ?>
</strong>:</td>
		<td><?php echo $this->_tpl_vars['gender']; ?>
</td>
	  </tr>
	  <tr>
		<td><strong><?php echo $this->_tpl_vars['lang']['country']; ?>
</strong>:</td>
		<td><?php echo $this->_tpl_vars['country']; ?>
</td>
	  </tr>
	  <tr>
		<td><strong><?php echo $this->_tpl_vars['lang']['member_since']; ?>
</strong>:</td>
		<td><?php echo $this->_tpl_vars['reg_date']; ?>
</td>
	  </tr>
	  	
	  <tr>
		<td><strong><?php echo $this->_tpl_vars['lang']['status']; ?>
</strong>:</td>
		<td><?php echo $this->_tpl_vars['status']; ?>
</td>
	  </tr>
	  <tr>
		<td><strong><?php echo $this->_tpl_vars['lang']['last_seen']; ?>
</strong>:</td>
		<td><?php echo $this->_tpl_vars['last_seen']; ?>
</td>
	  </tr>
	  <tr>
	    <td colspan="2"><h2><?php echo $this->_tpl_vars['lang']['profile_socialfootprint']; ?>
</h2></td>
	    </tr>
		  <tr>
		  <td colspan="2">
		  <div id="social_icons">
			<?php if (isset ( $this->_tpl_vars['social_website'] ) && $this->_tpl_vars['social_website'] != ''): ?> 
				<a href="<?php echo $this->_tpl_vars['social_website']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_site.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_website']; ?>
" border="0" /></a>
			<?php else: ?>
				<img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_site.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_website']; ?>
" border="0" class="social_none" />
			<?php endif; ?> 
			<?php if (isset ( $this->_tpl_vars['social_facebook'] ) && $this->_tpl_vars['social_facebook'] != ''): ?>
				<a href="<?php echo $this->_tpl_vars['social_facebook']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_fb.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_fb']; ?>
" border="0" /></a>
			<?php else: ?>
				<img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_fb.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_website']; ?>
" border="0" class="social_none" />
			<?php endif; ?>
			<?php if (isset ( $this->_tpl_vars['social_twitter'] ) && $this->_tpl_vars['social_twitter'] != ''): ?>
				<a href="<?php echo $this->_tpl_vars['social_twitter']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_twitter.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_twitter']; ?>
" border="0" /></a>
			<?php else: ?>
				<img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_twitter.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_twitter']; ?>
" border="0" class="social_none" />
			<?php endif; ?>
			<?php if (isset ( $this->_tpl_vars['social_lastfm'] ) && $this->_tpl_vars['social_lastfm'] != ''): ?>
				<a href="<?php echo $this->_tpl_vars['social_lastfm']; ?>
" target="_blank"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_lastfm.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_lastfm']; ?>
" border="0" /></a>
			<?php else: ?>
				<img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_social_lastfm.png" width="16" height="16" alt="<?php echo $this->_tpl_vars['lang']['profile_social_lastfm']; ?>
" border="0" class="social_none" />
			<?php endif; ?>
		  </div>
		  </td>
	  </tr>
	  <tr>
		<td colspan="2">
		<?php if (! empty ( $this->_tpl_vars['about'] )): ?>
		<h2><?php echo $this->_tpl_vars['lang']['about_me']; ?>
</h2>
		<?php echo $this->_tpl_vars['about']; ?>
		
		<?php endif; ?>		</td>
		</tr>
	</table>
	</div>
	<?php if ($this->_tpl_vars['favorite'] == 1): ?>
	<br />
	<div id="content_index">
	<div id="fav_list">
		<h2><?php echo $this->_tpl_vars['lang']['my_favorites']; ?>
</h2>
		 <?php if ($this->_tpl_vars['items'] != ''): ?>
		<table width="100%" border="0" cellspacing="0" cellpadding="3">
		  <?php echo $this->_tpl_vars['items']; ?>

		</table>
		 <?php else: ?>
		 	<?php echo $this->_tpl_vars['lang']['profile_msg_list_empty']; ?>

		 <?php endif; ?>
	 </div>
	 <?php if ($this->_tpl_vars['share_link'] != ''): ?>
	 <div class="watch_all">
	 <img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_watchall.gif" align="absmiddle" /> <a href="<?php echo $this->_tpl_vars['share_link']; ?>
" title="<?php echo $this->_tpl_vars['lang']['profile_watch_all']; ?>
"><?php echo $this->_tpl_vars['lang']['profile_watch_all']; ?>
</a>
	 </div>
	 <?php endif; ?>
	</div>
	 <?php endif; ?>
	
	<?php if (count ( $this->_tpl_vars['submitted_videos'] ) > 0): ?>
	 <br />
	 <div id="content_index">
	 <div id="fav_list">
		<h2><?php echo $this->_tpl_vars['lang']['submittedby']; ?>
 <?php echo $this->_tpl_vars['username']; ?>
</h2>
		<table width="100%" border="0" cellspacing="0" cellpadding="3">
		 
		 <?php $_from = $this->_tpl_vars['submitted_videos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['video']):
?>
		 <tr class="table_row1">
		 	<td width="49">
		 		<a href="<?php echo $this->_tpl_vars['video']['link']; ?>
"><img src="<?php echo $this->_tpl_vars['video']['thumb']; ?>
" class="imag" width="116" height="87" align="left"  alt="<?php echo $this->_tpl_vars['video']['video_title']; ?>
" /></a>
		 	</td>
			<td>
				<a href="<?php echo $this->_tpl_vars['video']['link']; ?>
"><span class="artist_name"><?php echo $this->_tpl_vars['video']['artist']; ?>
</span>
				<br />
				<span class="song_name"><?php echo $this->_tpl_vars['video']['video_title']; ?>
</span>
				</a>
			</td>
		 </tr>  
		<?php endforeach; endif; unset($_from); ?>
		
		</table>
		<?php if (count ( $this->_tpl_vars['submitted_videos'] ) == 5): ?>
		<div class="watch_all">
	 	 <img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/ico_watchall.gif" align="absmiddle" /> <a href="search.php?keywords=<?php echo $this->_tpl_vars['username']; ?>
&btn=Search&t=user" title="<?php echo $this->_tpl_vars['lang']['profile_watch_all']; ?>
"><?php echo $this->_tpl_vars['lang']['profile_watch_all']; ?>
</a>
	 	</div>
		<?php endif; ?>
	 </div>
	<?php endif; ?>
	</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);
 ?> 