%%08^08A^08A43A1D%%MST1410.tpl.php
5.38 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
<?php /* Smarty version 2.6.26, created on 2017-06-01 09:16:22
compiled from MST1410.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 del_check(){
if (confirm("この回答パターンを削除します\\nよろしいですか?")){
document.Frm.action="MST1430.php";
document.Frm.metho="POST";
document.Frm.submit();
}
}
function disp_update(){
if (confirm("初期表示を変更します\\nよろしいですか?")){
document.Frm.action="MST1440.php";
document.Frm.metho="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);
?>
<!-- 一覧表示 -->
<center>
<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>
<CENTER>
<INPUT type="button" name="back" value="メニューへ戻る" onClick="location='MAIN0000.php'"><BR><BR>
<FONT SIZE=2>回答パターンを登録する場合はこのボタンを押してください⇒</FONT>
<INPUT type="button" name="new" value="新規登録" onClick="location='./MST1420.php'"><BR><BR>
<FONT SIZE=2>回答パターンを削除する場合はこのボタンを押してください⇒</FONT>
<INPUT type="button" name="de" value="削 除" onClick="return del_check();">
<br><br>
<FONT SIZE=2>初期表示を変更する場合はこのボタンを押してください⇒</FONT>
<INPUT type="button" name="up" value="変 更" onClick="return disp_update();">
</CENTER>
</TD>
</TR>
</TABLE>
<BR><BR>
<TABLE border=0 WIDTH="900">
<TR>
<TD>
<CENTER>
<?php if ($this->_tpl_vars['num'] == '0'): ?>
<FONT size=2>対象データが存在しません</FONT>
<?php else: ?>
<TABLE border=1 bordercolor="#008080" WIDTH="600">
<TR bgcolor="#FFCC99">
<TD ALIGN="CENTER" WIDTH="300"><FONT size=2><B>回答パターン名称</B></FONT></TD>
<TD ALIGN="CENTER" WIDTH="100"><FONT size=2><B>選択数</B></FONT></TD>
<TD ALIGN="CENTER" WIDTH="100"><FONT size=2><B>初期表示</B></FONT></TD>
<TD ALIGN="CENTER" WIDTH="100"><FONT size=2><B>削除</B></FONT></TD>
</TR>
<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['kaito_ptn']) ? 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>
<?php echo $this->_tpl_vars['kaito_ptn'][$this->_sections['idx']['index']]; ?>
</tr>
<?php endfor; endif; ?>
</TABLE>
<TABLE border=0 WIDTH="900">
<TR>
<TD>
<CENTER>
<FONT size=2><B>※選択数0個の送信は、既読確認のみで回答を入力することはできません。</B></FONT>
</CENTER>
</TD>
</TR>
</TABLE>
<?php endif; ?>
</CENTER>
</TD>
</TR>
</TABLE>
<BR>
<TABLE border=0 WIDTH="900">
<TR>
<TD>
<CENTER>
<INPUT type="button" name="back" value="メニューへ戻る" onClick="location='MAIN0000.php'">
</CENTER>
</TD>
</TR>
</TABLE>
<input type="hidden" name="exeflg" value="0">
<input type="hidden" name="scrflg" value="0">
</CENTER>
<!-- フッター表示 -->
<?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>