Файл: adultscript-2.0.3-pro/files/admin/templates/default/user_edit.tpl.php
Строк: 734
<?php defined('_VALID') or die('Restricted Access!'); ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo TPL_REL; ?>/css/jquery.Jcrop.css" />
<script type="text/javascript" src="<?php echo TPL_REL; ?>/js/ajaxupload.js"></script>
<script type="text/javascript" src="<?php echo TPL_REL; ?>/js/jquery.Jcrop.js"></script>
<script type="text/javascript">
var avatar_width = <?php echo $this->ucfg['avatar_width']; ?>;
var avatar_height = <?php echo $this->ucfg['avatar_height']; ?>;
function updateCoords(coords)
{
document.getElementById("x").value = coords.x
document.getElementById("y").value = coords.y
document.getElementById("x2").value = coords.x2
document.getElementById("y2").value = coords.y2
document.getElementById("w").value = coords.w
document.getElementById("h").value = coords.h
};
function crop_avatar(id, avatar_width, avatar_height) {
var pos_width = avatar_width+5;
var pos_height = avatar_height+5;
$("#" + id).Jcrop({
onChange: updateCoords,
onSelect: updateCoords,
setSelect: [ 5, 5, pos_width, pos_height],
minSize: [avatar_width, avatar_height],
bgColor: 'black',
bgOpacity: .8,
allowResize: false,
allowMove: true
});
}
$(document).ready(function() {
new AjaxUpload('#file', {
action: base_url + '/ajax.php?s=avatar&d=backend',
data: {
user_id: '<?php echo $this->user['user_id']; ?>'
},
responseType: "json",
onComplete: function(file, response) {
if (response.status == '1' ||
response.status == '2') {
if (response.status == '1') {
$("#avatar").attr('src', response.code);
}
if (response.status == '2') {
$("#upload_avatar_container").html('');
var aCode = '<fieldset><legend>Crop Avatar</legend><input name="photo" type="hidden" value="' + response.code + '" />';
var aCode = aCode + '<input name="x" type="hidden" id="x" value="5" />';
var aCode = aCode + '<input name="y" type="hidden" id="y" value="5" />';
var aCode = aCode + '<input name="x2" type="hidden" id="x2" value="' + response.width + '" />';
var aCode = aCode + '<input name="y2" type="hidden" id="y2" value="' + response.height + '" />';
var aCode = aCode + '<input name="w" type="hidden" id="w" value="' + response.width + '" />';
var aCode = aCode + '<input name="h" type="hidden" id="h" value="' + response.height + '" />';
var aCode = aCode + '<div style="margin-left: 210px;"><img src="' + response.code + '" alt="avatar" id="crop_image" /></div>';
var aCode = aCode + '</fieldset>';
$("#upload_avatar_container").html(aCode);
$("#upload_avatar_container").show();
crop_avatar('crop_image', response.width, response.height);
}
$("#response_container").removeClass('tpRed').addClass('tpGreen');
} else {
$("#response_container").removeClass('tpGreen').addClass('tpRed');
}
$("#response_message").html(response.msg);
$("#response_container").show();
}
});
});
</script>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('user_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('user_edit_menu'); ?>
<div class="tabContent clearfix">
<form id="user-add-form" method="post" action="<?php echo ADMIN_URL; ?>/index.php?q=user/edit&id=<?php echo $this->user['user_id']; ?>">
<div class="tab1">
<fieldset>
<legend>Account Information</legend>
<div class="required">
<label for="username">Username</label>
<input name="username" type="text" id="username" class="medium" maxlength="16" value="<?php echo e($this->user['username']); ?>" />
</div>
<div class="required">
<label for="group">Group</label>
<select name="group" id="group">
<option value="">Select Group</option>
<?php foreach ($this->groups as $group): ?>
<option value="<?php echo $group['group_id']; ?>"<?php if ($group['group_id'] == $this->user['group_id']): echo ' selected="selected"'; endif; ?>><?php echo e($group['name']); ?></option>
<?php endforeach; ?>
</select>
</div>
<div class="required">
<label for="email">Email</label>
<input name="email" type="text" id="email" class="mega" maxlength="255" value="<?php echo e($this->user['email']); ?>" />
</div>
<div class="required">
<label for="password">Password</label>
<input name="password" type="password" id="password" class="large" value="" />
</div>
<div class="required">
<label for="password_confirm">Confirm Password</label>
<input name="password_confirm" type="password" id="password_confirm" class="large" value="" />
</div>
<div class="required">
<label for="verified">Verified</label>
<select name="verified" id="verified">
<option value="0"<?php if ($this->user['verified'] == '0'): echo ' selected="selected"'; endif; ?>>No</option>
<option value="1"<?php if ($this->user['verified'] == '1'): echo ' selected="selected"'; endif; ?>>Yes</option>
</select>
</div>
<div class="required">
<label for="locked">Locked</label>
<select name="locked" id="locked">
<option value="0"<?php if ($this->user['locked'] == '0'): echo ' selected="selected"'; endif; ?>>No</option>
<option value="1"<?php if ($this->user['locked'] == '1'): echo ' selected="selected"'; endif; ?>>Yes</option>
</select>
</div>
<div class="required">
<label for="status">Status</label>
<select name="status" id="status">
<option value="0"<?php if ($this->user['status'] == '0'): echo ' selected="selected"'; endif; ?>>Suspended</option>
<option value="1"<?php if ($this->user['status'] == '1'): echo ' selected="selected"'; endif; ?>>Active</option>
<option value="2"<?php if ($this->user['status'] == '2'): echo ' selected="selected"'; endif; ?>>Confirmation Needed</option>
</select>
</div>
<?php if (VModule::enabled('premium')): ?>
<fieldset>
<legend>Premium Properties</legend>
<div class="required">
<label for="credit">Credit</label>
<input name="credit" type="text" id="credit" class="small" value="<?php echo $this->user['credit']; ?>" />
</div>
<div class="required">
<label for="start_date">Start Date</label>
<input name="start_date" type="text" id="start_date" class="medium" value="<?php echo $this->user['start_date']; ?>" />
</div>
<div class="required">
<label for="end_date">End Date</label>
<input name="end_date" type="text" id="end_date" class="medium" value="<?php echo $this->user['end_date']; ?>" />
</div>
<div class="required">
<label for="pstatus">Status</label>
<select name="pstatus" id="pstatus">
<option value="1"<?php if ($this->user['pstatus'] == '1'): echo ' selected="selected"'; endif; ?>>Active</option>
<option value="0"<?php if ($this->user['pstatus'] == '0'): echo ' selected="selected"'; endif; ?>>Suspended</option>
</select>
</div>
</fieldset>
<?php endif; ?>
</fieldset>
</div>
<div class="tab2" style="display: none;">
<fieldset>
<legend>Profile Properties</legend>
<div class="required">
<label for="name">Name</label>
<input name="name" type="text" id="name" class="large" value="<?php echo e($this->user['name']); ?>" />
</div>
<div class="required">
<label for="birth_date">Birth Date:</label>
<?php echo p('date', $this->user['birth_date']); ?>
</div>
<div class="required">
<label for="gender">Gender:</label>
<select name="gender" id="gender">
<option value="hidden"<?php if ($this->user['gender'] == 'hidden'): echo ' selected="selected"'; endif; ?>>-------</option>
<option value="male"<?php if ($this->user['gender'] == 'male'): echo ' selected="selected"'; endif; ?>>Male</option>
<option value="female"<?php if ($this->user['gender'] == 'female'): echo ' selected="selected"'; endif; ?>>Female</option>
</select>
</div>
<div class="required">
<label for="relation">Relation:</label>
<select name="relation" id="relation">
<option value="hidden"<?php if ($this->user['relation'] == 'hidden'): echo ' selected="selected"'; endif; ?>>-----------</option>
<option value="single"<?php if ($this->user['relation'] == 'single'): echo ' selected="selected"'; endif; ?>>Single</option>
<option value="taken"<?php if ($this->user['relation'] == 'taken'): echo ' selected="selected"'; endif; ?>>Taken</option>
<option value="open"<?php if ($this->user['relation'] == 'open'): echo ' selected="selected"'; endif; ?>>Open</option>
</select>
</div>
<div class="required">
<label for="interested">Interested In:</label>
<select name="interested" id="interested">
<option value="hidden"<?php if ($this->user['interested'] == 'hidden'): echo ' selected="selected"'; endif; ?>>---------</option>
<option value="boys"<?php if ($this->user['interested'] == 'boys'): echo ' selected="selected"'; endif; ?>>Boys</option>
<option value="girls"<?php if ($this->user['interested'] == 'girls'): echo ' selected="selected"'; endif; ?>>Girls</option>
<option value="boys+girls"<?php if ($this->user['interested'] == 'boys+girls'): echo ' selected="selected"'; endif; ?>>Boys and Girls</option>
</select>
</div>
<div class="required">
<label for="website">Website:</label>
<input name="website" type="text" id="website" class="mega" value="<?php echo e($this->user['website']); ?>" />
</div>
</fieldset>
<fieldset>
<legend>Location Information</legend>
<div class="required">
<label for="country">Country:</label>
<select name="country" id="country">
<option value="">-----------</option>
<?php foreach ($this->countries as $code => $name): ?>
<option value="<?php echo e($code); ?>"<?php if ($name == $this->user['country']): ?> selected="selected"<?php endif; ?>><?php echo e($name); ?></option>
<?php endforeach; ?>
</select>
</div>
<div class="required">
<label for="city">City:</label>
<input name="city" type="text" id="city" class="large" value="<?php echo e($this->user['city']); ?>" />
</div>
<div class="required">
<label for="zip">Zip:</label>
<input name="zip" type="text" id="zip" class="small" maxlength="15" value="<?php echo e($this->user['zip']); ?>" />
</div>
</fieldset>
<fieldset>
<legend>Random Information</legend>
<div class="required">
<label for="about">About:</label>
<textarea name="about" id="about" class="mega" rows="4" cols="60"><?php echo e($this->user['about']); ?></textarea>
</div>
<div class="required">
<label for="occupation">Occupation:</label>
<input name="occupation" type="text" id="occupation" class="large" value="<?php echo e($this->user['occupation']); ?>" />
</div>
<div class="required">
<label for="school">School</label>
<input name="school" type="text" id="school" class="large" value="<?php echo e($this->user['school']); ?>" />
</div>
<div class="required">
<label for="company">Company</label>
<input name="company" type="text" id="company" class="large" value="<?php echo e($this->user['company']); ?>" />
</div>
<div class="required">
<label for="hobbies">Interests and Hobbies:</label>
<textarea name="hobbies" id="hobbies" class="mega" rows="4" cols="60"><?php echo e($this->user['hobbies']); ?></textarea>
</div>
<div class="required">
<label for="movies">Movies:</label>
<textarea name="movies" id="movies" class="mega" rows="4" cols="60"><?php echo e($this->user['movies']); ?></textarea>
</div>
<div class="required">
<label for="music">Music</label>
<textarea name="music" id="music" class="mega" rows="4" cols="60"><?php echo e($this->user['music']); ?></textarea>
</div>
<div class="required">
<label for="books">Books</label>
<textarea name="books" id="books" class="mega" rows="4" cols="60"><?php echo e($this->user['books']); ?></textarea>
</div>
<div class="required">
<label for="turn_on">Turn Ons</label>
<textarea name="turn_on" id="turn_on" class="mega" rows="4" cols="60"><?php echo e($this->user['turn_on']); ?></textarea>
</div>
<div class="required">
<label for="turn_off">Turn Offs</label>
<textarea name="turn_off" id="turn_off" class="mega" rows="4" cols="60"><?php echo e($this->user['turn_off']); ?></textarea>
</div>
</fieldset>
</div>
<div class="tab3" style="display: none;">
<div id="response_container" class="toolTip tpGreen" style="display: none;">
<p class="clearfix"><span id="response_message"></span></p>
<a class="close" title="Close"></a>
</div>
<fieldset>
<legend>Upload Avatar</legend>
<div class="required">
<label for="current">Current Avatar</label>
<img src="<?php echo MEDIA_URL; ?>/users/<?php if ($this->user['avatar'] != ''): echo $this->user['user_id'],'.',$this->user['avatar'],'?',rand(0,100); else: echo 'nopic-',$this->user['gender'],'.gif'; endif; ?>" alt="" id="avatar" />
</div>
<div class="required">
<label for="file">File</label>
<input name="file" type="file" id="file" />
</div>
</fieldset>
<div id="upload_avatar_container" style="display: none;"></div>
</div>
<div class="tab4" style="display: none;">
<fieldset>
<legend>Profile Preferences</legend>
<div class="required">
<label for="profile" class="prefs">Show Profile</label>
<input name="profile" type="radio" id="profile" class="radio" value="all"<?php if ($this->user['profile'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="profile" type="radio" class="radio" value="friends"<?php if ($this->user['profile'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="profile" type="radio" class="radio" value="no"<?php if ($this->user['profile'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="profile_comments" class="prefs">Show Profile Comments</label>
<input name="profile_comments" type="radio" id="profile_comments" class="radio" value="all"<?php if ($this->user['profile_comments'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="profile_comments" type="radio" class="radio" value="friends"<?php if ($this->user['profile_comments'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="profile_comments" type="radio" class="radio" value="no"<?php if ($this->user['profile_comments'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_videos" class="prefs">Show My Videos</label>
<input name="show_videos" type="radio" id="show_videos" class="radio" value="all"<?php if ($this->user['show_videos'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_videos" type="radio" class="radio" value="friends"<?php if ($this->user['show_videos'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_videos" type="radio" class="radio" value="no"<?php if ($this->user['show_videos'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_video_history" class="prefs">Show My Video View History</label>
<input name="show_video_history" type="radio" id="show_video_history" class="radio" value="all"<?php if ($this->user['show_video_history'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_video_history" type="radio" class="radio" value="friends"<?php if ($this->user['show_video_history'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_video_history" type="radio" class="radio" value="no"<?php if ($this->user['show_video_history'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_video_favorites" class="prefs">Show My Favorite Videos</label>
<input name="show_video_favorites" type="radio" id="show_video_favorites" class="radio" value="all"<?php if ($this->user['show_video_favorites'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_video_favorites" type="radio" class="radio" value="friends"<?php if ($this->user['show_video_favorites'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_video_favorites" type="radio" class="radio" value="no"<?php if ($this->user['show_video_favorites'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_video_playlists" class="prefs">Show My Video Playlists</label>
<input name="show_video_playlists" type="radio" id="show_video_playlists" class="radio" value="all"<?php if ($this->user['show_video_playlists'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_video_playlists" type="radio" class="radio" value="friends"<?php if ($this->user['show_video_playlists'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_video_playlists" type="radio" class="radio" value="no"<?php if ($this->user['show_video_playlists'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_video_ratings" class="prefs">Show My Rated Videos</label>
<input name="show_video_ratings" type="radio" id="show_video_ratings" class="radio" value="all"<?php if ($this->user['show_video_ratings'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_video_ratings" type="radio" class="radio" value="friends"<?php if ($this->user['show_video_ratings'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_video_ratings" type="radio" class="radio" value="no"<?php if ($this->user['show_video_ratings'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_friends" class="prefs">Show My Friends</label>
<input name="show_friends" type="radio" id="show_friends" class="radio" value="all"<?php if ($this->user['show_friends'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_friends" type="radio" class="radio" value="friends"<?php if ($this->user['show_friends'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_friends" type="radio" class="radio" value="no"<?php if ($this->user['show_friends'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_subscribers" class="prefs">Show My Subscribers</label>
<input name="show_subscribers" type="radio" id="show_subscribers" class="radio" value="all"<?php if ($this->user['show_subscribers'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_subscribers" type="radio" class="radio" value="friends"<?php if ($this->user['show_subscribers'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_subscribers" type="radio" class="radio" value="no"<?php if ($this->user['show_subscribers'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_subscriptions" class="prefs">Show My Subscriptions</label>
<input name="show_subscriptions" type="radio" id="show_subscriptions" class="radio" value="all"<?php if ($this->user['show_subscriptions'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_subscriptions" type="radio" class="radio" value="friends"<?php if ($this->user['show_subscriptions'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_subscriptions" type="radio" class="radio" value="no"<?php if ($this->user['show_subscriptions'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="show_activity" class="prefs">Show My Activities</label>
<input name="show_activity" type="radio" id="show_activity" class="radio" value="all"<?php if ($this->user['show_activity'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="show_activity" type="radio" class="radio" value="friends"<?php if ($this->user['show_activity'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="show_activity" type="radio" class="radio" value="no"<?php if ($this->user['show_activity'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="allow_comment" class="prefs">Allow Profile Comments</label>
<input name="allow_comment" type="radio" id="allow_comment" class="radio" value="all"<?php if ($this->user['allow_comments'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="allow_comment" type="radio" class="radio" value="friends"<?php if ($this->user['allow_comments'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="allow_comment" type="radio" class="radio" value="approve"<?php if ($this->user['allow_comments'] == 'approve'): echo ' checked="checked"'; endif; ?> /> Approve
<input name="allow_comment" type="radio" class="radio" value="no"<?php if ($this->user['allow_comments'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
<div class="required">
<label for="allow_friends" class="prefs">Allow Friend Requests</label>
<input name="allow_friends" type="radio" id="allow_friends" class="radio" value="auto"<?php if ($this->user['allow_friends'] == 'auto'): echo ' checked="checked"'; endif; ?> /> Auto
<input name="allow_friends" type="radio" class="radio" value="approve"<?php if ($this->user['allow_friends'] == 'approve'): echo ' checked="checked"'; endif; ?> /> Approve
</div>
<div class="required">
<label for="allow_message" class="prefs">Allow Private Message</label>
<input name="allow_message" type="radio" id="allow_message" class="radio" value="all"<?php if ($this->user['allow_message'] == 'all'): echo ' checked="checked"'; endif; ?> /> Yes
<input name="allow_message" type="radio" class="radio" value="friends"<?php if ($this->user['allow_message'] == 'friends'): echo ' checked="checked"'; endif; ?> /> Friends
<input name="allow_message" type="radio" class="radio" value="no"<?php if ($this->user['allow_message'] == 'no'): echo ' checked="checked"'; endif; ?> /> No
</div>
</fieldset>
</div>
<div class="tab5" style="display: none;">
<fieldset>
<legend>Mail Notifications</legend>
<div class="required">
<label for="video_approve"> </label>
<input name="video_approve" type="checkbox" id="video_approve" class="checkbox"<?php if ($this->user['video_approve'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Videos are approved/rejected</strong>
</div>
<div class="required">
<label for="video_comment"> </label>
<input name="video_comment" type="checkbox" id="video_comment" class="checkbox"<?php if ($this->user['video_comment'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Comments on my videos</strong>
</div>
<div class="required">
<label for="video_rating"> </label>
<input name="video_rating" type="checkbox" id="video_rating" class="checkbox"<?php if ($this->user['video_rating'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Ratings on my videos</strong>
</div>
<div class="required">
<label for="subscription"> </label>
<input name="subscription" type="checkbox" id="subscription" class="checkbox"<?php if ($this->user['subscription'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Subscribes to my videos</strong>
</div>
<div class="required">
<label for="friend_request"> </label>
<input name="friend_request" type="checkbox" id="friend_request" class="checkbox"<?php if ($this->user['friend_request'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Friend request</strong>
</div>
<div class="required">
<label for="friend_approve"> </label>
<input name="friend_approve" type="checkbox" id="friend_approve" class="checkbox"<?php if ($this->user['friend_approve'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Approve/Deny my friendship request</strong>
</div>
<div class="required">
<label for="new_message"> </label>
<input name="new_message" type="checkbox" id="new_message" class="checkbox"<?php if ($this->user['new_message'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Sends me a message</strong>
</div>
<div class="required">
<label for="profile_comment"> </label>
<input name="profile_comment" type="checkbox" id="profile_comment" class="checkbox"<?php if ($this->user['profile_comment'] == '1'): echo ' checked="checked"'; endif; ?> /> <strong>Comments on my profile</strong>
</div>
</fieldset>
</div>
<div class="tab6" style="display: none;">
<fieldset>
<legend>Advanced Properties</legend>
<div class="required">
<label for="popularity">Popularity</label>
<input name="popularity" type="text" id="popularity" class="medium" value="<?php echo $this->user['popularity']; ?>" />
</div>
<div class="required">
<label for="total_videos">Total Videos</label>
<input name="total_videos" type="text" id="total_videos" class="medium" value="<?php echo $this->user['total_videos']; ?>" />
</div>
<div class="required">
<label for="total_video_views">Total Video Views</label>
<input name="total_video_views" type="text" id="total_video_views" class="medium" value="<?php echo $this->user['total_video_views']; ?>" />
</div>
<div class="required">
<label for="total_viewed_videos">Total Viewed Videos</label>
<input name="total_viewed_videos" type="text" id="total_viewed_videos" class="medium" value="<?php echo $this->user['total_viewed_videos']; ?>" />
</div>
<div class="required">
<label for="total_video_comments">Total Video Comments</label>
<input name="total_video_comments" type="text" id="total_video_comments" class="medium" value="<?php echo $this->user['total_video_comments']; ?>" />
</div>
<div class="required">
<label for="total_profile_views">Total Profile Views</label>
<input name="total_profile_views" type="text" id="total_profile_views" class="medium" value="<?php echo $this->user['total_profile_views']; ?>" />
</div>
</fieldset>
</div>
<div class="submit">
<input name="submit_user_edit" type="submit" id="submit_user_edit" class="button butDef" value=" Update User " />
</div>
</form>
</div>
</div>
</div>
</div>