Вход Регистрация
Файл: adultscript-2.0.3-pro/files/mobile/templates/default/photo_search.tpl.php
Строк: 79
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <div data-role="content">
        <form method="get" action="<?php echo MOBILE_URL?>/search/photo/">
        <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>
            </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>
            <button type="submit" class="ui-btn ui-icon-search ui-btn-icon-left ui-btn-inline">Go</button>
        </fieldset>
        </form>
        <?php if ($this->albums): echo $this->fetch('photo_list'); ?>
        <center><?php echo p('pagination'$this->paginationbuild_search_url($this->query$this->page$this->order$this->timeline$this->duration)); ?></center>
        <?php else: ?>
        <div class="none"><?php echo __('no-albums', array($this->query)); ?></div>
        <?php endif; ?>
    </div>
Онлайн: 0
Реклама