• Tidak ada hasil yang ditemukan

DAFTAR PUSTAKA. Cara Membuat Visa, diakses pada tanggal 15 maret 2017.

N/A
N/A
Protected

Academic year: 2021

Membagikan "DAFTAR PUSTAKA. Cara Membuat Visa, diakses pada tanggal 15 maret 2017."

Copied!
49
0
0

Teks penuh

(1)

DAFTAR PUSTAKA

Arifin, Ridwan. 2014. Jenis-Jenis Visa Indonesia.

https://ridwanbahasa.com/2014/09/13/jenis-visa-indonesia-types-of-indonesian-visa/amp/.

Bruegge, Bernd and Allen H. Dutoit. 2010. Object-Oriented Software Engineering Using

UML, Patterns, and Java™ 3th ed. New Jersey: Pearson Education.

Cara Membuat Visa, http://www.caramembuatvisa.com/apa-itu-visa/, diakses pada tanggal 15 maret 2017.

Hakim, Lukmanul. 2010. Bikin Website Super Keren Dengan PHP dan jQuery. Yogyakarta : LOKOMEDIA.

Indrajani. 2011. Perancangan Basis Data Dalam Allin1. Jakarta: Elex Media Komputindo. Kadir, Abdul. 2013. Pemrograman Database MySQL untuk pemula.Yogyakarta: MediaKom. Kustiyahningsih, Yeni. 2011.Pemograman Basis Data Berbasis Web Menggunakan PHP &

MySQL.Yogyakarta: Graha Ilmu.

Madcoms.2009. Aplikasi Program PHP + MySQL untuk membuat website interaktif. Yogyakarta: Andi.

Masya, Fajar. 2010. Oracle : Panduan PL/SQL oracle. Yogyakarta: Graha Ilmu.

Otto, Mark, and Jacob Thornton. Learn about the project’s history, meet the maintaining

teams, and find out how to use the Bootsrap brand. http://getbootstrap.com/about, diakses pada tanggal 25 Mei 2017.

Pressman, R.S. 2010. Software Engineering : a practitioner’s approach 7th ed. New York: McGraw-Hill.

Satzinger, J. W., et al. 2010. Systems Analysis and Design in a Changing World. Boston: Course Technology.

(2)

Sommerville, Ian. 2011. Software Engineering 9th ed. Boston, Massachusetts: Pearson Education.

Tectale. An Introduction to Twitters Bootstrap. http://www.tectale.com/an-introduction-to-twitters-bootstrap/, diakses pada tanggal 25 Mei 2017.

Yuliawan, Widhi. 2013. Perbedaan Duta, Duta Besar, Kedutaan besar, Konsul, Jendral Konsul, Komisaris Tinggi dan Atase.

(3)
(4)

Source Code Protocol Counselor.php <?php

defined('BASEPATH') OR exit('No direct script access allowed'); //test

class Protocol Counselor extends CI_Controller { function __construct() { parent::__construct(); if (!isLogin()) redirect('Login', 'refresh'); if($this->session->Aplicantdata('RoleId') != 2) redirect('Login', 'Refresh'); $this->load->model('M_Helpers'); $this->load->model('M_Protocol Counselor'); }

public function Index() { $data = array(

'content' => '_view/v_Protocol Counselordashboard', 'title' => 'Dashboard', 'ddRefAgama' => $this->M_Helpers->GetRefAgamaAsDropDown(), 'ddRefArea' => $this->M_Helpers->GetRefAreaAsDropDown(), 'ddRefGender' => $this->M_Helpers->GetRefGenderAsDropDown(), 'ddRefKota' => $this->M_Helpers->GetRefKotaAsDropDown(), 'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), 'ddRefProfesi' => $this->M_Helpers->GetRefProfesiAsDropDown(), 'ddRefProvinsi' => $this->M_Helpers->GetRefProvinsiAsDropDown(), 'ddRefStatus' => $this->M_Helpers->GetRefStatusAsDropDown(), 'ddRefTipePassport' => $this->M_Helpers->GetRefTipePassportAsDropDown(), 'ddRefTipeTiket' => $this->M_Helpers->GetRefTipeTiketAsDropDown(),

(5)

'ddRefTipeVisa' => $this->M_Helpers->GetRefTipeVisaAsDropDown(), );

$this->template->load('template/tplProtocol Counselor', $data['content'], $data); }

public function Details() {

$id = $this->input->get('id');

$query = $this->M_Protocol Counselor->GetPengajuanById($id);

$queryUpdateProgres = $this->M_Protocol Counselor->SetStatusPengajuan($query->PengajuanId, 0, $query->TipeVisa);

$data = array(

'content' => '_view/v_detailpengajuanProtocol Counselor', 'title' => 'Detail Pengajuan',

'ddRefAgama' => $this->M_Helpers->GetRefAgamaAsDropDown(), 'ddRefArea' => $this->M_Helpers->GetRefAreaAsDropDown(), 'ddRefGender' => $this->M_Helpers->GetRefGenderAsDropDown(), 'ddRefKota' => $this->M_Helpers->GetRefKotaAsDropDown(), 'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), 'ddRefProfesi' => $this->M_Helpers->GetRefProfesiAsDropDown(), 'ddRefProvinsi' => $this->M_Helpers->GetRefProvinsiAsDropDown(), 'ddRefStatus' => $this->M_Helpers->GetRefStatusAsDropDown(), 'ddRefTipePassport' => $this->M_Helpers->GetRefTipePassportAsDropDown(), 'ddRefTipeTiket' => $this->M_Helpers->GetRefTipeTiketAsDropDown(), 'ddRefTipeVisa' => $this->M_Helpers->GetRefTipeVisaAsDropDown(), 'data' => array( 'PengajuanId' => $query->PengajuanId , 'KodePengajuan' => $query->KodePengajuan , 'AplicantId' => $query->AplicantId , 'DocumentTypeId' => $query->DocumentTypeId

(6)

, 'DocumentStatusId' => $query->DocumentStatusId , 'NegaraTujuan' => $query->NegaraTujuan , 'LamaTinggal' => $query->LamaTinggal , 'TipeVisa' => $query->TipeVisa , 'AlamatTujuan' => $query->AlamatTujuan , 'KotaTujuan' => $query->KotaTujuan , 'NomorTelfon' => $query->NomorTelfon , 'NamaPenerbangan' => $query->NamaPenerbangan , 'NomorPesawat' => $query->NomorPesawat , 'TipeTiket' => $query->TipeTiket , 'TanggalTiketTerbit' => $query->TanggalTiketTerbit , 'TempatTiketTerbit' => $query->TempatTiketTerbit , 'TipeTiket' => $query->TipeTiket , 'TanggalTiketBerakhir' => $query->TanggalTiketBerakhir , 'BandaraKedatangan' => $query->BandaraKedatangan , 'TanggalKedatangan' => $query->TanggalKedatangan , 'BandaraKepulangan' => $query->BandaraKepulangan , 'TanggalKepulangan' => $query->TanggalKepulangan , 'NamaLengkap' => $query->NamaLengkap , 'JenisKelamin' => $query->JenisKelamin , 'NamaAlias' => $query->NamaAlias , 'StatusPerkawinan' => $query->StatusPerkawinan , 'TempatLahir' => $query->TempatLahir , 'TanggalLahir' => $query->TanggalLahir , 'Kewarganegaraan' => $query->Kewarganegaraan , 'AlamatPribadi' => $query->AlamatPribadi , 'ProvinsiPribadi' => $query->ProvinsiPribadi , 'KotaPribadi' => $query->KotaPribadi , 'KodePosPribadi' => $query->KodePosPribadi , 'NomorTelfonPribadi' => $query->NomorTelfonPribadi , 'Email' => $query->Email , 'Ponsel' => $query->Ponsel , 'Profesi' => $query->Profesi

(7)

, 'Jabatan' => $query->Jabatan , 'NamaInstansi' => $query->NamaInstansi , 'AlamatInstansi' => $query->AlamatInstansi , 'ProvinsiInstansi' => $query->ProvinsiInstansi , 'KotaInstansi' => $query->KotaInstansi , 'KodePosInstansi' => $query->KodePosInstansi , 'NegaraInstansi' => $query->NegaraInstansi , 'NomorTelfonInstansi' => $query->NomorTelfonInstansi , 'FaxInstansi' => $query->FaxInstansi , 'EmailInstansi' => $query->EmailInstansi , 'TipePassport' => $query->TipePassport , 'NomorPassport' => $query->NomorPassport , 'TanggalPassportTerbit' => $query->TanggalPassportTerbit , 'TanggalPassportBerakhir' => $query->TanggalPassportBerakhir , 'TempatPassportTerbit' => $query->TempatPassportTerbit , 'AddDate' => $query->AddDate , 'AddBy' => $query->AddBy ) );

$this->template->load('template/tplProtocol Counselor', $data['content'], $data); }

public function ListPengajuanProtocol Counselor() { $data = array(

'content' => '_view/v_listpengajuanProtocol Counselor', 'title' => 'List Pengajuan',

'data' => array(

'url' => site_url('Protocol Counselor/ListPengajuanProtocol CounselorDataTables')

), );

$this->template->load('template/tplProtocol Counselor', $data['content'], $data); }

(8)

public function ListPengajuanProtocol CounselorDataTables() { $query = $this->M_Protocol Counselor->GetAllPengajuan(); if ($query != false) {

$iTotalRecords = $this->db->count_all('Pengajuan'); foreach ($query->result() as $aRow) {

$row = array(); $row[] = $aRow->KodeVisa; $row[] = $aRow->TipeVisa; $row[] = $aRow->Nama; $row[] = $aRow->Tujuan; $row[] = $aRow->LamaTinggal; $row[] = $aRow->Status; $row[] = $aRow->PengajuanId; $json['status'] = 1; $json['sEcho'] = 0; $json['iTotalRecords'] = $iTotalRecords; $json['iTotalDisplayRecords'] = $iTotalRecords; $json['aaData'][] = $row; } } else { $json['sEcho'] = 0; $json['iTotalRecords'] = 0; $json['iTotalDisplayRecords'] = 0; $json['status'] = 0; $json['aaData'] = array(); } echo json_encode($json); }

public function ChangeStatus() {

(9)

$pengajuanId = $this->input->post('PengajuanId'); $status = $this->input->post('Status');

$tipeVisa = $this->input->post('TipeVisa');

$query = $this->M_Protocol Counselor->SetStatusPengajuan($pengajuanId, $status, $tipeVisa);

echo json_encode($query); }

}

Source Code Login.php <?php

defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller {

function __construct() { parent::__construct(); $this->load->library('session'); $this->load->model('M_Login'); $this->load->model('M_Helpers'); }

public function Index() {

$this->session->sess_destroy(); $data = array(

'content' => '_view/v_login', 'title' => 'Login'

(10)

);

$this->template->load('template_login/tpl_login', $data['content'], $data); }

public function Validate() {

$email = $this->input->post('Email');

$password = $this->input->post('Password');

$return = $this->M_Login->CheckLogin($email, $password); if($return != false )

{

$json['status'] = 1;

$json['RoleId'] = $return->RoleId;

$json['message'] = $return->NamaDepan . " " . $return->NamaBelakang; $data = array( 'is_login' => true , 'AplicantId' => $return->AplicantId , 'RoleId' => $return->RoleId , 'Email' => $return->Email , 'Password' => $return->Password , 'NamaDepan' => $return->NamaDepan , 'NamaBelakang' => $return->NamaBelakang ); $this->session->set_Aplicantdata($data); } else { $json['status'] = 0; $json['message'] = $email; } echo json_encode($json);

(11)

}

Source Code Menu.php <?php

defined('BASEPATH') OR exit('No direct script access allowed'); //test

class Menu extends CI_Controller { function __construct()

{

parent::__construct();

$this->load->model('M_Helpers'); }

public function Index() { $data = array( 'content' => '_view/v_home', 'title' => 'Home' );

$this->template->load('template/tplmenu', $data['content'], $data); }

public function Contact(){ $data = array(

'content' => '_view/v_contact', 'title' => 'Contact'

(12)

$this->template->load('template/tplmenu', $data['content'], $data); }

public function About(){ $data = array(

'content' => '_view/v_about', 'title' => 'About'

);

$this->template->load('template/tplmenu', $data['content'], $data); }

public function SignUp() {

$data = array(

'content' => '_view/v_signup', 'title' => 'Sign Up',

'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), );

$this->template->load('template_login/tpl_login', $data['content'], $data); }

public function Testing() { $data = array( 'content' => '_view/v_testing', 'title' => 'testing', 'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), );

$this->template->load('template/tplmenu', $data['content'], $data); }

(13)

}

Source Code Pengajuan.php <?php

defined('BASEPATH') OR exit('No direct script access allowed'); //test

class Pengajuan extends CI_Controller { function __construct() { parent::__construct(); if (!isLogin()) redirect('Login', 'refresh'); if ($this->session->Aplicantdata('RoleId') != 1) redirect('Login', 'Refresh'); $this->load->model('M_Helpers'); $this->load->model('M_Pengajuan'); }

public function Index() { $data = array( 'content' => '_view/v_pengajuan', 'title' => 'Pengajuan', 'ddRefAgama' => $this->M_Helpers->GetRefAgamaAsDropDown(), 'ddRefArea' => $this->M_Helpers->GetRefAreaAsDropDown(), 'ddRefGender' => $this->M_Helpers->GetRefGenderAsDropDown(), 'ddRefKota' => $this->M_Helpers->GetRefKotaAsDropDown(), 'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), 'ddRefProfesi' => $this->M_Helpers->GetRefProfesiAsDropDown(), 'ddRefProvinsi' => $this->M_Helpers->GetRefProvinsiAsDropDown(),

(14)

'ddRefStatus' => $this->M_Helpers->GetRefStatusAsDropDown(),

'ddRefTipePassport' => $this->M_Helpers->GetRefTipePassportAsDropDown(), 'ddRefTipeTiket' => $this->M_Helpers->GetRefTipeTiketAsDropDown(), 'ddRefTipeVisa' => $this->M_Helpers->GetRefTipeVisaAsDropDown(), );

$this->template->load('template/tpl', $data['content'], $data); }

public function ListPengajuan() { $data = array(

'content' => '_view/v_listpengajuan', 'title' => 'List Pengajuan',

'data' => array(

'url' => site_url('Pengajuan/ListPengajuanDataTables') ),

);

$this->template->load('template/tpl', $data['content'], $data); }

public function ListPengajuanDataTables() {

$AplicantId = $this->session->Aplicantdata('AplicantId'); $query = $this->M_Pengajuan->GetAllPengajuan($AplicantId); if ($query != false) {

$iTotalRecords = $this->db->count_all('Pengajuan'); foreach ($query->result() as $aRow) {

$row = array(); $row[] = $aRow->KodeVisa; $row[] = $aRow->TipeVisa; $row[] = $aRow->Nama; $row[] = $aRow->Tujuan; $row[] = $aRow->LamaTinggal; $row[] = $aRow->Status;

(15)

$row[] = $aRow->PengajuanId; $json['status'] = 1; $json['sEcho'] = 0; $json['iTotalRecords'] = $iTotalRecords; $json['iTotalDisplayRecords'] = $iTotalRecords; $json['aaData'][] = $row; } } else { $json['sEcho'] = 0; $json['iTotalRecords'] = 0; $json['iTotalDisplayRecords'] = 0; $json['status'] = 0; $json['aaData'] = array(); } echo json_encode($json); }

public function Details() { $id = $this->input->get('id');

$query = $this->M_Pengajuan->GetPengajuanById($id); $data = array(

'content' => '_view/v_detailpengajuan', 'title' => 'Detail Pengajuan',

'ddRefAgama' => $this->M_Helpers->GetRefAgamaAsDropDown(), 'ddRefArea' => $this->M_Helpers->GetRefAreaAsDropDown(), 'ddRefGender' => $this->M_Helpers->GetRefGenderAsDropDown(), 'ddRefKota' => $this->M_Helpers->GetRefKotaAsDropDown(), 'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), 'ddRefProfesi' => $this->M_Helpers->GetRefProfesiAsDropDown(), 'ddRefProvinsi' => $this->M_Helpers->GetRefProvinsiAsDropDown(),

(16)

'ddRefStatus' => $this->M_Helpers->GetRefStatusAsDropDown(), 'ddRefTipePassport' => $this->M_Helpers->GetRefTipePassportAsDropDown(), 'ddRefTipeTiket' => $this->M_Helpers->GetRefTipeTiketAsDropDown(), 'ddRefTipeVisa' => $this->M_Helpers->GetRefTipeVisaAsDropDown(), 'data' => array( 'PengajuanId' => $query->PengajuanId , 'KodePengajuan' => $query->KodePengajuan , 'AplicantId' => $query->AplicantId , 'DocumentTypeId' => $query->DocumentTypeId , 'DocumentStatusId' => $query->DocumentStatusId , 'NegaraTujuan' => $query->NegaraTujuan , 'LamaTinggal' => $query->LamaTinggal , 'TipeVisa' => $query->TipeVisa , 'AlamatTujuan' => $query->AlamatTujuan , 'KotaTujuan' => $query->KotaTujuan , 'NomorTelfon' => $query->NomorTelfon , 'NamaPenerbangan' => $query->NamaPenerbangan , 'NomorPesawat' => $query->NomorPesawat , 'TipeTiket' => $query->TipeTiket , 'TanggalTiketTerbit' => $query->TanggalTiketTerbit , 'TempatTiketTerbit' => $query->TempatTiketTerbit , 'TipeTiket' => $query->TipeTiket , 'TanggalTiketBerakhir' => $query->TanggalTiketBerakhir , 'BandaraKedatangan' => $query->BandaraKedatangan , 'TanggalKedatangan' => $query->TanggalKedatangan , 'BandaraKepulangan' => $query->BandaraKepulangan , 'TanggalKepulangan' => $query->TanggalKepulangan , 'NamaLengkap' => $query->NamaLengkap , 'JenisKelamin' => $query->JenisKelamin , 'NamaAlias' => $query->NamaAlias , 'StatusPerkawinan' => $query->StatusPerkawinan , 'TempatLahir' => $query->TempatLahir , 'TanggalLahir' => $query->TanggalLahir

(17)

, 'Kewarganegaraan' => $query->Kewarganegaraan , 'AlamatPribadi' => $query->AlamatPribadi , 'ProvinsiPribadi' => $query->ProvinsiPribadi , 'KotaPribadi' => $query->KotaPribadi , 'KodePosPribadi' => $query->KodePosPribadi , 'NomorTelfonPribadi' => $query->NomorTelfonPribadi , 'Email' => $query->Email , 'Ponsel' => $query->Ponsel , 'Profesi' => $query->Profesi , 'Jabatan' => $query->Jabatan , 'NamaInstansi' => $query->NamaInstansi , 'AlamatInstansi' => $query->AlamatInstansi , 'ProvinsiInstansi' => $query->ProvinsiInstansi , 'KotaInstansi' => $query->KotaInstansi , 'KodePosInstansi' => $query->KodePosInstansi , 'NegaraInstansi' => $query->NegaraInstansi , 'NomorTelfonInstansi' => $query->NomorTelfonInstansi , 'FaxInstansi' => $query->FaxInstansi , 'EmailInstansi' => $query->EmailInstansi , 'TipePassport' => $query->TipePassport , 'NomorPassport' => $query->NomorPassport , 'TanggalPassportTerbit' => $query->TanggalPassportTerbit , 'TanggalPassportBerakhir' => $query->TanggalPassportBerakhir , 'TempatPassportTerbit' => $query->TempatPassportTerbit , 'AddDate' => $query->AddDate , 'AddBy' => $query->AddBy ) );

$this->template->load('template/tpl', $data['content'], $data); }

public function Edit() {

(18)

$query = $this->M_Pengajuan->GetPengajuanById($id); $data = array(

'content' => '_view/v_editpengajuan', 'title' => 'Edit Pengajuan',

'ddRefAgama' => $this->M_Helpers->GetRefAgamaAsDropDown(), 'ddRefArea' => $this->M_Helpers->GetRefAreaAsDropDown(), 'ddRefGender' => $this->M_Helpers->GetRefGenderAsDropDown(), 'ddRefKota' => $this->M_Helpers->GetRefKotaAsDropDown(), 'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown(), 'ddRefProfesi' => $this->M_Helpers->GetRefProfesiAsDropDown(), 'ddRefProvinsi' => $this->M_Helpers->GetRefProvinsiAsDropDown(), 'ddRefStatus' => $this->M_Helpers->GetRefStatusAsDropDown(), 'ddRefTipePassport' => $this->M_Helpers->GetRefTipePassportAsDropDown(), 'ddRefTipeTiket' => $this->M_Helpers->GetRefTipeTiketAsDropDown(), 'ddRefTipeVisa' => $this->M_Helpers->GetRefTipeVisaAsDropDown(), 'data' => array( 'PengajuanId' => $query->PengajuanId , 'KodePengajuan' => $query->KodePengajuan , 'AplicantId' => $query->AplicantId , 'DocumentTypeId' => $query->DocumentTypeId , 'DocumentStatusId' => $query->DocumentStatusId , 'NegaraTujuan' => $query->NegaraTujuan , 'LamaTinggal' => $query->LamaTinggal , 'TipeVisa' => $query->TipeVisa , 'AlamatTujuan' => $query->AlamatTujuan , 'KotaTujuan' => $query->KotaTujuan , 'NomorTelfon' => $query->NomorTelfon , 'NamaPenerbangan' => $query->NamaPenerbangan , 'NomorPesawat' => $query->NomorPesawat , 'TipeTiket' => $query->TipeTiket , 'TanggalTiketTerbit' => $query->TanggalTiketTerbit

(19)

, 'TempatTiketTerbit' => $query->TempatTiketTerbit , 'TipeTiket' => $query->TipeTiket , 'TanggalTiketBerakhir' => $query->TanggalTiketBerakhir , 'BandaraKedatangan' => $query->BandaraKedatangan , 'TanggalKedatangan' => $query->TanggalKedatangan , 'BandaraKepulangan' => $query->BandaraKepulangan , 'TanggalKepulangan' => $query->TanggalKepulangan , 'NamaLengkap' => $query->NamaLengkap , 'JenisKelamin' => $query->JenisKelamin , 'NamaAlias' => $query->NamaAlias , 'StatusPerkawinan' => $query->StatusPerkawinan , 'TempatLahir' => $query->TempatLahir , 'TanggalLahir' => $query->TanggalLahir , 'Kewarganegaraan' => $query->Kewarganegaraan , 'AlamatPribadi' => $query->AlamatPribadi , 'ProvinsiPribadi' => $query->ProvinsiPribadi , 'KotaPribadi' => $query->KotaPribadi , 'KodePosPribadi' => $query->KodePosPribadi , 'NomorTelfonPribadi' => $query->NomorTelfonPribadi , 'Email' => $query->Email , 'Ponsel' => $query->Ponsel , 'Profesi' => $query->Profesi , 'Jabatan' => $query->Jabatan , 'NamaInstansi' => $query->NamaInstansi , 'AlamatInstansi' => $query->AlamatInstansi , 'ProvinsiInstansi' => $query->ProvinsiInstansi , 'KotaInstansi' => $query->KotaInstansi , 'KodePosInstansi' => $query->KodePosInstansi , 'NegaraInstansi' => $query->NegaraInstansi , 'NomorTelfonInstansi' => $query->NomorTelfonInstansi , 'FaxInstansi' => $query->FaxInstansi , 'EmailInstansi' => $query->EmailInstansi , 'TipePassport' => $query->TipePassport

(20)

, 'NomorPassport' => $query->NomorPassport , 'TanggalPassportTerbit' => $query->TanggalPassportTerbit , 'TanggalPassportBerakhir' => $query->TanggalPassportBerakhir , 'TempatPassportTerbit' => $query->TempatPassportTerbit , 'AddDate' => $query->AddDate , 'AddBy' => $query->AddBy ) );

$this->template->load('template/tpl', $data['content'], $data); }

public function Save() {

$AplicantId = $this->session->Aplicantdata('AplicantId'); $negaraTujuan = $this->input->post('NegaraTujuan'); $lamaTinggal = $this->input->post('LamaTinggal'); $tipeVisa = $this->input->post('TipeVisa');

//Document Status and Type And Code

$kodePengajuan = $this->M_Helpers->GetVisaCode($tipeVisa); $documentTypeId = $tipeVisa; if ($documentTypeId == 1) { $documentStatusId = 1; } else if ($documentTypeId == 2) { $documentStatusId = 5; } else if ($documentTypeId == 3) { $documentStatusId = 9; } else if ($documentTypeId == 4) { $documentStatusId = 13; } ////////////////////////////////////////////////////// $alamatTujuan = $this->input->post('AlamatTujuan'); $kotaTujuan = $this->input->post('KotaTujuan'); $nomorTelfon = $this->input->post('NomorTelfon');

(21)

$namaPenerbangan = $this->input->post('NamaPenerbangan'); $nomorPesawat = $this->input->post('NomorPesawat'); $tipeTiket = $this->input->post('TipeTiket'); $tempatTiketTerbit = $this->input->post('TempatTiketTerbit'); $bandaraKedatangan = $this->input->post('BandaraKedatangan'); $bandaraKepulangan = $this->input->post('BandaraKepulangan'); $namaLengkap = $this->input->post('NamaLengkap'); $jenisKelamin = $this->input->post('JenisKelamin'); $namaAlias = $this->input->post('NamaAlias'); $statusPerkawinan = $this->input->post('StatusPerkawinan'); $tempatLahir = $this->input->post('TempatLahir'); $kewarganegaraan = $this->input->post('Kewarganegaraan'); $alamatPribadi = $this->input->post('AlamatPribadi'); $provinsiPribadi = $this->input->post('ProvinsiPribadi'); $kotaPribadi = $this->input->post('KotaPribadi'); $kodePosPribadi = $this->input->post('KodePosPribadi'); $nomorTelfonPribadi = $this->input->post('NomorTelfonPribadi'); $email = $this->input->post('Email'); $ponsel = $this->input->post('Ponsel'); $profesi = $this->input->post('Profesi'); $jabatan = $this->input->post('Jabatan'); $namaInstansi = $this->input->post('NamaInstansi'); $alamatInstansi = $this->input->post('AlamatInstansi'); $provinsiInstansi = $this->input->post('ProvinsiInstansi'); $kotaInstansi = $this->input->post('KotaInstansi'); $kodePosInstansi = $this->input->post('KodePosInstansi'); $negaraInstansi = $this->input->post('NegaraInstansi'); $nomorTelfonInstansi = $this->input->post('NomorTelfonInstansi'); $faxInstansi = $this->input->post('FaxInstansi'); $emailInstansi = $this->input->post('EmailInstansi');

(22)

$tipePassport = $this->input->post('TipePassport'); $nomorPassport = $this->input->post('NomorPassport');

$tempatPassportTerbit = $this->input->post('TempatPassportTerbit'); //Tanggal///////////////////////////////////////////////////////////////////////////////////////// $tanggalTiketTerbit = date('Y-m-d',

strtotime($this->input->post('TanggalTiketTerbit')));

$tanggalTiketBerakhir = date('Y-m-d', strtotime($this->input->post('TanggalTiketBerakhir')));

$tanggalKedatangan = date('Y-m-d', strtotime($this->input->post('TanggalKedatangan')));

$tanggalKepulangan = date('Y-m-d', strtotime($this->input->post('TanggalKepulangan')));

$tanggalLahir = date('Y-m-d', strtotime($this->input->post('TanggalLahir'))); $tanggalPassportTerbit = date('Y-m-d',

strtotime($this->input->post('TanggalPassportTerbit')));

$tanggalPassportBerakhir = date('Y-m-d', strtotime($this->input->post('TanggalPassportBerakhir')));

////////////////////////////////////////////////////////////////////////////////////////////////// $AddDate = date('Y-m-d h:i:s');

$AddBy = "SuperProtocol Counselor"; $data = array( 'KodePengajuan' => $kodePengajuan , 'AplicantId' => $AplicantId , 'DocumentTypeId' => $documentTypeId , 'DocumentStatusId' => $documentStatusId , 'NegaraTujuan' => $negaraTujuan , 'LamaTinggal' => $lamaTinggal , 'TipeVisa' => $tipeVisa , 'AlamatTujuan' => $alamatTujuan

(23)

, 'KotaTujuan' => $kotaTujuan , 'NomorTelfon' => $nomorTelfon , 'NamaPenerbangan' => $namaPenerbangan , 'NomorPesawat' => $nomorPesawat , 'TipeTiket' => $tipeTiket , 'TanggalTiketTerbit' => $tanggalTiketTerbit , 'TempatTiketTerbit' => $tempatTiketTerbit , 'TanggalTiketBerakhir' => $tanggalTiketBerakhir , 'BandaraKedatangan' => $bandaraKedatangan , 'TanggalKedatangan' => $tanggalKedatangan , 'BandaraKepulangan' => $bandaraKepulangan , 'TanggalKepulangan' => $tanggalKepulangan , 'NamaLengkap' => $namaLengkap , 'JenisKelamin' => $jenisKelamin , 'NamaAlias' => $namaAlias , 'StatusPerkawinan' => $statusPerkawinan , 'TempatLahir' => $tempatLahir , 'TanggalLahir' => $tanggalLahir , 'Kewarganegaraan' => $kewarganegaraan , 'AlamatPribadi' => $alamatPribadi , 'ProvinsiPribadi' => $provinsiPribadi , 'KotaPribadi' => $kotaPribadi , 'KodePosPribadi' => $kodePosPribadi , 'NomorTelfonPribadi' => $nomorTelfonPribadi , 'Email' => $email , 'Ponsel' => $ponsel , 'Profesi' => $profesi , 'Jabatan' => $jabatan , 'NamaInstansi' => $namaInstansi , 'AlamatInstansi' => $alamatInstansi , 'ProvinsiInstansi' => $provinsiInstansi , 'KotaInstansi' => $kotaInstansi , 'KodePosInstansi' => $kodePosInstansi

(24)

, 'NegaraInstansi' => $negaraInstansi , 'NomorTelfonInstansi' => $nomorTelfonInstansi , 'FaxInstansi' => $faxInstansi , 'EmailInstansi' => $emailInstansi , 'TipePassport' => $tipePassport , 'NomorPassport' => $nomorPassport , 'TanggalPassportTerbit' => $tanggalPassportTerbit , 'TanggalPassportBerakhir' => $tanggalPassportBerakhir , 'TempatPassportTerbit' => $tempatPassportTerbit , 'AddDate' => $AddDate , 'AddBy' => $AddBy ); $query = $this->M_Pengajuan->CreatePengajuan($data); echo json_encode($query); }

public function SaveEdit() {

$pengajuanId = $this->input->post('PengajuanId');

$AplicantId = $this->session->Aplicantdata('AplicantId'); $negaraTujuan = $this->input->post('NegaraTujuan'); $lamaTinggal = $this->input->post('LamaTinggal'); $tipeVisa = $this->input->post('TipeVisa');

//Document Status and Type And Code

//$kodePengajuan = $this->M_Helpers->GetVisaCode($tipeVisa); $documentTypeId = $tipeVisa; if ($documentTypeId == 1) { $documentStatusId = 1; } else if ($documentTypeId == 2) { $documentStatusId = 5;

(25)

} else if ($documentTypeId == 3) { $documentStatusId = 9; } else if ($documentTypeId == 4) { $documentStatusId = 13; } ////////////////////////////////////////////////////// $alamatTujuan = $this->input->post('AlamatTujuan'); $kotaTujuan = $this->input->post('KotaTujuan'); $nomorTelfon = $this->input->post('NomorTelfon'); $namaPenerbangan = $this->input->post('NamaPenerbangan'); $nomorPesawat = $this->input->post('NomorPesawat'); $tipeTiket = $this->input->post('TipeTiket'); $tempatTiketTerbit = $this->input->post('TempatTiketTerbit'); $bandaraKedatangan = $this->input->post('BandaraKedatangan'); $bandaraKepulangan = $this->input->post('BandaraKepulangan'); $namaLengkap = $this->input->post('NamaLengkap'); $jenisKelamin = $this->input->post('JenisKelamin'); $namaAlias = $this->input->post('NamaAlias'); $statusPerkawinan = $this->input->post('StatusPerkawinan'); $tempatLahir = $this->input->post('TempatLahir'); $kewarganegaraan = $this->input->post('Kewarganegaraan'); $alamatPribadi = $this->input->post('AlamatPribadi'); $provinsiPribadi = $this->input->post('ProvinsiPribadi'); $kotaPribadi = $this->input->post('KotaPribadi'); $kodePosPribadi = $this->input->post('KodePosPribadi'); $nomorTelfonPribadi = $this->input->post('NomorTelfonPribadi'); $email = $this->input->post('Email'); $ponsel = $this->input->post('Ponsel'); $profesi = $this->input->post('Profesi'); $jabatan = $this->input->post('Jabatan');

(26)

$namaInstansi = $this->input->post('NamaInstansi'); $alamatInstansi = $this->input->post('AlamatInstansi'); $provinsiInstansi = $this->input->post('ProvinsiInstansi'); $kotaInstansi = $this->input->post('KotaInstansi'); $kodePosInstansi = $this->input->post('KodePosInstansi'); $negaraInstansi = $this->input->post('NegaraInstansi'); $nomorTelfonInstansi = $this->input->post('NomorTelfonInstansi'); $faxInstansi = $this->input->post('FaxInstansi'); $emailInstansi = $this->input->post('EmailInstansi'); $tipePassport = $this->input->post('TipePassport'); $nomorPassport = $this->input->post('NomorPassport'); $tempatPassportTerbit = $this->input->post('TempatPassportTerbit'); //Tanggal///////////////////////////////////////////////////////////////////////////////////////// $tanggalTiketTerbit = date('Y-m-d',

strtotime($this->input->post('TanggalTiketTerbit')));

$tanggalTiketBerakhir = date('Y-m-d', strtotime($this->input->post('TanggalTiketBerakhir')));

$tanggalKedatangan = date('Y-m-d', strtotime($this->input->post('TanggalKedatangan')));

$tanggalKepulangan = date('Y-m-d', strtotime($this->input->post('TanggalKepulangan')));

$tanggalLahir = date('Y-m-d', strtotime($this->input->post('TanggalLahir'))); $tanggalPassportTerbit = date('Y-m-d',

strtotime($this->input->post('TanggalPassportTerbit')));

$tanggalPassportBerakhir = date('Y-m-d', strtotime($this->input->post('TanggalPassportBerakhir')));

////////////////////////////////////////////////////////////////////////////////////////////////// $EditDate = date('Y-m-d h:i:s');

(27)

$data = array( 'PengajuanId' => $pengajuanId , 'AplicantId' => $AplicantId , 'DocumentTypeId' => $documentTypeId , 'DocumentStatusId' => $documentStatusId , 'NegaraTujuan' => $negaraTujuan , 'LamaTinggal' => $lamaTinggal , 'TipeVisa' => $tipeVisa , 'AlamatTujuan' => $alamatTujuan , 'KotaTujuan' => $kotaTujuan , 'NomorTelfon' => $nomorTelfon , 'NamaPenerbangan' => $namaPenerbangan , 'NomorPesawat' => $nomorPesawat , 'TipeTiket' => $tipeTiket , 'TanggalTiketTerbit' => $tanggalTiketTerbit , 'TempatTiketTerbit' => $tempatTiketTerbit , 'TanggalTiketBerakhir' => $tanggalTiketBerakhir , 'BandaraKedatangan' => $bandaraKedatangan , 'TanggalKedatangan' => $tanggalKedatangan , 'BandaraKepulangan' => $bandaraKepulangan , 'TanggalKepulangan' => $tanggalKepulangan , 'NamaLengkap' => $namaLengkap , 'JenisKelamin' => $jenisKelamin , 'NamaAlias' => $namaAlias , 'StatusPerkawinan' => $statusPerkawinan , 'TempatLahir' => $tempatLahir , 'TanggalLahir' => $tanggalLahir , 'Kewarganegaraan' => $kewarganegaraan , 'AlamatPribadi' => $alamatPribadi , 'ProvinsiPribadi' => $provinsiPribadi , 'KotaPribadi' => $kotaPribadi , 'KodePosPribadi' => $kodePosPribadi , 'NomorTelfonPribadi' => $nomorTelfonPribadi

(28)

, 'Email' => $email , 'Ponsel' => $ponsel , 'Profesi' => $profesi , 'Jabatan' => $jabatan , 'NamaInstansi' => $namaInstansi , 'AlamatInstansi' => $alamatInstansi , 'ProvinsiInstansi' => $provinsiInstansi , 'KotaInstansi' => $kotaInstansi , 'KodePosInstansi' => $kodePosInstansi , 'NegaraInstansi' => $negaraInstansi , 'NomorTelfonInstansi' => $nomorTelfonInstansi , 'FaxInstansi' => $faxInstansi , 'EmailInstansi' => $emailInstansi , 'TipePassport' => $tipePassport , 'NomorPassport' => $nomorPassport , 'TanggalPassportTerbit' => $tanggalPassportTerbit , 'TanggalPassportBerakhir' => $tanggalPassportBerakhir , 'TempatPassportTerbit' => $tempatPassportTerbit , 'EditDate' => $EditDate , 'EditBy' => $EditBy );

$query = $this->M_Pengajuan->EditPengajuan($pengajuanId, $data); echo json_encode($query);

} }

Source Code SignUp.php <?php

(29)

class SignUp extends CI_Controller { function __construct() { parent::__construct(); $this->load->library('session'); $this->load->model('M_SignUp'); $this->load->model('M_Helpers'); }

public function Index() {

$data = array(

'content' => '_view/v_signup', 'title' => 'Sign Up',

'ddRefNegara' => $this->M_Helpers->GetRefNegaraAsDropDown() );

$this->template->load('template_login/tpl_login', $data['content'], $data); }

public function SaveSignUp() { $email = $this->input->post('Email'); $password = $this->input->post('Password'); $namaDepan = $this->input->post('NamaDepan'); $namaBelakang = $this->input->post('NamaBelakang'); $negaraAsal = $this->input->post('NegaraAsal'); $roleId = 1; $recordStatus = 1;

$addDate = date('Y-m-d h:i:s');

(30)

$data = array( 'Email' => $email ,'Password' => $password ,'NamaDepan' => $namaDepan ,'NamaBelakang' => $namaBelakang ,'NegaraAsal' => $negaraAsal ,'RoleId' => $roleId ,'RecordStatus' => $recordStatus ,'AddDate' => $addDate ,'AddBy' => $addBy ); $return = $this->M_SignUp->Save($data); if($return != 0 ) { $json['status'] = 1; } else { $json['status'] = 0; } echo json_encode($json); } }

(31)
(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48)

EDUCATION

Elementary School : SD Negeri Gadog 2, Bogor Secondary school : SMP Taman Mangga Dua, Bogor Senior high school : Ristek Nusantara (IPS), Jakarta University : Mercu Buana University, Jakarta

Degree : Bachelor

Faculty : Computer Science

Title of Skripsi : Aplikasi Visa Online Kedutaan Besar Timor-Leste

GPA :

SKILL

Language : Indonesian, English Score TOIEC : 595

ORGANIZATION EXPERIENCE -

WORK EXPERIENCE

No. Of Year Position Employer

2008 - 2010 Embroidery machine operators PT Robert Embroidery

2010 - 2011 Waitress PT Aaltje Boga Kulina

2011 - 2014 Bartender, Waitress, Cashier PT Dwi Batara Boga

2014 - 2015 Telemarketing PT James Gwee Center

2015 – Now Administration of Defence Attache Embassy of Timor-Leste

HOBBIES

Theater, Running, Travelling

Place and Date of Birth Sex Nationality Marital Status ID Number Passport Number Email Religion Address

Phone number / Mobile

: Bogor, 23rd June 1990 : Male : Indonesian : Single : 3201316306930004 : A 4698525 : azizahrayazizah@gmail.com : Moeslim : JL. Kemang Utara 1A RT. 005/001 No.03, Bangka-Mampang prapatan, Jakarta selatan Dki Jakarta.

(49)

Referensi

Dokumen terkait

“Menurut soekardono Pengangkutan merupakan keseluruhannya peraturan-peraturan , di dalam dan di luar kodifikasi (KUH Per, KUHD) yang berdasarkan asas dan tujuan

Terima kasih luar biasa untuk Bapa sekaligus sahabat tercinta, Tuhan Yesus Kristus, yang melimpahkan kasih, berkat, dan rancangan terhebat dalam hidup penulis, Bersyukur

Analisis Tingkat Kepuasan Petani Tebu Rakyat Pabrik Gula (PG) Semboro Kabupaten Jember ; Luqmanul Hakim, 081510601078; 2013: Jurusan Sosial Ekonomi Pertanian

[r]

KELOMPOK KERJA PENGADAAN JASA LAINNYA BAGIAN LAYANAN PENGADAAN PEMERINTAH KOTA MANADO Sehubungan dengan tahap evaluasi dan pembuktian kualifikasi dalam proses pengadaan

Permasalahan yang diangkat dalam penulisan skripsi ini adalah tentang pemikiran filosofis yang melatarbelakangi penggunaan Letter of Credit (L/C) , sistem pembayaran

Penelitian ini dilakukan untuk menguji pengaruh variabel inflasi, BI Rate, pertumbuhan pembiayaan dan ukuran bank terhadap pembiayaan bermasalah sektor UKM pada

[r]