Changeset 61a8e52 for web/vitrina.php
- Timestamp:
- Nov 26, 2019, 12:05:51 PM (3 years ago)
- Branches:
- master
- Children:
- 5f22008
- Parents:
- a21c594
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
web/vitrina.php
ra21c594 r61a8e52 397 397 $lim = 100; 398 398 } 399 399 $this->OrderAndViewBar($group, $page, $order, $view); 400 400 if ($res->num_rows) { 401 401 if ($page < 1 || $lim * ($page - 1) > $res->num_rows) { … … 403 403 exit(); 404 404 } 405 $this->OrderAndViewBar($group, $page, $order, $view);406 405 407 406 $this->PageBar($group, $res->num_rows, $lim, $page); … … 426 425 header("Location: " . (empty($_SERVER['HTTPS']) ? "http" : "https") . "://" . $_SERVER['HTTP_HOST'] . html_in($this->GetGroupLink($group)), false, 301); 427 426 exit(); 427 } else { 428 $tmpl->addContent("<h2 style='text-align: center'>Нет подходящих товаров</h2>"); 428 429 } 429 430 }
Note: See TracChangeset
for help on using the changeset viewer.