-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPendidikan.php
91 lines (91 loc) · 3.54 KB
/
Pendidikan.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
include "SQL.php";
include "TableController.php";
?>
<head>
<title>Pendidikan</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body style="height: 100%">
<div class="judul-block">
<div class="judul-kontainer">
<div>
<img class="unpar-side" src="img/unpar.png" alt="">
</div>
<div>
<h2 style="padding: 10px;">Pendidikan</h2>
</div>
<div>
<img class="if-side" src="img/logoIF.jpg" alt="">
</div>
</div>
</div>
<div>
<ul>
<div>
<?php
include("Sidebar.php");
?>
</div>
<div>
<!--Masukan id div konten kalian sesuai dengan format dibawah-->
<li><a href="#IntegrasiKegiatanPenelitian" onclick="show('konten-1')">Integrasi Kegiatan Penelitian/PkM dalam Pembelajaran</a></li>
<li><a href="#Kurikulum" onclick="show('konten-2')">Kurikulum</a></li>
<li><a href="#KepuasanMahasiswa" onclick="show('konten-3')">Kepuasan Mahasiswa</a></li>
</div>
</ul>
</div>
<!--Konten Diisi di div dibawah sini, jangan lupa tambahkan kelas "konten" dan idnya masing-masing-->
<div class="konten" id="konten-1">
<h1>Integrasi Kegiatan Penelitian/PkM dalam Pembelajaran</h1>
<img src="img/DosenIntegrasi.png" style ="width:40%;display:block;margin: 0 auto">
<table>
<tr>
<th>No.</th>
<th>Judul Penelitian/PkM</th>
<th>Nama Dosen</th>
<th>Mata Kuliah</th>
<th>Bentuk Integrasi</th>
</tr>
<?php
$db = new SQL();
$con = new TableController($db);
$result = $con->getTabel5b_IntegrasiKegiatanPenelitianPkM();
$counter = 0;
for($x=0; $x<sizeof($result[0]); $x++){
echo "<tr>";
echo "<td>".$result[0][$x]['idIntegrasi']."</td>";
$counter = $counter+1;
echo "<td>".$result[0][$x]['judul']."</td>";
$counter = $counter+1;
echo "<td>".$result[0][$x]['dosen']."</td>";
$counter = $counter+1;
echo "<td>".$result[0][$x]['namaMatakuliah']."</td>";
$counter = $counter+1;
echo "<td>".$result[0][$x]['bentukIntegrasi']."</td>";
$counter = $counter+1;
}
?>
</table>
</div>
<div class="konten" id="konten-2">
<h1>Under Maintenance!</h1>
</div>
<div class="konten" id="konten-3">
<h1>Under Maintenance!</h1>
</div>
<script>
close();
function close() {
var x = document.getElementsByClassName("konten");
for (var i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
}
function show(id) {
close();
document.getElementById(id).style.display = "block";
}
</script>
</body>