01.
<html>
02.
<meta http-equiv=Content-Type content=
"text/html; charset=windows-874"
>
03.
04.
<HEAD>
05.
06.
</HEAD>
07.
<BODY>
08.
09.
<CENTER>
10.
<?
include
(
"list_radio.php"
);?>
11.
12.
<form name=
"form1"
method=
"get"
action=
""
>
13.
14.
<table width=
"1000"
height=
"271"
border=
"1"
>
15.
<tr width=
"1000"
height=
"120"
> </tr>
16.
17.
<tr>
18.
<td width=
"250"
valign=
"top"
>
19.
<div>
20.
<select name=
"station"
id=
"station"
>
21.
<option value=
"<?=$_GET["
station
"];?>"
><?
if
(
$station
<>
""
){
echo
$station
;}
else
{
echo
"กรุณาเลือกสถานี"
;}?></option>
22.
<? getSiteList(
$link
); ?>
23.
</select>
24.
</div>
25.
26.
<div>
27.
<p><strong>ข้อมูลสถิติ</strong> </p>
28.
29.
<div> <input name=
"type"
id=
"type"
type=
"radio"
value=
"RF_15MIN"
<?php
if
(
$type
==
"RF_15MIN"
) {
echo
"checked"
;} ?> >ปริมาณน้ำฝน </div>
30.
<div> <input name=
"type"
id=
"type"
type=
"radio"
value=
"WL_IN"
<?php
if
(
$type
==
"WL_IN"
) {
echo
"checked"
;} ?> >ระดับน้ำ </div>
31.
<div> <input name=
"type"
id=
"type"
type=
"radio"
value=
"FLOW_IN"
<?php
if
(
$type
==
"FLOW_IN"
) {
echo
"checked"
;} ?> >ปริมาณน้ำ </div>
32.
33.
</div>
34.
</div>
35.
<div>
36.
<p><strong>ช่วงเวลา</strong> </p>
37.
<div> <input name=
"list"
id=
"list"
type=
"radio"
value=
"boxhour"
<?php
if
(
$list
==
"boxhour"
) {
echo
"checked"
;} ?> >ย้อนหลัง 24 ชั่วโมง </div>
38.
<div> <input name=
"list"
id=
"list"
type=
"radio"
value=
"boxweek"
<?php
if
(
$list
==
"boxweek"
) {
echo
"checked"
;} ?> >ย้อนหลัง 7 วัน </div>
39.
<div> <input name=
"list"
id=
"list"
type=
"radio"
value=
"boxmonth"
<?php
if
(
$list
==
"boxmonth"
) {
echo
"checked"
;} ?> > ย้อนหลัง 1 เดือน </div>
40.
</div>
41.
<div> <input type=
"submit"
name=
"Search"
id=
"Search"
value=
"ค้นหาข้อมูล"
>
42.
</div>
43.
</td>
44.
45.
<td width=
"600"
>
46.
47.
</td>
48.
</tr>
49.
</table>
50.
</form>
51.
</body>
52.
</html>