Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
default_list_view.php
Содержимое
<?php /** * Шаблон вывода списка ресторанов по умолчанию на главной странице сайта * @since 24.03.2017 infoorel 3.0.0 */ use app\core\helpers\RuDate; use app\restoran\RestoranViews; $views = new RestoranViews(); ?> <div class="uk-padding-top-remove uk-margin-bottom uk-padding-small-top"> <section> <div class=""> <div class="uk-width-large-1-1 uk-width-small-1-1"> <div class="section-header-inner"> <h2 class="header-h2 uk-margin-bottom top-border-line"> <a href="/restoran/"><span class="orange">Рестораны</span> Орла</a> <span class="gray uk-margin-left font-size-21">18+</span> <!--<span class="gray font-size-11 uk-margin-mini-left">На правах рекламы</span>--> </h2> <div class="header-slider-btn"> <span class="fa fa-angle-left restoran-swiper-left"></span> <span class="fa fa-angle-right restoran-swiper-right"></span> </div> </div> </div> </div> </section> <div class=""> <?php if (count($restoran_items) > 0) { ?> <div class=""> <!-- Swiper --> <div class="swiper-container restoran-index"> <div class=" swiper-wrapper"> <?php foreach ($restoran_items as $item) { ?> <div class="swiper-slide" onclick="javascript:location.href='/restoran/<?=$item['restoran_url'];?>.html'"> <article class="afisha-index-item uk-flex uk-flex-column uk-text-center uk-padding-remove border_orange_hover_4"> <a href="/restoran/<?=$item['restoran_url'];?>.html" class="_preview"> <?php if ($item['foto_485'] != null && $item['registr'] == 1) { ?> <figure class="uk-margin-medium-bottom uk-top-cover-background" style="height:200px;"> <img src="<?=App::getStaticDomain();?>/<?=$item['foto_485'];?>" alt="<?=$item['name'];?>" loading="lazy" width="485" height="200" style="object-fit:contain;object-position:top center;width:100%;height:100%;display:block;"> </figure> <?php } else { ?> <div class="job-empty-logo uk-margin-medium-bottom" style="height: 200px;"> <i class="fa fa-camera" aria-hidden="true"></i> </div> <?php } ?> </a> <!-- <div> --> <header class="uk-margin-mini-bottom openSans"> <?php if (count($item['interes_items']) > 0) { ?> <a href="/restoran/index.php?interes[]=<?=$item['interes_items'][0]['id'];?>" class="gray"> <?=$item['interes_items'][0]['name'];?> </a> <?php } ?> </header> <h5 class="font-size-19"> <a href="/restoran/<?=$item['restoran_url'];?>.html"> <?=$item['name'];?> </a> </h5> <footer class="uk-width-1-1 uk-position-relative"> <span class="uk-margin-small-right"><i class="fa fa-bar-chart orange" aria-hidden="true"></i> <?=$item['rating'];?></span> <span class="uk-margin-small-right"><i class="fa fa-comment-o orange" aria-hidden="true"></i> <?=$item['total_comments'];?></span> <span class="uk-margin-small-right"><i class="fa fa-eye orange" aria-hidden="true"></i> <?=number_format($views->getViewTotalAll($item['id']), 0, '', ' ');?></span> <!-- <a href="/restoran/restoran_echo.php?id=<?//=$item['id'];?>#menu" class="orange" style="border-bottom: 1px solid rgba(251, 150, 43, 0.35);">Меню</a> --> </footer> <!-- </div> --> <?php /* <?php foreach ($item['news'] as $newsItem) { ?> <hr> <div class="company-index-item"> <div class="company-index-item-right-col" style="width: 100%;"> <time class="small gray"><?=RuDate::getDate($newsItem['data']);?></time> <h5> <a href="/restoran/news/<?=$newsItem['restoran_url'];?>/<?=$newsItem['news_url'];?>.html" onclick="javascript:location.href='/restoran/news/<?=$newsItem['restoran_url'];?>/<?=$newsItem['news_url'];?>.html'"> <?php if (mb_strlen($newsItem['news_header'], 'UTF-8') > 80) { echo mb_substr($newsItem['news_header'], 0, 40, 'UTF-8') . '...'; } else { echo $newsItem['news_header']; } ?> </a> </h5> </div> </div> <?php } ?> */ ?> </article> </div> <?php } ?> </div> </div> </div> <?php } ?> </div> </div> <script type="text/javascript"> (function() { new Swiper('.restoran-index', { slidesPerView: 4, paginationClickable: true, spaceBetween: 20, nextButton: '.restoran-swiper-right', prevButton: '.restoran-swiper-left', breakpoints: { 1640: { slidesPerView: 4, spaceBetween: 40 }, 1218: { slidesPerView: 2, spaceBetween: 40 }, 959: { slidesPerView: 1, spaceBetween: 40 }, 767: { slidesPerView: 2, spaceBetween: 30 }, 640: { slidesPerView: 1, spaceBetween: 20 }, 320: { slidesPerView: 1, spaceBetween: 10 } } }); })(); </script>
/template/2.0/widgets/restoran/
Имя
Дата
Размер
..
2026-05-25
default_list_view.php
2026-03-02
7 кб.
default_list_view.php~
2023-09-13
8 кб.
default_list_view_back.php
2019-04-10
8 кб.
last_comments.php
2020-02-19
2 кб.
/template/2.0/widgets/restoran
Загрузить файлы
Файл 1
Файл 2
Файл 3