Exemplo n.º 1
0
         case 11:
             include_once 'blocks/tuyendung_list.php';
             break;
         case 12:
             include_once 'blocks/hotro_hocvien.php';
             break;
         default:
             echo '<div id="content"><p style="height:200px; padding:20px 10px"><font color="#FF0000"><b>Could not be found</b></font></p></div>';
     }
     $include = ob_get_clean();
 } else {
     $dt = $_GET['detail'];
     $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->info_detail($dt);
             $row_detail = mysql_fetch_array($qr);
             $image_link = url_detail_image_thumb;
             include_once 'blocks/articles.php';
             break;
         case 6:
             $qr = $tc->video_detail($dt);
             $row_detail = mysql_fetch_array($qr);
             $image_link = url_video_image_thumb;
             include_once 'blocks/video.php';