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'; } else { $ordr='order by `id` desc'; } $country=$_SESSION['country']; if($country!='') { $cond=" and country_id='$country_id' and status='verified' "; } $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,$cond,$ordr,$start,$limit); ?>
Location :
$contact=$operation->getdata_1('indivedual_member','*','id',$user_id,$cond,$ordr,'',''); $contact1=$operation->getdata_1('freeclassi_company','*','id',$company_id,$cond,$ordr,'',''); ?>//$contact['email']?> //$contact1['email']?>