Exemplo n.º 1
0
 $include = ob_start();
 switch ($type) {
     case 2:
         $qr = $tc->info_detail($dt);
         $row_detail = mysql_fetch_array($qr);
         $image_link = url_detail_image_thumb;
         include_once 'blocks/articles.php';
         break;
     case 3:
         $qr = $tc->product_detail($dt);
         $row_detail = mysql_fetch_array($qr);
         $image_link = url_product_image_thumb;
         include_once 'blocks/products.php';
         break;
     case 4:
         $qr = $tc->picture_detail($dt);
         $row_detail = mysql_fetch_array($qr);
         $image_link = url_catalog_image_thumb;
         include_once 'blocks/picture.php';
         break;
     case 5:
         $qr = $tc->video_detail($dt);
         $row_detail = mysql_fetch_array($qr);
         $image_link = url_video_thumb;
         include_once 'blocks/video.php';
         break;
     case 11:
         $qr = $tc->tuyendung_detail($dt);
         $row_detail = mysql_fetch_array($qr);
         include_once 'blocks/tuyendung.php';
         break;