%%20^205^205C46DA%%MST1112.tpl.php
5.86 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?php /* Smarty version 2.6.26, created on 2017-06-01 23:16:31
compiled from MST1112.tpl */ ?>
<!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>
<?php echo '
//********** ユーザ削除 **********
function Delete_User(){
if (confirm("このユーザーを削除しますよろしいですか?\\n※削除したユーザー情報は元に戻すことができません")){
document.frm.del_User_cd.value=document.frm.user_ids.value;
document.frm.action = "MST1113.php";
document.frm.method = "POST";
document.frm.submit();
}
}
//********** 一覧へ戻る **********
function List_Bk(){
document.frm.del_User_cd.value=document.frm.user_ids.value;
document.frm.action = "MST1100.php";
document.frm.method = "POST";
document.frm.submit();
}
'; ?>
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm">
<!-- ヘッダー表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<!-- メニュー表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'menu.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<!-- 一覧表示 -->
<table width="100%" border="0">
<tr>
<th><B><font color=blue size=5>削除ユーザー情報一覧</font></B></th>
</tr>
</table>
<hr />
<table border="0" width="100%">
<tr>
<td align="center">
<table width="950">
<tr bgcolor="#FF0000">
<td align="center">
<font color="#FFFFFF" size="3"><b>
<!--
一回削除したユーザ情報は元に戻すことができませんのでご注意ください。<br>
削除したユーザに関する過去の回答も確認できなくなります。
-->
【注 意】<br>
一回削除したユーザ情報は元に戻すことができません。<br>
また、削除したユーザに関する過去の回答も確認できなくなります。
</b></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border=0 width="100%">
<tr>
<td align="center">
<table border="1" bordercolor="#008080" width="950">
<tr bgcolor="#FFCC99">
<td align="center" width="170"><font size=2><B>氏 名</B></font></td>
<td align="center" width="180"><font size=2><B>グループ</B></font></td>
<td align="center" width="250"><font size=2><B>携帯メールアドレス</B></font></td>
<td align="center" width="250"><font size=2><B>PCメールアドレス</B></font></td>
</tr>
<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['List_Data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['idx']['show'] = true;
$this->_sections['idx']['max'] = $this->_sections['idx']['loop'];
$this->_sections['idx']['step'] = 1;
$this->_sections['idx']['start'] = $this->_sections['idx']['step'] > 0 ? 0 : $this->_sections['idx']['loop']-1;
if ($this->_sections['idx']['show']) {
$this->_sections['idx']['total'] = $this->_sections['idx']['loop'];
if ($this->_sections['idx']['total'] == 0)
$this->_sections['idx']['show'] = false;
} else
$this->_sections['idx']['total'] = 0;
if ($this->_sections['idx']['show']):
for ($this->_sections['idx']['index'] = $this->_sections['idx']['start'], $this->_sections['idx']['iteration'] = 1;
$this->_sections['idx']['iteration'] <= $this->_sections['idx']['total'];
$this->_sections['idx']['index'] += $this->_sections['idx']['step'], $this->_sections['idx']['iteration']++):
$this->_sections['idx']['rownum'] = $this->_sections['idx']['iteration'];
$this->_sections['idx']['index_prev'] = $this->_sections['idx']['index'] - $this->_sections['idx']['step'];
$this->_sections['idx']['index_next'] = $this->_sections['idx']['index'] + $this->_sections['idx']['step'];
$this->_sections['idx']['first'] = ($this->_sections['idx']['iteration'] == 1);
$this->_sections['idx']['last'] = ($this->_sections['idx']['iteration'] == $this->_sections['idx']['total']);
?>
<TR>
<td align="left"><?php echo $this->_tpl_vars['List_Data'][$this->_sections['idx']['index']][0]; ?>
</td>
<td align="left"><font size=2><?php echo $this->_tpl_vars['List_Data'][$this->_sections['idx']['index']][1]; ?>
</font></td>
<td align="left"><font size=2><?php echo $this->_tpl_vars['List_Data'][$this->_sections['idx']['index']][2]; ?>
</font></td>
<td align="left"><font size=2><?php echo $this->_tpl_vars['List_Data'][$this->_sections['idx']['index']][3]; ?>
</font></td>
</TR>
<?php endfor; endif; ?>
</table>
</td>
</tr>
</table>
<input type="hidden" name="del_User_cd" value="" />
<input type="hidden" name="user_ids" value="<?php echo $this->_tpl_vars['user_ids']; ?>
" />
<input type="hidden" name="Sort_Mode" value="<?php echo $this->_tpl_vars['Sort_Mode']; ?>
" />
<input type="hidden" name="Disp_mode" value="<?php echo $this->_tpl_vars['Disp_mode']; ?>
" />
<table border="0" width="100%">
<tr>
<td align="center">
<table width="950">
<tr>
<td align="Left"><input style="color:red;font-weight:bold;" type="button" name="btnDisp5" value=" 一括削除 " onClick="Delete_User();"> </td>
<td align="right"><input type="button" name="back" value="一覧へ戻る" onClick="List_Bk()"></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- フッター表示 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</FORM>
</BODY>
</HTML>