Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/user_add.tpl.php
Строк: 68
<?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">
                <form name="user-add-form" id="user-add-form" method="post" action="<?php echo ADMIN_URL?>/index.php?q=user/add">
                    <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="optional">
                              <label for="name">Name</label>
                            <input name="name" type="text" id="name" class="large" value="<?php echo e($this->user['name']); ?>" />
                        </div>
                        <div class="optional">
                              <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>
                    </fieldset>
                    <div class="submit">
                        <input name="submit_user_add" type="submit" id="submit_user_add" class="button butDef" value=" Add User " />
                    </div>
                </form>
            </div>
        </div>
    </div>
Онлайн: 0
Реклама