Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/pornstar_config.tpl.php
Строк: 209
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <?php echo $this->fetch('errors'); ?>
    <?php echo $this->fetch('messages'); ?>
    <?php echo $this->fetch('warnings'); ?>
    <script type="text/javascript">
    </script>
    <div id="container" class="clearfix">
        <div id="page">
            <?php echo $this->fetch('pornstar_menu'); ?>
            <div class="content clearfix">
                <div class="clearfix tabbar barProds">
                    <ul class="tabs">
                        <li class="tab3"><a href="#" onclick="showOnly('tab3','barProds')"><img src="<?php echo TPL_REL?>/images/icons/plus-small.png" alt="" />Advanced</a></li>
                        <li class="tab2"><a href="#" onclick="showOnly('tab2','barProds')"><img src="<?php echo TPL_REL?>/images/icons/plus-small.png" alt="" />Photo</a></li>
                        <li class="tab1"><a href="#" onclick="showOnly('tab1','barProds')" class="selected"><img src="<?php echo TPL_REL?>/images/icons/plus-small.png" alt="" />Main</a></li>
                    </ul>
                    <div class="tabContent clearfix">
                        <form name="pornstar-config-form" id="pornstar-config-form" method="post" action="<?php echo ADMIN_URL?>/index.php?q=pornstar/config">
                        <div class="tab1">
                            <fieldset>
                                <legend>Pagination Settings</legend>
                                <div class="required">
                                    <label for="models_per_page">Models per Page</label>
                                    <input name="models_per_page" type="text" id="models_per_page" class="small" value="<?php echo $this->pcfg['models_per_page']; ?>" />
                                </div>
                                <div class="required">
                                    <label for="videos_per_page">Videos per Page</label>
                                    <input name="videos_per_page" type="text" id="videos_per_page" class="small" value="<?php echo $this->pcfg['videos_per_page']; ?>" />
                                </div>
                                <?php if (VModule::enabled('photo')): ?>
                                <div class="required">
                                    <label for="albums_per_page">Albums per Page</label>
                                    <input name="albums_per_page" type="text" id="albums_per_page" class="small" value="<?php echo $this->pcfg['albums_per_page']; ?>" />
                                </div>
                                <?php endif; ?>
                            </fieldset>
                            <fieldset>
                                <legend>Comments Settings</legend>
                                <div class="required">
                                      <label for="view_comments">Show Comments</label>
                                    <input name="view_comments" type="radio" id="view_comments" class="radio" value="1"<?php if ($this->pcfg['view_comments'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
                                    <input name="view_comments" type="radio" class="radio" value="0"<?php if ($this->pcfg['view_comments'] == '0'): echo ' checked="checked"'; endif; ?> /> No
                                </div>
                                <div class="required">
                                      <label for="allow_comment">Allow Comment</label>
                                    <input name="allow_comment" type="radio" id="allow_comment" class="radio" value="1"<?php if ($this->pcfg['allow_comment'] == '1'): echo ' checked="checked"'; endif; ?> /> Registered
                                    <input name="allow_comment" type="radio" class="radio" value="2"<?php if ($this->pcfg['allow_comment'] == '2'): echo ' checked="checked"'; endif; ?> /> All
                                    <input name="allow_comment" type="radio" class="radio" value="0"<?php if ($this->pcfg['allow_comment'] == '0'): echo ' checked="checked"'; endif; ?> /> No
                                </div>
                                <div class="required">
                                      <label for="approve_comments">Approve Comments</label>
                                    <input name="approve_comments" type="radio" id="allow_comment" class="radio" value="1"<?php if ($this->pcfg['approve_comments'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
                                    <input name="approve_comments" type="radio" class="radio" value="0"<?php if ($this->pcfg['approve_comments'] == '0'): echo ' checked="checked"'; endif; ?> /> No
                                </div>
                                    <div class="required">
                                    <label for="comments_per_page">Comments per page</label>
                                    <input name="comments_per_page" type="text" id="comments_per_page" class="tiny" value="<?php echo $this->pcfg['comments_per_page']; ?>" />
                                </div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                            </fieldset>
                            <fieldset>
                                <legend>Rating Settings</legend>
                                <div class="required">
                                      <label for="allow_rating">Allow Rating</label>
                                    <input name="allow_rating" type="radio" id="allow_rating" class="radio" value="1"<?php if ($this->pcfg['allow_rating'] == '1'): echo ' checked="checked"'; endif; ?> /> Yes
                                    <input name="allow_rating" type="radio" class="radio" value="0"<?php if ($this->pcfg['allow_rating'] == '0'): echo ' checked="checked"'; endif; ?> /> No
                                </div>
                                <div class="required">
                                      <label for="rating_count">Rating Count</label>
                                    <select name="rating_count" id="rating_count">
                                          <option value="1"<?php if ($this->pcfg['rating_count'] == '1'): echo ' selected="selected"'; endif; ?>>Once</option>
                                        <option value="0"<?php if ($this->pcfg['rating_count'] == '0'): echo ' selected="selected"'; endif; ?>>Unlimited</option>
                                    </select>
                                </div>
                                <div class="required">
                                      <label for="rating_type">Rating Type</label>
                                    <select name="rating_type" id="rating_type">
                                          <option value="ip"<?php if ($this->pcfg['rating_type'] == 'ip'): echo ' selected="selected"'; endif; ?>>IP</option>
                                        <option value="user"<?php if ($this->pcfg['rating_type'] == 'user'): echo ' selected="selected"'; endif; ?>>User</option>
                                    </select>
                                </div>
                            </fieldset>
                        </div>
                        <div class="tab2" style="display: none;">
                            <fieldset>
                                <legend>Photo Configuration</legend>
                                <div class="required">
                                      <label for="photo_allowed_ext">Allowed Extensions</label>
                                    <input name="photo_allowed_ext" type="text" id="photo_allowed_ext" class="large" value="<?php echo e(implode(','$this->pcfg['photo_allowed_ext'])); ?>" />
                                </div>
                                <div class="required">
                                      <label for="photo_max_size">Maximum Size</label>
                                    <input name="photo_max_size" type="text" id="photo_max_size" class="tiny" value="<?php echo $this->pcfg['photo_max_size']; ?>" /> MB
                                </div>
                                <div class="required">
                                      <label for="photo_width">Width</label>
                                    <input name="photo_width" type="text" id="photo_width" class="tiny" value="<?php echo $this->pcfg['photo_width']; ?>" />
                                </div>
                                <div class="required">
                                      <label for="photo_height">Height</label>
                                    <input name="photo_height" type="text" id="photo_height" class="tiny" value="<?php echo $this->pcfg['photo_height']; ?>" />
                                </div>
                                <div class="required">
                                    <label for="photo_method">Method</label>
                                    <select name="photo_method" id="photo_method">
                                          <option value="canvas"<?php if ($this->pcfg['photo_method'] == 'canvas'): echo ' selected="selected"'; endif; ?>>Canvas</option>
                                        <option value="crop"<?php if ($this->pcfg['photo_method'] == 'crop'): echo ' selected="selected"'; endif; ?>>Crop</option>
                                    </select>
                                </div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                            </fieldset>
                        </div>
                        <div class="tab3" style="display: none;">
                            <fieldset>
                                <legend>Advanced</legend>
                                  <div class="required">
                                      <label for="track_views">Track Views:</label>
                                      <select name="track_views" id="track_views">
                                          <option value="0"<?php if ($this->pcfg['track_views'] == '0'): echo ' selected="selected"'; endif; ?>>No</option>
                                          <option value="1"<?php if ($this->pcfg['track_views'] == '1'): echo ' selected="selected"'; endif; ?>>Yes (no time limit)</option>
                                          <option value="7"<?php if ($this->pcfg['track_views'] == '7'): echo ' selected="selected"'; endif; ?>>One Week</option>
                                      </select>
                                  </div>
                              </fieldset>
                        </div>
                        <div class="submit">
                            <input name="submit_config" type="submit" id="submit_config" class="button butDef" value=" Save " />
                            <input name="submit_default" type="submit" id="submit_default" class="button butDef" value=" Default " />
                        </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
Онлайн: 0
Реклама