Blame view

modules/video2.php 807 Bytes
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  <?php
  if(isset($_GET['id'])){
   $objVideo2->viewOneVideo($_GET['id'],$row,$lang);
   if(!isset($_GET['translit'])){header("location:".($lang=='ukr'?'/ukr':'')."/video/".translit($row['title'])."-{$row['id']}/");}
   $title = (strlen($row['meta_title'])>0) ? $row['meta_title'] : "{$row['title']} – èíòåðíåò-ìàãàçèí Extrem Style, Êèåâ, Óêðàèíà";
   $description = (strlen($row['meta_description'])>0) ? $row['meta_description'] : "Íåâåðîÿòíàÿ íîâîñòü «{$row['title']}» îò ìàãàçèíà Extrem Style.";
   $setup->meta = array("title"=>$title,"keywords"=>$row['meta_keywords'],"description"=>$description);
   if(count($row['rubrics_checked'])>0){$objCatalogs->viewProductsRubrics($row['rubrics_checked'],20);}
   $objVideo2->displayVideoOne();
  }
  else{
   $objVideo2->viewAllVideo($_GET,$lang);
   $objVideo2->displayVideo();
  }
  ?>