{* 
//////
//    @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 featured video section on the homepage.
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $featured_video_player...A video player that plays the top ordered featured video
//    -- $print_multiple_featured.Only set if more than one video is featured                          
//    -- $featured_link...........Link to more featured videos                            
//////
*}

<div class="standard">
  <div class="padding">
    <h2>{$smarty.const._HWDVIDS_FEATURED_VIDEOS}</h2>
    <center>{$featured_video_player}</center>
    {* {include file="featured_videos_03.tpl"} *}
  </div>
</div>

  {if $print_multiple_featured}
    <div class="standard">
    <div class="padding">
      {foreach name=outer item=data from=$featuredlist}
        {if $smarty.foreach.outer.first}{else}
	  {include file="video_list_block.tpl"}
	  {if $smarty.foreach.outer.last}
	     <div style="clear:both;"></div>
	  {elseif $smarty.foreach.outer.index % $vpr == 0}
	     <div style="clear:both;"></div>
	  {/if}
        {/if}
      {/foreach}

      <div style="text-align:right;padding:5px;"><a href="{$featured_link}" title="{$smarty.const._HWDVIDS_INFO_MOREFEATUREDV}">{$smarty.const._HWDVIDS_INFO_MOREFEATUREDV}</a></div>
    </div>
    </div>
  {/if}
