{include file='header.tpl' no_index='1' p="favorites"} 
<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>
	</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">{$meta_title}</h1></td>
		  </tr>
		  <tr>
			<td align="center">
			 {if $action == 'show'}
			  {include file="player.tpl" page="favorites"}
			 {/if}
			 <br />
			</td>
		  </tr>
		</table>
		{if $action == 'show'}
			{if !empty($problem)}
			<p class="confirm_send">{$problem}</p>
			{/if}
		{/if}
		</td>
        </tr>
    	<tr>
		<td>
		{if $action == 'add' || $action == 'del'}
			{if !empty($add_problem)}
			<div class="confirm_send">
			{$add_problem}<br />
			<a href="javascript:history.back()">{$lang.return_to_ppage}</a>
			</div>
			{/if}
		{/if}
		</td>
		</tr>
		<tr>
		<td>
		<div id="fav_list">
		<table width="100%" border="0" cellspacing="0" cellpadding="3">
				{$favorite_videos_list}
		</table>
		</div>
		</td>
		</tr>
		{if $share_link != ''}
		<tr>
		<td>
		<div class="fav_share_link">
		 {$lang.myfavorites_share}
		 <input type="text" name="" value="{$share_link}" size="60" class="inputtext" />
		</div>
		</td>
		</tr>
		{/if}
	</table>
	</div>
	</td>
  </tr>
</table>
{include file='footer.tpl'} 

