Вход Регистрация
Файл: adultscript-2.0.3-pro/files/mobile/templates/default/video_search.tpl.php
Строк: 114
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <div data-role="content">
        <form method="get" action="<?php echo MOBILE_URL?>/search/video/">
        <input name="query" type="hidden" value="<?php echo e($this->query); ?>">
        <fieldset data-role="controlgroup" data-type="horizontal">
              <label for="sort">Order</label>
              <select name="sort" id="sort">
                  <option value="relevance"<?php if ($this->order == 'relevance'): echo ' selected="selected"'; endif; echo '>',__('relevance'); ?></option>
                  <option value="added"<?php if ($this->order == 'added'): echo ' selected="selected"'; endif; echo '>',__('added'); ?></option>
                  <option value="views"<?php if ($this->order == 'views'): echo ' selected="selected"'; endif; echo '>',__('views'); ?></option>
                  <option value="rating"<?php if ($this->order == 'rating'): echo ' selected="selected"'; endif; echo '>',__('rating'); ?></option>
                  <option value="duration"<?php if ($this->order == 'duration'): echo ' selected="selected"'; endif; echo '>',__('duration'); ?></option>
              </select>
              <label for="time">Time</label>
              <select name="time" id="time">
                  <option value="all"<?php if ($this->timeline == 'all'): echo ' selected="selected"'; endif; echo '>',__('anytime'); ?></option>
                  <option value="today"<?php if ($this->timeline == 'today'): echo ' selected="selected"'; endif; echo '>',__('today'); ?></option>
                  <option value="yesterday"<?php if ($this->timeline == 'yesterday'): echo ' selected="selected"'; endif; echo '>',__('yesterday'); ?></option>
                  <option value="week"<?php if ($this->timeline == 'week'): echo ' selected="selected"'; endif; echo '>',__('this-week'); ?></option>
                  <option value="month"<?php if ($this->timeline == 'month'): echo ' selected="selected"'; endif; echo '>',__('this-month'); ?></option>
                  <option value="year"<?php if ($this->timeline == 'year'): echo ' selected="selected"'; endif; echo '>',__('this-year'); ?></option>
              </select>
              <label for="duration">Duration</label>
              <select name="duration" id="duration">
                  <option value="all"<?php if ($this->duration == 'all'): echo ' selected="selected"'; endif; echo '>',__('all'); ?></option>
                  <option value="short"<?php if ($this->duration == 'short'): echo ' selected="selected"'; endif; echo '>',__('short-min'); ?></option>
                  <option value="medium"<?php if ($this->duration == 'medium'): echo ' selected="selected"'; endif; echo '>',__('medium-min'); ?></option>
                  <option value="long"<?php if ($this->duration == 'long'): echo ' selected="selected"'; endif; echo '>',__('long-min'); ?></option>
              </select>
              <button type="submit" class="ui-btn ui-icon-search ui-btn-icon-left ui-btn-inline">Go</button>
        </fieldset>
        </form>    
        <?php if ($this->videos): echo $this->fetch('video_list'); ?>
        <center><?php echo p('pagination'$this->paginationbuild_search_url($this->query$this->page$this->order$this->timeline$this->duration)); ?></center>
        <?php else: ?>
        <center><strong><cite><?php echo __('no-results', array($this->query)); ?></cite></strong></center>
        <?php endif; ?>
    </div>
Онлайн: 0
Реклама