Blame view

includes/catalogs.php 678 Bytes
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  <?php
  $rub_id = (isset($_GET['rubID']) && $_GET['rubID']>0) ? $_GET['rubID'] : 0;
  $objCatalogs->viewRubrics(0,$rub_id);
  $objCatalogs->viewRubrics_parent(0);
  //$objCatalogs->viewProductsTops(array(),20,$curs);
  $objCatalogs->viewProductsTopOne();
  $objCatalogs->viewProductsLast();
  $objCatalogs->viewBrendsGroup($_GET);
  
      // ==== CACHE ====
  
      // $objCatalogs->viewRubrics_begin('parents',$lang);
  
      if (! $objCatalogs->isFreshCacheVRB ('parents',$lang))
      {
          $objCatalogs->viewRubrics_begin('parents',$lang);
          $objCatalogs->saveCacheVRB('parents',$lang);
      }
      else
      {
          $objCatalogs->loadCacheVRB ('parents',$lang);
      } 
  
      // ========
  ?>