-
Notifications
You must be signed in to change notification settings - Fork 0
/
tabel.php
94 lines (80 loc) · 2.32 KB
/
tabel.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
92
93
94
<? session_start();
session_unregister("map");
session_unregister("tahun");
?>
<html>
<script languange="Javascript1.2"><!--
function pilpenyakit(pilih){
location.replace("index.php?page=5&type=p&penyakit="+pilih);
}
--></script>
<script languange="Javascript1.2"><!--
function piltahun(pilih){
location.replace("index.php?page=5&type=t&tahun="+pilih);
}
--></script>
<br>
<table width="45%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#99CC99">
<tr>
<td width="3%" align="right"><img src="./img/kiri.jpg"></td>
<td width="88%" bgcolor="#5686c6" ><div align="center"><strong><font face="verdana" size="2" color="#FFFFFF">TABEL PENYEBARAN PENYAKIT</font></strong></div></td>
<td width="9%"><img src="./img/kanan.jpg"></td>
</tr>
<tr>
<td> </td>
<td>
<table width="522" align="center">
<tr><td width="514"><font face="verdana" size="2">
</font>
<table width="408" align="center">
<tr>
<td width="202" align="right">
<select title="Ganti jenis penyakit" onChange="pilpenyakit(this.value)">
<option value="Pilih Penyakit" selected="selected">Pilih Penyakit</option>
<?
$query=mysql_db_query($db,"select * from tblpenyakit",$koneksi);
while($row=mysql_fetch_row($query))
{
?><option value="<? echo $row[1]; ?>"><? echo $row[1]; ?></option><?
}
?>
</select>
</td>
<td width="1"> </td>
<td width="189" align="left">
<select title="Ganti tahun" onChange="piltahun(this.value)">
<option value="Pilih Tahun" selected="selected">Pilih Tahun</option>
<?
$query=mysql_db_query($db,"select * from tbltahun",$koneksi);
while($row=mysql_fetch_row($query))
{
?><option value="<? echo $row[1]; ?>"><? echo $row[1]; ?></option><?
}
?>
</select>
</td>
</tr>
<tr>
<td colspan="5"><p> </p>
<p> </p></td>
</tr>
<tr>
<td colspan="5" align="center">
<? include "tabel-view.php"; ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td align="right"><img src="./img/kib.jpg"></td>
<td bgcolor="#5686c6" ><div align="left"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><em>Sumber Data : Dinas Kesehatan Kota Depok </em></font></div></td>
<td><img src="./img/kab.jpg"></td>
</tr>
</table>
<p> </p>
</html>