emprit

co

Dec 10th, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.17 KB | None | 0 0
  1. function administrasi_tambah() {
  2.                 if($this->session->userdata('sudah_login_pelamar')){
  3.                                              
  4.                                 if ( isset($file['upload_message'])){
  5.                                         print_r($file);exit;
  6.                                         $array = array( 'content' => $this->load->view('akun_pelamar/gagal','',true) );
  7.                                              $this->load->view('akun_pelamar/menu', $array);
  8.                                 }else{
  9.                                                                    
  10.                                         $reg['query'] = $this->pelamar_model->tambahkelengkapan();
  11.                                        
  12.                                                 if($reg['query']) {
  13.                                                 $array = array( 'content' => $this->load->view('akun_pelamar/sukses','',true) );
  14.                                                 $this->load->view('akun_pelamar/menu', $array);
  15.                                                 }
  16.                                 }
  17.                                
  18.                                 }else {
  19.                         redirect('index/index');
  20.                         }
  21.         }
Advertisement
Add Comment
Please, Sign In to add comment