application/controllers/Dashboard.php
// Halaman Kegiatan (Mahasiswa only)
Halaman Kegiatan (Mahasiswa only)
Halaman Kegiatan ( Mahasiswa only )
public function kegiatan()
	{
		$data["title"] = "Kegiatan";
		$data["bread"] = "Kegiatan";
		$data["icon"] = "work";
		$data["softskill"] = $this->skpi_model->softskill($this->uname);
		$data["kegiatan"] = $this->skpi_model->laporan_kegiatan('','WHERE nim = '.$this->uname)->result();
		if ($this->db->get_where('tb_transkrip','nim='.$this->uname)->num_rows() == 0)
			$data["locked"] = 0;else $data["locked"] = 1;
		$this->load->view('head', $data);
		$this->load->view('kegiatan_mhs', $data);
		$this->load->view('foot');
	}
public function kegiatan ( ) { $ data [ " title " ] = " Kegiatan " ; $ data [ " bread " ] = " Kegiatan " ; $ data [ " icon " ] = " work " ; $ data [ " softskill " ] = $ this -> skpi_model -> softskill ( $ this -> uname ) ; $ data [ " kegiatan " ] = $ this -> skpi_model -> laporan_kegiatan ( '' , 'WHERE nim = ' . $ this -> uname ) -> result ( ) ; if ( $ this -> db -> get_where ( 'tb_transkrip' , 'nim=' . $ this -> uname ) -> num_rows ( ) == 0 ) $ data [ " locked " ] = 0 ; else $ data [ " locked " ] = 1 ; $ this -> load -> view ( 'head' , $ data ) ; $ this -> load -> view ( 'kegiatan_mhs' , $ data ) ; $ this -> load -> view ( 'foot' ) ; }
Halaman Kegiatan (Mahasiswa only)
Halaman Kegiatan ( Mahasiswa only )