%PDF- %PDF-
Direktori : /proc/self/root/home/eirtvhdf/courier.eirtechs.com/ |
Current File : //proc/self/root/home/eirtvhdf/courier.eirtechs.com/ajax.php |
<?php ob_start(); date_default_timezone_set("Asia/Manila"); $action = $_GET['action']; include 'admin_class.php'; $crud = new Action(); if($action == 'login'){ $login = $crud->login(); if($login) echo $login; } if($action == 'login2'){ $login = $crud->login2(); if($login) echo $login; } if($action == 'logout'){ $logout = $crud->logout(); if($logout) echo $logout; } if($action == 'logout2'){ $logout = $crud->logout2(); if($logout) echo $logout; } if($action == 'signup'){ $save = $crud->signup(); if($save) echo $save; } if($action == 'save_user'){ $save = $crud->save_user(); if($save) echo $save; } if($action == 'update_user'){ $save = $crud->update_user(); if($save) echo $save; } if($action == 'delete_user'){ $save = $crud->delete_user(); if($save) echo $save; } if($action == 'save_branch'){ $save = $crud->save_branch(); if($save) echo $save; } if($action == 'delete_branch'){ $save = $crud->delete_branch(); if($save) echo $save; } if($action == 'save_parcel'){ $save = $crud->save_parcel(); if($save) echo $save; } if($action == 'delete_parcel'){ $save = $crud->delete_parcel(); if($save) echo $save; } if($action == 'update_parcel'){ $save = $crud->update_parcel(); if($save) echo $save; } if($action == 'get_parcel_heistory'){ $get = $crud->get_parcel_heistory(); if($get) echo $get; } if($action == 'get_report'){ $get = $crud->get_report(); if($get) echo $get; } ob_end_flush(); ?>