%%6E^6EF^6EFF3345%%LIST0000.tpl.php
6.09 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
<?php /* Smarty version 2.6.26, created on 2017-06-01 09:16:44
compiled from LIST0000.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 type="text/javascript" src="./include/input_chk.js" charset="EUC-JP"></script>
<script>
<?php echo '
function Disp_Mail(mail_id,fname){
document.frm.mail_id.value = mail_id;
document.frm.action = fname;
document.frm.method="POST";
document.frm.submit();
}
function Delete_Mail(){
if (confirm("選択されたメールを削除します\\nよろしいですか?")){
if (document.frm.delete_id.length){
for(i = 0 ; i <= document.frm.delete_id.length-1; i++ ){
if (document.frm.delete_id[i].checked==true){
document.frm.strChkDat.value=document.frm.strChkDat.value+document.frm.delete_id[i].value+"#";
}
}
}else{
if (document.frm.delete_id.checked==true){
document.frm.strChkDat.value=document.frm.delete_id.value+"#";
}
}
document.frm.action = "LIST0001.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 width="100%" border="0">
<tr>
<td align="center">
<input type="button" name="btnReturn" value="メニューへ戻る" onClick="location='MAIN0000.php'">
<INPUT type="button" value="メール削除" onClick="Delete_Mail();"><BR><BR>
<FONT color=blue size=2><B>現在 <?php echo $this->_tpl_vars['MailCnt']; ?>
件の配信済情報を表示しています</B></FONT>
</td>
</tr>
<tr>
<td align="center">
<TABLE border=1 bordercolor="#008080" WIDTH="800">
<TR bgcolor="#FFCC99">
<TD align="center" WIDTH="200"><FONT size=2><B>作成日時</B></FONT></TD>
<TD align="center"><FONT size=2><B>件 名</B></FONT></TD>
<TD align="center" WIDTH="150"><FONT size=2><B>閲覧状況</B></FONT></TD>
<TD align="center" Width="80"><FONT size=2><B>アラーム有無</B></FONT></TD>
<TD align="center" Width="50"><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['MailData']) ? 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 bgcolor="<?php echo $this->_tpl_vars['DataSC'][$this->_sections['idx']['index']][0]; ?>
">
<TD align="center"><FONT size=2><a href="#" onclick="Disp_Mail('<?php echo $this->_tpl_vars['MailData'][$this->_sections['idx']['index']][0]; ?>
','<?php echo $this->_tpl_vars['DataSC'][$this->_sections['idx']['index']][2]; ?>
');"><?php echo $this->_tpl_vars['MailData'][$this->_sections['idx']['index']][1]; ?>
</a></FONT></TD>
<TD align="left"><FONT size=2><?php echo $this->_tpl_vars['MailData'][$this->_sections['idx']['index']][2]; ?>
<?php echo $this->_tpl_vars['DataSC'][$this->_sections['idx']['index']][1]; ?>
</FONT></TD>
<TD align="center"><FONT size=2><?php echo $this->_tpl_vars['MailData'][$this->_sections['idx']['index']][3]; ?>
</FONT></TD>
<TD align="center"><FONT size=2><?php echo $this->_tpl_vars['MailData'][$this->_sections['idx']['index']][4]; ?>
</FONT></TD>
<TD align="center"><INPUT type="checkbox" NAME="delete_id" VALUE="<?php echo $this->_tpl_vars['MailData'][$this->_sections['idx']['index']][0]; ?>
"></TD>
</TR>
<?php endfor; endif; ?>
</TABLE>
</td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td align="center"><input type="button" name="btnReturn" value="メニューへ戻る" onClick="location='MAIN0000.php'"></td>
</tr>
</table>
<INPUT type="hidden" name="strChkDat" value="">
<INPUT type="hidden" name="mail_id" value="">
<!-- フッター表示 -->
<?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>