{* 
//////
//    @version [ Wainuiomata ]
//    @package hwdPhotoShare
//    @copyright (C) 2007 - 2009 Highwood Design
//    @license http://creativecommons.org/licenses/by-nc-nd/3.0/
//////
*}

    {literal}
    <script language="javaScript">
      function goto_browse(form) { 
        var index=form.select_browse.selectedIndex
        if (form.select_browse.options[index].value != "0") {
          location=form.select_browse.options[index].value;
        }
      }
      function goto_sort(form) { 
        var index=form.select_order.selectedIndex
        if (form.select_order.options[index].value != "0") {
          location=form.select_order.options[index].value;
        }
      }
    </script>
    {/literal}                  

    <form name="redirect">
        <select name="select_browse" onchange="goto_browse(this.form)" size="1">
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=uploads" {$select_uploads}>{$username}'s uploaded videos</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=favourites" {$select_favourites}>{$username}'s favourite videos</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=viewed" {$select_viewed}>{$username}'s recently viewed</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=liked" {$select_liked}>{$username}'s recently liked</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=disliked" {$select_disliked}>{$username}'s recently disliked</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=groups" {$select_groups}>{$username}'s groups</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=playlists" {$select_playlists}>{$username}'s playlists</option>
            {if $channelExists}
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=memberships" {$select_memberships}>{$username}'s memberships</option>
            <option value="{$JURL}/index.php?option=com_hwdvideoshare&Itemid={$Itemid}&task=viewChannel&user_id={$channelData->user_id}&sort=subscriptions" {$select_subscriptions}>{$username}'s subscriptions</option>
       		{/if}
       </select>
    </form>



