PRODUCTS
Enquire Now
";print_r($get_category_data);echo "";exit; if(!empty($get_category_data)) { ?>
prefix}category` WHERE status='active' ORDER BY sort_order Desc"; $get_category = get_records_sql($sql); //echo "
";print_r($get_category);echo "";exit; $seo_keyword = optional_param('seo_keyword','',PARAM_RAW); $get_count_category = count_records('category','status','active'); $sql="SELECT name,id,seo_keyword,category FROM `{$CFG->prefix}sub_category` WHERE status='active' AND seo_keyword = '$seo_keyword' ORDER BY sort_order Desc"; $get_active_category = get_records_sql($sql); foreach($get_active_category as $v) { $active = $v->category; } //echo "
";print_r($get_active_category);echo "";exit; if(empty($seo_keyword)) { $sql="SELECT name,id,seo_keyword FROM `{$CFG->prefix}category` WHERE status='active' ORDER BY sort_order Desc"; $default = get_record_sql($sql); $seo_keyword = $default->seo_keyword; } //$baseurl = 'products.html?seo_keyword='.$seo_keyword.'&page'; $baseurl = 'productsub_'.$seo_keyword.'.html?page'; ?>
";print_r($get_category_data);echo "";exit; if(!empty($get_category_data)) { ?>