{assign var='signup_fields' value=$userquery->load_signup_fields($u)} {assign var='channel_profile_fields' value=$userquery->load_user_fields($p)} {$thecats = pullCategories('channels')}

### Editing > {$u.username}
Actions

{if $u.usr_status=='Ok'} {else}{/if}
Active {if $u.ban_status=='yes'} {else}{/if}
Banned
{assign var=cust_signup value=$userquery->load_custom_signup_fields($u,true)} {if $cust_signup} {foreach from=$cust_signup item=field}
{$field.class="form-control"} {$field.title} {$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)} {$field.hint_2}
{/foreach} {/if}

User Id |
User Name |
Email |
User level |
User Category |
Country |
Gender | Male Female

{assign var=cust_signup value=$userquery->load_custom_signup_fields($u,true)} {if $cust_signup} {foreach from=$cust_signup item=field}
{$field.class="form-control"} {$field.title} {$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)} {$field.hint_2}
{/foreach} {/if}

## Channel Settings

{foreach from=$channel_profile_fields item=field_group} {if $field_group.group_name=='Channel settings'} {foreach from=$field_group.fields item=field} {$field.class='form-control'}
{$field.title} | {$field.class = "form-control"} {ANCHOR place=$field.anchor_before}{$formObj->createField($field)} {$field.hint_2}
{/foreach} {/if} {/foreach}

## Basic Info

{foreach from=$channel_profile_fields item=field_group} {if $field_group.group_name=='Basic info'} {foreach from=$field_group.fields item=field} {$field.class='form-control'}
{$field.title} | {$field.class = "form-control"} {ANCHOR place=$field.anchor_before}{$formObj->createField($field)} {$field.hint_2}
{/foreach} {/if} {/foreach}

## Location

{foreach from=$channel_profile_fields item=field_group} {if $field_group.group_name=='Location'} {foreach from=$field_group.fields item=field} {$field.class='form-control'}
{$field.title} | {$field.class = "form-control"} {ANCHOR place=$field.anchor_before}{$formObj->createField($field)} {$field.hint_2}
{/foreach} {/if} {/foreach}

## Education, Hobbies, etc

{foreach from=$channel_profile_fields item=field_group} {if $field_group.group_name=='Education, Hobbies, etc'} {foreach from=$field_group.fields item=field} {$field.class='form-control'}
{$field.title} | {$field.class = "form-control"} {ANCHOR place=$field.anchor_before}{$formObj->createField($field)} {$field.hint_2}
{/foreach} {/if} {/foreach}

Change password

Confirm password

### User Activity

Date of birth |
Joined - Date/IP | {$u.doj} - {$u.signup_ip}
Last-Login Date/IP | {$u.last_logged} - {$u.ip}
Last-Active Online | {$u.last_active} - {$u.last_active|is_online}
Profile Views |
Total Videos |
Videos Watched |
Comments made |
Profile comments |
Profile rating | (0-10)
Profile rated by |
Subscribers |

### Recent Activity Log

ID | UID | Username | Date | Detail
{assign var="logs" value=$userquery->get_user_action_log($u.userid,10)} {section loop=$logs name=log}
{$logs[log].action_id} | {$logs[log].action_userid} | {$logs[log].action_username} | {$logs[log].date_added} | Type : {$logs[log].action_type} –{if $logs[log].action_details!=''}{$logs[log].action_details} –{/if} Success : {$logs[log].action_success} – {$logs[log].action_ip}
{sectionelse} {/section}

### User Avatar and Background

Delete This Image - (if user has profile pic)
User Avatar/Profile PicPlease select image file

#### OR

Please Enter Image URL
Remote avatar url

### User Background Image

{if $userquery->getUserBg($u)} {else} No Bg {/if}
Please Select Image File

#### OR

Please Enter Image URL

#### OR

Please Enter Background Color

#### OR

Background Repeat Type (if using image as a background)
{if $userquery->getUserBg($u)}
Delete this image
{/if}
{assign var='object_type' value='channel'}
{assign var=id value=$u.userid}{include file="$style_dir/blocks/comments.html" type=u id=$u.userid link="user=$id"}