Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/video_category_edit.tpl.php
Строк: 79
<?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('video_menu'); ?>
            <div class="content clearfix">
                <?php echo $this->fetch('video_category_menu'); ?>
                <form id="video-category-edit-form" method="post" enctype="multipart/form-data" action="<?php echo ADMIN_URL?>/index.php?q=video/category_edit&amp;id=<?php echo $this->cat['cat_id']; ?>">
                    <fieldset>
                        <legend>Category Properties</legend>
                        <div class="optional">
                              <label for="parent_id">Parent</label>
                            <select name="parent_id" id="parent_id">
                                  <option value="0">None</option>
                                <?php foreach ($this->categories as $category): ?>
                                <option value="<?php echo $category['cat_id']; ?>"<?php if ($category['cat_id'] == $this->cat['parent_id']): echo ' selected="selected"'; endif; ?>><?php echo e($category['name']); ?></option>
                                <?php endforeach; ?>
                            </select>
                        </div>
                        <div class="required">
                              <label for="name">Name</label>
                            <input name="name" type="text" id="name" class="large" maxlength="99" value="<?php echo e($this->cat['name']); ?>" />
                        </div>
                        <div class="required">
                              <label for="slug">Slug</label>
                              <input name="slug" type="text" id="slug" class="large" maxlength="99" value="<?php echo e($this->cat['slug']); ?>" />
                        </div>
                        <div class="optional">
                              <label for="current">Current Image</label>
                              <img src="<?php echo MEDIA_URL?>/videos/cat/<?php echo $this->cat['cat_id']; ?>.jpg?<?php echo rand(0100); ?>" alt="" />
                        </div>
                        <div class="optional">
                            <label for="image">Image</label>
                            <input name="image" type="file" id="image" />
                        </div>                        
                        <div class="optional">
                              <label for="description">Description</label>
                              <textarea name="description" id="description" class="mega" rows="5"><?php echo e($this->cat['description']); ?></textarea>
                        </div>
                        <div class="optional">
                              <label for="status">Status</label>
                            <input name="status" type="radio" id="status" class="radio" value="1"<?php if ($this->cat['status'] == '1'): ?> checked="checked"<?php endif; ?> /> Active
                            <input name="status" type="radio" class="radio" value="0"<?php if ($this->cat['status'] == '0'): ?> checked="checked"<?php endif; ?> /> Suspended
                        </div>
                    </fieldset>
                      <fieldset>
                          <legend>Automatic Categorization</legend>
                          <div class="required">
                              <label for="auto_term">Auto Term:</label>
                              <input name="auto_term" type="text" id="auto_term" class="extra" value="<?php echo e($this->cat['auto_term']); ?>" />
                          </div>
                      </fieldset>                    
                    <fieldset>
                        <legend>Category SEO Properties</legend>
                        <div class="required">
                            <label for="title">Title:</label>
                            <input name="title" type="text" id="title" class="extra" value="<?php echo $this->cat['title']; ?>" />
                        </div>
                        <div class="required">
                            <label for="meta_title">Meta Title:</label>
                            <input name="meta_title" type="text" id="meta_title" class="extra" value="<?php echo $this->cat['meta_title']; ?>" />
                        </div>
                        <div class="required">
                            <label for="meta_desc">Meta Description:</label>
                            <textarea name="meta_desc" id="meta_desc" class="extra" rows="3"><?php echo $this->cat['meta_desc']; ?></textarea>
                        </div>
                        <div class="required">
                            <label for="meta_keys">Meta Keywords:</label>
                            <textarea name="meta_keys" id="meta_keys" class="extra" rows="3"><?php echo $this->cat['meta_keys']; ?></textarea>
                        </div>
                    </fieldset>                    
                    <div class="submit">
                        <input name="submit_edit_category" type="submit" id="submit_edit_category" class="button butDef" value=" Update Category " />
                    </div>
                </form>
            </div>
        </div>
    </div>
Онлайн: 0
Реклама