Exemple #1
0
 /**
  * This function is used to get the sub  category 
  * 
  * 
  * @return string
  */
 function getSubcatlandContent()
 {
     $subcatid = $_GET['subcatid'];
     $sql = "SELECT b.html_content FROM category_table a INNER JOIN html_contents_table b ON a.category_content_id = b.html_content_id WHERE a.category_id =" . $subcatid;
     $obj = new Bin_Query();
     if ($obj->executeQuery($sql)) {
         $output = Display_DFeaturedItems::landContent($obj->records);
     } else {
         $output = Display_DFeaturedItems::landContent($obj->records);
     }
     return $output;
 }