-
Notifications
You must be signed in to change notification settings - Fork 3
/
password.html
80 lines (74 loc) · 1.72 KB
/
password.html
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
<?
include "global.tbh"
declare it_was_save as no_yes
dim flag as ok_ng
html_channel_index=0
?>
<html>
<HEAD>
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<link rel="stylesheet" type="text/css" href="tpp_demo.css" />
<script type="text/javascript">
function FormSubmit()
{
document.getElementById("myForm").submit()
}
function IndexPage()
{
window.top.location.replace("Index.html")
}
</script>
</HEAD>
<body <?flag=html_login_verify(yes,yes)?>>
<?
if flag=NG then goto finish
?>
<div>
<br>
<table width='600' align=center border="0" cellspacing="0" cellpadding="0" >
<form id="myForm" action="s.html?" method="get">
<? sock_setsend("<input type = 'hidden' name = 'page' value = 'pass'>")?>
<? html_print_session?>
<tr><td width = 80%> <h3> Password </h3> </td>
</tr>
<tr><td>
</td></tr>
<tr><td><br></td></tr>
<tr>
<td width=80%>
<table width=100% border = "1">
<tr>
<th width=66%><b>Setting name</b></th>
<th width=34%><b>Setting value</b></th>
</tr>
</table>
</td>
<td>
</td>
</tr>
<?
html_print_setting("pw_htm.txt")
?>
<tr>
<td width = 80%>
<table width = 100% border="1" cellspacing="0" cellpadding="0">
<tr><td><table border="0" cellspacing="1" cellpadding="0">
<tr><td><a href = '#' onclick='FormSubmit()'> Save </a></td>
<td><a href = 'password.html?session=<?sock_setsend(login_data) ?>'> Reload </a></td>
<td width = 100% align = right>
</td>
</tr></table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</div>
<?finish:
it_was_save=NO
?>
</body>
</html>