{* 
//////
//    @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 "now being watched" section on the component homepage.
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $bw_carousel_js.......The necessary javascript to initiate the carousel   
//////
*}

{if $print_nowlist eq 2}

        <div id="recent-activities" class="app-box" style="overflow:hidden;">
	<div class="app-box-header">
	<div class="app-box-header">
			<h2 class="expand app-box-title">{$smarty.const._HWDVIDS_BWN}</h2>
	</div>
	</div>

		{$bwn_modContent}

	</div>
	
{else}

        <div id="recent-activities" class="app-box">
	<div class="app-box-header">
	<div class="app-box-header">
			<h2 class="expand app-box-title">{$smarty.const._HWDVIDS_BWN}</h2>
	</div>
	</div>

		<div class="box">

		{foreach name=outer item=data from=$nowlist}
  {if $smarty.foreach.outer.index lt $bwn_no}
		<div class="videoBox">
		{include file="video_list.tpl"}
		</div>
		{if $smarty.foreach.outer.last}
		<div style="clear:both;"></div>
		{elseif $smarty.foreach.outer.index % $vpr-($vpr-1) == 0}
		<div style="clear:both;"></div>
		{/if}
  {/if}

		{/foreach}

		</div>

	</div>

{/if}
