public function signInWCardnBday() { $cardNr = addslashes($_POST['card']); $dob = addslashes($_POST['dob']); if (Efiwebsetting::getData('checkOAuth') == 'yes') { IMBAuth::checkOAuth(); } /* * $macc_foto = addslashes($_POST['macc_foto']); $macc_fb_id = addslashes($_POST['macc_fb_id']); * di handle di CustMapper/parseToLLAccount */ if ($cardNr == "" || $dob == "") { $json['status_code'] = 0; $json['status_message'] = "Card or DOB Not Found"; echo json_encode($json); die; } $VRO = VRCustModel::findByCard($cardNr); /* * Tambahan roy 9 Nov 2015 * buat handle kalau token status adalah 4, atau tidak 1, kita minta nomor baru * */ $json = VRCustMapper::kerjakan($VRO, $dob); echo json_encode($json); die; //pr($ll); }