<?php require_once 'config.php'; if (isset($_GET['limit'])) { $idx = $_GET['limit']; $l = $idx - 1; } else { $idx = 0; $l = 0; } $limit = 12; $meta = Meta::select('catalog', $_GET['name_en']); $records = Product::select($_GET['name_en'], $l, $limit); $count = Product::selectCount($_GET['name_en']); include 'view/tpl_top.php'; include 'view/tpl_header.php'; include 'view/tpl_nav.php'; ?> <div class="container main-container"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-12"> <?php include 'view/tpl_catalog.php'; ?> </div> <div class="clearfix visible-sm"></div> <div class="col-lg-9 col-md-9 col-sm-12"> <div class="col-lg-12 col-sm-12"> <span class="title text-uppercase"><?php echo $records ? "Продукция" : "Продукция на стадии заполнения"; ?>