%%DC^DC0^DC086714%%MST1120.tpl.php
4.33 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
<?php /* Smarty version 2.6.26, created on 2017-06-01 23:11:08
compiled from MST1120.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 LANGUAGE="JAVASCRIPT">
<?php echo '
function submit_edit(){
document.frm.action = "MST1121.php";
document.frm.method="POST"
document.frm.submit();
}
function ichiran_rtn(){
document.frm.action = "MST1100.php";
document.frm.method="POST"
document.frm.submit();
}
'; ?>
</SCRIPT>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm" method="post">
<!-- ヘッダー表示 -->
<?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="900">
<TR>
<TD align="center">
<INPUT type="button" name="btnBack" value="一覧へ戻る" onClick="return ichiran_rtn();"><BR><BR>
</TD>
</TR>
<TR>
<TD align="center">
<TABLE border=1 bordercolor="#008080" width="544">
<tr>
<td bgcolor="#FFCC99"><B><FONT size="2">管理者</FONT></B></td>
<td>
<?php if ($this->_tpl_vars['intSeparater'] == '0'): ?>
<FONT size=2>対象データが存在しません</FONT>
<?php else: ?>
<SELECT name="user_cd">
<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['user_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']);
?>
<?php echo $this->_tpl_vars['user_Data'][$this->_sections['idx']['index']]; ?>
<?php endfor; endif; ?>
</SELECT>
<?php endif; ?>
</td>
</TR>
</TABLE>
<br>
<TABLE border="0" width="544">
<TR>
<?php if ($this->_tpl_vars['intSeparater'] > '0'): ?>
<TD width="360">
<FONT size="2"><B>管理者を変更する場合はこのボタンを押してください→</B></FONT>
</TD>
<TD>
<input type="button" onclick="return submit_edit();" value=" 変 更 " >
</TD>
<?php endif; ?>
</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>