-
Notifications
You must be signed in to change notification settings - Fork 0
/
penilaian_index.php
65 lines (57 loc) · 2.38 KB
/
penilaian_index.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
<!DOCTYPE html>
<html lang="en">
<?php include "connect_db.php" ?>
<?php include "layout/head.php" ?>
<body class="nav-md">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<?php include "layout/sidebar.php" ?>
</div>
</div>
<?php include "layout/top_navigation.php" ?>
<!-- page content -->
<div class="right_col" role="main">
<div class="row">
<div class="x_panel">
<div class="x_title">
<h3>Pilih Tahun Ajaran</h3>
</div>
<?php
$query ="SELECT * FROM tahun_ajaran";
$tahun_ajaran = pg_query($konek, $query);
?>
<form action="proses/penilaianProses.php" method="GET">
<div class="row">
<div class="col-md-6">
<label for="tahun_ajaran">Tahun Ajaran :</label>
<select name="tahun_ajaran" class="form-control">
<?php while($data = pg_fetch_object($tahun_ajaran)){?>
<option value="<?php echo $data->id_tahun_ajaran?>"><?php echo $data->tahun_ajaran?></option>
<?php }?>
</select>
</div>
<div class="col-md-6">
<label for="semester">Semester :</label>
<select name="semester" class="form-control">
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
<div class="col-md-6">
<br>
<input type="submit" class="btn btn-primary" name="pilih_ta" value="Pilih">
</div>
</div>
</form>
</div>
</div>
</div>
<!-- /page content -->
<?php include "layout/footer.php" ?>
</div>
</div>
<?php include "layout/script.php";?>
</body>
</html>