-
Notifications
You must be signed in to change notification settings - Fork 0
/
diagram.php
87 lines (73 loc) · 2.29 KB
/
diagram.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
<html><br>
<table width="51%" border="0" cellpadding="0" cellspacing="0" bordercolor="#99CC99" align="center">
<script languange="Javascript1.2"><!--
function pilpenyakit(pilih){
location.replace("index.php?page=6&type=p&penyakit="+pilih);
}
--></script>
<script languange="Javascript1.2"><!--
function piltahun(pilih){
location.replace("index.php?page=6&type=t&tahun="+pilih);
}
--></script>
<tr>
<td width="2%" align="right"><img src="./img/kiri.jpg"></td>
<td width="95%" bgcolor="#5686c6" ><div align="center"><strong><font face="verdana" size="2" color="#FFFFFF">DIAGRAM PENYEBARAN PENYAKIT</font></strong></div></td>
<td width="3%"><img src="./img/kanan.jpg"></td>
</tr>
<tr>
<td> </td>
<td>
<table width="520" align="center">
<tr><td width="512"><font face="verdana" size="2">
</font>
<table width="459" align="center">
<tr>
<td width="228" 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="214" 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 "diagram-view.php"; ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</tr>
<tr>
<td align="right"><img src="./img/kib.jpg"></td>
<td bgcolor="#5686c6" ><div align="left"><strong><font face="verdana" size="3"></font></strong><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>