Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/user_view.tpl.php
Строк: 343
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <?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_manage_menu'); ?>
                  <?php echo $this->fetch('user_search'); ?>                    
                <?php if ($this->user): ?>
                <div class="view_left">
                    <form name="user-view-form" method="post" action="" />
                        <fieldset>
                            <legend>Account Information</legend>
                            <span class="info">ID</span>
                              <span class="data"><?php echo $this->user['user_id']; ?></span>
                              <span class="info clear">Group</span>
                              <span class="data"><a href="<?php echo ADMIN_URL?>/index.php?q=user/manage&amp;g=<?php echo $this->user['group_id']; ?>"><?php echo e($this->groups[$this->user['group_id']]); ?></a></span>
                              <span class="info clear">Username</span>
                              <span class="data"><strong><?php echo e($this->user['username']); ?></strong></span>
                              <span class="info clear">Email</span>
                              <span class="data"><a href="<?php echo ADMIN_URL?>/index.php?q=email/send&amp;email=<?php echo e($this->user['email']); ?>"><?php echo e($this->user['email']); ?></a></span>
                        </fieldset>
                        <fieldset>
                            <legend>Profile Information</legend>
                              <span class="info clear">Name</span>
                              <span class="data"><?php echo e($this->user['name']); ?></span>
                              <span class="info clear">Gender</span>
                              <span class="data"><?php echo e(ucfirst($this->user['gender'])); ?></span>
                              <span class="info clear">Relation</span>
                              <span class="data"><?php echo e(ucfirst($this->user['relation'])); ?></span>
                              <span class="info clear">Interested In</span>
                              <span class="data"><?php echo e(ucfirst($this->user['interested'])); ?></span>
                              <span class="info clear">Birth Date</span>
                              <span class="data"><?php if ($this->user['birth_date'] != '0000-00-00'): echo VDate::format($this->user['birth_date'], 'F j, Y'); else: echo 'not set'; endif; ?></span>
                              <span class="info clear">Website</span>
                              <span class="data"><?php echo e($this->user['website']); ?></span>
                          </fieldset>
                          <fieldset>
                              <legend>Location Information</legend>
                              <span class="info clear">Country</span>
                              <span class="data"><?php echo e($this->user['country']); ?></span>
                              <span class="info clear">City</span>
                              <span class="data"><?php echo e($this->user['city']); ?></span>
                              <span class="info clear">ZIP</span>
                              <span class="data"><?php echo e($this->user['zip']); ?></span>
                          </fieldset>
                          <fieldset>
                              <legend>Random Information</legend>
                              <span class="info clear">About</span>
                              <span class="data"><?php echo e($this->user['about']); ?></span>
                              <span class="info clear">Occupation</span>
                              <span class="data"><?php echo e($this->user['occupation']); ?></span>
                              <span class="info clear">Company</span>
                              <span class="data"><?php echo e($this->user['company']); ?></span>
                              <span class="info clear">Interests and Hobbies</span>
                              <span class="data"><?php echo e($this->user['hobbies']); ?></span>
                              <span class="info clear">Favorite Movies</span>
                              <span class="data"><?php echo e($this->user['movies']); ?></span>
                              <span class="info clear">Favorite Music</span>
                              <span class="data"><?php echo e($this->user['music']); ?></span>
                              <span class="info clear">Books</span>
                              <span class="data"><?php echo e($this->user['books']); ?></span>
                              <span class="info clear">Turn On's</span>
                              <span class="data"><?php echo e($this->user['turn_on']); ?></span>
                              <span class="info clear">Turn Off's</span>
                              <span class="data"><?php echo e($this->user['turn_off']); ?></span>
                          </fieldset>
                          <fieldset>
                              <legend>User Properties</legend>
                              <span class="info clear">Total Videos</span>
                              <span class="data"><a href="<?php echo ADMIN_URL?>/index.php?q=video/manage&amp;u=<?php echo $this->user['username']; ?>"><?php echo $this->user['total_videos']; ?></a></span>
                              <span class="info clear">Total Video Views</span>
                              <span class="data"><?php echo $this->user['total_video_views']; ?></span>
                              <span class="info clear">Total Videos Viewed</span>
                              <span class="data"><?php echo $this->user['total_viewed_videos']; ?></span>
                              <span class="info clear">Total Video Comments</span>
                              <span class="data"><?php echo $this->user['total_video_comments']; ?></span>
                              <span class="info clear">Total Profile Views</span>
                              <span class="data"><?php echo $this->user['total_profile_views']; ?></span>
                              <span class="info clear">Total Friends</span>
                              <span class="data"><?php echo $this->user['total_friends']; ?></span>
                              <span class="info clear">Total Subscribers</span>
                              <span class="data"><?php echo $this->user['total_subscribers']; ?></span>
                              <span class="info clear">Total Subscriptions</span>
                              <span class="data"><?php echo $this->user['total_subscriptions']; ?></span>
                              <?php if (VModule::enabled('forum')): ?>
                              <span class="info clear">Total Topics</span>
                              <span class="data"><?php echo $this->user['total_topics']; ?></span>
                              <span class="info clear">Total Posts</span>
                              <span class="data"><?php echo $this->user['total_posts']; ?></span>
                              <?php endif; ?>
                          </fieldset>
                          <fieldset>
                              <legend>Date Information</legend>
                              <span class="info clear">Join Date</span>
                              <span class="data"><?php echo VDate::format($this->user['join_date']); ?> form <?php echo long2ip($this->user['join_ip']); ?></span>
                              <span class="info clear">Last Login Date</span>
                              <span class="data"><?php echo VDate::format($this->user['login_date']); ?> form <?php echo long2ip($this->user['login_ip']); ?></span>
                          </fieldset>
                    </form>
                </div>
                <div class="view_right">
                    <span class="status"><?php echo $this->status[$this->user['status']]; ?></span>
                    <span class="status"><?php if ($this->user['verified'] == '1'): echo 'Verified'; else: echo ' Verification Needed'; endif; ?></span>
                    <?php if ($this->user['locked'] == '1'): ?>
                    <span class="status">Locked</span>
                    <?php endif; ?>
                    <form name="view-right-form" method="" action="">
                    <fieldset>
                        <legend>Avatar</legend>
                        <div style="width: 100%; text-align: center;">
                            <img src="<?php echo MEDIA_URL?>/users/<?php if ($this->user['avatar'] != ''): echo $this->user['user_id'],'.',$this->user['avatar']; else: echo 'nopic-',$this->user['gender'],'.gif'; endif; ?>" alt="" />
                        </div>
                    </fieldset>    
                    </form>
                </div>
                <div class="clear"></div>
                <div style="width: 100%; text-align: center; padding: 10px 0;">
                    <input type="button" class="button butDef" value=" Edit " onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/edit&amp;id=<?php echo $this->user['user_id']; ?>'" />
                    <?php if ($this->user['status'] == '0' OR $this->user['status'] == '2'): ?>
                    <input type="button" class="button butDef" value="Activate" onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/view&amp;id=<?php echo $this->user['user_id']; ?>&amp;a=activate'" />
                    <?php else: ?>
                    <input type="button" class="button butDef" value="Suspend" onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/view&amp;id=<?php echo $this->user['user_id']; ?>&amp;a=suspend'" />
                    <?php endif; ?>
                    <?php if ($this->user['locked'] == '1'): ?>
                    <input type="button" class="button butDef" value="Unlock" onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/view&amp;id=<?php echo $this->user['user_id']; ?>&amp;a=unlock'" />
                    <?php else: ?>
                    <input type="button" class="button butDef" value="Lock" onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/view&amp;id=<?php echo $this->user['user_id']; ?>&amp;a=lock'" />
                    <?php endif; ?>
                    <input type="button" class="button butDef" value="Delete" onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/view&amp;id=<?php echo $this->user['user_id']; ?>&amp;a=delete'" />
                    <input type="button" class="button butDef" value="Delete to Anonymous" onClick="window.location='<?php echo ADMIN_URL?>/index.php?q=user/view&amp;id=<?php echo $this->user['user_id']; ?>&amp;a=delete_anonymous'" />
                </div>
                <?php else: ?>
                <div class="none">Invalid user! Are you sure this user exists!?</div>
                <?php endif; ?>
            </div>
        </div>
    </div>
Онлайн: 0
Реклама