Struktur ulang: memindahkan sistem ke folder public untuk Nginx

This commit is contained in:
atuy
2026-06-26 17:48:01 +07:00
parent f6ff2d5d9d
commit f015774d4e
3283 changed files with 0 additions and 0 deletions
@@ -0,0 +1,37 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Lap_registrasi extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('registrasi_model');
//proteksi halaman
$this->simple_login->check_login();
}
//Main page biodata
public function index()
{
$data = array( 'title' => 'Aplikasi PPDB MTD - Laporan Registrasi PPDB',
'content' => 'lap_registrasi/index'
);
$data['sum'] = $this->registrasi_model->get_sum();
$this->load->view('layout/wrapper', $data, FALSE);
}
public function cetakregistrasi($no_pendaftaran)
{
$data['data'] = $this->db->get_where('v_rpt_trans_berkas',['no_pendaftaran'=>$no_pendaftaran])->row();
$this->load->view('formulir/cetak_berkas',$data);
}
}
/* End of file biodata.php */
/* Location: ./application/controllers/biodata.php */