Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /proc/self/root/var/www/blue-sky.co.id/public_html/application/controllers/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Career extends Public_Controller { public function __construct() { parent::__construct(); } public function submit($t_job) { if (!$_POST) { show_404(); } $data_op = array(); $inp_job_position = $this->input->post('inp_job_position'); $inp_fullname = $this->input->post('inp_fullname'); $inp_place_dob = $this->input->post('inp_place_dob'); $inp_ktp = $this->input->post('inp_ktp'); $inp_npwp = $this->input->post('inp_npwp'); $inp_pos_code = $this->input->post('inp_pos_code'); $inp_home_phone = $this->input->post('inp_home_phone'); $inp_mobile_phone = $this->input->post('inp_mobile_phone'); $inp_emergency_phone = $this->input->post('inp_emergency_phone'); $inp_email = $this->input->post('inp_email'); $inp_name_of_company1 = $this->input->post('inp_name_of_company1'); $inp_line_of_business1 = $this->input->post('inp_line_of_business1'); $inp_division1 = $this->input->post('inp_division1'); $inp_position1 = $this->input->post('inp_position1'); $inp_currently_salary1 = $this->input->post('inp_currently_salary1'); $inp_fromyear1 = $this->input->post('inp_fromyear1'); $inp_toyear1 = $this->input->post('inp_toyear1'); $txtarea_work_address1 = $this->input->post('txtarea_work_address1'); $txtarea_reason1 = $this->input->post('txtarea_reason1'); $inp_name_of_company2 = $this->input->post('inp_name_of_company2'); $inp_line_of_business2 = $this->input->post('inp_line_of_business2'); $inp_division2 = $this->input->post('inp_division2'); $inp_position2 = $this->input->post('inp_position2'); $inp_currently_salary2 = $this->input->post('inp_currently_salary2'); $inp_fromyear2 = $this->input->post('inp_fromyear2'); $inp_toyear2 = $this->input->post('inp_toyear2'); $txtarea_work_address2 = $this->input->post('txtarea_work_address2'); $txtarea_reason2 = $this->input->post('txtarea_reason2'); $inp_name_of_company3 = $this->input->post('inp_name_of_company3'); $inp_line_of_business3 = $this->input->post('inp_line_of_business3'); $inp_division3 = $this->input->post('inp_division3'); $inp_position3 = $this->input->post('inp_position3'); $inp_currently_salary3 = $this->input->post('inp_currently_salary3'); $inp_fromyear3 = $this->input->post('inp_fromyear3'); $inp_toyear3 = $this->input->post('inp_toyear3'); $txtarea_work_address3 = $this->input->post('txtarea_work_address3'); $txtarea_reason3 = $this->input->post('txtarea_reason3'); $inp_able_to_start_work = $this->input->post('inp_able_to_start_work'); $inp_weight = $this->input->post('inp_weight'); $inp_height = $this->input->post('inp_height'); $inp_question1 = $this->input->post('inp_question1'); $inp_question2 = $this->input->post('inp_question2'); $inp_question3 = $this->input->post('inp_question3'); $inp_question4 = $this->input->post('inp_question4'); $inp_question6 = $this->input->post('inp_question6'); $inp_question7 = $this->input->post('inp_question7'); $txtarea_home_address = $this->input->post('txtarea_home_address'); $txtarea_know_about_vacancy = $this->input->post('txtarea_know_about_vacancy'); $txtarea_choose_2jobs = $this->input->post('txtarea_choose_2jobs'); $txtarea_mention_illness = $this->input->post('txtarea_mention_illness'); $txtarea_currently_salary = $this->input->post('txtarea_currently_salary'); $txtarea_hope_salary = $this->input->post('txtarea_hope_salary'); $txtarea_other_assignment = $this->input->post('txtarea_other_assignment'); $cb_gender = $this->input->post('cb_gender'); $cb_blood_type = $this->input->post('cb_blood_type'); $cb_citizenship = $this->input->post('cb_citizenship'); $cb_religion = $this->input->post('cb_religion'); $cb_marital_status = $this->input->post('cb_marital_status'); $cb_been_hospitalized = $this->input->post('cb_been_hospitalized'); $cb_psychological_test = $this->input->post('cb_psychological_test'); $cb_weakness = $this->input->post('cb_weakness[]'); $inp_others_citizenship = $this->input->post('inp_others_citizenship'); $inp_others_religion = $this->input->post('inp_others_religion'); $inp_others_weakness = $this->input->post('inp_others_weakness'); $inp_family_name = $this->input->post('inp_family_name[]'); $inp_family_gender = $this->input->post('inp_family_gender[]'); $inp_family_dob = $this->input->post('inp_family_dob[]'); $inp_family_education = $this->input->post('inp_family_education[]'); $inp_family_occupation = $this->input->post('inp_family_occupation[]'); $inp_familymembers_name = $this->input->post('inp_familymembers_name[]'); $inp_familymembers_gender = $this->input->post('inp_familymembers_gender[]'); $inp_familymembers_dob = $this->input->post('inp_familymembers_dob[]'); $inp_familymembers_education = $this->input->post('inp_familymembers_education[]'); $inp_familymembers_occupation = $this->input->post('inp_familymembers_occupation[]'); $inp_formal_education_name = $this->input->post('inp_formal_education_name[]'); $inp_formal_education_location = $this->input->post('inp_formal_education_location[]'); $inp_formal_education_major = $this->input->post('inp_formal_education_major[]'); $inp_formal_education_grade = $this->input->post('inp_formal_education_grade[]'); $inp_formal_education_entry = $this->input->post('inp_formal_education_entry[]'); $inp_formal_education_graduate = $this->input->post('inp_formal_education_graduate[]'); $inp_nonformal_education_course = $this->input->post('inp_nonformal_education_course[]'); $inp_nonformal_education_year = $this->input->post('inp_nonformal_education_year[]'); $inp_nonformal_education_duration = $this->input->post('inp_nonformal_education_duration[]'); $inp_nonformal_education_certificate = $this->input->post('inp_nonformal_education_certificate[]'); $inp_nonformal_education_sponsored = $this->input->post('inp_nonformal_education_sponsored[]'); $inp_language_proficiency_language = $this->input->post('inp_language_proficiency_language[]'); $inp_language_proficiency_good1 = $this->input->post('inp_language_proficiency_good1[]'); $inp_language_proficiency_fair1 = $this->input->post('inp_language_proficiency_fair1[]'); $inp_language_proficiency_poor1 = $this->input->post('inp_language_proficiency_poor1[]'); $inp_language_proficiency_good2 = $this->input->post('inp_language_proficiency_good2[]'); $inp_language_proficiency_fair2 = $this->input->post('inp_language_proficiency_fair2[]'); $inp_language_proficiency_poor2 = $this->input->post('inp_language_proficiency_poor2[]'); $inp_language_proficiency_good3 = $this->input->post('inp_language_proficiency_good3[]'); $inp_language_proficiency_fair3 = $this->input->post('inp_language_proficiency_fair3[]'); $inp_language_proficiency_poor3 = $this->input->post('inp_language_proficiency_poor3[]'); $inp_computer_proficiency_no = $this->input->post('inp_computer_proficiency_no[]'); $inp_computer_proficiency_application = $this->input->post('inp_computer_proficiency_application[]'); $inp_computer_proficiency_good = $this->input->post('inp_computer_proficiency_good[]'); $inp_computer_proficiency_fair = $this->input->post('inp_computer_proficiency_fair[]'); $inp_computer_proficiency_poor = $this->input->post('inp_computer_proficiency_poor[]'); $inp_special_skill_no = $this->input->post('inp_special_skill_no[]'); $inp_special_skill_type_skill = $this->input->post('inp_special_skill_type_skill[]'); $inp_special_skill_good = $this->input->post('inp_special_skill_good[]'); $inp_special_skill_fair = $this->input->post('inp_special_skill_fair[]'); $inp_special_skill_poor = $this->input->post('inp_special_skill_poor[]'); $inp_other_activities_organization_name = $this->input->post('inp_other_activities_organization_name[]'); $inp_other_activities_type_organization = $this->input->post('inp_other_activities_type_organization[]'); $inp_other_activities_year = $this->input->post('inp_other_activities_year[]'); $inp_other_activities_position = $this->input->post('inp_other_activities_position[]'); $inp_reference_recommendation_name = $this->input->post('inp_reference_recommendation_name[]'); $inp_reference_recommendation_phone_number = $this->input->post('inp_reference_recommendation_phone_number[]'); $inp_reference_recommendation_position = $this->input->post('inp_reference_recommendation_position[]'); $inp_reference_recommendation_relation = $this->input->post('inp_reference_recommendation_relation[]'); $inp_job_interest_visual = $this->input->post('inp_job_interest_visual[]'); // DATA PRIBADI / PERSONAL DATA $data_op['inp_job_position'] = $inp_job_position; $data_op['inp_fullname'] = $inp_fullname; $data_op['inp_place_dob'] = $inp_place_dob; $data_op['inp_ktp'] = $inp_ktp; $data_op['inp_npwp'] = $inp_npwp; $data_op['inp_pos_code'] = $inp_pos_code; $data_op['inp_home_phone'] = $inp_home_phone; $data_op['inp_mobile_phone'] = $inp_mobile_phone; $data_op['inp_emergency_phone'] = $inp_emergency_phone; $data_op['inp_email'] = $inp_email; $data_op['cb_gender'] = $cb_gender; $data_op['cb_blood_type'] = $cb_blood_type; $data_op['cb_citizenship'] = $cb_citizenship; $data_op['cb_religion'] = $cb_religion; $data_op['inp_others_citizenship'] = $inp_others_citizenship; $data_op['inp_others_religion'] = $inp_others_religion; // DATA KELUARGA / FAMILY DATA $data_op['cb_marital_status'] = $cb_marital_status; $data_op['inp_family_name'] = $inp_family_name; $data_op['inp_family_gender'] = $inp_family_gender; $data_op['inp_family_dob'] = $inp_family_dob; $data_op['inp_family_education'] = $inp_family_education; $data_op['inp_family_occupation'] = $inp_family_occupation; $data_op['inp_familymembers_name'] = $inp_familymembers_name; $data_op['inp_familymembers_gender'] = $inp_familymembers_gender; $data_op['inp_familymembers_dob'] = $inp_familymembers_dob; $data_op['inp_familymembers_education'] = $inp_familymembers_education; $data_op['inp_familymembers_occupation'] = $inp_familymembers_occupation; // PENDIDIKAN FORMAL / FORMAL EDUCATION $data_op['inp_formal_education_name'] = $inp_formal_education_name; $data_op['inp_formal_education_location'] = $inp_formal_education_location; $data_op['inp_formal_education_major'] = $inp_formal_education_major; $data_op['inp_formal_education_grade'] = $inp_formal_education_grade; $data_op['inp_formal_education_entry'] = $inp_formal_education_entry; $data_op['inp_formal_education_graduate'] = $inp_formal_education_graduate; // PENDIDIKAN NON FORMAL / NON FORMAL EDUCATION $data_op['inp_nonformal_education_course'] = $inp_nonformal_education_course; $data_op['inp_nonformal_education_year'] = $inp_nonformal_education_year; $data_op['inp_nonformal_education_duration'] = $inp_nonformal_education_duration; $data_op['inp_nonformal_education_certificate'] = $inp_nonformal_education_certificate; $data_op['inp_nonformal_education_sponsored'] = $inp_nonformal_education_sponsored; // KEMAMPUAN BAHASA ASING / LANGUAGE PROFICIENCY $data_op['inp_language_proficiency_language'] = $inp_language_proficiency_language; $data_op['inp_language_proficiency_good1'] = $inp_language_proficiency_good1; $data_op['inp_language_proficiency_fair1'] = $inp_language_proficiency_fair1; $data_op['inp_language_proficiency_poor1'] = $inp_language_proficiency_poor1; $data_op['inp_language_proficiency_good2'] = $inp_language_proficiency_good2; $data_op['inp_language_proficiency_fair2'] = $inp_language_proficiency_fair2; $data_op['inp_language_proficiency_poor2'] = $inp_language_proficiency_poor2; $data_op['inp_language_proficiency_good3'] = $inp_language_proficiency_good3; $data_op['inp_language_proficiency_fair3'] = $inp_language_proficiency_fair3; $data_op['inp_language_proficiency_poor3'] = $inp_language_proficiency_poor3; // PENGUASAAN KOMPUTER / COMPUTER PROFICIENCY $data_op['inp_computer_proficiency_no'] = $inp_computer_proficiency_no; $data_op['inp_computer_proficiency_application'] = $inp_computer_proficiency_application; $data_op['inp_computer_proficiency_good'] = $inp_computer_proficiency_good; $data_op['inp_computer_proficiency_fair'] = $inp_computer_proficiency_fair; $data_op['inp_computer_proficiency_poor'] = $inp_computer_proficiency_poor; // KEAHLIAN KHUSUS/ SPECIAL SKILL $data_op['inp_special_skill_no'] = $inp_special_skill_no; $data_op['inp_special_skill_type_skill'] = $inp_special_skill_type_skill; $data_op['inp_special_skill_good'] = $inp_special_skill_good; $data_op['inp_special_skill_fair'] = $inp_special_skill_fair; $data_op['inp_special_skill_poor'] = $inp_special_skill_poor; // PENGALAMAN PEKERJAAN / WORK EXPERIENCE $data_op['inp_name_of_company1'] = ucwords($inp_name_of_company1); $data_op['inp_line_of_business1'] = ucwords($inp_line_of_business1); $data_op['inp_division1'] = ucwords($inp_division1); $data_op['inp_position1'] = ucwords($inp_position1); $data_op['inp_currently_salary1'] = ucwords($inp_currently_salary1); $data_op['inp_fromyear1'] = ucwords($inp_fromyear1); $data_op['inp_toyear1'] = ucwords($inp_toyear1); $data_op['txtarea_work_address1'] = $txtarea_work_address1; $data_op['txtarea_reason1'] = $txtarea_reason1; $data_op['inp_name_of_company2'] = ucwords($inp_name_of_company2); $data_op['inp_line_of_business2'] = ucwords($inp_line_of_business2); $data_op['inp_division2'] = ucwords($inp_division2); $data_op['inp_position2'] = ucwords($inp_position2); $data_op['inp_currently_salary2'] = ucwords($inp_currently_salary2); $data_op['inp_fromyear2'] = ucwords($inp_fromyear2); $data_op['inp_toyear2'] = ucwords($inp_toyear2); $data_op['txtarea_work_address2'] = $txtarea_work_address2; $data_op['txtarea_reason2'] = $txtarea_reason2; $data_op['inp_name_of_company3'] = ucwords($inp_name_of_company3); $data_op['inp_line_of_business3'] = ucwords($inp_line_of_business3); $data_op['inp_division3'] = ucwords($inp_division3); $data_op['inp_position3'] = ucwords($inp_position3); $data_op['inp_currently_salary3'] = ucwords($inp_currently_salary3); $data_op['inp_fromyear3'] = ucwords($inp_fromyear3); $data_op['inp_toyear3'] = ucwords($inp_toyear3); $data_op['txtarea_work_address3'] = $txtarea_work_address3; $data_op['txtarea_reason3'] = $txtarea_reason3; // KEGIATAN LAINNYA / OTHER ACTIVITIES $data_op['inp_other_activities_organization_name'] = ucwords($inp_other_activities_organization_name); $data_op['inp_other_activities_type_organization'] = ucwords($inp_other_activities_type_organization); $data_op['inp_other_activities_year'] = ucwords($inp_other_activities_year); $data_op['inp_other_activities_position'] = ucwords($inp_other_activities_position); $data_op['txtarea_other_assignment'] = $txtarea_other_assignment; // MINAT DAN KONSEP PRIBADI / PERSONAL INTEREST AND CONCEPT $data_op['txtarea_know_about_vacancy'] = $txtarea_know_about_vacancy; $data_op['txtarea_choose_2jobs'] = $txtarea_choose_2jobs; $data_op['inp_able_to_start_work'] = ucwords($inp_able_to_start_work); // KETERANGAN LAINNYA / OTHER INFORMATIONS $data_op['inp_weight'] = ucwords($inp_weight); $data_op['inp_height'] = ucwords($inp_height); $data_op['txtarea_mention_illness'] = $txtarea_mention_illness; $data_op['cb_been_hospitalized'] = ucwords($cb_been_hospitalized); $data_op['cb_psychological_test'] = ucwords($cb_psychological_test); // REFERENSI DAN REKOMENDASI / REFERENCE AND RECOMMENDATION $data_op['inp_reference_recommendation_name'] = ucwords($inp_reference_recommendation_name); $data_op['inp_reference_recommendation_phone_number'] = ucwords($inp_reference_recommendation_phone_number); $data_op['inp_reference_recommendation_position'] = ucwords($inp_reference_recommendation_position); $data_op['inp_reference_recommendation_relation'] = ucwords($inp_reference_recommendation_relation); // QUESTION $data_op['inp_question1'] = ucwords($inp_question1); $data_op['inp_question2'] = ucwords($inp_question2); $data_op['inp_question3'] = ucwords($inp_question3); $data_op['inp_question4'] = ucwords($inp_question4); $data_op['cb_weakness'] = $cb_weakness; $data_op['inp_question6'] = ucwords($inp_question6); $data_op['inp_question7'] = ucwords($inp_question7); $data_op['txtarea_currently_salary'] = $txtarea_currently_salary; $data_op['txtarea_hope_salary'] = $txtarea_hope_salary; $data_op['inp_job_interest_visual'] = $inp_job_interest_visual; $myMessage = $this->load->view("themes/$this->theme_no/career/send",$data_op,true); // send email $email_data['email'] = 'recruitment.center@blueskygroups.com'; // $email_data['email'] = 'admin@blue-sky.co.id'; // $email_data['email'] = 'bakrisea@gmail.com'; $email_data['subject'] = 'Job Vacancy : '.$inp_job_position; $t_job = str_replace(' ', '-', $inp_job_position); $this->send_email($myMessage, $email_data, true); $this->session->set_flashdata('msg_submit_career', 'Form berhasil di kirim'); redirect(base_url('/career/'.$t_job)); // echo "<pre>"; // echo $t_job; // echo "</pre>"; } public function get($t_job) { //LOAD LANGUAGE FILES FOR HOMEPAGE if($this->session->userdata('site_lang') == 'english') { $this->lang->load('all_lang', 'english'); } else { $this->lang->load('all_lang', 'indonesian'); } $this->data['about'] = $this->db->get_where("pages",array( "id_pages"=>30, )); if ($this->data['about']->num_rows() == 0) { show_404(); } $this->data['about'] = $this->data['about']->row(); //get SEO $this->data_header['browser_title'] = $this->session->userdata('site_lang') == 'english' ? 'Blue Sky | Careers' : 'Blue Sky | Karier'; $this->data_header['meta_description'] = $this->session->userdata('site_lang') == 'english' ? 'Blue Sky | Careers' : 'Blue Sky | Karier'; $this->data["active_content"] = $this->data['about']->active_content; $this->data["active_contact"] = $this->data['about']->active_contact; $this->data["active_map"] = $this->data['about']->active_map; $this->data["active_gallery"] = $this->data['about']->active_gallery; $this->data["active_all_product"] = $this->data['about']->active_all_product; $this->data["active_banner_slider"] = $this->data['about']->active_banner_slider; $this->data["active_center_img"] = $this->data['about']->active_center_img; $this->data['t_job'] = str_replace('-', ' ', $t_job); $this->load->view("themes/$this->theme_no/header", $this->data_header); $this->load->view("themes/$this->theme_no/career/form",$this->data); $this->load->view("themes/$this->theme_no/footer", $this->data_footer); } }