MST1210.tpl
2.05 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="Microsoft FrontPage 4.0">
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<link href="./css/style.css" rel="stylesheet" type="text/css">
<TITLE>め〜るNiポン!</TITLE>
<script>
{literal}
function Data_Input(group_id){
document.frm.group_id.value=group_id;
document.frm.action = "MST1211.php";
document.frm.method = "POST";
document.frm.submit();
return;
}
function Data_Delete(group_id){
if(confirm('グループを削除します。\n本当に削除してもよろしいですか?')){
document.frm.pMode.value = "3";
document.frm.group_id.value = group_id;
document.frm.action = "MST1212.php";
document.frm.method = "POST";
document.frm.submit();
return;
}
}
{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<!-- 一覧表示 -->
<table width="100%" border="0">
<tr>
<th><B><FONT color=blue size=5>グループ一覧</FONT></B></th>
</tr>
</table>
<HR>
<input type="button" value= "新規追加" onclick="Data_Input('')">
<table border="0" width="100%">
<tr>
<td align="center">
<table cellspacing="1" cellpadding="1" border="1">
<tr>
<td width="250" align="center" bgcolor="#FFCC99"><FONT size="2"><B>グループ名</B></FONT></td>
<td width="20" align="center" bgcolor="#FFCC99"> </td>
</tr>
{section name=item loop=$group_id}
<tr>
<td >
<FONT size="2"><a href="#" onclick="return Data_Input('{$group_id[item]}')">{$group_name[item]}</a></FONT>
</td>
<td align="center">
<input type="button" class="btnDelete" value= "削除" onclick="Data_Delete('{$group_id[item]}')">
</td>
</tr>
{/section}
</table>
</td>
</tr>
</table>
<!-- フッター表示 -->
{include file='footer.tpl'}
<INPUT type="hidden" name="group_id" value="">
<INPUT type="hidden" name="pMode" value="">
</FORM>
</BODY>
</HTML>