%%08^08A^08A43A1D%%MST1410.tpl.php 5.38 KB
<?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>