{* 
//////
//    @version [ Wainuiomata ]
//    @package hwdVideoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
//////
//    hwdVideoShare Template System:::This template system uses the Smarty Template Engine. 
//    For full documentation, including syntax usage please refer to http://www.smarty.net 
//    or our website at http://www.hwdmediashare.co.uk   
//////
//    This file generates the display for the video player page.
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- TO BE ADDED
//////
*}

{include file='header.tpl'}

{if $print_nextprev}
	<div style="float:right;">{$videoplayer->nextprev}</div>
{/if}

<h2 class="contentheading">{$videoplayer->title} {$videoplayer->editvideo} {$videoplayer->deletevideo}</h2>

<div class="standard">
	<div class="padding">
		<center>
			{$videoplayer->player}
		</center>
	</div>
</div>

<div class="standard">
	<div class="padding">
		{if $print_ads}{if $advert4}<div id="hwdadverts-padding">{$advert4}</div>{/if}{/if}
		{include file='video_details.tpl'}
	</div>
</div>

{if $print_uservideolist or $print_relatedlist or $print_categoryvideolist}
	{$startpane}
		{if $print_uservideolist}
			{$starttab7}
				<div class="standard">
					<div class="padding">
						{foreach name=outer item=data from=$userlist}
							{include file='video_list_simple.tpl'}
						{/foreach}
					</div>
				</div>
			{$endtab}
		{/if}
		{if $print_relatedlist}
			{$starttab8}
				<div class="standard">
					<div class="padding">
						{foreach name=outer item=data from=$listrelated}
							{include file='video_list_simple.tpl'}
						{/foreach}
					</div>
				</div>
			{$endtab}
		{/if}
		{if $print_categoryvideolist}
			{$starttab9}
				<div class="standard">
					<div class="padding">
						{foreach name=outer item=data from=$categoryvideolist}
							{include file='video_list_simple.tpl'}
						{/foreach}
					</div>
				</div>
			{$endtab}
		{/if}
	{$endpane}
{/if}

<div style="clear:both;"></div>
{if $print_ads}{if $advert3}<div id="hwdadverts-padding">{$advert3}</div>{/if}{/if}
<div style="clear:both;"></div>

{if $print_comments}
	<h2 class="contentheading">{$smarty.const._HWDVIDS_TITLE_VIDCOMMS}</h2>
	<div class="standard">
		{$videoplayer->comments}
	</div>
{/if}   

{include file='footer.tpl'}
