Files
BE_CPONE/application/controllers/v1/db
2026-04-27 10:26:26 +07:00

1333 lines
102 KiB
Plaintext

./process/Fo_verification.php:7: //$this->sys_debug();
./process/Fo_verification.php:10: if (! $this->isLogin) {
./process/Fo_verification.php:11: $this->sys_error("Invalid Token");
./process/Fo_verification.php:16: $prm = $this->sys_input;
./process/Fo_verification.php:34: $query = $this->db->query($sql,$sql_param);
./process/Fo_verification.php:36: $tot_count = $query->result_array()[0]["tot"];
./process/Fo_verification.php:38: $this->sys_error_db("t_orderheader count");
./process/Fo_verification.php:46: $start_limit = ($page - 1) * $row_per_page;
./process/Fo_verification.php:59: $query = $this->db->query($sql,$sql_param);
./process/Fo_verification.php:61: $rows = $query->result_array();
./process/Fo_verification.php:63: $this->sys_error_db("t_orderheader rows");
./process/Fo_verification.php:68: $this->sys_ok($result);
./process/Fo_verification.php:71: $message = $exc->getMessage();
./process/Fo_verification.php:72: $this->sys_error($message);
./preorder/home-service/Status.php:13: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Status.php:21: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Status.php:27: $this->sys_ok($result);
./preorder/home-service/Staff.php:13: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Staff.php:18: $prm = $this->sys_input;
./preorder/home-service/Staff.php:19: if (! $this->isLogin) {
./preorder/home-service/Staff.php:20: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:44: $query = $this->db_onedev->query($sql, $sql_param);
./preorder/home-service/Staff.php:48: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Staff.php:50: $this->sys_error_db("m_doctor count", $this->db_onedev);
./preorder/home-service/Staff.php:61: $query = $this->db_onedev->query($sql, $sql_param);
./preorder/home-service/Staff.php:62: //echo $this->db_onedev->last_query();
./preorder/home-service/Staff.php:63: $rows['all'] = $query->result_array();
./preorder/home-service/Staff.php:71: $query = $this->db_onedev->query($sql, $sql_param);
./preorder/home-service/Staff.php:72: //echo $this->db_onedev->last_query();
./preorder/home-service/Staff.php:73: $rows['homeservice'] = $query->result_array();
./preorder/home-service/Staff.php:75: //$this->_add_address($rows);
./preorder/home-service/Staff.php:76: $result = array("total_all" => $tot_count,"total_homeservice" => count($rows['homeservice']), "records" => $rows, "sql"=> $this->db_onedev->last_query());
./preorder/home-service/Staff.php:77: $this->sys_ok($result);
./preorder/home-service/Staff.php:82: if (! $this->isLogin) {
./preorder/home-service/Staff.php:83: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:93: $rows['sexes'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Staff.php:100: $rows['religions'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Staff.php:106: $this->sys_ok($result);
./preorder/home-service/Staff.php:111: if (! $this->isLogin) {
./preorder/home-service/Staff.php:112: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:115: $prm = $this->sys_input;
./preorder/home-service/Staff.php:135: $query = $this->db_onedev->query($sql,$q['search']);
./preorder/home-service/Staff.php:138: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Staff.php:141: $this->sys_error_db("m_city count",$this->db_onedev);
./preorder/home-service/Staff.php:153: $query = $this->db_onedev->query($sql, array($q['search']));
./preorder/home-service/Staff.php:156: $rows = $query->result_array();
./preorder/home-service/Staff.php:157: //echo $this->db_onedev->last_query();
./preorder/home-service/Staff.php:159: $this->sys_ok($result);
./preorder/home-service/Staff.php:162: $this->sys_error_db("m_city rows",$this->db_onedev);
./preorder/home-service/Staff.php:168: if (! $this->isLogin) {
./preorder/home-service/Staff.php:169: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:172: $prm = $this->sys_input;
./preorder/home-service/Staff.php:179: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Staff.php:185: $this->sys_ok($result);
./preorder/home-service/Staff.php:190: if (! $this->isLogin) {
./preorder/home-service/Staff.php:191: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:194: $prm = $this->sys_input;
./preorder/home-service/Staff.php:201: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Staff.php:207: $this->sys_ok($result);
./preorder/home-service/Staff.php:212: if (! $this->isLogin) {
./preorder/home-service/Staff.php:213: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:216: $prm = $this->sys_input;
./preorder/home-service/Staff.php:235: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:241: $this->sys_ok($result);
./preorder/home-service/Staff.php:246: if (! $this->isLogin) {
./preorder/home-service/Staff.php:247: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:250: $prm = $this->sys_input;
./preorder/home-service/Staff.php:285: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:286: $last_id = $this->db_onedev->insert_id();
./preorder/home-service/Staff.php:292: $this->sys_ok($result);
./preorder/home-service/Staff.php:297: if (! $this->isLogin) {
./preorder/home-service/Staff.php:298: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:301: $prm = $this->sys_input;
./preorder/home-service/Staff.php:308: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:314: $this->sys_ok($result);
./preorder/home-service/Staff.php:319: if (! $this->isLogin) {
./preorder/home-service/Staff.php:320: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:323: $prm = $this->sys_input;
./preorder/home-service/Staff.php:339: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Staff.php:342: $rows[$k]['action'] = '<v-icon color="error" @click="deleteAddress(props.item)">delete</v-icon>';
./preorder/home-service/Staff.php:343: $rows[$k]['action'] .= '<v-icon color="primary" @click="deleteAddress(props.item)">edit</v-icon>';
./preorder/home-service/Staff.php:351: $this->sys_ok($result);
./preorder/home-service/Staff.php:356: if (! $this->isLogin) {
./preorder/home-service/Staff.php:357: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:360: $prm = $this->sys_input;
./preorder/home-service/Staff.php:361: $count_addrs = $this->db_onedev->query("SELECT COUNT(*) as countx FROM m_doctoraddress WHERE M_DoctorAddressM_DoctorID = '{$prm['M_DoctorAddressM_DoctorID']}' AND M_DoctorAddressIsActive = 'Y'")->row()->countx;
./preorder/home-service/Staff.php:363: //echo $this->db_onedev->last_query();
./preorder/home-service/Staff.php:368: $count_addrs_utama = $this->db_onedev->query("SELECT COUNT(*) as countx FROM m_doctoraddress WHERE M_DoctorAddressM_DoctorID = '{$prm['M_DoctorAddressM_DoctorID']}' AND M_DoctorAddressNote = 'Utama' AND M_DoctorAddressIsActive = 'Y'")->row()->countx;
./preorder/home-service/Staff.php:390: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:396: $this->sys_ok($result);
./preorder/home-service/Staff.php:401: if (! $this->isLogin) {
./preorder/home-service/Staff.php:402: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:405: $prm = $this->sys_input;
./preorder/home-service/Staff.php:416: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:422: $this->sys_ok($result);
./preorder/home-service/Staff.php:427: if (! $this->isLogin) {
./preorder/home-service/Staff.php:428: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:431: $prm = $this->sys_input;
./preorder/home-service/Staff.php:439: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:445: $this->sys_ok($result);
./preorder/home-service/Staff.php:450: if (! $this->isLogin) {
./preorder/home-service/Staff.php:451: $this->sys_error("Invalid Token");
./preorder/home-service/Staff.php:454: $prm = $this->sys_input;
./preorder/home-service/Staff.php:455: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Staff.php:457: $check_exist = $this->db_onedev->query($query)->row()->xcount;
./preorder/home-service/Staff.php:461: $this->db_onedev->query($query);
./preorder/home-service/Staff.php:471: $rows = $this->db_onedev->query($query);
./preorder/home-service/Staff.php:477: $this->sys_ok($result);
./preorder/home-service/Android.php:14: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Android.php:15: $this->staffID = 0;
./preorder/home-service/Android.php:17: $qry = $this->db_onedev->query($sql,array($this->sys_user["M_UserID"]));
./preorder/home-service/Android.php:19: $rows = $qry->result_array();
./preorder/home-service/Android.php:20: if(count($rows) > 0 ) $this->staffID = $rows[0]["M_UserM_StaffID"];
./preorder/home-service/Android.php:22: $this->userID = $this->sys_user["M_UserID"];
./preorder/home-service/Android.php:49: $orders= $this->sys_input["orders"];
./preorder/home-service/Android.php:53: $this->db_onedev->trans_start();
./preorder/home-service/Android.php:81: $this->db_onedev->query($sql, array($patientID, $addressID,
./preorder/home-service/Android.php:82: $lat, $lng, $this->userID, $lat, $lng, $this->userID, $patientID) );
./preorder/home-service/Android.php:88: // 6 - ARRIVED , 3 - SERVE , 4 - DONE , 5 - CANCELLED
./preorder/home-service/Android.php:109: $ids= $this->sys_input["ids"];
./preorder/home-service/Android.php:116:$this->db_onedev->query($sql,array($this->sys_user["M_UserID"],$id));
./preorder/home-service/Android.php:123: $date = date("Y-m-d");
./preorder/home-service/Android.php:125: $date = $this->sys_input["date"];
./preorder/home-service/Android.php:150:$qry = $this->db_onedev->query($sql,array($date,$this->staffID));
./preorder/home-service/Android.php:153: $order = $qry->result_array();
./preorder/home-service/Android.php:156: $order[$idx]["test"] = $this->get_test($id);
./preorder/home-service/Android.php:157: $order[$idx]["delivery"] = $this->get_delivery($id);
./preorder/home-service/Android.php:173: $qry = $this->db_onedev->query($sql,array($id));
./preorder/home-service/Android.php:175: return $qry->result_array();
./preorder/home-service/Android.php:186: $qry = $this->db_onedev->query($sql,array($id));
./preorder/home-service/Android.php:188: return $qry->result_array();
./preorder/home-service/Type.php:13: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Type.php:21: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Type.php:27: $this->sys_ok($result);
./preorder/home-service/Type.php:37: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Type.php:43: $this->sys_ok($result);
./preorder/home-service/Receive.php:14: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Receive.php:15: $this->load->helper(array('form', 'url'));
./preorder/home-service/Receive.php:19: $prm = $this->sys_input;
./preorder/home-service/Receive.php:20: if (! $this->isLogin) {
./preorder/home-service/Receive.php:21: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:24: $prm = $this->sys_input;
./preorder/home-service/Receive.php:31: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:36: $this->sys_ok($result);
./preorder/home-service/Receive.php:42: $prm = $this->sys_input;
./preorder/home-service/Receive.php:43: if (! $this->isLogin) {
./preorder/home-service/Receive.php:44: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:47: $prm = $this->sys_input;
./preorder/home-service/Receive.php:57: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:62: $this->sys_ok($result);
./preorder/home-service/Receive.php:68: $prm = $this->sys_input;
./preorder/home-service/Receive.php:69: if (! $this->isLogin) {
./preorder/home-service/Receive.php:70: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:73: $prm = $this->sys_input;
./preorder/home-service/Receive.php:76: $rows['dp'] = $this->getdp($id);
./preorder/home-service/Receive.php:77: $rows['samples'] = $this->getsamples($id);
./preorder/home-service/Receive.php:78: $rows['uses'] = $this->getuses($id);
./preorder/home-service/Receive.php:79: $rows['supplies'] = $this->getsuppliesrest(0,$id);
./preorder/home-service/Receive.php:86: $this->sys_ok($result);
./preorder/home-service/Receive.php:112: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:137: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:159: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:199: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:218: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:224: $prm = $this->sys_input;
./preorder/home-service/Receive.php:225: if (! $this->isLogin) {
./preorder/home-service/Receive.php:226: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:266: $query = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:270: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Receive.php:272: $this->sys_error_db("m_doctor count", $this->db_onedev);
./preorder/home-service/Receive.php:284: DATE_FORMAT(Preorder_SuppliesTrxDate ,'%d-%m-%Y') as ss_trx_date_ina,
./preorder/home-service/Receive.php:285: DATE_FORMAT(Preorder_SuppliesRcvDate ,'%d-%m-%Y') as trx_date_ina,
./preorder/home-service/Receive.php:288: IFNULL(penerima.M_StaffName,'-') as penerima_name,
./preorder/home-service/Receive.php:308: $query = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:309: //echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:310: $rows = $query->result_array();
./preorder/home-service/Receive.php:313: $rows[$k]['dp'] = $this->getdp($v['ss_trx_id']);
./preorder/home-service/Receive.php:314: $rows[$k]['samples'] = $this->getsamples($v['ss_trx_id']);
./preorder/home-service/Receive.php:315: $rows[$k]['uses'] = $this->getuses($v['ss_trx_id']);
./preorder/home-service/Receive.php:316: $rows[$k]['supplies'] = $this->getsuppliesrest($v['trx_id'],$v['ss_trx_id']);
./preorder/home-service/Receive.php:317: //$rows[$k]['buffers'] = $this->getbuffers($v['ss_trx_id']);
./preorder/home-service/Receive.php:321: $result = array("total" => $tot_count, "records" => $rows, "sql"=> $this->db_onedev->last_query());
./preorder/home-service/Receive.php:322: $this->sys_ok($result);
./preorder/home-service/Receive.php:327: $prm = $this->sys_input;
./preorder/home-service/Receive.php:328: if (! $this->isLogin) {
./preorder/home-service/Receive.php:329: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:332: $prm = $this->sys_input;
./preorder/home-service/Receive.php:354: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Receive.php:359: $this->sys_ok($result);
./preorder/home-service/Receive.php:365: if (! $this->isLogin) {
./preorder/home-service/Receive.php:366: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:376: $rows['stations'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:386: $this->sys_ok($result);
./preorder/home-service/Receive.php:391: if (! $this->isLogin) {
./preorder/home-service/Receive.php:392: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:395: $prm = $this->sys_input;
./preorder/home-service/Receive.php:402: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:408: $this->sys_ok($result);
./preorder/home-service/Receive.php:414: if (! $this->isLogin) {
./preorder/home-service/Receive.php:415: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:418: $prm = $this->sys_input;
./preorder/home-service/Receive.php:419: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Receive.php:421: $xdate = date('Y-m-d',strtotime($prm["trx_date"]));
./preorder/home-service/Receive.php:423: $numbering = $this->db_onedev->query("SELECT one_preorder_dev.fn_numbering('RS') as numbering")->row()->numbering;
./preorder/home-service/Receive.php:446: $saveheader = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:447: $last_id = $this->db_onedev->insert_id();
./preorder/home-service/Receive.php:449: $numbering = $this->db_onedev->query("SELECT Preorder_SuppliesRcvNumbering as numbering FROM one_preorder_dev.preorder_suppliesrcv WHERE Preorder_SuppliesRcvID = {$prm['trx_id']}")->row()->numbering;
./preorder/home-service/Receive.php:458: $saveheader = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:474: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:489: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:524: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:539: $this->sys_ok($result);
./preorder/home-service/Receive.php:546: if (! $this->isLogin) {
./preorder/home-service/Receive.php:547: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:550: $prm = $this->sys_input;
./preorder/home-service/Receive.php:551: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Receive.php:560: $saveheader = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:561: $r_last = $this->db_onedev->query("SELECT * FROM one_preorder_dev.preorder_suppliesrcv WHERE Preorder_SuppliesRcvID = {$prm['trx_id']}")->row();
./preorder/home-service/Receive.php:566: Preorder_SamplePreorder_SuppliesTrxID = {$r_last->Preorder_SuppliesRcvPreorder_SuppliesTrxID}
./preorder/home-service/Receive.php:569: $r_delete = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:579: $deletexxx = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:588: $this->sys_ok($result);
./preorder/home-service/Receive.php:594: if (! $this->isLogin) {
./preorder/home-service/Receive.php:595: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:598: $prm = $this->sys_input;
./preorder/home-service/Receive.php:599: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Receive.php:609: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:630: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Receive.php:643: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:654: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:661: $this->sys_ok($result);
./preorder/home-service/Receive.php:668: if (! $this->isLogin) {
./preorder/home-service/Receive.php:669: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:672: $prm = $this->sys_input;
./preorder/home-service/Receive.php:673: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Receive.php:678: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:681: $saveorderlab = $this->orderlab($v['trx_id'],$v['patient_age']);
./preorder/home-service/Receive.php:683: 'id'=>$saveorderlab->id,
./preorder/home-service/Receive.php:684: 'number'=>$saveorderlab->number,
./preorder/home-service/Receive.php:698: $data_header = $this->db_onedev->query("SELECT * FROM t_orderheader WHERE T_OrderHeaderID = '{$saveorderlab->id}'")->row();
./preorder/home-service/Receive.php:707: {$saveorderlab->id},
./preorder/home-service/Receive.php:710: {$data_header->T_OrderHeaderTotal},
./preorder/home-service/Receive.php:713: $r_pay = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:714: $last_payment_id = $this->db_onedev->insert_id();
./preorder/home-service/Receive.php:715: //$last_payment_id = $this->db_onedev->query("SELECT F_PaymentID as id FROM f_payment WHERE F_PaymentT_OrderHeaderID = {$saveorderlab->id} AND F_PaymentIsActive = 'Y' LIMIT 1")->row()->id;
./preorder/home-service/Receive.php:733: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:742: WHERE T_OrderHeaderID = {$saveorderlab->id} AND T_OrderDetailIsActive = 'Y'
./preorder/home-service/Receive.php:745: $dt_sampletype = $this->db_onedev->query($sql)->result();
./preorder/home-service/Receive.php:747: $barcode = $v->labnumber.'.'.$v->sampletypeid.'.1';
./preorder/home-service/Receive.php:757: {$saveorderlab->id},
./preorder/home-service/Receive.php:759: {$v->sampletypeid},
./preorder/home-service/Receive.php:765: $savebarcode = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:767: $barcodeid = $this->db_onedev->insert_id();
./preorder/home-service/Receive.php:771: T_OrderSampleT_OrderHeaderID = {$saveorderlab->id} AND
./preorder/home-service/Receive.php:772: T_OrderSampleT_SampleTypeID = {$v->sampletypeid} AND
./preorder/home-service/Receive.php:774: $ordersample = $this->db_onedev->query($sql)->row();
./preorder/home-service/Receive.php:790: T_OrderSampleID = {$ordersample->T_OrderSampleID}";
./preorder/home-service/Receive.php:791: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:796: Last_StatusSampleT_OrderHeaderID = {$saveorderlab->id} AND
./preorder/home-service/Receive.php:797: Last_StatusSampleT_SampleTypeID = {$v->sampletypeid} AND
./preorder/home-service/Receive.php:798: Last_StatusSampleBarcode = '{$ordersample->T_OrderSampleBarcode}' AND Last_StatusSampleIsActive = 'Y'";
./preorder/home-service/Receive.php:799: $last_statussample = $this->db_onedev->query($sql)->row();
./preorder/home-service/Receive.php:805: Last_StatusSampleID = {$last_statussample->Last_StatusSampleID}";
./preorder/home-service/Receive.php:806: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:816: {$ordersample->T_OrderSampleID},
./preorder/home-service/Receive.php:822: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:831: {$saveorderlab->id},
./preorder/home-service/Receive.php:837: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:839: $sql = "SELECT * FROM helper_sst WHERE Helper_SstT_OrderHeaderID = {$saveorderlab->id}";
./preorder/home-service/Receive.php:841: $sample_per_station = $this->db_onedev->query($sql)->result();
./preorder/home-service/Receive.php:850: {$v->Helper_SstT_SampleStationID},
./preorder/home-service/Receive.php:851: {$v->Helper_SstT_OrderHeaderID},
./preorder/home-service/Receive.php:855: $ins_queue_sample = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:856: $sql = "UPDATE helper_sst SET Helper_SstStatus = 'Y' WHERE Helper_SstID = {$v->Helper_SstID}";
./preorder/home-service/Receive.php:857: $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:866: $data_rst[$k]['verification_patient'] = $this->add_verification_patient($v['id']);
./preorder/home-service/Receive.php:867: $data_rst[$k]['verification_doctor'] = $this->add_verification_doctor($v['id']);
./preorder/home-service/Receive.php:868: $data_rst[$k]['verification_delivery'] = $this->add_verification_delivery($v['id']);
./preorder/home-service/Receive.php:869: $data_rst[$k]['verification_payment'] = $this->add_verification_payment($v['id']);
./preorder/home-service/Receive.php:870: $data_rst[$k]['verification_supplies'] = $this->add_verification_supplies($v['id']);
./preorder/home-service/Receive.php:871: $data_rst[$k]['verification_barcode'] = $this->add_verification_barcode($v['id']);
./preorder/home-service/Receive.php:872: $data_rst[$k]['verification_companymou'] = $this->add_verification_companymou($v['id']);
./preorder/home-service/Receive.php:873: $data_rst[$k]['verification_px'] = $this->add_verification_test($v['id']);
./preorder/home-service/Receive.php:874: $data_rst[$k]['verification_info'] = $this->add_verification_info($v['id']);
./preorder/home-service/Receive.php:875: $data_rst[$k]['address_patient'] = $this->add_address_patient($v['id']);
./preorder/home-service/Receive.php:876: $data_rst[$k]['address_doctor'] = $this->add_address_doctor($v['id']);
./preorder/home-service/Receive.php:878: $saveverication = $this->savetrxverification($v['id'],$data_rst[$k]);
./preorder/home-service/Receive.php:888: $this->sys_ok($result);
./preorder/home-service/Receive.php:896: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Receive.php:905: $query = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:907: $this->sys_error_db("select preorder_header", $this->db_onedev);
./preorder/home-service/Receive.php:910: $data_order = $query->row_array();
./preorder/home-service/Receive.php:931: $delver = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:947: $data_order_detail = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:972: $r = $this->db_onedev->query($sql)->row();
./preorder/home-service/Receive.php:973: $this->clean_mysqli_connection($this->db_onedev->conn_id);
./preorder/home-service/Receive.php:974: return json_decode($r->data);
./preorder/home-service/Receive.php:978: /***begin-verification***/
./preorder/home-service/Receive.php:990: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1008: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1028: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1050: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1072: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1095: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1119: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1143: $rows = $this->db_onedev->query($query)->result();
./preorder/home-service/Receive.php:1157: T_OrderDetailT_OrderHeaderID = {$orderid} AND T_SampleTypeID = {$v->id}
./preorder/home-service/Receive.php:1159: $v->children = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1160: foreach($v->children as $ki => $vi){
./preorder/home-service/Receive.php:1162: $v->children[$ki]['chex'] = false;
./preorder/home-service/Receive.php:1164: $v->children[$ki]['chex'] = true;
./preorder/home-service/Receive.php:1262: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1309: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1337: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Receive.php:1353: if (! $this->isLogin) {
./preorder/home-service/Receive.php:1354: $this->sys_error("Invalid Token");
./preorder/home-service/Receive.php:1357: $xuserid = $this->sys_user["M_UserID"];
./preorder/home-service/Receive.php:1377: $query = $this->db_onedev->query($sql);*/
./preorder/home-service/Receive.php:1380: $xverification_patient = $this->saveverifications($id,$prm['verification_patient'],'PATIENT',$xuserid);
./preorder/home-service/Receive.php:1381: $xverification_doctor = $this->saveverifications($id,$prm['verification_doctor'],'DOCTOR',$xuserid);
./preorder/home-service/Receive.php:1382: $xverification_companymou = $this->saveverifications($id,$prm['verification_companymou'],'COMPANY',$xuserid);
./preorder/home-service/Receive.php:1383: $xverification_payment = $this->saveverifications($id,$prm['verification_payment'],'PAYMENT',$xuserid);
./preorder/home-service/Receive.php:1384: $xverification_info = $this->saveverifications($id,$prm['verification_info'],'INFO',$xuserid);
./preorder/home-service/Receive.php:1386: $xverification_delivery = $this->saveverification_delivery($id,$prm['verification_delivery'],$xuserid);
./preorder/home-service/Receive.php:1387: $xverification_px = $this->saveverification_px($id,$prm['verification_px'],$xuserid);
./preorder/home-service/Receive.php:1398: $query = $this->db_onedev->query($sql,
./preorder/home-service/Receive.php:1405: //echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1407: $this->sys_error_db("fo_status insert");
./preorder/home-service/Receive.php:1430: $query = $this->db_onedev->query($sql,
./preorder/home-service/Receive.php:1439: $this->sys_error_db("one_log.fo_log insert");
./preorder/home-service/Receive.php:1465: $query = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:1467: $this->sys_error_db("one_log.t_ordermessage insert");
./preorder/home-service/Receive.php:1475: $message = $exc->getMessage();
./preorder/home-service/Receive.php:1476: $this->sys_error($message);
./preorder/home-service/Receive.php:1484: //$xverificationtypeid = $this->db_onedev->query("SELECT * FROM fo_verificationtype WHERE Fo_VerificationTypeGroup = '{$type}' AND Fo_VerificationTypeIsActive = 'Y'")->row()->Fo_VericationTypeID;
./preorder/home-service/Receive.php:1500: $query = $this->db_onedev->query($sql,
./preorder/home-service/Receive.php:1509: //echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1512: $this->sys_error_db("fo_verification insert");
./preorder/home-service/Receive.php:1520: $message = $exc->getMessage();
./preorder/home-service/Receive.php:1521: $this->sys_error($message);
./preorder/home-service/Receive.php:1544: $query = $this->db_onedev->query($sql,
./preorder/home-service/Receive.php:1558: echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1559: $this->sys_error_db("fo_verification_delivery_add insert");
./preorder/home-service/Receive.php:1574: $query = $this->db_onedev->query($sql,
./preorder/home-service/Receive.php:1584: echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1585: $this->sys_error_db("fo_verification_delivery insert");
./preorder/home-service/Receive.php:1588: //echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1594: $message = $exc->getMessage();
./preorder/home-service/Receive.php:1595: $this->sys_error($message);
./preorder/home-service/Receive.php:1619: $query = $this->db_onedev->query($sql);
./preorder/home-service/Receive.php:1620: //echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1622: $this->sys_error_db("fo_verification_test_add insert");
./preorder/home-service/Receive.php:1636: $query = $this->db_onedev->query($sql,
./preorder/home-service/Receive.php:1645: //echo $this->db_onedev->last_query();
./preorder/home-service/Receive.php:1647: $this->sys_error_db("fo_verification_test insert");
./preorder/home-service/Receive.php:1659: $message = $exc->getMessage();
./preorder/home-service/Receive.php:1660: $this->sys_error($message);
./preorder/home-service/Receive.php:1665: /***end-verification***/
./preorder/home-service/Order.php:19: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Order.php:23: if (! $this->isLogin) {
./preorder/home-service/Order.php:24: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:28: T_PriceAmount - ((T_PriceDisc/100) * T_PriceAmount) - T_PriceDiscRp as total
./preorder/home-service/Order.php:37: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:44: if (! $this->isLogin) {
./preorder/home-service/Order.php:45: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:57: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:64: if (! $this->isLogin) {
./preorder/home-service/Order.php:65: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:74: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:81: if (! $this->isLogin) {
./preorder/home-service/Order.php:82: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:91: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:99: if (! $this->isLogin) {
./preorder/home-service/Order.php:100: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:103: $prm = $this->sys_input;
./preorder/home-service/Order.php:105: $fdate = date('Y-m-d',strtotime($prm["fdate"]));
./preorder/home-service/Order.php:123: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:127: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:129: $this->sys_error_db("m_patient count", $this->db_onedev);
./preorder/home-service/Order.php:162: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:164: $rows = $query->result_array();
./preorder/home-service/Order.php:168: $rows[$k]['tests'] = $this->add_test($v['PreOrder_HeaderID']);
./preorder/home-service/Order.php:169: $rows[$k]['deliveries'] = $this->add_deliveries($v['PreOrder_HeaderID']);
./preorder/home-service/Order.php:171: $rows[$k]['PreOrder_HeaderDate'] = date('Y-m-d',strtotime($v['PreOrder_HeaderDate']));
./preorder/home-service/Order.php:172: $rows[$k]['address'] = $this->add_address($v['PreOrder_HeaderM_PatientID']);
./preorder/home-service/Order.php:173: $rows[$k]['doctoraddress'] = $this->add_doctor_address($v['PreOrder_HeaderM_DoctorID']);
./preorder/home-service/Order.php:177: $result = array("total" => $tot_count, "records" => $rows, "sql"=> $this->db_onedev->last_query());
./preorder/home-service/Order.php:178: $this->sys_ok($result);
./preorder/home-service/Order.php:185: if (! $this->isLogin) {
./preorder/home-service/Order.php:186: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:189: $prm = $this->sys_input;
./preorder/home-service/Order.php:191: $fdate = date('Y-m-d',strtotime($prm["fdate"]));
./preorder/home-service/Order.php:209: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:213: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:215: $this->sys_error_db("m_patient count", $this->db_onedev);
./preorder/home-service/Order.php:246: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:248: $rows = $query->result_array();
./preorder/home-service/Order.php:252: $rows[$k]['tests'] = $this->add_test($v['PreOrder_HeaderID']);
./preorder/home-service/Order.php:253: $rows[$k]['deliveries'] = $this->add_deliveries($v['PreOrder_HeaderID']);
./preorder/home-service/Order.php:255: $rows[$k]['PreOrder_HeaderDate'] = date('Y-m-d',strtotime($v['PreOrder_HeaderDate']));
./preorder/home-service/Order.php:256: $rows[$k]['address'] = $this->add_address($v['PreOrder_HeaderM_PatientID']);
./preorder/home-service/Order.php:260: $result = array("total" => $tot_count, "records" => $rows, "sql"=> $this->db_onedev->last_query());
./preorder/home-service/Order.php:261: $this->sys_ok($result);
./preorder/home-service/Order.php:267: if (! $this->isLogin) {
./preorder/home-service/Order.php:268: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:271: $prm = $this->sys_input;
./preorder/home-service/Order.php:273: $fdate = date('Y-m-d',strtotime($prm["fdate"]));
./preorder/home-service/Order.php:286: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:290: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:292: $this->sys_error_db("m_patient count", $this->db_onedev);
./preorder/home-service/Order.php:310: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:312: $rows = $query->result_array();
./preorder/home-service/Order.php:314: $result = array("total" => $tot_count, "records" => $rows, "sql"=> $this->db_onedev->last_query());
./preorder/home-service/Order.php:315: $this->sys_ok($result);
./preorder/home-service/Order.php:320: if (! $this->isLogin) {
./preorder/home-service/Order.php:321: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:324: $prm = $this->sys_input;
./preorder/home-service/Order.php:326: $fdate = date('Y-m-d',strtotime($prm["fdate"]));
./preorder/home-service/Order.php:340: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:343: $rows[$k]['times'] = $this->add_times($v['M_StaffID'],$fdate,$fstatus);
./preorder/home-service/Order.php:344: $rows[$k]['areas'] = $this->add_areas($v['M_StaffID'],$fdate,$fstatus);
./preorder/home-service/Order.php:351: $this->sys_ok($result);
./preorder/home-service/Order.php:356: if (! $this->isLogin) {
./preorder/home-service/Order.php:357: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:369: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:380: if (! $this->isLogin) {
./preorder/home-service/Order.php:381: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:396: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:404: if (! $this->isLogin) {
./preorder/home-service/Order.php:405: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:415: $rows['titles'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:422: $rows['sexs'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:429: $rows['religions'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:436: $rows['ordertypes'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:444: $rows['staffs'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:452: $rows['deliverytipes'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:459: $rows['times'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:464: $this->sys_ok($result);
./preorder/home-service/Order.php:469: if (! $this->isLogin) {
./preorder/home-service/Order.php:470: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:473: $prm = $this->sys_input;
./preorder/home-service/Order.php:493: $query = $this->db_onedev->query($sql,$q['search']);
./preorder/home-service/Order.php:496: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:499: $this->sys_error_db("m_city count",$this->db_onedev);
./preorder/home-service/Order.php:511: $query = $this->db_onedev->query($sql, array($q['search']));
./preorder/home-service/Order.php:514: $rows = $query->result_array();
./preorder/home-service/Order.php:515: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:517: $this->sys_ok($result);
./preorder/home-service/Order.php:520: $this->sys_error_db("m_city rows",$this->db_onedev);
./preorder/home-service/Order.php:526: if (! $this->isLogin) {
./preorder/home-service/Order.php:527: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:530: $prm = $this->sys_input;
./preorder/home-service/Order.php:537: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Order.php:543: $this->sys_ok($result);
./preorder/home-service/Order.php:548: if (! $this->isLogin) {
./preorder/home-service/Order.php:549: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:552: $prm = $this->sys_input;
./preorder/home-service/Order.php:559: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Order.php:565: $this->sys_ok($result);
./preorder/home-service/Order.php:570: if (! $this->isLogin) {
./preorder/home-service/Order.php:571: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:574: $prm = $this->sys_input;
./preorder/home-service/Order.php:590: $insert_new_patient = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:595: date('Y-m-d',strtotime($prm['dob'])),
./preorder/home-service/Order.php:601: $patient_id = $this->db_onedev->insert_id();
./preorder/home-service/Order.php:613: $insert_new_address = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:623: $rows = $this->db_onedev->query($query,array($patient_id))->result();
./preorder/home-service/Order.php:628: $this->sys_ok($result);
./preorder/home-service/Order.php:632: $this->sys_error_db("m_patient new",$this->db_onedev);
./preorder/home-service/Order.php:638: if (! $this->isLogin) {
./preorder/home-service/Order.php:639: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:642: $prm = $this->sys_input;
./preorder/home-service/Order.php:648: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Order.php:654: $this->sys_ok($result);
./preorder/home-service/Order.php:659: if (! $this->isLogin) {
./preorder/home-service/Order.php:660: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:663: $prm = $this->sys_input;
./preorder/home-service/Order.php:669: $rows = $this->db_onedev->query($query,array($prm['id']))->result_array();
./preorder/home-service/Order.php:675: $this->sys_ok($result);
./preorder/home-service/Order.php:680: if (! $this->isLogin) {
./preorder/home-service/Order.php:681: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:684: $prm = $this->sys_input;
./preorder/home-service/Order.php:704: $query = $this->db_onedev->query($sql,$q['search']);
./preorder/home-service/Order.php:707: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:710: $this->sys_error_db("m_patient count",$this->db_onedev);
./preorder/home-service/Order.php:722: $query = $this->db_onedev->query($sql, array($q['search']));
./preorder/home-service/Order.php:725: $rows = $query->result_array();
./preorder/home-service/Order.php:726: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:728: $this->sys_ok($result);
./preorder/home-service/Order.php:731: $this->sys_error_db("m_patient rows",$this->db_onedev);
./preorder/home-service/Order.php:737: if (! $this->isLogin) {
./preorder/home-service/Order.php:738: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:741: $prm = $this->sys_input;
./preorder/home-service/Order.php:764: $query = $this->db_onedev->query($sql,$q['search']);
./preorder/home-service/Order.php:767: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:770: $this->sys_error_db("test count",$this->db_onedev);
./preorder/home-service/Order.php:775: SELECT 'Y' as editable, 0 as xid, T_TestID, T_TestCode, T_TestName, T_PriceAmount, T_PriceDisc, T_PriceDiscRp, T_PriceAmount - ((T_PriceDisc/100) * T_PriceAmount) - T_PriceDiscRp as total
./preorder/home-service/Order.php:784: $query = $this->db_onedev->query($sql, array($q['search']));
./preorder/home-service/Order.php:787: $rows = $query->result_array();
./preorder/home-service/Order.php:788: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:790: $this->sys_ok($result);
./preorder/home-service/Order.php:793: $this->sys_error_db("test rows",$this->db_onedev);
./preorder/home-service/Order.php:799: if (! $this->isLogin) {
./preorder/home-service/Order.php:800: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:803: $prm = $this->sys_input;
./preorder/home-service/Order.php:823: $query = $this->db_onedev->query($sql,$q['search']);
./preorder/home-service/Order.php:826: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Order.php:829: $this->sys_error_db("m_doctor count",$this->db_onedev);
./preorder/home-service/Order.php:841: $query = $this->db_onedev->query($sql, array($q['search']));
./preorder/home-service/Order.php:844: $rows = $query->result_array();
./preorder/home-service/Order.php:845: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:847: $this->sys_ok($result);
./preorder/home-service/Order.php:850: $this->sys_error_db("m_doctor rows",$this->db_onedev);
./preorder/home-service/Order.php:856: if (! $this->isLogin) {
./preorder/home-service/Order.php:857: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:860: $prm = $this->sys_input;
./preorder/home-service/Order.php:863: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Order.php:882: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:883: $prm['orderaddress'] = $this->db_onedev->insert_id();
./preorder/home-service/Order.php:892: $number_trx = $this->db_onedev->query("SELECT one_preorder_dev.fn_numbering('HS') as numx")->row()->numx;
./preorder/home-service/Order.php:913: $insert_new_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:917: date('Y-m-d',strtotime($dateorder)),
./preorder/home-service/Order.php:929: $order_id = $this->db_onedev->insert_id();
./preorder/home-service/Order.php:947: $insert_new_test = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:975: $insert_new_delivery = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:992: $sampletypes = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Order.php:1011: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1016: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1020: $rows = $this->db_onedev->query($query,array($order_id))->result();
./preorder/home-service/Order.php:1025: $this->sys_ok($result);
./preorder/home-service/Order.php:1029: $this->sys_error_db("order new",$this->db_onedev);
./preorder/home-service/Order.php:1035: if (! $this->isLogin) {
./preorder/home-service/Order.php:1036: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:1039: $prm = $this->sys_input;
./preorder/home-service/Order.php:1059: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1060: $prm['orderaddress'] = $this->db_onedev->last_id();
./preorder/home-service/Order.php:1069: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Order.php:1086: $update_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1089: date('Y-m-d',strtotime($dateorder)),
./preorder/home-service/Order.php:1100: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1120: $insert_new_test = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1145: $delete_exist_test = $this->db_onedev->query($query,array($del['xid']));
./preorder/home-service/Order.php:1150: $last_delivery = $this->db_onedev->query(" SELECT
./preorder/home-service/Order.php:1155: PreOrder_DeliveryIsActive = 'Y' LIMIT 1")->row();
./preorder/home-service/Order.php:1156: if($last_delivery->cexist == 0){
./preorder/home-service/Order.php:1171: $insert_new_delivery = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1192: $update_exist_delivery = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1199: $last_delivery->PreOrder_DeliveryID
./preorder/home-service/Order.php:1202: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1207: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1216: $sampletypes = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Order.php:1236: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1240: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1246: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1251: $rows = $this->db_onedev->query($query,array($order_id))->result();
./preorder/home-service/Order.php:1256: $this->sys_ok($result);
./preorder/home-service/Order.php:1260: $this->do_orderlab($prm);
./preorder/home-service/Order.php:1265: $this->sys_error_db("order update",$this->db_onedev);
./preorder/home-service/Order.php:1271: if (! $this->isLogin) {
./preorder/home-service/Order.php:1272: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:1275: $prm = $this->sys_input;
./preorder/home-service/Order.php:1277: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Order.php:1285: $update_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1288: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1293: $rows = $this->db_onedev->query($query,array($order_id))->result();
./preorder/home-service/Order.php:1298: $this->sys_ok($result);
./preorder/home-service/Order.php:1302: $this->sys_error_db("confirm update",$this->db_onedev);
./preorder/home-service/Order.php:1309: if (! $this->isLogin) {
./preorder/home-service/Order.php:1310: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:1313: $prm = $this->sys_input;
./preorder/home-service/Order.php:1316: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Order.php:1324: $query = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1326: $this->sys_error_db("select preorder_header", $this->db_onedev);
./preorder/home-service/Order.php:1330: $data_order = $query->row();
./preorder/home-service/Order.php:1355: $new_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1356: $data_order->PreOrder_HeaderM_PatientID,
./preorder/home-service/Order.php:1357: $data_order->M_MouM_CompanyID,
./preorder/home-service/Order.php:1358: $data_order->Conf_SystemMOUID,
./preorder/home-service/Order.php:1360: $data_order->PreOrder_HeaderM_DoctorID,
./preorder/home-service/Order.php:1361: $data_order->PreOrder_HeaderM_DoctorAddressID,
./preorder/home-service/Order.php:1364: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1366: $last_id = $this->db_onedev->insert_id();
./preorder/home-service/Order.php:1373: $data_order_detail = $this->db_onedev->query($query)->result();
./preorder/home-service/Order.php:1376: $dsictot = ((floatval($v->PreOrder_TestDisc)/100) * intval($v->PreOrder_TestPrice)) + intval($v->PreOrder_TestDiscRp);
./preorder/home-service/Order.php:1377: $total = intval($v->PreOrder_TestPrice) - $dsictot ;
./preorder/home-service/Order.php:1411: $query = $this->db_onedev->query($sql,array(
./preorder/home-service/Order.php:1413: $v->PreOrder_TestT_TestID,
./preorder/home-service/Order.php:1414: $v->T_TestCode,
./preorder/home-service/Order.php:1415: $v->T_TestName,
./preorder/home-service/Order.php:1416: $v->T_TestIsResult,
./preorder/home-service/Order.php:1417: $v->T_TestIsPrice,
./preorder/home-service/Order.php:1418: $v->PreOrder_TestPrice,
./preorder/home-service/Order.php:1419: $v->PreOrder_TestPrice,
./preorder/home-service/Order.php:1420: $v->PreOrder_TestDisc,
./preorder/home-service/Order.php:1421: $v->PreOrder_TestDiscRp,
./preorder/home-service/Order.php:1427: $this->sys_error_db("t_orderdetail insert");
./preorder/home-service/Order.php:1430: //$lastid = $this->db_onedev->insert_id();
./preorder/home-service/Order.php:1434: T_TestParentT_TestID = '{$v->T_TestID}' AND
./preorder/home-service/Order.php:1436: $childrentest = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Order.php:1452: $query = $this->db_onedev->query($sql,
./preorder/home-service/Order.php:1464: $this->sys_error_db("t_orderdetail children insert");
./preorder/home-service/Order.php:1471: if($k == count($data_order_detail)-1){
./preorder/home-service/Order.php:1472: $roundingx = intval(substr($header_total,-3) > 500?substr($header_total,-3)-500:substr($header_total,-3));
./preorder/home-service/Order.php:1473: $total_akhir = $header_total - $roundingx;
./preorder/home-service/Order.php:1475: $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1484: $delver = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Order.php:1503: $query = $this->db_onedev->query($sql,
./preorder/home-service/Order.php:1518: $update_preheader = $this->db_onedev->query($sql);
./preorder/home-service/Order.php:1520: $this->sys_error_db("preorder_header update", $this->db_onedev);
./preorder/home-service/Order.php:1525: $rst_rtn = $this->db_onedev->query($sql)->row();
./preorder/home-service/Order.php:1530: $this->sys_ok($result);
./preorder/home-service/Order.php:1534: $this->sys_error_db("new order",$this->db_onedev);
./preorder/home-service/Order.php:1541: if (! $this->isLogin) {
./preorder/home-service/Order.php:1542: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:1545: $prm = $this->sys_input;
./preorder/home-service/Order.php:1554: $update_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1557: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1562: $rows = $this->db_onedev->query($query,array($order_id))->result();
./preorder/home-service/Order.php:1567: $this->sys_ok($result);
./preorder/home-service/Order.php:1571: $this->sys_error_db("cancel order",$this->db_onedev);
./preorder/home-service/Order.php:1578: if (! $this->isLogin) {
./preorder/home-service/Order.php:1579: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:1582: $prm = $this->sys_input;
./preorder/home-service/Order.php:1591: $update_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1594: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1599: $rows = $this->db_onedev->query($query,array($order_id))->result();
./preorder/home-service/Order.php:1604: $this->sys_ok($result);
./preorder/home-service/Order.php:1608: $this->sys_error_db("downloaded order",$this->db_onedev);
./preorder/home-service/Order.php:1615: if (! $this->isLogin) {
./preorder/home-service/Order.php:1616: $this->sys_error("Invalid Token");
./preorder/home-service/Order.php:1619: $prm = $this->sys_input;
./preorder/home-service/Order.php:1622: $lastdata = $this->db_onedev->query($query)->row();
./preorder/home-service/Order.php:1629: $update_order = $this->db_onedev->query($query,array(
./preorder/home-service/Order.php:1632: //echo $this->db_onedev->last_query();
./preorder/home-service/Order.php:1637: $rows = $this->db_onedev->query($query,array($lastdata->outboxRefID))->result();
./preorder/home-service/Order.php:1642: $this->sys_ok($result);
./preorder/home-service/Order.php:1646: $this->sys_error_db("resend order",$this->db_onedev);
./preorder/home-service/Supplies.php:18: $this->db_onedev = $this->load->database("onedev", true);
./preorder/home-service/Supplies.php:19: $this->load->helper(array('form', 'url'));
./preorder/home-service/Supplies.php:23: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:24: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:25: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:36: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:41: $this->sys_ok($result);
./preorder/home-service/Supplies.php:48: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:49: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:50: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:53: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:54: $xdate = date('Y-m-d',strtotime($prm['xdate']));
./preorder/home-service/Supplies.php:62: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:67: $this->sys_ok($result);
./preorder/home-service/Supplies.php:73: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:74: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:75: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:78: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:79: $xdate = date('Y-m-d',strtotime($prm['xdate']));
./preorder/home-service/Supplies.php:84: DATE_FORMAT(PreOrder_HeaderDate,'%d-%m-%Y') as trx_date,
./preorder/home-service/Supplies.php:107: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:112: $this->sys_ok($result);
./preorder/home-service/Supplies.php:129: DATE_FORMAT(PreOrder_HeaderDate,'%d-%m-%Y') as trx_date,
./preorder/home-service/Supplies.php:150: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:169: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:188: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:194: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:195: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:196: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:228: $query = $this->db_onedev->query($sql);
./preorder/home-service/Supplies.php:232: $tot_count = $query->result_array()[0]["total"];
./preorder/home-service/Supplies.php:234: $this->sys_error_db("m_doctor count", $this->db_onedev);
./preorder/home-service/Supplies.php:242: DATE_FORMAT(Preorder_SuppliesTrxDate ,'%d-%m-%Y') as trx_date_ina,
./preorder/home-service/Supplies.php:246: IFNULL(penerima.M_StaffName,'-') as penerima_name,
./preorder/home-service/Supplies.php:264: $query = $this->db_onedev->query($sql);
./preorder/home-service/Supplies.php:265: //echo $this->db_onedev->last_query();
./preorder/home-service/Supplies.php:266: $rows = $query->result_array();
./preorder/home-service/Supplies.php:269: $rows[$k]['details'] = $this->getdetails($v['trx_id'],$v['trx_date'],$v['status']);
./preorder/home-service/Supplies.php:270: $rows[$k]['supplies'] = $this->getsupplies($v['trx_id']);
./preorder/home-service/Supplies.php:271: $rows[$k]['buffers'] = $this->getsuppliesbuffer($v['trx_id']);
./preorder/home-service/Supplies.php:276: $result = array("total" => $tot_count, "records" => $rows, "sql"=> $this->db_onedev->last_query());
./preorder/home-service/Supplies.php:277: $this->sys_ok($result);
./preorder/home-service/Supplies.php:282: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:283: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:284: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:287: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:309: $rows = $this->db_onedev->query($sql)->result_array();
./preorder/home-service/Supplies.php:314: $this->sys_ok($result);
./preorder/home-service/Supplies.php:320: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:321: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:331: $rows['stations'] = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Supplies.php:341: $this->sys_ok($result);
./preorder/home-service/Supplies.php:346: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:347: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:350: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:357: $rows = $this->db_onedev->query($query)->result_array();
./preorder/home-service/Supplies.php:363: $this->sys_ok($result);
./preorder/home-service/Supplies.php:369: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:370: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:373: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:374: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Supplies.php:376: $xdate = date('Y-m-d',strtotime($prm["trx_date"]));
./preorder/home-service/Supplies.php:378: $numbering = $this->db_onedev->query("SELECT one_preorder_dev.fn_numbering('SS') as numbering")->row()->numbering;
./preorder/home-service/Supplies.php:399: $saveheader = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:400: $last_id = $this->db_onedev->insert_id();
./preorder/home-service/Supplies.php:402: $numbering = $this->db_onedev->query("SELECT Preorder_SuppliesTrxNumbering as numbering FROM one_preorder_dev.preorder_suppliestrx WHERE Preorder_SuppliesTrxID = {$prm['trx_id']}")->row()->numbering;
./preorder/home-service/Supplies.php:411: $saveheader = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:427: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:439: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:464: $savesupplies = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:476: $savesupplies = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:488: $savesupplies = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:513: $savebuffers = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:525: $savebuffers = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:537: $savebuffers = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:549: $this->sys_ok($result);
./preorder/home-service/Supplies.php:556: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:557: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:560: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:561: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Supplies.php:570: $saveheader = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:579: $this->sys_ok($result);
./preorder/home-service/Supplies.php:585: if (! $this->isLogin) {
./preorder/home-service/Supplies.php:586: $this->sys_error("Invalid Token");
./preorder/home-service/Supplies.php:589: $prm = $this->sys_input;
./preorder/home-service/Supplies.php:590: $userid = $this->sys_user["M_UserID"];
./preorder/home-service/Supplies.php:600: $this->db_onedev->query($sql);
./preorder/home-service/Supplies.php:621: $savedetail = $this->db_onedev->query($query);
./preorder/home-service/Supplies.php:634: $this->db_onedev->query($sql);
./preorder/home-service/Supplies.php:645: $this->db_onedev->query($sql);
./preorder/home-service/Supplies.php:652: $this->sys_ok($result);
./preorder/Imgqrcode.php:11: header('Content-Type: '.$qrCode->getContentType());
./preorder/Imgqrcode.php:12: echo $qrCode->writeString();
./preorder/Imgqrcode.php:15: $qrCode = new QrCode("pre-order qrcode\ngenerated by s.a.s\n" . "[". $qrcode ."]");
./preorder/Imgqrcode.php:16: $qrCode->setSize(300);
./preorder/Imgqrcode.php:18: $qrCode->setWriterByName('png');
./preorder/Imgqrcode.php:19: $qrCode->setMargin(10);
./preorder/Imgqrcode.php:20: $qrCode->setEncoding('UTF-8');
./preorder/Imgqrcode.php:21: $qrCode->setErrorCorrectionLevel(new ErrorCorrectionLevel(ErrorCorrectionLevel::HIGH));
./preorder/Imgqrcode.php:22: $qrCode->setForegroundColor(['r' => 0, 'g' => 0, 'b' => 0, 'a' => 0]);
./preorder/Imgqrcode.php:23: $qrCode->setBackgroundColor(['r' => 255, 'g' => 255, 'b' => 255, 'a' => 0]);
./preorder/Imgqrcode.php:24: $qrCode->setLabel('S.A.S PreOrder', 16, FCPATH .'/assets/fonts/noto_sans.otf', LabelAlignment::CENTER);
./preorder/Imgqrcode.php:25: $qrCode->setLogoPath(FCPATH . '/assets/images/logo-sas.jpg');
./preorder/Imgqrcode.php:26: $qrCode->setLogoWidth(150);
./preorder/Imgqrcode.php:27: $qrCode->setValidateResult(false);
./preorder/Imgqrcode.php:28: header('Content-Type: '.$qrCode->getContentType());
./preorder/Imgqrcode.php:29: echo $qrCode->writeString();
./preorder/Imgqrcode.php:33: $qrCode->setSize(300);
./preorder/Imgqrcode.php:36: $qrCode->setWriterByName('png');
./preorder/Imgqrcode.php:37: $qrCode->setMargin(10);
./preorder/Imgqrcode.php:38: $qrCode->setEncoding('UTF-8');
./preorder/Imgqrcode.php:39: $qrCode->setErrorCorrectionLevel(new ErrorCorrectionLevel(ErrorCorrectionLevel::HIGH));
./preorder/Imgqrcode.php:40: $qrCode->setForegroundColor(['r' => 0, 'g' => 0, 'b' => 0, 'a' => 0]);
./preorder/Imgqrcode.php:41: $qrCode->setBackgroundColor(['r' => 255, 'g' => 255, 'b' => 255, 'a' => 0]);
./preorder/Imgqrcode.php:42: $qrCode->setLabel('S.A.S PreOrder', 16, FCPATH .'/assets/fonts/noto_sans.otf', LabelAlignment::CENTER);
./preorder/Imgqrcode.php:43: $qrCode->setLogoPath(FCPATH . '/assets/images/logo-sas.jpg');
./preorder/Imgqrcode.php:44: $qrCode->setLogoWidth(150);
./preorder/Imgqrcode.php:45: $qrCode->setValidateResult(false);
./preorder/Imgqrcode.php:46: header('Content-Type: '.$qrCode->getContentType());
./preorder/Imgqrcode.php:47: echo $qrCode->writeString();
./system/Auth.php:4:- Functions
./system/Auth.php:5: - login x
./system/Auth.php:6: - logout
./system/Auth.php:8: $this->sys_debug();
./system/Auth.php:10: if (! $this->isLogin) {
./system/Auth.php:11: $this->sys_error("Invalid Token");
./system/Auth.php:14: $prm = $this->sys_input;
./system/Auth.php:17: $message = $exc->getMessage();
./system/Auth.php:18: $this->sys_error($message);
./system/Auth.php:33: $this->db_onedev = $this->load->database("onedev", true);
./system/Auth.php:36: if (! $this->isLogin) {
./system/Auth.php:37: $this->sys_error("Invalid Token");
./system/Auth.php:39: $prm = $this->sys_input;
./system/Auth.php:41: "user" => $this->sys_user
./system/Auth.php:43: $this->sys_ok($data);
./system/Auth.php:47: $prm = $this->sys_input;
./system/Auth.php:50: $sm_password = md5($this->one_salt . $prm["password"] . $this->one_salt);
./system/Auth.php:51: $query = $this->db_onedev->query("select M_UserID,M_UserUsername, M_UserGroupDashboard, M_UserDefaultT_SampleStationID,
./system/Auth.php:61: $message = $this->db_onedev->error();
./system/Auth.php:62: $this->sys_error($message);
./system/Auth.php:65: $rows = $query->result_array();
./system/Auth.php:70: $token = JWT::encode($user,$this->SECRET_KEY);
./system/Auth.php:76: $query = $this->db_onedev->query("update m_user SET M_UserIsLoggedIn = 'Y', M_UserLastAccess = now(), M_UserActiveToken = '{$token}' WHERE M_UserID = ?
./system/Auth.php:79: $message = $this->db_onedev->error();
./system/Auth.php:80: $this->sys_error($message);
./system/Auth.php:84: $query = $this->db_onedev->query("INSERT INTO one_log.log_login(Log_LoginDateTime,Log_LoginIP,Log_LoginType,Log_LoginStatus,Log_LoginLogin) VALUES (?,?,?,?,?)
./system/Auth.php:85: ",array(date('Y-m-d H:i:s'), $_SERVER['REMOTE_ADDR'],'LOGIN','SUCCESS',$prm["username"]));
./system/Auth.php:87: $message = $this->db_onedev->error();
./system/Auth.php:88: $this->sys_error($message);
./system/Auth.php:92: $this->sys_ok($data);
./system/Auth.php:95: $query = $this->db_onedev->query("INSERT INTO one_log.log_login(Log_LoginDateTime,Log_LoginIP,Log_LoginType,Log_LoginStatus,Log_LoginLogin) VALUES (?,?,?,?,?)
./system/Auth.php:96: ",array(date('Y-m-d H:i:s'),$this->input->ip_address(),'LOGIN','FAILED',$prm["username"]));
./system/Auth.php:98: $message = $this->db_onedev->error();
./system/Auth.php:99: $this->sys_error($message);
./system/Auth.php:102: $this->sys_error_db("Invalid UserName / Password");
./system/Auth.php:104: $message = $exc->getMessage();
./system/Auth.php:105: $this->sys_error($message);
./system/Auth.php:111: $prm = $this->sys_input;
./system/Auth.php:115: $query = $this->db_onedev->query("
./system/Auth.php:119: array($this->sys_user['M_UserID']));
./system/Auth.php:123: $message = $this->db_onedev->error();
./system/Auth.php:124: $this->sys_error($message);
./system/Auth.php:128: $this->db_onedev->query("INSERT INTO one_log.log_login(Log_LoginDateTime,Log_LoginIP,Log_LoginType,Log_LoginStatus,Log_LoginLogin) VALUES (?,?,?,?,?)
./system/Auth.php:129: ",array(date('Y-m-d H:i:s'), $_SERVER['REMOTE_ADDR'], 'LOGOUT', 'SUCCESS', $this->sys_user['M_UserUsername']));
./system/Auth.php:130: $this->sys_ok("OK");
./system/Auth.php:135: $message = $exc->getMessage();
./system/Auth.php:136: $this->sys_error($message);
./master/Province.php:17: // $this->sys_debug();
./master/Province.php:21: if (! $this->isLogin)
./master/Province.php:23: $this->sys_error("Invalid Token");
./master/Province.php:28: $prm = $this->sys_input;
./master/Province.php:47: $query = $this->db->query($sql, $sql_param);
./master/Province.php:49: $tot_count = $query->row()->n;
./master/Province.php:51: $this->sys_error_db("m_sex count");
./master/Province.php:60: $start_limit = ($page - 1) * $row_per_page;
./master/Province.php:71: $query = $this->db->query($sql, $sql_param);
./master/Province.php:74: $rows = $query->result_array();
./master/Province.php:76: $this->sys_error_db("m_sex rows");
./master/Province.php:82: $this->sys_ok($result);
./master/Province.php:88: $message = $exc->getMessage();
./master/Province.php:89: $this->sys_error($message);
./master/Pamorfology.php:4:- Functions
./master/Pamorfology.php:5: - search
./master/Pamorfology.php:6: - add
./master/Pamorfology.php:7: - edit
./master/Pamorfology.php:8: - delete
./master/Pamorfology.php:11: $this->sys_debug();
./master/Pamorfology.php:13: if (! $this->isLogin) {
./master/Pamorfology.php:14: $this->sys_error("Invalid Token");
./master/Pamorfology.php:17: $prm = $this->sys_input;
./master/Pamorfology.php:20: $message = $exc->getMessage();
./master/Pamorfology.php:21: $this->sys_error($message);
./master/Pamorfology.php:32: //$this->sys_debug();
./master/Pamorfology.php:35: if (! $this->isLogin) {
./master/Pamorfology.php:36: $this->sys_error("Invalid Token");
./master/Pamorfology.php:41: $prm = $this->sys_input;
./master/Pamorfology.php:56: $query = $this->db->query($sql,$sql_param);
./master/Pamorfology.php:58: $tot_count = $query->result_array()[0]["tot"];
./master/Pamorfology.php:60: $this->sys_error_db("pa_morfology count");
./master/Pamorfology.php:68: $start_limit = ($page - 1) * $row_per_page;
./master/Pamorfology.php:79: $query = $this->db->query($sql,$sql_param);
./master/Pamorfology.php:81: $rows = $query->result_array();
./master/Pamorfology.php:83: $this->sys_error_db("pa_morfology rows");
./master/Pamorfology.php:89: $this->sys_ok($result);
./master/Pamorfology.php:92: $message = $exc->getMessage();
./master/Pamorfology.php:93: $this->sys_error($message);
./master/Pamorfology.php:97: //$this->sys_debug();
./master/Pamorfology.php:100: if (! $this->isLogin) {
./master/Pamorfology.php:101: $this->sys_error("Invalid Token");
./master/Pamorfology.php:105: $tokenM_UserID = $this->sys_user["Pa_MorfologyUserID"];
./master/Pamorfology.php:108: $prm = $this->sys_input;
./master/Pamorfology.php:115: $query = $this->db->query($sql,
./master/Pamorfology.php:121: "affected_rows" => $this->db->affected_rows(),
./master/Pamorfology.php:122: "inserted_id" => $this->db->insert_id(),
./master/Pamorfology.php:127: $this->sys_error_db("pa_morfology insert");
./master/Pamorfology.php:131: $message = $exc->getMessage();
./master/Pamorfology.php:132: $this->sys_error($message);
./master/Pamorfology.php:136: //$this->sys_debug();
./master/Pamorfology.php:139: if (! $this->isLogin) {
./master/Pamorfology.php:140: $this->sys_error("Invalid Token");
./master/Pamorfology.php:144: $tokenM_UserID = $this->sys_user["Pa_MorfologyUserID"];
./master/Pamorfology.php:147: $prm = $this->sys_input;
./master/Pamorfology.php:152: $query = $this->db->query($sql, array(
./master/Pamorfology.php:159: "affected_rows" => $this->db->affected_rows(),
./master/Pamorfology.php:164: $this->sys_error_db("pa_morfology update");
./master/Pamorfology.php:168: $message = $exc->getMessage();
./master/Pamorfology.php:169: $this->sys_error($message);
./master/Pamorfology.php:173: //$this->sys_debug();
./master/Pamorfology.php:176: if (! $this->isLogin) {
./master/Pamorfology.php:177: $this->sys_error("Invalid Token");
./master/Pamorfology.php:181: $tokenM_UserID = $this->sys_user["Pa_MorfologyUserID"];
./master/Pamorfology.php:184: $prm = $this->sys_input;
./master/Pamorfology.php:189: $query = $this->db->query($sql, array(
./master/Pamorfology.php:195: "affected_rows" => $this->db->affected_rows(),
./master/Pamorfology.php:200: $this->sys_error_db("pa_morfology delete");
./master/Pamorfology.php:204: $message = $exc->getMessage();
./master/Pamorfology.php:205: $this->sys_error($message);
./master/Title.php:4:- Functions
./master/Title.php:5: - search
./master/Title.php:6: - add
./master/Title.php:7: - edit
./master/Title.php:8: - delete
./master/Title.php:11: $this->sys_debug();
./master/Title.php:13: if (! $this->isLogin) {
./master/Title.php:14: $this->sys_error("Invalid Token");
./master/Title.php:17: $prm = $this->sys_input;
./master/Title.php:20: $message = $exc->getMessage();
./master/Title.php:21: $this->sys_error($message);
./master/Title.php:32: //$this->sys_debug();
./master/Title.php:35: if (! $this->isLogin) {
./master/Title.php:36: $this->sys_error("Invalid Token");
./master/Title.php:41: $prm = $this->sys_input;
./master/Title.php:58: $query = $this->db->query($sql,$sql_param);
./master/Title.php:60: $tot_count = $query->result_array()[0]["tot"];
./master/Title.php:62: $this->sys_error_db("m_title count");
./master/Title.php:70: $start_limit = ($page - 1) * $row_per_page;
./master/Title.php:82: $query = $this->db->query($sql,$sql_param);
./master/Title.php:84: $rows = $query->result_array();
./master/Title.php:86: $this->sys_error_db("m_title rows");
./master/Title.php:91: $this->sys_ok($result);
./master/Title.php:94: $message = $exc->getMessage();
./master/Title.php:95: $this->sys_error($message);
./master/Title.php:99: //$this->sys_debug();
./master/Title.php:102: if (! $this->isLogin) {
./master/Title.php:103: $this->sys_error("Invalid Token");
./master/Title.php:107: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Title.php:110: $prm = $this->sys_input;
./master/Title.php:117: $query = $this->db->query($sql,array($prm["M_TitleCode"]));
./master/Title.php:120: $tot_count = $query->result_array()[0]["tot"];
./master/Title.php:123: $this->sys_error($message);
./master/Title.php:127: $this->sys_error_db("m_title titleCode validation");
./master/Title.php:136: $query = $this->db->query($sql,
./master/Title.php:143: "affected_rows" => $this->db->affected_rows(),
./master/Title.php:144: "inserted_id" => $this->db->insert_id(),
./master/Title.php:149: $this->sys_error_db("m_title insert");
./master/Title.php:153: $message = $exc->getMessage();
./master/Title.php:154: $this->sys_error($message);
./master/Title.php:158: //$this->sys_debug();
./master/Title.php:161: if (! $this->isLogin) {
./master/Title.php:162: $this->sys_error("Invalid Token");
./master/Title.php:166: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Title.php:169: $prm = $this->sys_input;
./master/Title.php:174: $query = $this->db->query($sql, array(
./master/Title.php:181: "affected_rows" => $this->db->affected_rows(),
./master/Title.php:186: $this->sys_error_db("m_title update");
./master/Title.php:190: $message = $exc->getMessage();
./master/Title.php:191: $this->sys_error($message);
./master/Title.php:195: //$this->sys_debug();
./master/Title.php:198: if (! $this->isLogin) {
./master/Title.php:199: $this->sys_error("Invalid Token");
./master/Title.php:203: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Title.php:206: $prm = $this->sys_input;
./master/Title.php:211: $query = $this->db->query($sql, array(
./master/Title.php:217: "affected_rows" => $this->db->affected_rows(),
./master/Title.php:222: $this->sys_error_db("m_title delete");
./master/Title.php:226: $message = $exc->getMessage();
./master/Title.php:227: $this->sys_error($message);
./master/Bank.php:4:- Functions
./master/Bank.php:5: - search
./master/Bank.php:6: - add
./master/Bank.php:7: - edit
./master/Bank.php:8: - delete
./master/Bank.php:11: $this->sys_debug();
./master/Bank.php:13: if (! $this->isLogin) {
./master/Bank.php:14: $this->sys_error("Invalid Token");
./master/Bank.php:17: $prm = $this->sys_input;
./master/Bank.php:20: $message = $exc->getMessage();
./master/Bank.php:21: $this->sys_error($message);
./master/Bank.php:32: //$this->sys_debug();
./master/Bank.php:35: if (! $this->isLogin) {
./master/Bank.php:36: $this->sys_error("Invalid Token");
./master/Bank.php:41: $prm = $this->sys_input;
./master/Bank.php:56: $query = $this->db->query($sql,$sql_param);
./master/Bank.php:58: $tot_count = $query->result_array()[0]["tot"];
./master/Bank.php:60: $this->sys_error_db("m_bank count");
./master/Bank.php:68: $start_limit = ($page - 1) * $row_per_page;
./master/Bank.php:79: $query = $this->db->query($sql,$sql_param);
./master/Bank.php:81: $rows = $query->result_array();
./master/Bank.php:83: $this->sys_error_db("m_bank rows");
./master/Bank.php:88: $this->sys_ok($result);
./master/Bank.php:91: $message = $exc->getMessage();
./master/Bank.php:92: $this->sys_error($message);
./master/Bank.php:96: //$this->sys_debug();
./master/Bank.php:99: if (! $this->isLogin) {
./master/Bank.php:100: $this->sys_error("Invalid Token");
./master/Bank.php:104: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Bank.php:107: $prm = $this->sys_input;
./master/Bank.php:113: $query = $this->db->query($sql,array($prm["M_BankCode"]));
./master/Bank.php:116: $tot_count = $query->result_array()[0]["tot"];
./master/Bank.php:119: $this->sys_error($message);
./master/Bank.php:123: $this->sys_error_db("m_bank bankCode validation");
./master/Bank.php:131: $query = $this->db->query($sql,
./master/Bank.php:138: "affected_rows" => $this->db->affected_rows(),
./master/Bank.php:139: "inserted_id" => $this->db->insert_id(),
./master/Bank.php:144: $this->sys_error_db("m_bank insert");
./master/Bank.php:148: $message = $exc->getMessage();
./master/Bank.php:149: $this->sys_error($message);
./master/Bank.php:153: //$this->sys_debug();
./master/Bank.php:156: if (! $this->isLogin) {
./master/Bank.php:157: $this->sys_error("Invalid Token");
./master/Bank.php:161: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Bank.php:164: $prm = $this->sys_input;
./master/Bank.php:169: $query = $this->db->query($sql, array(
./master/Bank.php:176: "affected_rows" => $this->db->affected_rows(),
./master/Bank.php:181: $this->sys_error_db("m_bank update");
./master/Bank.php:185: $message = $exc->getMessage();
./master/Bank.php:186: $this->sys_error($message);
./master/Bank.php:190: //$this->sys_debug();
./master/Bank.php:193: if (! $this->isLogin) {
./master/Bank.php:194: $this->sys_error("Invalid Token");
./master/Bank.php:198: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Bank.php:201: $prm = $this->sys_input;
./master/Bank.php:206: $query = $this->db->query($sql, array(
./master/Bank.php:212: "affected_rows" => $this->db->affected_rows(),
./master/Bank.php:217: $this->sys_error_db("m_bank delete");
./master/Bank.php:221: $message = $exc->getMessage();
./master/Bank.php:222: $this->sys_error($message);
./master/Sex.php:4:- Functions
./master/Sex.php:5: - search
./master/Sex.php:6: - add
./master/Sex.php:7: - edit
./master/Sex.php:8: - delete
./master/Sex.php:11: $this->sys_debug();
./master/Sex.php:13: if (! $this->isLogin) {
./master/Sex.php:14: $this->sys_error("Invalid Token");
./master/Sex.php:17: $prm = $this->sys_input;
./master/Sex.php:20: $message = $exc->getMessage();
./master/Sex.php:21: $this->sys_error($message);
./master/Sex.php:32: //$this->sys_debug();
./master/Sex.php:35: if (! $this->isLogin) {
./master/Sex.php:36: $this->sys_error("Invalid Token");
./master/Sex.php:41: $prm = $this->sys_input;
./master/Sex.php:56: $query = $this->db->query($sql,$sql_param);
./master/Sex.php:58: $tot_count = $query->result_array()[0]["tot"];
./master/Sex.php:60: $this->sys_error_db("m_sex count");
./master/Sex.php:68: $start_limit = ($page - 1) * $row_per_page;
./master/Sex.php:79: $query = $this->db->query($sql,$sql_param);
./master/Sex.php:81: $rows = $query->result_array();
./master/Sex.php:83: $this->sys_error_db("m_sex rows");
./master/Sex.php:88: $this->sys_ok($result);
./master/Sex.php:91: $message = $exc->getMessage();
./master/Sex.php:92: $this->sys_error($message);
./master/Sex.php:96: //$this->sys_debug();
./master/Sex.php:99: if (! $this->isLogin) {
./master/Sex.php:100: $this->sys_error("Invalid Token");
./master/Sex.php:104: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Sex.php:107: $prm = $this->sys_input;
./master/Sex.php:113: $query = $this->db->query($sql,array($prm["M_SexCode"]));
./master/Sex.php:116: $tot_count = $query->result_array()[0]["tot"];
./master/Sex.php:119: $this->sys_error($message);
./master/Sex.php:123: $this->sys_error_db("m_sex sexCode validation");
./master/Sex.php:131: $query = $this->db->query($sql,
./master/Sex.php:138: "affected_rows" => $this->db->affected_rows(),
./master/Sex.php:139: "inserted_id" => $this->db->insert_id(),
./master/Sex.php:144: $this->sys_error_db("m_sex insert");
./master/Sex.php:148: $message = $exc->getMessage();
./master/Sex.php:149: $this->sys_error($message);
./master/Sex.php:153: //$this->sys_debug();
./master/Sex.php:156: if (! $this->isLogin) {
./master/Sex.php:157: $this->sys_error("Invalid Token");
./master/Sex.php:161: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Sex.php:164: $prm = $this->sys_input;
./master/Sex.php:169: $query = $this->db->query($sql, array(
./master/Sex.php:176: "affected_rows" => $this->db->affected_rows(),
./master/Sex.php:181: $this->sys_error_db("m_sex update");
./master/Sex.php:185: $message = $exc->getMessage();
./master/Sex.php:186: $this->sys_error($message);
./master/Sex.php:190: //$this->sys_debug();
./master/Sex.php:193: if (! $this->isLogin) {
./master/Sex.php:194: $this->sys_error("Invalid Token");
./master/Sex.php:198: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Sex.php:201: $prm = $this->sys_input;
./master/Sex.php:206: $query = $this->db->query($sql, array(
./master/Sex.php:212: "affected_rows" => $this->db->affected_rows(),
./master/Sex.php:217: $this->sys_error_db("m_sex delete");
./master/Sex.php:221: $message = $exc->getMessage();
./master/Sex.php:222: $this->sys_error($message);
./master/Religion.php:4:- Functions
./master/Religion.php:5: - search
./master/Religion.php:6: - add
./master/Religion.php:7: - edit
./master/Religion.php:8: - delete
./master/Religion.php:11: $this->sys_debug();
./master/Religion.php:13: if (! $this->isLogin) {
./master/Religion.php:14: $this->sys_error("Invalid Token");
./master/Religion.php:17: $prm = $this->sys_input;
./master/Religion.php:20: $message = $exc->getMessage();
./master/Religion.php:21: $this->sys_error($message);
./master/Religion.php:32: //$this->sys_debug();
./master/Religion.php:35: if (! $this->isLogin) {
./master/Religion.php:36: $this->sys_error("Invalid Token");
./master/Religion.php:41: $prm = $this->sys_input;
./master/Religion.php:56: $query = $this->db->query($sql,$sql_param);
./master/Religion.php:58: $tot_count = $query->result_array()[0]["tot"];
./master/Religion.php:60: $this->sys_error_db("m_religion count");
./master/Religion.php:68: $start_limit = ($page - 1) * $row_per_page;
./master/Religion.php:79: $query = $this->db->query($sql,$sql_param);
./master/Religion.php:81: $rows = $query->result_array();
./master/Religion.php:83: $this->sys_error_db("m_religion rows");
./master/Religion.php:88: $this->sys_ok($result);
./master/Religion.php:91: $message = $exc->getMessage();
./master/Religion.php:92: $this->sys_error($message);
./master/Religion.php:96: //$this->sys_debug();
./master/Religion.php:99: if (! $this->isLogin) {
./master/Religion.php:100: $this->sys_error("Invalid Token");
./master/Religion.php:104: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Religion.php:107: $prm = $this->sys_input;
./master/Religion.php:114: $query = $this->db->query($sql,array($prm["M_ReligionCode"]));
./master/Religion.php:117: $tot_count = $query->result_array()[0]["tot"];
./master/Religion.php:120: $this->sys_error($message);
./master/Religion.php:124: $this->sys_error_db("m_religion religionCode validation");
./master/Religion.php:134: $query = $this->db->query($sql,
./master/Religion.php:141: "affected_rows" => $this->db->affected_rows(),
./master/Religion.php:142: "inserted_id" => $this->db->insert_id(),
./master/Religion.php:147: $this->sys_error_db("m_religion insert");
./master/Religion.php:151: $message = $exc->getMessage();
./master/Religion.php:152: $this->sys_error($message);
./master/Religion.php:156: //$this->sys_debug();
./master/Religion.php:159: if (! $this->isLogin) {
./master/Religion.php:160: $this->sys_error("Invalid Token");
./master/Religion.php:164: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Religion.php:167: $prm = $this->sys_input;
./master/Religion.php:172: $query = $this->db->query($sql, array(
./master/Religion.php:179: "affected_rows" => $this->db->affected_rows(),
./master/Religion.php:184: $this->sys_error_db("m_religion update");
./master/Religion.php:188: $message = $exc->getMessage();
./master/Religion.php:189: $this->sys_error($message);
./master/Religion.php:193: //$this->sys_debug();
./master/Religion.php:196: if (! $this->isLogin) {
./master/Religion.php:197: $this->sys_error("Invalid Token");
./master/Religion.php:201: $tokenM_UserID = $this->sys_user["M_UserID"];
./master/Religion.php:204: $prm = $this->sys_input;
./master/Religion.php:209: $query = $this->db->query($sql, array(
./master/Religion.php:215: "affected_rows" => $this->db->affected_rows(),
./master/Religion.php:220: $this->sys_error_db("m_religion delete");
./master/Religion.php:224: $message = $exc->getMessage();
./master/Religion.php:225: $this->sys_error($message);
./su/Code128.php:12: $no = $this->input->get("no");
./su/Code128.php:14: header('Content-type: image/jpg');
./su/Code128.php:15: echo $generator->getBarcode($no, $generator::TYPE_CODE_128);
./fo/Register.php:4:- Functions
./fo/Register.php:5: - login x
./fo/Register.php:6: - logout
./fo/Register.php:7: - search_patient x
./fo/Register.php:8: - search_doctor x
./fo/Register.php:9: - search_px x
./fo/Register.php:10: - last_px x
./fo/Register.php:11: - search_patient_type x
./fo/Register.php:12: - search_delivery_type x
./fo/Register.php:13: - do_register
./fo/Register.php:14: - get_barcode
./fo/Register.php:15: - update_barcode
./fo/Register.php:18: $this->sys_debug();
./fo/Register.php:20: if (! $this->isLogin) {
./fo/Register.php:21: $this->sys_error("Invalid Token");
./fo/Register.php:24: $prm = $this->sys_input;
./fo/Register.php:27: $message = $exc->getMessage();
./fo/Register.php:28: $this->sys_error($message);
./fo/Register.php:36: echo "isLogin : {$this->isLogin} \n";
./fo/Register.php:37: print_r($this->sys_input);
./fo/Register.php:38: print_r($this->sys_user);
./fo/Register.php:44: if (! $this->isLogin) {
./fo/Register.php:45: $this->sys_error("Invalid Token");
./fo/Register.php:49: $tokenM_UserID = $this->sys_user["M_UserID"];
./fo/Register.php:52: $prm = $this->sys_input;
./fo/Register.php:55: $rstNoreg = $this->db->query('select `fn_get_numbering`(\'P\') as nomor')->row();
./fo/Register.php:56: $prm['M_PatientNoReg'] = $rstNoreg->nomor;
./fo/Register.php:70: $query = $this->db->query($sql,
./fo/Register.php:84: "affected_rows" => $this->db->affected_rows(),
./fo/Register.php:85: "inserted_id" => $this->db->insert_id(),
./fo/Register.php:90: $this->sys_error_db("m_patient insert");
./fo/Register.php:94: $message = $exc->getMessage();
./fo/Register.php:95: $this->sys_error($message);
./fo/Register.php:102: if (! $this->isLogin) {
./fo/Register.php:103: $this->sys_error("Invalid Token");
./fo/Register.php:107: $tokenM_UserID = $this->sys_user["M_UserID"];
./fo/Register.php:110: $prm = $this->sys_input;
./fo/Register.php:123: $query = $this->db->query($sql,
./fo/Register.php:136: "affected_rows" => $this->db->affected_rows(),
./fo/Register.php:137: "inserted_id" => $this->db->insert_id(),
./fo/Register.php:142: $this->sys_error_db("m_patientaddress insert");
./fo/Register.php:146: $message = $exc->getMessage();
./fo/Register.php:147: $this->sys_error($message);
./fo/Register.php:154: if (! $this->isLogin) {
./fo/Register.php:155: $this->sys_error("Invalid Token");
./fo/Register.php:160: $prm = $this->sys_input;
./fo/Register.php:176: $query = $this->db->query($sql,$sql_param);
./fo/Register.php:178: $tot_count = $query->result_array()[0]["tot"];
./fo/Register.php:180: $this->sys_error_db("m_patient count");
./fo/Register.php:188: $start_limit = ($page - 1) * $row_per_page;
./fo/Register.php:199: $query = $this->db->query($sql,$sql_param);
./fo/Register.php:201: $rows = $query->result_array();
./fo/Register.php:203: $this->sys_error_db("m_patient rows");
./fo/Register.php:208: $this->sys_ok($result);
./fo/Register.php:211: $message = $exc->getMessage();
./fo/Register.php:212: $this->sys_error($message);
./fo/Register.php:219: if (! $this->isLogin) {
./fo/Register.php:220: $this->sys_error("Invalid Token");
./fo/Register.php:224: $tokenM_UserID = $this->sys_user["M_UserID"];
./fo/Register.php:227: $prm = $this->sys_input;
./fo/Register.php:240: $query = $this->db->query($sql,
./fo/Register.php:253: "affected_rows" => $this->db->affected_rows(),
./fo/Register.php:254: "inserted_id" => $this->db->insert_id(),
./fo/Register.php:259: $this->sys_error_db("m_doctor insert");
./fo/Register.php:263: $message = $exc->getMessage();
./fo/Register.php:264: $this->sys_error($message);
./fo/Register.php:271: if (! $this->isLogin) {
./fo/Register.php:272: $this->sys_error("Invalid Token");
./fo/Register.php:276: $tokenM_UserID = $this->sys_user["M_UserID"];
./fo/Register.php:279: $prm = $this->sys_input;
./fo/Register.php:292: $query = $this->db->query($sql,
./fo/Register.php:305: "affected_rows" => $this->db->affected_rows(),
./fo/Register.php:306: "inserted_id" => $this->db->insert_id(),
./fo/Register.php:311: $this->sys_error_db("m_doctoraddress insert");
./fo/Register.php:315: $message = $exc->getMessage();
./fo/Register.php:316: $this->sys_error($message);
./fo/Register.php:323: if (! $this->isLogin) {
./fo/Register.php:324: $this->sys_error("Invalid Token");
./fo/Register.php:329: $prm = $this->sys_input;
./fo/Register.php:345: $query = $this->db->query($sql,$sql_param);
./fo/Register.php:347: $tot_count = $query->result_array()[0]["tot"];
./fo/Register.php:349: $this->sys_error_db("m_doctor count");
./fo/Register.php:357: $start_limit = ($page - 1) * $row_per_page;
./fo/Register.php:368: $query = $this->db->query($sql,$sql_param);
./fo/Register.php:370: $rows = $query->result_array();
./fo/Register.php:372: $this->sys_error_db("m_doctor rows");
./fo/Register.php:377: $this->sys_ok($result);
./fo/Register.php:380: $message = $exc->getMessage();
./fo/Register.php:381: $this->sys_error($message);
./fo/Register.php:388: if (! $this->isLogin) {
./fo/Register.php:389: $this->sys_error("Invalid Token");
./fo/Register.php:394: $prm = $this->sys_input;
./fo/Register.php:410: $query = $this->db->query($sql,$sql_param);
./fo/Register.php:412: $tot_count = $query->result_array()[0]["tot"];
./fo/Register.php:414: $this->sys_error_db("m_doctor count");
./fo/Register.php:422: $start_limit = ($page - 1) * $row_per_page;
./fo/Register.php:433: $query = $this->db->query($sql,$sql_param);
./fo/Register.php:435: $rows = $query->result_array();
./fo/Register.php:437: $this->sys_error_db("m_doctor rows");
./fo/Register.php:442: $this->sys_ok($result);
./fo/Register.php:445: $message = $exc->getMessage();
./fo/Register.php:446: $this->sys_error($message);
./fo/Register_old.php:4:- Functions
./fo/Register_old.php:5: - login x
./fo/Register_old.php:6: - logout
./fo/Register_old.php:7: - search_patient x
./fo/Register_old.php:8: - search_doctor x
./fo/Register_old.php:9: - search_px x
./fo/Register_old.php:10: - last_px x
./fo/Register_old.php:11: - search_patient_type x
./fo/Register_old.php:12: - search_delivery_type x
./fo/Register_old.php:13: - do_register
./fo/Register_old.php:14: - get_barcode
./fo/Register_old.php:15: - update_barcode
./fo/Register_old.php:18: $this->sys_debug();
./fo/Register_old.php:20: if (! $this->isLogin) {
./fo/Register_old.php:21: $this->sys_error("Invalid Token");
./fo/Register_old.php:24: $prm = $this->sys_input;
./fo/Register_old.php:27: $message = $exc->getMessage();
./fo/Register_old.php:28: $this->sys_error($message);
./fo/Register_old.php:36: echo "isLogin : {$this->isLogin} \n";
./fo/Register_old.php:37: print_r($this->sys_input);
./fo/Register_old.php:38: print_r($this->sys_user);
./fo/Register_old.php:41: $this->sys_debug();
./fo/Register_old.php:43: if (! $this->isLogin) {
./fo/Register_old.php:44: $this->sys_error("Invalid Token");
./fo/Register_old.php:47: $prm = $this->sys_input;
./fo/Register_old.php:57: $query = $this->db->query($sql,array($patientID));
./fo/Register_old.php:59: $rows = $query->result_array();
./fo/Register_old.php:62: $this->sys_error_db("find last order");
./fo/Register_old.php:73: $query = $this->db->query($sql,array($orderHeaderID));
./fo/Register_old.php:75: $rows = $query->result_array();
./fo/Register_old.php:77: $this->sys_error_db("find last test");
./fo/Register_old.php:82: $this->sys_ok($result);
./fo/Register_old.php:84: $message = $exc->getMessage();
./fo/Register_old.php:85: $this->sys_error($message);
./fo/Register_old.php:89: $this->sys_debug();
./fo/Register_old.php:91: if (! $this->isLogin) {
./fo/Register_old.php:92: $this->sys_error("Invalid Token");
./fo/Register_old.php:95: $prm = $this->sys_input;
./fo/Register_old.php:104: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:106: $tot_count = $query->result_array()[0]["tot"];
./fo/Register_old.php:108: $this->sys_error_db("delivery type count");
./fo/Register_old.php:117: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:119: $rows = $query->result_array();
./fo/Register_old.php:121: $this->sys_error_db("delivery type count");
./fo/Register_old.php:126: $this->sys_ok($result);
./fo/Register_old.php:129: $message = $exc->getMessage();
./fo/Register_old.php:130: $this->sys_error($message);
./fo/Register_old.php:134: $this->sys_debug();
./fo/Register_old.php:136: if (! $this->isLogin) {
./fo/Register_old.php:137: $this->sys_error("Invalid Token");
./fo/Register_old.php:140: $prm = $this->sys_input;
./fo/Register_old.php:149: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:151: $tot_count = $query->result_array()[0]["tot"];
./fo/Register_old.php:153: $this->sys_error_db("test/panel count");
./fo/Register_old.php:162: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:164: $rows = $query->result_array();
./fo/Register_old.php:166: $this->sys_error_db("test/panel count");
./fo/Register_old.php:171: $this->sys_ok($result);
./fo/Register_old.php:174: $message = $exc->getMessage();
./fo/Register_old.php:175: $this->sys_error($message);
./fo/Register_old.php:179: $this->sys_debug();
./fo/Register_old.php:181: if (! $this->isLogin) {
./fo/Register_old.php:182: $this->sys_error("Invalid Token");
./fo/Register_old.php:185: $prm = $this->sys_input;
./fo/Register_old.php:207: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:209: $tot_count = $query->result_array()[0]["tot"];
./fo/Register_old.php:211: $this->sys_error_db("test/panel count");
./fo/Register_old.php:236: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:238: $rows = $query->result_array();
./fo/Register_old.php:244: $this->sys_error_db("test/panel data");
./fo/Register_old.php:249: $this->sys_ok($result);
./fo/Register_old.php:252: $message = $exc->getMessage();
./fo/Register_old.php:253: $this->sys_error($message);
./fo/Register_old.php:258: $this->sys_debug();
./fo/Register_old.php:260: if (! $this->isLogin) {
./fo/Register_old.php:261: $this->sys_error("Invalid Token");
./fo/Register_old.php:264: $prm = $this->sys_input;
./fo/Register_old.php:294: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:296: $tot_count = $query->result_array()[0]["tot"];
./fo/Register_old.php:298: $this->sys_error_db("search_doctor count");
./fo/Register_old.php:304: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:306: $rows = $query->result_array();
./fo/Register_old.php:308: $this->sys_error_db("search_doctor data");
./fo/Register_old.php:313: $this->sys_ok($result);
./fo/Register_old.php:315: $message = $exc->getMessage();
./fo/Register_old.php:316: $this->sys_error($message);
./fo/Register_old.php:320: // $this->sys_debug();
./fo/Register_old.php:322: $prm = $this->sys_input;
./fo/Register_old.php:323: if (! $this->isLogin) {
./fo/Register_old.php:324: $this->sys_error("Invalid Token");
./fo/Register_old.php:358: $dob = "$year-" . substr($inp,2,2) . "-" . substr($inp,0,2);
./fo/Register_old.php:369: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:372: $tot_count = $query->result_array()[0]["tot"];
./fo/Register_old.php:374: $this->sys_error_db("search patient count");
./fo/Register_old.php:380: $query = $this->db->query($sql,$sql_param);
./fo/Register_old.php:382: $rows = $query->result_array();
./fo/Register_old.php:384: $this->sys_error_db("search patient data");
./fo/Register_old.php:389: $this->sys_ok($result);
./fo/Register_old.php:391: $message = $exc->getMessage();
./fo/Register_old.php:392: $this->sys_error($message);
./fo/Register_old.php:396: $prm = $this->sys_input;
./fo/Register_old.php:399: $sm_password = md5($this->smartlab_salt . $prm["userPassword"] .
./fo/Register_old.php:400: $this->smartlab_salt);
./fo/Register_old.php:401: $query = $this->db->query("select M_UserID,M_UserUserName
./fo/Register_old.php:407: $message = $this->db->error();
./fo/Register_old.php:408: $this->sys_error($message);
./fo/Register_old.php:411: $rows = $query->result_array();
./fo/Register_old.php:414: $token = JWT::encode($user,$this->SECRET_KEY);
./fo/Register_old.php:419: $this->sys_ok($data);
./fo/Register_old.php:422: $this->sys_error_db("Invalid UserName / Password");
./fo/Register_old.php:424: $message = $exc->getMessage();
./fo/Register_old.php:425: $this->sys_error($message);
./fo/Register_old.php:429: $this->sys_error("ok");