{* 
//////
//    @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 user groups page, which lists all groups created by the current user. 
//////
//    VARIABLES AVAILBLE IN THIS TEMPLATE FILE:                                        
//    -- $print_grouplist.......Only set if the current user has any group memberships
//    -- $list..................Array containing the groups membership details                 
//////
*}

{include file='header.tpl'}

<h5 class="hwdheader">{$smarty.const._HWDVIDS_TITLE_YOURGROUPS}</h5>

<div class="standard">
  {if $print_grouplist}

    {foreach name=outer item=data from=$list}
          <div class="groupBox">
          <div class="padding">
	  {include file="group_list.tpl"}
	  </div>
	  </div>
	  {if $smarty.foreach.outer.last}
	     <div style="clear:both;"></div>
	  {elseif $smarty.foreach.outer.index % $gpr-($gpr-1) == 0}
	     <div style="clear:both;"></div>
	  {/if}
    {/foreach}
    
  {else}
    <div class="padding">{$smarty.const._HWDVIDS_INFO_NYG}</div>
  {/if}
</div>
<div><center>{$pageNavigation}</center></div>

{include file='footer.tpl'}
