load->model('m_alumni');
if ($this->session->userdata("logged_in") == FALSE){
redirect("user/login", "location");
}
}
/**********************/
/*** Bidang Kerja ***/
/**********************/
public function bidang_kerja(){
$data['base_url'] = base_url().'alumni/bidang_kerja';
$data['total_rows'] = $this->db->count_all('almn_bidang');
$data['per_page'] = '10';
$data['uri_segment']= '3';
$data['first_link'] = 'Pertama';
$data['last_link'] = 'Terakhir';
$data['next_link'] = '>';
$data['prev_link'] = '<';
$this->pagination->initialize($data);
$offset = $this->uri->segment(3);
if ($offset == '') { $offset = 0; }
$paging = $data['per_page'];
// Otoritas //
$id_menu = '9';
$menu["id_menu"] = $id_menu;
$data['title'] = 'UNLASYS - Bidang Kerja Alumni';
$data["query"] = $this->m_alumni->list_bidang_kerja($paging, $offset);
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_bidang_kerja.php');
$this->load->view('v_footer.php');
}
public function tambah_bidang_kerja(){
$this->_validation_bidang_kerja();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Tambah Bidang Kerja";
$data["judul_form"] = "Tambah";
$data["nama_bidang_kerja"] = "";
$data["action_form"]= base_url().'alumni/tambah_bidang_kerja';
// Otoritas //
$id_menu = '9';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_bidang_kerja_form.php');
$this->load->view('v_footer.php');
}else{
$data = array('nama_bidang' => $this->input->post('nama_bidang_kerja'));
$this->m_alumni->save_bidang_kerja($data);
$this->session->set_flashdata('success', 'Data Bidang Kerja berhasil ditambah');
redirect('alumni/bidang_kerja');
}
}
public function ubah_bidang_kerja($id_bidang_kerja){
$this->_validation_bidang_kerja();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Ubah Bidang Kerja";
$data["judul_form"] = "Ubah";
$data["action_form"]= base_url().'alumni/ubah_bidang_kerja/'.$id_bidang_kerja;
$data["nama_bidang_kerja"] = $this->m_alumni->get_bidang_kerja($id_bidang_kerja);
// Otoritas //
$id_menu = '9';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_bidang_kerja_form.php');
$this->load->view('v_footer.php');
}else{
$data = array('nama_bidang' => $this->input->post('nama_bidang_kerja'));
$this->m_alumni->update_bidang_kerja($id_bidang_kerja, $data);
$this->session->set_flashdata('success', 'Data Bidang Kerja berhasil diubah');
redirect('alumni/bidang_kerja');
}
}
public function hapus_bidang_kerja($id_bidang_kerja){
$this->m_alumni->delete_bidang_kerja($id_bidang_kerja);
$this->session->set_flashdata('success', 'Data Bidang Kerja berhasil dihapus');
redirect('alumni/bidang_kerja');
}
function _validation_bidang_kerja(){
$this->form_validation->set_rules("nama_bidang_kerja", "Nama Bidang Kerja", "required|max_length[50]");
$this->form_validation->set_message("required","%s tidak boleh kosong");
$this->form_validation->set_message("max_length", "%s tidak boleh lebih dari %s karakter");
$this->form_validation->set_error_delimiters("
", "
");
}
/************************/
/*** Instansi Kerja ***/
/************************/
public function instansi_kerja(){
$data['base_url'] = base_url().'alumni/instansi_kerja';
$data['total_rows'] = $this->db->count_all('almn_instansi');
$data['per_page'] = '10';
$data['uri_segment']= '3';
$data['first_link'] = 'Pertama';
$data['last_link'] = 'Terakhir';
$data['next_link'] = '>';
$data['prev_link'] = '<';
$this->pagination->initialize($data);
$offset = $this->uri->segment(3);
if ($offset == '') { $offset = 0; }
$paging = $data['per_page'];
// Otoritas //
$id_menu = '10';
$menu["id_menu"] = $id_menu;
$data['title'] = 'UNLASYS - Instansi Kerja Alumni';
$data["query"] = $this->m_alumni->list_instansi_kerja($paging, $offset);
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_instansi_kerja.php');
$this->load->view('v_footer.php');
}
public function tambah_instansi_kerja(){
$this->_validation_instansi_kerja();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Tambah Instansi Kerja";
$data["judul_form"] = "Tambah";
$data["nama_instansi_kerja"] = "";
$data["action_form"]= base_url().'alumni/tambah_instansi_kerja';
// Otoritas //
$id_menu = '10';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_instansi_kerja_form.php');
$this->load->view('v_footer.php');
}else{
$data = array('nama_instansi' => $this->input->post('nama_instansi_kerja'));
$this->m_alumni->save_instansi_kerja($data);
$this->session->set_flashdata('success', 'Data Instansi Kerja berhasil ditambah');
redirect('alumni/instansi_kerja');
}
}
public function ubah_instansi_kerja($id_instansi_kerja){
$this->_validation_instansi_kerja();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Ubah Instansi Kerja";
$data["judul_form"] = "Ubah";
$data["action_form"]= base_url().'alumni/ubah_instansi_kerja/'.$id_instansi_kerja;
$data["nama_instansi_kerja"] = $this->m_alumni->get_instansi_kerja($id_instansi_kerja);
// Otoritas //
$id_menu = '10';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_instansi_kerja_form.php');
$this->load->view('v_footer.php');
}else{
$data = array('nama_instansi' => $this->input->post('nama_instansi_kerja'));
$this->m_alumni->update_instansi_kerja($id_instansi_kerja, $data);
$this->session->set_flashdata('success', 'Data Instansi Kerja berhasil diubah');
redirect('alumni/instansi_kerja');
}
}
public function hapus_instansi_kerja($id_instansi_kerja){
$this->m_alumni->delete_instansi_kerja($id_instansi_kerja);
$this->session->set_flashdata('success', 'Data Instansi Kerja berhasil dihapus');
redirect('alumni/instansi_kerja');
}
function _validation_instansi_kerja(){
$this->form_validation->set_rules("nama_instansi_kerja", "Nama Instansi Kerja", "required|max_length[50]");
$this->form_validation->set_message("required","%s tidak boleh kosong");
$this->form_validation->set_message("max_length", "%s tidak boleh lebih dari %s karakter");
$this->form_validation->set_error_delimiters("", "
");
}
/**************************/
/*** Daftar Pekerjaan ***/
/**************************/
public function daftar_pekerjaan(){
$data['base_url'] = base_url().'alumni/daftar_pekerjaan';
$data['total_rows'] = $this->db->count_all('almn_pekerjaan');
$data['per_page'] = '10';
$data['uri_segment']= '3';
$data['first_link'] = 'Pertama';
$data['last_link'] = 'Terakhir';
$data['next_link'] = '>';
$data['prev_link'] = '<';
$this->pagination->initialize($data);
$offset = $this->uri->segment(3);
if ($offset == '') { $offset = 0; }
$paging = $data['per_page'];
// Otoritas //
$id_menu = '11';
$menu["id_menu"] = $id_menu;
$data['title'] = 'UNLASYS - Pekerjaan Alumni';
$data["query"] = $this->m_alumni->list_pekerjaan($paging, $offset);
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar_pekerjaan.php');
$this->load->view('v_footer.php');
}
public function tambah_pekerjaan(){
$this->_validation_pekerjaan();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Tambah pekerjaan";
$data["judul_form"] = "Tambah";
$data["nama_pekerjaan"] = "";
$data["action_form"]= base_url().'alumni/tambah_pekerjaan';
// Otoritas //
$id_menu = '11';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar_pekerjaan_form.php');
$this->load->view('v_footer.php');
}else{
$data = array('nama_pekerjaan' => $this->input->post('nama_pekerjaan'));
$this->m_alumni->save_pekerjaan($data);
$this->session->set_flashdata('success', 'Data Pekerjaan berhasil ditambah');
redirect('alumni/daftar_pekerjaan');
}
}
public function ubah_pekerjaan($id_pekerjaan){
$this->_validation_pekerjaan();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Ubah Pekerjaan";
$data["judul_form"] = "Ubah";
$data["action_form"]= base_url().'alumni/ubah_pekerjaan/'.$id_pekerjaan;
$data["nama_pekerjaan"] = $this->m_alumni->get_pekerjaan($id_pekerjaan);
// Otoritas //
$id_menu = '11';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar_pekerjaan_form.php');
$this->load->view('v_footer.php');
}else{
$data = array('nama_pekerjaan' => $this->input->post('nama_pekerjaan'));
$this->m_alumni->update_pekerjaan($id_pekerjaan, $data);
$this->session->set_flashdata('success', 'Data Pekerjaan berhasil diubah');
redirect('alumni/daftar_pekerjaan');
}
}
public function hapus_pekerjaan($id_pekerjaan){
$this->m_alumni->delete_pekerjaan($id_pekerjaan);
$this->session->set_flashdata('success', 'Data Pekerjaan berhasil dihapus');
redirect('alumni/daftar_pekerjaan');
}
function _validation_pekerjaan(){
$this->form_validation->set_rules("nama_pekerjaan", "Nama Pekerjaan", "required|max_length[50]");
$this->form_validation->set_message("required","%s tidak boleh kosong");
$this->form_validation->set_message("max_length", "%s tidak boleh lebih dari %s karakter");
$this->form_validation->set_error_delimiters("", "
");
}
/***********************/
/*** Daftar Alumni ***/
/***********************/
public function daftar(){
$data['base_url'] = base_url().'alumni/daftar';
$data['total_rows'] = $this->db->count_all('almn');
$data['per_page'] = '10';
$data['uri_segment']= '3';
$data['first_link'] = 'Pertama';
$data['last_link'] = 'Terakhir';
$data['next_link'] = '>';
$data['prev_link'] = '<';
$this->pagination->initialize($data);
$offset = $this->uri->segment(3);
if ($offset == '') { $offset = 0; }
$paging = $data['per_page'];
// Otoritas //
$id_menu = '12';
$menu["id_menu"] = $id_menu;
$data["title"] = "UNLASYS - Daftar Alumni";
$data["nama_kata_kunci"] = "Keseluruhan";
$data["jml_cari"] = "";
$data["query"] = $this->m_alumni->list_alumni($paging, $offset);
$data["drop_prodi"] = $this->m_alumni->get_drop_prodi();
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar.php');
$this->load->view('v_footer.php');
}
public function daftar_filter(){
$id_prodi = $this->input->post('id_prodi');
$thnlulus = $this->input->post('thnlulus');
$offset = $this->uri->segment(3);
if ($offset == '') { $offset = 0; }
$paging = '10';
if($id_prodi == NULL){
if($thnlulus == NULL){
redirect('alumni/daftar');
}else{
$data["query"] = $this->m_alumni->filter_daftar_tahun($thnlulus, $paging, $offset);
$count_filter = $this->m_alumni->count_filter_tahun($thnlulus);
$nama_cari = "Tahun Lulus ".$thnlulus;
$nama_prodi = "Keseluruhan";
}
}else{
if($thnlulus == NULL){
$data["query"] = $this->m_alumni->filter_daftar_prodi($id_prodi, $paging, $offset);
$count_filter = $this->m_alumni->count_filter_prodi($id_prodi);
$nama_prodi = $this->m_alumni->get_prodi($id_prodi);
$nama_cari = "";
}else{
$data["query"] = $this->m_alumni->filter_daftar($id_prodi, $thnlulus, $paging, $offset);
$count_filter = $this->m_alumni->count_filter($id_prodi, $thnlulus);
$nama_prodi = $this->m_alumni->get_prodi($id_prodi);
$nama_cari = "Tahun Lulus ".$thnlulus;
}
}
$data['base_url'] = base_url().'alumni/daftar_filter';
$data['total_rows'] = $count_filter;
$data['per_page'] = '10';
$data['uri_segment']= '3';
$data['first_link'] = 'Pertama';
$data['last_link'] = 'Terakhir';
$data['next_link'] = '>';
$data['prev_link'] = '<';
$this->pagination->initialize($data);
$data["drop_prodi"] = $this->m_alumni->get_drop_prodi();
$data["jml_cari"] = "";
$reset = anchor('alumni/daftar','',array('class'=>'btn btn-danger btn-circle'));
$data["nama_kata_kunci"] = " - Prodi ".$nama_prodi." ".$nama_cari." ".$reset;
// Otoritas //
$id_menu = '12';
$menu["id_menu"] = $id_menu;
$data["title"] = "UNLASYS - Daftar Filter Alumni'";
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php', $menu);
$this->load->view('alumni/v_daftar.php');
$this->load->view('v_footer.php');
}
public function daftar_cari(){
$kunci = $this->input->post("cari");
if($kunci <> ''){
$kunci2 = strtoupper($kunci);
$data['query'] = $this->m_alumni->cari_daftar($kunci, $kunci2);
//$data['kunci'] = $kunci;
if ($data['query']->result() == null ){
$this->session->set_flashdata('error', 'Tidak ditemukan Data Alumni dengan kata kunci = "'.$kunci.'"');
redirect ('alumni/daftar','refresh');
}else{
$data["jml_cari"] = "Data Ditemukan : ".$this->m_alumni->count_cari($kunci, $kunci2)."
";
$reset = anchor('alumni/daftar','',array('class'=>'btn btn-danger btn-circle'));
$data["nama_kata_kunci"] = 'Cari - Kata Kunci : "'.$kunci.'" '.$reset;
$data["title"] = "UNLASYS - Daftar Cari Alumni'";
// Otoritas //
$id_menu = '12';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar.php');
$this->load->view('v_footer.php');
}
}else{
$this->session->set_flashdata('error', 'Kolom Nama Alumni kosong');
redirect('alumni/daftar', 'refresh');
}
}
public function tambah_daftar(){
$this->_validation_daftar();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Tambah Alumni";
$data["judul_form"] = "Tambah";
$data["action_form"] = base_url().'alumni/tambah_daftar';
$data["nama_alumni"] = "";
$data["jenkel"] = "";
$data["tmptlahir"] = "";
$data["tgllahir"] = "";
$data["alamat_rmh"] = "";
$data["notlp"] = "";
$data["email"] = "";
$data["uk_kaos"] = "";
$data["id_prodi"] = "";
$data["thnmasuk"] = "";
$data["thnlulus"] = "";
$data["id_pekerjaan"] = "";
$data["id_bidang_kerja"] = "";
$data["id_instansi_kerja"] = "";
$data["nama_instansi"] = "";
$data["alamat_instansi"] = "";
$data["drop_prodi"] = $this->m_alumni->get_drop_prodi();
$data["drop_pekerjaan"] = $this->m_alumni->get_drop_pekerjaan();
$data["drop_bidang"] = $this->m_alumni->get_drop_bidang();
$data["drop_instansi"] = $this->m_alumni->get_drop_instansi();
// Otoritas //
$id_menu = '12';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar_form.php');
$this->load->view('v_footer.php');
}else{
$nama_alumni = $this->input->post('nama_alumni');
$jenkel = $this->input->post('jenkel');
$tmptlahir = $this->input->post('tmptlahir');
$tgllahir = date('Y-m-d', strtotime($this->input->post('tgllahir')));
$alamat_rmh = $this->input->post('alamat_rmh');
$notlp = $this->input->post('notlp');
$email = $this->input->post('email');
$id_prodi = $this->input->post('id_prodi');
$thnmasuk = $this->input->post('thnmasuk');
$thnlulus = $this->input->post('thnlulus');
$id_pekerjaan = $this->input->post('id_pekerjaan');
$id_bidang_kerja = $this->input->post('id_bidang_kerja');
$id_instansi_kerja = $this->input->post('id_instansi_kerja');
$nama_instansi = $this->input->post('nama_instansi');
$alamat_instansi = $this->input->post('alamat_instansi');
$uk_kaos = $this->input->post('uk_kaos');
$data = array(
'id_bidang_kerja' => $id_bidang_kerja,
'id_instansi_kerja' => $id_instansi_kerja,
'id_pekerjaan' => $id_pekerjaan,
'nm_alumni' => $nama_alumni,
'jen_kel' => $jenkel,
'tmpt_lhir' => $tmptlahir,
'tgl_lhir' => $tgllahir,
'almt_alumni' => $alamat_rmh,
'no_tlp' => $notlp,
'almt_email' => $email,
'thn_msk' => $thnmasuk,
'thn_lulus' => $thnlulus,
'nm_instansi' => $nama_instansi,
'almt_instansi' => $alamat_instansi,
'id_prodi' => $id_prodi,
'ukkaos' => $uk_kaos
);
$this->m_alumni->save_daftar($data);
$this->session->set_flashdata('success', 'Data Alumni berhasil ditambah');
redirect('alumni/daftar');
}
}
public function ubah_daftar($id_almn){
$this->_validation_daftar();
if($this->form_validation->run()==false){
$data["title"] = "UNLASYS - Ubah Detail Alumni";
$data["judul_form"] = "Ubah";
$data["action_form"]= base_url().'alumni/ubah_daftar/'.$id_almn;
$daftar_detail = $this->m_alumni->detail_alumni($id_almn);
foreach($daftar_detail->result() as $row_daftar) {
$data["nama_alumni"] = $row_daftar->nm_alumni;
$data["jenkel"] = $row_daftar->jen_kel;
$data["tmptlahir"] = $row_daftar->tmpt_lhir;
$data["tgllahir"] = date('d-m-Y', strtotime($row_daftar->tgl_lhir));
$data["alamat_rmh"] = $row_daftar->almt_alumni;
$data["notlp"] = $row_daftar->no_tlp;
$data["email"] = $row_daftar->almt_email;
$data["uk_kaos"] = $row_daftar->ukkaos;
$data["id_prodi"] = $row_daftar->id_prodi;
$data["thnmasuk"] = $row_daftar->thn_msk;
$data["thnlulus"] = $row_daftar->thn_lulus;
$data["id_pekerjaan"] = $row_daftar->id_pekerjaan;
$data["id_bidang_kerja"] = $row_daftar->id_bidang_kerja;
$data["id_instansi_kerja"] = $row_daftar->id_instansi_kerja;
$data["nama_instansi"] = $row_daftar->nm_instansi;
$data["alamat_instansi"] = $row_daftar->almt_instansi;
}
$data["drop_prodi"] = $this->m_alumni->get_drop_prodi();
$data["drop_pekerjaan"] = $this->m_alumni->get_drop_pekerjaan();
$data["drop_bidang"] = $this->m_alumni->get_drop_bidang();
$data["drop_instansi"] = $this->m_alumni->get_drop_instansi();
// Otoritas //
$id_menu = '12';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar_form.php');
$this->load->view('v_footer.php');
}else{
$nama_alumni = $this->input->post('nama_alumni');
$jenkel = $this->input->post('jenkel');
$tmptlahir = $this->input->post('tmptlahir');
$tgllahir = date('Y-m-d', strtotime($this->input->post('tgllahir')));
$alamat_rmh = $this->input->post('alamat_rmh');
$notlp = $this->input->post('notlp');
$email = $this->input->post('email');
$id_prodi = $this->input->post('id_prodi');
$thnmasuk = $this->input->post('thnmasuk');
$thnlulus = $this->input->post('thnlulus');
$id_pekerjaan = $this->input->post('id_pekerjaan');
$id_bidang_kerja = $this->input->post('id_bidang_kerja');
$id_instansi_kerja = $this->input->post('id_instansi_kerja');
$nama_instansi = $this->input->post('nama_instansi');
$alamat_instansi = $this->input->post('alamat_instansi');
$uk_kaos = $this->input->post('uk_kaos');
$data = array(
'id_bidang_kerja' => $id_bidang_kerja,
'id_instansi_kerja' => $id_instansi_kerja,
'id_pekerjaan' => $id_pekerjaan,
'nm_alumni' => $nama_alumni,
'jen_kel' => $jenkel,
'tmpt_lhir' => $tmptlahir,
'tgl_lhir' => $tgllahir,
'almt_alumni' => $alamat_rmh,
'no_tlp' => $notlp,
'almt_email' => $email,
'thn_msk' => $thnmasuk,
'thn_lulus' => $thnlulus,
'nm_instansi' => $nama_instansi,
'almt_instansi' => $alamat_instansi,
'id_prodi' => $id_prodi,
'ukkaos' => $uk_kaos
);
$this->m_alumni->update_daftar($id_almn,$data);
$this->session->set_flashdata('success', 'Data Alumni berhasil diubah');
redirect('alumni/daftar');
}
}
public function hapus_daftar($id_almn){
$this->m_alumni->delete_daftar($id_almn);
$this->session->set_flashdata('success', 'Data Alumni berhasil dihapus');
redirect('alumni/daftar');
}
public function detail($id_almn){
$data["title"] = "UNLASYS - Detail Alumni";
$data["query"] = $this->m_alumni->detail_alumni($id_almn);
// Otoritas //
$id_menu = '12';
$menu["id_menu"] = $id_menu;
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php',$menu);
$this->load->view('alumni/v_daftar_detail.php');
$this->load->view('v_footer.php');
}
function _validation_daftar(){
$this->form_validation->set_rules("nama_alumni", "Nama Alumni", "required|min_length[4]|max_length[50]");
$this->form_validation->set_rules("jenkel", "Jenis Kelamin", "required");
$this->form_validation->set_rules("tmptlahir", "Tempat Lahir", "required|min_length[4]|max_length[30]");
$this->form_validation->set_rules("tgllahir", "Tanggal Lahir", "required");
$this->form_validation->set_rules("alamat_rmh", "Alamat Rumah", "required|min_length[4]|max_length[500]");
$this->form_validation->set_rules("notlp", "No Telepon/HP", "required|max_length[20]");
$this->form_validation->set_rules("email", "Email", "required|valid_email|max_length[50]");
$this->form_validation->set_rules("id_prodi", "Prodi", "required");
$this->form_validation->set_rules("thnmasuk", "Tahun Masuk", "required|min_length[4]|max_length[4]");
$this->form_validation->set_rules("thnlulus", "Tahun Lulus", "required|min_length[4]|max_length[4]");
$this->form_validation->set_rules("id_pekerjaan", "Pekerjaan", "required");
$this->form_validation->set_rules("id_bidang_kerja", "Bidang Kerja", "required");
$this->form_validation->set_rules("id_instansi_kerja", "Instansi Kerja", "required");
$this->form_validation->set_rules("nama_instansi", "Nama Instansi", "required|min_length[4]|max_length[50]");
$this->form_validation->set_rules("alamat_instansi", "Alamat Instansi", "required|min_length[4]|max_length[500]");
$this->form_validation->set_message("required","%s tidak boleh kosong");
$this->form_validation->set_message("valid_email","%s tidak valid");
$this->form_validation->set_message("max_length", "%s tidak boleh lebih dari %s karakter");
$this->form_validation->set_message("min_length", "%s Minimal %s karakter");
$this->form_validation->set_error_delimiters("", "
");
}
/***********************/
/*** Daftar Alumni ***/
/***********************/
public function laporan(){
$data['title'] = 'UNLASYS - Laporan Alumni';
$this->load->view('v_header.php',$data);
$this->load->view('v_menu.php');
$this->load->view('alumni/v_laporan.php');
$this->load->view('v_footer.php');
}
}