2009-12-21 21:11:54 +00:00
|
|
|
<div>
|
|
|
|
{include file="$style_dir/blocks/manage/account_left.html"}
|
|
|
|
<div class="account_box">
|
|
|
|
{include file="$style_dir/blocks/manage/account_head.html" user=$user}
|
|
|
|
|
|
|
|
<!-- Manage Groups -->
|
|
|
|
{if $mode=='manage'}
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='grp_groups_title'}</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
|
|
|
|
<div align="right" style="float:right; display:inline">
|
|
|
|
<form id="form1" name="form1" method="get" action="">
|
|
|
|
<input name="query" type="text" class="search_field" id="query" value="{$smarty.get.query|form_val}" />
|
2010-02-10 05:54:08 +00:00
|
|
|
<input name="input" type="submit" class="search_field_button" value="{lang code='search'}"/>
|
2009-12-21 21:11:54 +00:00
|
|
|
<input name="mode" value="{$mode}" type="hidden" />
|
|
|
|
</form>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<form name="videos_manager" method="post">
|
|
|
|
<div style="float:left; width:300px">
|
2010-02-10 05:54:08 +00:00
|
|
|
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-left:20px; margin-right:10px;" /><input type="submit" name="delete_videos" id="delete_videos" value="{lang code='delete'}" class="small_button" />
|
2009-12-21 21:11:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="account_table">
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
|
|
|
</td>
|
2010-02-10 05:54:08 +00:00
|
|
|
<td>{lang code='title'}</td>
|
|
|
|
<td width="100">{lang code='date_added'}</td>
|
|
|
|
<td width="100">{lang code='members'}</td>
|
|
|
|
<td width="100">{lang code='topics'}</td>
|
|
|
|
<td width="100" class="last_td">{lang code='active'}</td>
|
2009-12-21 21:11:54 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{assign var='bg' value='fff'}
|
|
|
|
{section name=ugrps loop=$usr_groups}
|
|
|
|
{include file="$style_dir/blocks/manage/account_group.html" group=$usr_groups[ugrps] control='full' bg=$bg}
|
|
|
|
{if $bg=='fff'}
|
|
|
|
{assign var='bg' value='EFF5F8'}
|
|
|
|
{else}
|
|
|
|
{assign var='bg' value='fff'}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{sectionelse}
|
2010-02-10 05:54:08 +00:00
|
|
|
<div align="center" style="padding:5px"><strong><em>{lang code='you_dont_hv_any_grp'}</em></strong></div>
|
2009-12-21 21:11:54 +00:00
|
|
|
{/section}
|
|
|
|
{include file="$style_dir/blocks/manage/user_account_pagination.html"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<!-- Manage Groups Ends Here-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Joined Groups -->
|
|
|
|
{if $mode=='joined'}
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='grp_groups_title'}</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
|
|
|
|
<form name="videos_manager" method="post">
|
|
|
|
<div style="float:left; width:300px">
|
2010-02-10 05:54:08 +00:00
|
|
|
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-left:20px; margin-right:10px;" /><input type="submit" name="leave_groups" id="delete_videos" value="{lang code='leave_groups'}" class="small_button" />
|
2009-12-21 21:11:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix" style="margin-bottom:10px"></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="account_table">
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
|
|
|
</td>
|
2010-02-10 05:54:08 +00:00
|
|
|
<td>{lang code='title'}</td>
|
|
|
|
<td width="100">{lang code='date_added'}</td>
|
|
|
|
<td width="100">{lang code='members'}</td>
|
|
|
|
<td width="100" class="last_td">{lang code='topics'}</td>
|
2009-12-21 21:11:54 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{assign var='bg' value='fff'}
|
|
|
|
{section name=ugrps loop=$usr_groups}
|
|
|
|
{include file="$style_dir/blocks/manage/account_group.html" group=$usr_groups[ugrps] control='basic' bg=$bg}
|
|
|
|
{if $bg=='fff'}
|
|
|
|
{assign var='bg' value='EFF5F8'}
|
|
|
|
{else}
|
|
|
|
{assign var='bg' value='fff'}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{sectionelse}
|
2010-02-10 05:54:08 +00:00
|
|
|
<div align="center" style="padding:5px"><strong><em>{lang code='you_dont_hv_any_grp'}</em></strong></div>
|
2009-12-21 21:11:54 +00:00
|
|
|
{/section}
|
|
|
|
{include file="$style_dir/blocks/manage/user_account_pagination.html"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
<!-- Manage Groups Ends Here -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Group $group.group_name Members-->
|
|
|
|
{if $mode=='manage_members' && $group}
|
|
|
|
{include file="$style_dir/blocks/manage/group_manage_links.html"}
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='manage_grp_mems'} - {$group.group_name}</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
|
|
|
|
<!-- Getting List of pending memebrs , if any -->
|
|
|
|
{assign var=grp_pend_mems value=$cbgroup->get_members($group.group_id,"no")}
|
|
|
|
|
|
|
|
{if $grp_pend_mems}
|
|
|
|
<form name="pending_members" id="pending_members" action="" method="post">
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='pending_mems'} ({$grp_pend_mems|@count})</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
|
|
|
|
<div style="float:left; width:300px">
|
|
|
|
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-left:20px; margin-right:10px;" />
|
2010-02-10 05:54:08 +00:00
|
|
|
<input type="submit" name="activate_pending" id="activate_pending" value="{lang code='approve'}" class="small_button" />
|
|
|
|
<input type="submit" name="delete_members" id="delete_members" value="{lang code='delete'}" class="small_button" />
|
2009-12-21 21:11:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix" style="margin-bottom:10px"></div>
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="manage_contacts_tbl_head">
|
|
|
|
<tr>
|
|
|
|
<td width="15"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
|
|
|
<td width="50"> </td>
|
2010-02-10 05:54:08 +00:00
|
|
|
<td>{lang code='username'}</td>
|
2009-12-21 21:11:54 +00:00
|
|
|
<td width="100">views</td>
|
|
|
|
<td width="100"> </td>
|
|
|
|
<td width="50"> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{section name=pmems loop=$grp_pend_mems}
|
|
|
|
{include file="$style_dir/blocks/manage/account_user.html" user=$grp_pend_mems[pmems] status='pending'}
|
|
|
|
{/section}
|
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
<!-- Ending listing pending members -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Listing ALl Active Members -->
|
|
|
|
{if $gp_mems}
|
|
|
|
<form name="pending_members" id="pending_members" action="" method="post">
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='active_mems'} ({$gp_mems|@count})</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
<div style="float:left; width:300px">
|
|
|
|
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-left:20px; margin-right:10px;" />
|
2010-02-10 05:54:08 +00:00
|
|
|
<input type="submit" name="disapprove_members" id="disapprove_members" value="{lang code='disapprove'}" class="small_button" />
|
|
|
|
<input type="submit" name="delete_members" id="delete_members" value="{lang code='delete'}" class="small_button" />
|
2009-12-21 21:11:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix" style="margin-bottom:10px"></div>
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="manage_contacts_tbl_head">
|
|
|
|
<tr>
|
|
|
|
<td width="15"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
|
|
|
<td width="50"> </td>
|
2010-02-10 05:54:08 +00:00
|
|
|
<td>{lang code='username'}</td>
|
|
|
|
<td width="100">{lang code='views'}</td>
|
2009-12-21 21:11:54 +00:00
|
|
|
<td width="100"> </td>
|
|
|
|
<td width="50"> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{section name=amems loop=$gp_mems}
|
|
|
|
{include file="$style_dir/blocks/manage/account_user.html" user=$gp_mems[amems] status='active'}
|
|
|
|
{/section}
|
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
<!-- Ending Listing all active members -->
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
<!-- Manage Group $group.group_name Members End -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Group $group.group_name Videos -->
|
|
|
|
{if $mode=='manage_videos' && $group}
|
|
|
|
{include file="$style_dir/blocks/manage/group_manage_links.html" }
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='manage_grp_vids'} - {$group.group_name}</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
|
|
|
|
<!-- Getting List of pending videos , if any -->
|
|
|
|
{assign var=grp_pend_videos value=$cbgroup->get_group_videos($group.group_id,"no")}
|
|
|
|
|
|
|
|
{if $grp_pend_videos}
|
|
|
|
<form name="pending_members" id="pending_members" action="" method="post">
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='pending_vids'} ({$grp_pend_videos|@count})</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
<div style="float:left; width:300px">
|
|
|
|
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-left:20px; margin-right:10px;" />
|
2010-02-10 05:54:08 +00:00
|
|
|
<input type="submit" name="activate_videos" id="activate_videos" value="{lang code='approve'}" class="small_button" />
|
|
|
|
<input type="submit" name="delete_videos" id="delete_videos" value="{lang code='delete'}" class="small_button" />
|
2009-12-21 21:11:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix" style="margin-bottom:10px"></div>
|
|
|
|
<div class="account_table">
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
|
|
|
</td>
|
2010-02-10 05:54:08 +00:00
|
|
|
<td>{lang code='title'}</td>
|
|
|
|
<td width="100">{lang code='date_added'}</td>
|
|
|
|
<td width="100">{lang code='views'}</td>
|
|
|
|
<td width="100">{lang code='comments'}</td>
|
2009-12-21 21:11:54 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{assign var='bg' value='fff'}
|
2010-02-10 05:54:08 +00:00
|
|
|
{if $grp_pend_videos}
|
2009-12-21 21:11:54 +00:00
|
|
|
{section name=plist loop=$grp_pend_videos}
|
|
|
|
{include file="$style_dir/blocks/manage/account_video.html" video=$grp_pend_videos[plist] bg=$bg control="basic" }
|
|
|
|
{if $bg=='fff'}
|
|
|
|
{assign var='bg' value='EFF5F8'}
|
|
|
|
{else}
|
|
|
|
{assign var='bg' value='fff'}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{/section}
|
2010-02-10 05:54:08 +00:00
|
|
|
{else}
|
|
|
|
<div align="center" style="padding:5px"><strong><em>{lang code='no_pending_vids'}</em></strong></div>
|
|
|
|
{/if}
|
|
|
|
</form>
|
2009-12-21 21:11:54 +00:00
|
|
|
{/if}
|
|
|
|
<!-- Ending listing pending videos -->
|
|
|
|
|
|
|
|
<!-- Listing ALl Active Members -->
|
|
|
|
{if $grp_vids}
|
|
|
|
<form name="pending_members" id="pending_members" action="" method="post">
|
2010-02-10 05:54:08 +00:00
|
|
|
<h2>{lang code='active_videos'} ({$grp_vids|@count})</h2>
|
2009-12-21 21:11:54 +00:00
|
|
|
<div style="float:left; width:300px">
|
|
|
|
<img src="{$imageurl}/dot.gif" class="arrow_pointing" style="margin-left:20px; margin-right:10px;" />
|
2010-02-10 05:54:08 +00:00
|
|
|
<input type="submit" name="disapprove_videos" id="disapprove_videos" value="{lang code='disapprove'}" class="small_button" />
|
|
|
|
<input type="submit" name="delete_videos" id="delete_videos" value="{lang code='delete'}" class="small_button" />
|
2009-12-21 21:11:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix" style="margin-bottom:10px"></div>
|
|
|
|
<div class="account_table">
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
|
|
|
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
|
|
|
</td>
|
2010-02-10 05:54:08 +00:00
|
|
|
<td>{lang code='title'}</td>
|
|
|
|
<td width="100">{lang code='date_added'}</td>
|
|
|
|
<td width="100">{lang code='views'}</td>
|
|
|
|
<td width="100">{lang code='comments'}</td>
|
2009-12-21 21:11:54 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{assign var='bg' value='fff'}
|
2010-02-10 05:54:08 +00:00
|
|
|
{if $grp_vids}
|
2009-12-21 21:11:54 +00:00
|
|
|
{section name=plist loop=$grp_vids}
|
|
|
|
{include file="$style_dir/blocks/manage/account_video.html" video=$grp_vids[plist] bg=$bg control="basic" }
|
|
|
|
{if $bg=='fff'}
|
|
|
|
{assign var='bg' value='EFF5F8'}
|
|
|
|
{else}
|
|
|
|
{assign var='bg' value='fff'}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{/section}
|
2010-02-10 05:54:08 +00:00
|
|
|
{else}
|
|
|
|
<div align="center" style="padding:5px"><strong><em>{lang code='no_active_videos'}</em></strong></div>
|
|
|
|
{/if}
|
2009-12-21 21:11:54 +00:00
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
<!-- Ending Listing all active members -->
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
<!-- Manage Group $group.group_name Videos -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|