%%1E^1E3^1E39C846%%SEND0002.tpl.php 13.6 KB
<?php /* Smarty version 2.6.26, created on 2017-05-31 13:33:56
         compiled from SEND0002.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 TP(){
	document.frm.action = "SEND0000.php";
	document.frm.method = "POST";
	document.frm.submit();
}

function All_chk1(intFlg){
		if (document.frm.select_cd){
				if (document.frm.select_cd.length){
						for(i = 0 ; i <= document.frm.select_cd.length-1; i++ ){
							if (intFlg==1){
									document.frm.select_cd[i].checked=true;
							}else{
									document.frm.select_cd[i].checked=false;
							}
						}
				}else{
						if (intFlg==1){
								document.frm.select_cd.checked=true;
						}else{
								document.frm.select_cd.checked=false;
						}
				}
		}
}

function Tuika_User(){
		var Sel_Data = "";
		if (document.frm.select_cd){
				if (document.frm.select_cd.length){
						for(i = 0 ; i <= document.frm.select_cd.length-1; i++ ){
								if (document.frm.select_cd[i].checked){
										Sel_Data = Sel_Data+document.frm.select_cd[i].value+",";
								}
						}
				}else{
						if (document.frm.select_cd.checked){
								Sel_Data = Sel_Data+document.frm.select_cd.value+",";
						}
				}
				if (Sel_Data==""){
						alert("追加するユーザーを選択してください。");
				}else{
						document.frm.Send_User.value=document.frm.Send_User.value+Sel_Data;
						document.frm.action = "SEND0002.php";
						document.frm.method = "POST";
						document.frm.submit();
				}
		}
}

function All_chk2(intFlg){

		if (document.frm.send_cd){
				if (document.frm.send_cd.length){
						for(i = 0 ; i <= document.frm.send_cd.length-1; i++ ){
							if (intFlg==1){
									document.frm.send_cd[i].checked=true;
							}else{
									document.frm.send_cd[i].checked=false;
							}
						}
				}else{
						if (intFlg==1){
								document.frm.send_cd.checked=true;
						}else{
								document.frm.send_cd.checked=false;
						}
				}
		}
}

function Delete_User(){
		var Sel_Data = "";

		if (document.frm.send_cd){
				if (document.frm.send_cd.length){
						for(i = 0 ; i <= document.frm.send_cd.length-1; i++ ){
								if (document.frm.send_cd[i].checked==false){
										Sel_Data = Sel_Data+document.frm.send_cd[i].value+",";
								}
						}
				}else{
						if (document.frm.send_cd.checked==false){
								Sel_Data = Sel_Data+document.frm.send_cd.value+",";
						}
				}

				document.frm.Send_User.value=Sel_Data;
				document.frm.action = "SEND0002.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 border="0" width="100%">
	<tr>
		<td>
			<table width="100%" border="0">
				<tr><th><B><FONT color=blue size=5>送信先選択</FONT></B></th></tr>
			</table>
		</td>
	</tr>
	<tr><td align="center"><hr /></td></tr>
	<tr>
		<td align="center">
			<B><FONT color=blue size=4><A HREF="#" onClick="TP();">[ 送信選択終了 ]</A></FONT></B>
		</td>
	</tr>
	<tr>
		<td align="center"><FONT size=2>会員一覧が表示されます。</FONT></td>
	</tr>
	<tr>
		<td align="center">
			<?php if ($this->_tpl_vars['Select_List'][0][1] != ""): ?>
					<table border=0 WIDTH="900" >
						<TR>
							<TD align="center"></TD>
							<TD align="center"><B>氏名</B></TD>
							<TD align="center"><B>携帯アドレス</B></TD>
							<TD align="center"><B>PCアドレス</B></TD>
						</TR>
						<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['Select_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 bgcolor="#CCCCCC">
								<td align="center"><INPUT type="checkbox" id="select_cd" name="select_cd" value="<?php echo $this->_tpl_vars['Select_List'][$this->_sections['idx']['index']][0]; ?>
"></td>
								<td align="left"><?php echo $this->_tpl_vars['Select_List'][$this->_sections['idx']['index']][1]; ?>
</td>
								<td align="left"><?php echo $this->_tpl_vars['Select_List'][$this->_sections['idx']['index']][2]; ?>
</td>
								<td align="left"><?php echo $this->_tpl_vars['Select_List'][$this->_sections['idx']['index']][3]; ?>
</td>
							</TR>
						<?php endfor; endif; ?>
					</table>
			<?php else: ?>
					対象データが存在しません
			<?php endif; ?>
		</td>
	</tr>
	<tr>
		<td align="center">
			<input type="button" value=" 全体選択 " name="btnSelect1_1" onClick="All_chk1(1);">
			<input type="button" value=" 選択解除 " name="btnSelect1_0" onClick="All_chk1(0);">
			<input type="button" value=" 追加 "     name="btnTuika"     onClick="Tuika_User();">
		</td>
	</tr>
	<tr><td align="center"><hr /></td></tr>
	<tr>
		<td align="center"><FONT size=2>会員一覧が表示されます。</FONT></td>
	</tr>
	<tr>
		<td align="center">
			<table border=0 WIDTH="900" >
				<TR>
					<TD align="center"></TD>
					<TD align="center"><B>氏名</B></TD>
					<TD align="center"><B>携帯アドレス</B></TD>
					<TD align="center"><B>PCアドレス</B></TD>
				</TR>
				<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['Send_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 bgcolor="#CCCCCC">
						<td align="center"><INPUT type="checkbox" id="send_cd" name="send_cd" value="<?php echo $this->_tpl_vars['Send_List'][$this->_sections['idx']['index']][0]; ?>
"></td>
						<td align="left"><?php echo $this->_tpl_vars['Send_List'][$this->_sections['idx']['index']][1]; ?>
</td>
						<td align="left"><?php echo $this->_tpl_vars['Send_List'][$this->_sections['idx']['index']][2]; ?>
</td>
						<td align="left"><?php echo $this->_tpl_vars['Send_List'][$this->_sections['idx']['index']][3]; ?>
</td>
					</TR>
				<?php endfor; endif; ?>
			</table>
		</td>
	</tr>
	<tr>
		<td align="center">
			<input type="button" value=" 全体選択 " name="btnSelect2_1" onClick="All_chk2(1);">
			<input type="button" value=" 選択解除 " name="btnSelect2_0" onClick="All_chk2(0);">
			<input type="button" value=" 削除 "     name="btnTuika" onClick="Delete_User();">
		</td>
	</tr>
</table>
<br><B><FONT color=blue size=4><A HREF="#" onClick="TP();">[ 送信選択終了 ]</A></FONT></B>

<input type="hidden" name="Send_User" value="<?php echo $this->_tpl_vars['Send_User']; ?>
" /> 

<INPUT type="hidden" name="alarm_flg"     value="<?php echo $this->_tpl_vars['alarm_flg']; ?>
">
<INPUT type="hidden" name="alarm_yyyy"    value="<?php echo $this->_tpl_vars['alarm_yyyy']; ?>
">
<INPUT type="hidden" name="alarm_mm"      value="<?php echo $this->_tpl_vars['alarm_mm']; ?>
">
<INPUT type="hidden" name="alarm_dd"      value="<?php echo $this->_tpl_vars['alarm_dd']; ?>
">
<INPUT type="hidden" name="alarm_hh"      value="<?php echo $this->_tpl_vars['alarm_hh']; ?>
">
<INPUT type="hidden" name="alarm_time_mm" value="<?php echo $this->_tpl_vars['alarm_time_mm']; ?>
">
<INPUT type="hidden" name="alarm_id"      value="<?php echo $this->_tpl_vars['alarm_id']; ?>
">
<input type="hidden" name="SendType"   value="<?php echo $this->_tpl_vars['SendType']; ?>
">
<input type="hidden" name="radSendPtn" value="<?php echo $this->_tpl_vars['radSendPtn']; ?>
">
<input type="hidden" name="group_id"   value="<?php echo $this->_tpl_vars['group_id']; ?>
">

<input type="hidden" name="date_yyyy" value="<?php echo $this->_tpl_vars['date_yyyy']; ?>
">
<input type="hidden" name="date_mm"   value="<?php echo $this->_tpl_vars['date_mm']; ?>
">
<input type="hidden" name="date_dd"   value="<?php echo $this->_tpl_vars['date_dd']; ?>
">
<input type="hidden" name="time_hh"   value="<?php echo $this->_tpl_vars['time_hh']; ?>
">
<input type="hidden" name="time_mm"   value="<?php echo $this->_tpl_vars['time_mm']; ?>
">

<input type="hidden" name="kidok_yyyy"    value="<?php echo $this->_tpl_vars['kidok_yyyy']; ?>
">
<input type="hidden" name="kidok_mm"      value="<?php echo $this->_tpl_vars['kidok_mm']; ?>
">
<input type="hidden" name="kidok_dd"      value="<?php echo $this->_tpl_vars['kidok_dd']; ?>
">
<input type="hidden" name="kidok_hh"      value="<?php echo $this->_tpl_vars['kidok_hh']; ?>
">
<input type="hidden" name="kidok_time_mm" value="<?php echo $this->_tpl_vars['kidok_time_mm']; ?>
">
<input type="hidden" name="kidok"         value="<?php echo $this->_tpl_vars['kidok']; ?>
">
<input type="hidden" name="midok"         value="<?php echo $this->_tpl_vars['midok']; ?>
">

<input type="hidden" name="send_yyyy"    value="<?php echo $this->_tpl_vars['send_yyyy']; ?>
">
<input type="hidden" name="send_mm"      value="<?php echo $this->_tpl_vars['send_mm']; ?>
">
<input type="hidden" name="send_dd"      value="<?php echo $this->_tpl_vars['send_dd']; ?>
">
<input type="hidden" name="send_hh"      value="<?php echo $this->_tpl_vars['send_hh']; ?>
">
<input type="hidden" name="send_time_mm" value="<?php echo $this->_tpl_vars['send_time_mm']; ?>
">
<input type="hidden" name="NowSend"      value="<?php echo $this->_tpl_vars['NowSend']; ?>
">

<input type="hidden" name="radSend"    value="<?php echo $this->_tpl_vars['radSend']; ?>
">
<input type="hidden" name="TITLE"      value="<?php echo $this->_tpl_vars['TITLE']; ?>
">
<input type="hidden" name="rad_tei"    value="<?php echo $this->_tpl_vars['rad_tei']; ?>
">
<input type="hidden" name="MAIL_TEXT"  value="<?php echo $this->_tpl_vars['MAIL_TEXT']; ?>
">
<input type="hidden" name="pattern_id" value="<?php echo $this->_tpl_vars['pattern_id']; ?>
">

<input type="hidden" name="limit_yyyy"    value="<?php echo $this->_tpl_vars['limit_yyyy']; ?>
">
<input type="hidden" name="limit_mm"      value="<?php echo $this->_tpl_vars['limit_mm']; ?>
">
<input type="hidden" name="limit_dd"      value="<?php echo $this->_tpl_vars['limit_dd']; ?>
">
<input type="hidden" name="limit_time_hh" value="<?php echo $this->_tpl_vars['limit_time_hh']; ?>
">
<input type="hidden" name="limit_time_mm" value="<?php echo $this->_tpl_vars['limit_time_mm']; ?>
">

<input type="hidden" name="view_flg" value="<?php echo $this->_tpl_vars['view_flg']; ?>
">

<!-- フッター表示 -->
<?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>