function updateProject_group($id, $paramvalue, $language) { $DBConfig = ilandCommonUtils::getSiteDBConfig(); return iland4_suaLoaiDuAn($DBConfig, $id, $paramvalue, $language); }
function ordering($table, $id, $paramstring) { // print_r($table); // print_r($id); // print_r($paramstring); // exit; $language = ilandCommonUtils::getLanguage(); $DBConfig = ilandCommonUtils::getSiteDBConfig(); $DBConfig = ilandCommonUtils::getSiteDBConfig(); $ordering = 'ordering_' . $id; $orderingvalue = JRequest::getVar("{$ordering}", ''); $paramvalue = "ordering = '{$orderingvalue}'"; switch ($table) { case 'phap_ly': iland4_suaPhapLy($DBConfig, $id, $paramstring, $language); break; case 'don_vi_tien': iland4_suaDonViTien($DBConfig, $id, $paramstring); break; case 'don_vi_dien_tich': iland4_suaDonViDienTich($DBConfig, $id, $paramstring, $language); break; case 'loai_tien_ich': iland4_suaLoaiTienIch($DBConfig, $id, $paramstring, $language); break; case 'tien_ich': iland4_suaTienIch($DBConfig, $id, $paramstring, $language); break; case 'tinh_thanh': iland4_suaTinhThanhPho($DBConfig, $id, $paramstring); break; case 'quan_huyen': iland4_suaQuanHuyen($DBConfig, $id, $paramstring); break; case 'loai_bds': iland4_suaLoaiBDS($DBConfig, $id, $paramstring, $language); break; case 'loai_du_an': iland4_suaLoaiDuAn($DBConfig, $id, $paramstring, $language); break; } }