diff --git a/Contoh RPP TI Semester-3 - Aplikasi Peminjaman Alat.pdf b/Contoh RPP TI Semester-3 - Aplikasi Peminjaman Alat.pdf
new file mode 100644
index 0000000..73352b9
Binary files /dev/null and b/Contoh RPP TI Semester-3 - Aplikasi Peminjaman Alat.pdf differ
diff --git a/README.md b/README.md
index 4d359b5..b78d95d 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-# ProjectWebTatibSystema
\ No newline at end of file
+# ProjectWebTatibSystema oish masa
\ No newline at end of file
diff --git a/Tata_Tertib/action/AdminFunc.php b/Tata_Tertib/action/AdminFunc.php
new file mode 100644
index 0000000..8989698
--- /dev/null
+++ b/Tata_Tertib/action/AdminFunc.php
@@ -0,0 +1,56 @@
+ filterClassmhs('TI-1A');
+ return $ter;
+ break;
+ case 'TI-1B':
+ include '../../models/Admin.php';
+ $conn = new Admin();
+ $ter = $conn -> filterClassmhs('TI-1B');
+ return $ter;
+ break;
+ case 'TI-1C':
+ include '../../models/Admin.php';
+ $conn = new Admin();
+ $ter = $conn -> filterClassmhs('TI-1C');
+ return $ter;
+ break;
+ case 'SIB-1A':
+ include '../../models/Admin.php';
+ $conn = new Admin();
+ $ter = $conn -> filterClassmhs('SIB-1A');
+ return $ter;
+ break;
+ case 'SIB-1B':
+ include '../../models/Admin.php';
+ $conn = new Admin();
+ $ter = $conn -> filterClassmhs('SIB-1B');
+ return $ter;
+ break;
+ case 'SIB-1C':
+ include '../../models/Admin.php';
+ $conn = new Admin();
+ $ter = $conn -> filterClassmhs('SIB-1C');
+ return $ter;
+ break;
+ }
+ }
+ }
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/MhsCrud/MhsCrud.php b/Tata_Tertib/action/MhsCrud/MhsCrud.php
new file mode 100644
index 0000000..93e65aa
--- /dev/null
+++ b/Tata_Tertib/action/MhsCrud/MhsCrud.php
@@ -0,0 +1,35 @@
+db;
+
+$act = isset($_POST['act']) ? strtolower($_POST['act']) : (isset($_GET['act']) ? strtolower($_GET['act']) : '');
+
+switch ($act) {
+ case 'login-mhs':
+ $username = $_POST['username'];
+ $password = $_POST['password'];
+
+ $query = $db->prepare('SELECT * FROM mahasiswa WHERE nim = ?');
+ $query->bind_param('s', $username);
+ $query->execute();
+ $data = $query->get_result()->fetch_assoc();
+
+ if ($data && $password === $data['password']) {
+ $session->set('is_login', true);
+ $session->set('username', $data['nim']);
+ $session->set('level', $data['role']);
+ $session->set('nama', $data['nama']);
+ $session->set('status', $data['status']);
+ $session->commit();
+ header('Location: ../index.php');
+ } else {
+ $session->setFlash('status', false);
+ $session->setFlash('message', 'Username dan password salah.');
+ $session->commit();
+ header('Location: ../index.php');
+ }
+ break;
+
+ case 'login-tendik':
+ $username = $_POST['username'];
+ $password = $_POST['password'];
+ $tables = ['admin', 'dosen', 'karyawan'];
+
+ $data = null;
+ foreach ($tables as $table) {
+ $query = $db->prepare("SELECT * FROM $table WHERE nip = ?");
+ $query->bind_param('s', $username);
+ $query->execute();
+ $result = $query->get_result();
+ if ($result->num_rows > 0) {
+ $data = $result->fetch_assoc();
+ break;
+ }
+ }
+
+ if ($data && $password === $data['password']) {
+ $session->set('is_login', true);
+ $session->set('username', $data['nip']);
+ $session->set('level', $data['role']);
+ $session->set('nama', $data['nama']);
+ $session->set('status', $data['status']);
+ $session->commit();
+ header('Location: ../index.php');
+ } else {
+ $session->setFlash('status', false);
+ $session->setFlash('message', 'Username dan password salah.');
+ $session->commit();
+ header('Location: ../index.php');
+ }
+ break;
+
+ case 'logout':
+ $session->deleteAll();
+ header('Location: ../index.php');
+ break;
+
+ default:
+ echo 'Aksi tidak dikenali.';
+ break;
+}
diff --git a/Tata_Tertib/action/dosen/beri-sanksi-action.php b/Tata_Tertib/action/dosen/beri-sanksi-action.php
new file mode 100644
index 0000000..7afc555
--- /dev/null
+++ b/Tata_Tertib/action/dosen/beri-sanksi-action.php
@@ -0,0 +1,10 @@
+setSanksiDosenById($id, $sanksi);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/dosen/download-pel-table.php b/Tata_Tertib/action/dosen/download-pel-table.php
new file mode 100644
index 0000000..163084a
--- /dev/null
+++ b/Tata_Tertib/action/dosen/download-pel-table.php
@@ -0,0 +1,40 @@
+getHistoryPelDosen();
+
+// Membuka output file untuk di-stream
+$output = fopen('php://output', 'w');
+
+// Header kolom CSV
+fputcsv($output, ['No', 'Nama', 'NIP', 'Status', 'Tanggal/Waktu', 'Pelanggaran', 'deskripsi']);
+
+// Isi data tabel ke file CSV
+foreach ($data as $index => $row) {
+ fputcsv($output, [
+ $index + 1,
+ $row['nama'],
+ $row['nip'],
+ getStatus($row['status']),
+ $row['tanggal_lapor'],
+ $row['nama_pelanggaran'],
+ $row['deskripsi']
+ ]);
+}
+
+fclose($output);
+
+function getStatus($id_status)
+{
+ switch ($id_status) {
+ case '1': return 'Selesai';
+ case '2': return 'Sanksi Telah Dipenuhi';
+ case '3': return 'Menunggu Sanksi';
+ case '4': return 'Menunggu Konfirmasi';
+ default: return 'Tidak Diketahui';
+ }
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/dosen/hapus-laporan-action.php b/Tata_Tertib/action/dosen/hapus-laporan-action.php
new file mode 100644
index 0000000..688b3f1
--- /dev/null
+++ b/Tata_Tertib/action/dosen/hapus-laporan-action.php
@@ -0,0 +1,9 @@
+dropPelDosen($id);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/dosen/selesai-action.php b/Tata_Tertib/action/dosen/selesai-action.php
new file mode 100644
index 0000000..d61b06a
--- /dev/null
+++ b/Tata_Tertib/action/dosen/selesai-action.php
@@ -0,0 +1,9 @@
+setSelesaiDosenById($id);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/dosen/show-bukti-selesai.php b/Tata_Tertib/action/dosen/show-bukti-selesai.php
new file mode 100644
index 0000000..13e8a16
--- /dev/null
+++ b/Tata_Tertib/action/dosen/show-bukti-selesai.php
@@ -0,0 +1,16 @@
+getLampiranById($id);
+$fileContent = $data['bukti_selesai'];
+
+if ($fileContent) {
+ // Atur header HTTP untuk PDF
+ header("Content-Type: application/pdf");
+ echo $fileContent; // Kirim isi file langsung ke browser
+} else {
+ echo "File tidak ditemukan.";
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/dosen/show-lampiran.php b/Tata_Tertib/action/dosen/show-lampiran.php
new file mode 100644
index 0000000..eb43a5d
--- /dev/null
+++ b/Tata_Tertib/action/dosen/show-lampiran.php
@@ -0,0 +1,16 @@
+getLampiranById($id);
+$fileContent = $data['lampiran'];
+
+if ($fileContent) {
+ // Atur header HTTP untuk PDF
+ header("Content-Type: application/pdf");
+ echo $fileContent; // Kirim isi file langsung ke browser
+} else {
+ echo "File tidak ditemukan.";
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/dosen/upload-bukti-selesai.php b/Tata_Tertib/action/dosen/upload-bukti-selesai.php
new file mode 100644
index 0000000..6224565
--- /dev/null
+++ b/Tata_Tertib/action/dosen/upload-bukti-selesai.php
@@ -0,0 +1,23 @@
+setBuktiSelesaiById($id, $fileContent);
+
+ echo "File berhasil diunggah.";
+} else {
+ echo "Gagal mengunggah file.";
+}
+
+// Redirect kembali ke halaman sebelumnya
+header("Location: ../../views/dashboard/dosen-kirim-bukti.php?id_pelanggaran=$id");
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/beri-sanksi-action.php b/Tata_Tertib/action/karyawan/beri-sanksi-action.php
new file mode 100644
index 0000000..16b0dfd
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/beri-sanksi-action.php
@@ -0,0 +1,10 @@
+setSanksiKaryawanById($id, $sanksi);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/download-pel-table.php b/Tata_Tertib/action/karyawan/download-pel-table.php
new file mode 100644
index 0000000..9727f75
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/download-pel-table.php
@@ -0,0 +1,40 @@
+getHistoryPelKaryawan();
+
+// Membuka output file untuk di-stream
+$output = fopen('php://output', 'w');
+
+// Header kolom CSV
+fputcsv($output, ['No', 'Nama', 'NIP', 'Status', 'Tanggal/Waktu', 'Pelanggaran', 'deskripsi']);
+
+// Isi data tabel ke file CSV
+foreach ($data as $index => $row) {
+ fputcsv($output, [
+ $index + 1,
+ $row['nama'],
+ $row['nip'],
+ getStatus($row['status']),
+ $row['tanggal_lapor'],
+ $row['nama_pelanggaran'],
+ $row['deskripsi']
+ ]);
+}
+
+fclose($output);
+
+function getStatus($id_status)
+{
+ switch ($id_status) {
+ case '1': return 'Selesai';
+ case '2': return 'Sanksi Telah Dipenuhi';
+ case '3': return 'Menunggu Sanksi';
+ case '4': return 'Menunggu Konfirmasi';
+ default: return 'Tidak Diketahui';
+ }
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/hapus-laporan-action.php b/Tata_Tertib/action/karyawan/hapus-laporan-action.php
new file mode 100644
index 0000000..ef8c888
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/hapus-laporan-action.php
@@ -0,0 +1,9 @@
+dropPelTendik($id);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/selesai-action.php b/Tata_Tertib/action/karyawan/selesai-action.php
new file mode 100644
index 0000000..1305e71
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/selesai-action.php
@@ -0,0 +1,9 @@
+setSelesaiKaryawanById($id);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/show-bukti-selesai.php b/Tata_Tertib/action/karyawan/show-bukti-selesai.php
new file mode 100644
index 0000000..b36a6f4
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/show-bukti-selesai.php
@@ -0,0 +1,16 @@
+getLampiranById($id);
+$fileContent = $data['bukti_selesai'];
+
+if ($fileContent) {
+ // Atur header HTTP untuk PDF
+ header("Content-Type: application/pdf");
+ echo $fileContent; // Kirim isi file langsung ke browser
+} else {
+ echo "File tidak ditemukan.";
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/show-lampiran.php b/Tata_Tertib/action/karyawan/show-lampiran.php
new file mode 100644
index 0000000..d90d481
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/show-lampiran.php
@@ -0,0 +1,16 @@
+getLampiranById($id);
+$fileContent = $data['lampiran'];
+
+if ($fileContent) {
+ // Atur header HTTP untuk PDF
+ header("Content-Type: application/pdf");
+ echo $fileContent; // Kirim isi file langsung ke browser
+} else {
+ echo "File tidak ditemukan.";
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/karyawan/upload-bukti-selesai.php b/Tata_Tertib/action/karyawan/upload-bukti-selesai.php
new file mode 100644
index 0000000..2d217da
--- /dev/null
+++ b/Tata_Tertib/action/karyawan/upload-bukti-selesai.php
@@ -0,0 +1,23 @@
+setBuktiSelesaiById($id, $fileContent);
+
+ echo "File berhasil diunggah.";
+} else {
+ echo "Gagal mengunggah file.";
+}
+
+// Redirect kembali ke halaman sebelumnya
+header("Location: ../../views/dashboard/karyawan-kirim-bukti.php?id_pelanggaran=$id");
diff --git a/Tata_Tertib/action/mhs/detpel-action.php b/Tata_Tertib/action/mhs/detpel-action.php
new file mode 100644
index 0000000..b6a73db
--- /dev/null
+++ b/Tata_Tertib/action/mhs/detpel-action.php
@@ -0,0 +1,10 @@
+setSanksiById($id, $sanksi, $tambahan);
+header("Location: ../../index.php");
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/mhs/download-pel-table.php b/Tata_Tertib/action/mhs/download-pel-table.php
new file mode 100644
index 0000000..e99fefb
--- /dev/null
+++ b/Tata_Tertib/action/mhs/download-pel-table.php
@@ -0,0 +1,42 @@
+getHistoryPelMhs();
+
+// Membuka output file untuk di-stream
+$output = fopen('php://output', 'w');
+
+// Header kolom CSV
+fputcsv($output, ['No', 'Nama', 'NIM', 'Kelas', 'Status', 'Tanggal/Waktu', 'Pelanggaran', 'Kategori', 'deskripsi']);
+
+// Isi data tabel ke file CSV
+foreach ($data as $index => $row) {
+ fputcsv($output, [
+ $index + 1,
+ $row['nama_mahasiswa'],
+ $row['nim'],
+ $row['nama_kelas'],
+ getStatus($row['status_pelanggaran']),
+ $row['tanggal_lapor'],
+ $row['nama_pelanggaran'],
+ $row['kategori'],
+ $row['deskripsi_pelanggaran']
+ ]);
+}
+
+fclose($output);
+
+function getStatus($id_status)
+{
+ switch ($id_status) {
+ case '1': return 'Selesai';
+ case '2': return 'Sanksi Telah Dipenuhi';
+ case '3': return 'Menunggu Sanksi';
+ case '4': return 'Menunggu Konfirmasi';
+ default: return 'Tidak Diketahui';
+ }
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/mhs/hapus-laporan-action.php b/Tata_Tertib/action/mhs/hapus-laporan-action.php
new file mode 100644
index 0000000..2aa2687
--- /dev/null
+++ b/Tata_Tertib/action/mhs/hapus-laporan-action.php
@@ -0,0 +1,9 @@
+dropPelMhs($id);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/mhs/selesai-action.php b/Tata_Tertib/action/mhs/selesai-action.php
new file mode 100644
index 0000000..d3b8cee
--- /dev/null
+++ b/Tata_Tertib/action/mhs/selesai-action.php
@@ -0,0 +1,9 @@
+setSelesaiMhsById($id);
+header("Location: ../../index.php");
+exit();
\ No newline at end of file
diff --git a/Tata_Tertib/action/mhs/show-bukti-selesai.php b/Tata_Tertib/action/mhs/show-bukti-selesai.php
new file mode 100644
index 0000000..66c7599
--- /dev/null
+++ b/Tata_Tertib/action/mhs/show-bukti-selesai.php
@@ -0,0 +1,16 @@
+getBuktiSelesaiMhs($id);
+$fileContent = $data['bukti_selesai'];
+
+if ($fileContent) {
+ // Atur header HTTP untuk PDF
+ header("Content-Type: application/pdf");
+ echo $fileContent; // Kirim isi file langsung ke browser
+} else {
+ echo "File tidak ditemukan.";
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/mhs/show-lampiran.php b/Tata_Tertib/action/mhs/show-lampiran.php
new file mode 100644
index 0000000..0202d37
--- /dev/null
+++ b/Tata_Tertib/action/mhs/show-lampiran.php
@@ -0,0 +1,16 @@
+getLampiranById($id);
+$fileContent = $data['lampiran'];
+
+if ($fileContent) {
+ // Atur header HTTP untuk PDF
+ header("Content-Type: application/pdf");
+ echo $fileContent; // Kirim isi file langsung ke browser
+} else {
+ echo "File tidak ditemukan.";
+}
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/mhs/upload-bukti-selesai.php b/Tata_Tertib/action/mhs/upload-bukti-selesai.php
new file mode 100644
index 0000000..54f1011
--- /dev/null
+++ b/Tata_Tertib/action/mhs/upload-bukti-selesai.php
@@ -0,0 +1,23 @@
+setBuktiSelesaiById($id, $fileContent);
+
+ echo "File berhasil diunggah.";
+} else {
+ echo "Gagal mengunggah file.";
+}
+
+// Redirect kembali ke halaman sebelumnya
+header("Location: ../../views/dashboard/mhs-kirim-bukti.php?id_pelanggaran=$id");
\ No newline at end of file
diff --git a/Tata_Tertib/action/report/add-lapor-dosen.php b/Tata_Tertib/action/report/add-lapor-dosen.php
new file mode 100644
index 0000000..5e04848
--- /dev/null
+++ b/Tata_Tertib/action/report/add-lapor-dosen.php
@@ -0,0 +1,30 @@
+addPelanggaranDosen($nama, $deskripsi, $sanksi, $lampiran, $nip);
+ header("Location: ../../views/report/report.php");
+ exit;
+ } catch (\Throwable $th) {
+ echo "An error occurred: " . $th->getMessage();
+ }
+}
+exit();
diff --git a/Tata_Tertib/action/report/add-lapor-karyawan.php b/Tata_Tertib/action/report/add-lapor-karyawan.php
new file mode 100644
index 0000000..67567ee
--- /dev/null
+++ b/Tata_Tertib/action/report/add-lapor-karyawan.php
@@ -0,0 +1,30 @@
+addPelanggaranKaryawan($nama, $deskripsi, $sanksi, $lampiran, $nip);
+ header("Location: ../../views/report/report.php");
+ exit;
+ } catch (\Throwable $th) {
+ echo "An error occurred: " . $th->getMessage();
+ }
+}
+exit();
diff --git a/Tata_Tertib/action/report/add-lapor-mhs.php b/Tata_Tertib/action/report/add-lapor-mhs.php
new file mode 100644
index 0000000..e6a6f59
--- /dev/null
+++ b/Tata_Tertib/action/report/add-lapor-mhs.php
@@ -0,0 +1,28 @@
+addPelanggaranMhs($pelanggaran, $deskripsi, $lampiran, $nim);
+ header("Location: ../../views/report/report.php");
+ exit;
+ } catch (\Throwable $th) {
+ echo "An error occurred: " . $th->getMessage();
+ }
+}
+exit();
diff --git a/Tata_Tertib/action/report/report-dosen-redirect.php b/Tata_Tertib/action/report/report-dosen-redirect.php
new file mode 100644
index 0000000..b376fb0
--- /dev/null
+++ b/Tata_Tertib/action/report/report-dosen-redirect.php
@@ -0,0 +1,38 @@
+searchDosenById($input);
+
+ if ($data != null) {
+ header('location:../../views/report/form-dosen.php?nip='.$input);
+ } else {
+ $message = "Data tidak ditemukan";
+ $session->setFlash('status', false);
+ $session->setFlash('message', $message);
+ header('location:../../views/report/report.php');
+ }
+ } else if ($cari == 'nama') {
+ $data = $obj->searchDosenByName($input);
+
+ if ($data != null) {
+ header('location:../../views/report/list-dosen.php?nama='.$input);
+ } else {
+ $message = "Data tidak ditemukan";
+ $session->setFlash('status', false);
+ $session->setFlash('message', $message);
+ header('location:../../views/report/report.php');
+ }
+ }
+?>
\ No newline at end of file
diff --git a/Tata_Tertib/action/report/report-karyawan-redirect.php b/Tata_Tertib/action/report/report-karyawan-redirect.php
new file mode 100644
index 0000000..b2a7267
--- /dev/null
+++ b/Tata_Tertib/action/report/report-karyawan-redirect.php
@@ -0,0 +1,36 @@
+searchByIdKaryawan($input);
+
+ if ($data != null) {
+ header('location:../../views/report/form-karyawan.php?nip=' . $input);
+ } else {
+ $message = "Data tidak ditemukan";
+ $session->setFlash('status', false);
+ $session->setFlash('message', $message);
+ header('location:../../views/report/report.php');
+ }
+} else if ($cari == 'nama') {
+ $data = $obj->searchKaryawanByName($input);
+
+ if ($data != null) {
+ header('location:../../views/report/list-karyawan.php?nama=' . $input);
+ } else {
+ $message = "Data tidak ditemukan";
+ $session->setFlash('status', false);
+ $session->setFlash('message', $message);
+ header('location:../../views/report/report.php');
+ }
+}
diff --git a/Tata_Tertib/action/report/report-mhs-redirect.php b/Tata_Tertib/action/report/report-mhs-redirect.php
new file mode 100644
index 0000000..136d3e5
--- /dev/null
+++ b/Tata_Tertib/action/report/report-mhs-redirect.php
@@ -0,0 +1,45 @@
+searchByIdMhs($input);
+
+ if ($data == true) {
+ header('location:../../views/report/form-mhs.php?nim=' . $input);
+ } else {
+ $message = "Data tidak ditemukan";
+ $session->setFlash('status', false);
+ $session->setFlash('message', $message);
+ header('location:../../views/report/report.php');
+ }
+}
+
+if ($_SERVER["REQUEST_METHOD"] == "POST") {
+ $pelanggaran = $_POST['tindakan'];
+ $deskripsi = $_POST['deskripsi'];
+ $lampiran = $_POST['lampiran'];
+ $obj->addPelanggaranMhs($pelanggaran, $deskripsi, $lampiran, $nim);
+ header("Location: report.php");
+ exit();
+} else if ($cari == 'nama') {
+ $data = $obj->searchMhsByName($input);
+
+ if ($data != null) {
+ header('location:../../views/report/list-mhs.php?nama=' . $input);
+ } else {
+ $message = "Data tidak ditemukan";
+ $session->setFlash('status', false);
+ $session->setFlash('message', $message);
+ header('location:../../views/report/report.php');
+ }
+}
diff --git a/Tata_Tertib/assets/footer.php b/Tata_Tertib/assets/footer.php
index 9b0d58a..f04dfe0 100644
--- a/Tata_Tertib/assets/footer.php
+++ b/Tata_Tertib/assets/footer.php
@@ -1,3 +1,3 @@
\ No newline at end of file
diff --git a/Tata_Tertib/assets/header.php b/Tata_Tertib/assets/header.php
index d0c647c..67f651c 100644
--- a/Tata_Tertib/assets/header.php
+++ b/Tata_Tertib/assets/header.php
@@ -1,14 +1,56 @@
+get('nama');
+$status = $session->get('status');
+$level = $session->get('level');
+$idUsername = $session->get('username');
+
+switch ($level) {
+ case '1':
+ # code...
+ include_once '../../models/Admin.php';
+ $forImg = new Admin();
+ $account_profile = $forImg->getImgProfile($idUsername);
+ break;
+ case '2':
+ # code...
+ include_once '../../models/Dpa.php';
+ $forImg = new Dpa();
+ $account_profile = $forImg->getImgProfile($idUsername);
+ break;
+ case '3':
+ include_once '../../models/Karyawan.php';
+ $forImg = new Karyawan();
+ $account_profile = $forImg->getImgProfile($idUsername);
+ # code...
+ break;
+ case '4':
+ include_once '../../models/Mhs.php';
+ $forImg = new Mhs();
+ $account_profile = $forImg->getImgProfile($idUsername);
+ # code...
+ break;
+ case '5':
+ # code...
+ include_once '../../models/Dosen.php';
+ $forImg = new Dosen();
+ $account_profile = $forImg->getImgProfile($idUsername);
+ break;
+ default:
+ break;
+}
+?>
+
Sistem Tata Tertib | Polinema
- Mahmoed Joendi M.
+
- Mahasiswa Aktif
+ = $name ?>
+ = $status ?>