%%A2^A25^A25533DB%%LIST1000.tpl.php 15.7 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 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
<?php /* Smarty version 2.6.26, created on 2017-06-01 09:16:47
         compiled from LIST1000.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 Send_Sheep(){
		if(confirm("未読者に再送信します。")){
				document.frm.action="LIST1010.php";
				document.frm.method="POST";
				document.frm.submit();
		}
}

//***** 再送信(選択者) *****//
function Send_Select(){
		var chkData = "";

		if (document.frm.chkSend){
				if (document.frm.chkSend.length){
						for(i = 0 ; i <= document.frm.chkSend.length-1; i++ ){
								if (document.frm.chkSend[i].checked==true){
										chkData=chkData+document.frm.chkSend[i].value+"#";
								}
						}
				}else{
						if (document.frm.chkSend.checked==true){
								chkData=document.frm.chkSend.value+"#";
						}
				}
				if (chkData==""){
						window.alert("再配信ユーザーを選択してください");
						return false;
				}
				if(confirm("選択者に再送信します。")){
						document.frm.Chk_User.value = chkData;
						document.frm.action="LIST1020.php";
						document.frm.method="POST";
						document.frm.submit();
				}
		}
}

//***** 追加送信 *****//
function Send_Add(){
		document.frm.action="LIST1030.php";
		document.frm.method="POST";
		document.frm.submit();
}

//***** メール変更(アラーム) *****//
function Change_Alarm(){
		//LIST1710.php
		document.frm.action="LIST1710.php";
		document.frm.method="POST";
		document.frm.submit();
}

//***** メール変更(再配信日時) *****//
function Change_Resend(){
		document.frm.action="LIST1720.php";
		document.frm.method="POST";
		document.frm.submit();
}

//***** メール変更(配信日時) *****//
function Change_Reserva(){
		document.frm.action="LIST1730.php";
		document.frm.method="POST";
		document.frm.submit();
}

//***** メール変更(送信先種類) *****//
function Change_SendType(){
		document.frm.action="LIST1740.php";
		document.frm.method="POST";
		document.frm.submit();
}

//***** メール変更(件名・内容) *****//
function Change_Cont(send_flg){
	 if(send_flg==1){
				document.frm.action="LIST1750.php";
				document.frm.method="POST";
				document.frm.submit();
	 }else{
			if (confirm("既にこの内容で送信済みです。\\n変更してもよろしいですか?")){
					document.frm.action="LIST1750.php";
					document.frm.method="POST";
					document.frm.submit();
			}
	 }
}

//***** メール削除 *****//
function Mail_Del(){
		if (confirm("このメールを削除します\\nよろしいですか?")){
				document.frm.action="LIST1801.php";
				document.frm.method="POST";
				document.frm.submit();
		}
}

//***** CSV出力 *****//
function Csv_Out(){
		document.frm.action="LIST1901.php";
		document.frm.method="POST";
		document.frm.submit();
}

//***** ユーザ情報詳細 *****//
function Disp_user(mail_id,usr_key){
		document.frm.mail_id.value = mail_id;
		document.frm.usr_key.value = usr_key;
		document.frm.action = "LIST1760.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="btnSheep"  value="未読者再送信" onClick="return Send_Sheep();"  <?php echo $this->_tpl_vars['btnSheep']; ?>
>
			<INPUT type="button" name="btnSelect" value="選択者再送信" onClick="return Send_Select();" <?php echo $this->_tpl_vars['btnSelect']; ?>
>
			<INPUT type="button" name="btnAdd"    value="追加送信"     onClick="return Send_Add();"    <?php echo $this->_tpl_vars['btnAdd']; ?>
>
			<INPUT type="button" name="btnDel"    value="メール削除"   onClick="return Mail_Del();">
			<INPUT type="button" name="btnCsv"    value="CSV出力"   onClick="return Csv_Out();">
		</td> 
	</tr> 
	<tr> 
		<td align="center">
			<TABLE border=1 bordercolor="#008080" width="544">
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">アラーム</FONT></B></TD>
					<TD>
						<?php if ($this->_tpl_vars['Al_Send_Flg'] == '1'): ?>
								<FONT color=#FF0000 size="2">送信済み</FONT>
								<FONT color=#FF0000 size="2"> <?php echo $this->_tpl_vars['Al_Send_Date']; ?>
</FONT>
						<?php else: ?>
								<?php if ($this->_tpl_vars['Al_Set_Flg'] == '1'): ?>
										<FONT size="2" color="red"><B><?php echo $this->_tpl_vars['Al_Send_Date']; ?>
<?php echo $this->_tpl_vars['Al_Send_Time']; ?>
</B></FONT>
								<?php else: ?>
										<FONT size="2"><B>アラーム設定無し</B></FONT>	
								<?php endif; ?>
								<INPUT type="button" name="alarm_answer" value="アラームの設定" onClick="JavaScript:Change_Alarm();" <?php echo $this->_tpl_vars['Al_disable']; ?>
>
						<?php endif; ?>
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">自動再配信</FONT></B></TD>
					<TD>
							<?php if ($this->_tpl_vars['Kidoku_FLG'] == '1'): ?>
									<FONT size="2"><?php echo $this->_tpl_vars['Kidoku_Date']; ?>
 </FONT>
									<FONT size="2"><?php echo $this->_tpl_vars['Kidoku_User']; ?>
 </FONT>
							<?php else: ?>
									<FONT size="2"><?php echo $this->_tpl_vars['Kidoku_Mode']; ?>
 </FONT>
							<?php endif; ?>
							<INPUT type="button" name="resend" value="再配信の設定" onClick="JavaScript:Change_Resend();" <?php echo $this->_tpl_vars['Kidoku_disable']; ?>
>
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">配信日時</FONT></B></TD>
					<TD>
						<FONT size="2"><?php echo $this->_tpl_vars['Send_Data']; ?>
</FONT>
						<?php if ($this->_tpl_vars['reserva_flg'] != '1'): ?>
								<FONT size="2">配信済み</FONT>
						<?php else: ?>
								<FONT size="2">配信予定</FONT>
								<?php if ($this->_tpl_vars['reserva_date'] != ""): ?>
										<FONT size="2">なし</FONT>
								<?php endif; ?>
								<INPUT type="button" name="btnReserva" value="配信日時の設定" onClick="JavaScript:Change_Reserva();">
						<?php endif; ?>
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">作成者</FONT></B></TD>
					<TD><FONT size="2"><?php echo $this->_tpl_vars['admin_name']; ?>
</FONT></TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">開催日時</FONT></B></TD>
					<TD><FONT size="2"><?php echo $this->_tpl_vars['Kaisai_Date']; ?>
</FONT></TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">送信先種類</FONT></B></TD>
					<TD>
						<FONT size="2"><?php echo $this->_tpl_vars['send_type']; ?>
 </FONT>
						<?php if ($this->_tpl_vars['reserva_flg'] == '1'): ?>
								<INPUT type="button" name="send_type_edit" value="変更" onClick="JavaScript:Change_SendType();">
						<?php endif; ?>
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">回答期限</FONT></B></TD>
					<TD><FONT size="2"><?php echo $this->_tpl_vars['limit_date']; ?>
 </FONT></TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">件名</FONT></B></TD>
					<TD>
						<FONT size="2"><?php echo $this->_tpl_vars['subject_name']; ?>
</FONT>
						<INPUT type="button" name="btnSubject" value="変更" onClick="JavaScript:Change_Cont('<?php echo $this->_tpl_vars['reserva_flg']; ?>
');" <?php echo $this->_tpl_vars['btnSubject']; ?>
>
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99" width="80"><B><FONT size="2">内容</FONT></B></TD>
					<TD>
						<FONT size="2"><?php echo $this->_tpl_vars['contents']; ?>
</FONT>
						<INPUT type="button" name="btnBody" value="変更" onClick="JavaScript:Change_Cont('<?php echo $this->_tpl_vars['reserva_flg']; ?>
');" <?php echo $this->_tpl_vars['btnBody']; ?>
>
					</TD>
				</TR>
			</TABLE>
		</td> 
	</tr> 
	<tr><td align="center"><B><FONT color=blue size=5>閲覧状況</FONT></B></td></tr> 
	<tr><td align="center"><hr /></td></tr> 
	<tr>
		<td align="center">
			<TABLE>
				<TR>
					<TD align="LEFT"><FONT color=blue size=3><B>アドレス未設定</B></FONT></TD>
					<TD align="RIGHT"><FONT color=blue size=3> <?php echo $this->_tpl_vars['NOT_CNT']; ?>
</FONT></TD>
				</TR>
				<?php if ($this->_tpl_vars['SYORI_MODE'] == 'DM'): ?>
						<TR>
							<TD align="LEFT"><FONT color=blue size=3><B>送信済み</B></FONT></TD>
							<TD align="RIGHT"><FONT color=blue size=3> <?php echo $this->_tpl_vars['SEND_CNT']; ?>
</FONT></TD>
						</TR>
				<?php else: ?>
						<TR>
							<TD align="LEFT"><FONT color=blue size=3><B>未読</B></FONT></TD>
							<TD align="RIGHT"><FONT color=blue size=3> <?php echo $this->_tpl_vars['N_READ_CNT']; ?>
</FONT></TD>
						</TR>
						<TR>
							<TD align="LEFT"><FONT color=blue size=3><B>既読</B></FONT></TD>
							<TD align="RIGHT"><FONT color=blue size=3> <?php echo $this->_tpl_vars['READ_CNT']; ?>
</FONT></TD>
						</TR>
						<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['ANS_LIST']) ? 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"><FONT color=blue size=3><B><?php echo $this->_tpl_vars['ANS_LIST'][$this->_sections['idx']['index']][1]; ?>
</B></FONT></TD>
									<TD align="RIGHT"><FONT color=blue size=3><?php echo $this->_tpl_vars['ANS_LIST'][$this->_sections['idx']['index']][2]; ?>
</FONT></TD>
								</TR>
						<?php endfor; endif; ?>
				<?php endif; ?>
			</TABLE>
		</td> 
	</tr> 
	<tr> 
		<td align="center">
			<TABLE border=1 bordercolor="#008080" width="100%">
				<TR bgcolor="#FFCC99">
					<TD align="center" width="15%"><FONT size=2><B>氏 名</B></FONT></TD>
					<TD align="center" width="15%"><FONT size=2><B>グループ</B></FONT></TD>
					<TD align="center" width="20%"><FONT size=2><B>閲 覧</B></FONT></TD>
					<TD align="center" width="15%"><FONT size=2><B>確認日時</B></FONT></TD>
					<TD align="center" width="25%"><FONT size=2><B>コメント</B></FONT></TD>
					<TD align="center" width="5%"><FONT size=2 bgcolor="#99FF99"><B>送信先</B></FONT></TD>
					<TD align="center" width="5%"><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['User_List']) ? 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"><FONT size=2><a href="#" onclick="Disp_user('<?php echo $this->_tpl_vars['mail_id']; ?>
','<?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][7]; ?>
');"><?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][1]; ?>
</a></FONT></TD>
							<TD align="left"><FONT size=2><?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][2]; ?>
</FONT></TD>
							<TD align="center"><FONT size=2 <?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][8]; ?>
><?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][3]; ?>
</FONT></TD>
							<TD align="center"><FONT size=2><?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][4]; ?>
</FONT></TD>
							<TD align="left"><FONT size=2><?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][5]; ?>
 </FONT></TD>
							<TD align="center"><FONT size=2><?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][6]; ?>
</FONT></TD>
							<TD align="center"><FONT size=2><INPUT type="checkbox" NAME="chkSend" VALUE="<?php echo $this->_tpl_vars['User_List'][$this->_sections['idx']['index']][0]; ?>
"></FONT></TD>
						</TR>
				<?php endfor; endif; ?>
			</TABLE>
		</td> 
	</tr> 
	<tr> 
		<td align="center">
		</td> 
	</tr> 
</table> 
<table width="100%" border="0"> 
	<tr>
		<td align="center"><input type="button" name="btnReturn" value="一覧へ戻る" onClick="location='LIST0000.php'"></td> 
	</tr> 
</table>
<INPUT type="hidden" name="mail_id"    value="<?php echo $this->_tpl_vars['mail_id']; ?>
">
<INPUT type="hidden" name="N_READ_CNT" value="<?php echo $this->_tpl_vars['N_READ_CNT']; ?>
">
<INPUT type="hidden" name="Chk_User" value="">
<INPUT type="hidden" name="usr_key" 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>