-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpengumumanmhs.php
53 lines (52 loc) · 1.21 KB
/
pengumumanmhs.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
<html>
<head>
<title>Daftar Pengumuman</title>
<link rel="stylesheet" type="text/css" href="CSS/layout.css"/>
<link rel="stylesheet" type="text/css" href="CSS/font.css"/>
<link rel="stylesheet" type="text/css" href="CSS/element.css"/>
</head>
<body>
<div id="container">
<div id="header">
<table border="0" cellspacing="10">
<tr>
<td><img src="Images/student.png" width="150" height="150" /></td>
<td><h1>Student Page</h1></td>
</tr>
</table>
</div>
<div id="cpanel">
<form action="" >
<table border="0" cellspacing="40">
<tr>
<td colspan="3"><h1>Daftar Pengumuman</h1></td>
</tr>
<tr>
<td>
<a href="panelmhs.php" title="Kembali"><img src="Images/back.png" /></a>
</td>
</tr>
<?php
include "koneksi.php";
$tampil = "SELECT * FROM data_pengumuman;";
$querytampil = mysql_query($tampil);
while($hasil = mysql_fetch_array($querytampil)) {
$id = $hasil['id'];
$judul = $hasil['judul'];
?>
<tr>
<td>
<ul type="square">
<li><a href="viewpengumumanmhs.php?id=<?php echo $id; ?>"><?php echo $judul; ?></a></li>
</ol>
</td>
</tr>
<?php
}
?>
</table>
</form>
</div>
</div>
</body>
</html>