1
Diff [501dc1991bb75695f3638b40be18ab4982fa56b4:5f22008fa0679fa1385ef77603d81f7b7923fb7a] for / – MultiMag

Changes in / [501dc19:5f22008]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • web/vitrina.php

    r501dc19 r5f22008  
    400400            $lim = 100;
    401401        }
    402 
     402            $this->OrderAndViewBar($group, $page, $order, $view);
    403403        if ($res->num_rows) {
    404404            if ($page < 1 || $lim * ($page - 1) > $res->num_rows) {
     
    406406                exit();
    407407            }
    408             $this->OrderAndViewBar($group, $page, $order, $view);
    409408
    410409            $this->PageBar($group, $res->num_rows, $lim, $page);
     
    429428            header("Location: " . (empty($_SERVER['HTTPS']) ? "http" : "https") . "://" . $_SERVER['HTTP_HOST'] . html_in($this->GetGroupLink($group)), false, 301);
    430429            exit();
     430        } else {
     431                $tmpl->addContent("<h2 style='text-align: center'>Нет подходящих товаров</h2>");
    431432        }
    432433    }
Note: See TracChangeset for help on using the changeset viewer.