ob_start(); session_start(); include('frclsi_admn_cp/operation.php'); $operation =new operation(); $subcat_id=$_GET['subcat_id']; /*$limit=10; $page = $_GET['page']; if($page) $start = ($page - 1) * $limit; //first item to display on this page else $start = 0; $targetpage = "category_item.php"; $disp_page=$operation->paging('freeclassi_car_ads','','',$cond,$targetpage,$var,$limit);*/ if(isset($_GET['sort'])) { if($_GET['sort']=='high') $ordr='order by `unique_price` desc'; if($_GET['sort']=='low') $ordr='order by `unique_price` asc'; if($_GET['sort']=='old') $ordr='order by `id` asc'; if($_GET['sort']=='recent') $ordr='order by `id` desc'; } $country=$_SESSION['country']; $cntry_id=$operation->getdata_1('freeclassi_country','*','',''," country='$country' ",'',$start,$limit); $country_id=$cntry_id['id']; $cat_data=$operation->getdata('freeclassi_car_ads','*','sub_cat_id',$subcat_id," and country_id='$country_id' ",$ordr,$start,$limit); ?>
JUST SEND A MAIL TO info@freeclassy.com