%%A8^A85^A8539BB8%%SEND1000.tpl.php 14.2 KB
<?php /* Smarty version 2.6.26, created on 2017-05-31 13:33:34
         compiled from SEND1000.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/jkl-calendar.js" charset="Shift_JIS"></script>
<script type="text/javascript" src="./include/SEND1000.js" charset="EUC-JP"></script>
</HEAD>
<BODY onLoad="send_change();kouhoChange();<?php echo $this->_tpl_vars['strStartChk']; ?>
">
<FORM METHOD="POST" name="Frm" enctype="multipart/form-data" style="margin:0px; ">
<!-- ヘッダー表示 -->
<?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 width="70%">
			<CENTER><B><FONT color=blue size=5>スケジュール調整メール配信</FONT></B></CENTER>
		</th>
	</tr>
</table>
<HR>
<?php if (( $this->_tpl_vars['PHP_POST_DB_FLG'] == 6 )): ?>
	<font color="#FFFF00" size=4>
		<b><a href="http://www.mail-ni-pon.net/category/7151311-1.html#p2" target="_blank">※ポイントについて</a></b>
	</font>
	<br><br>
<?php endif; ?>
<FONT size="2" color=#FF0000>
	<b><FONT size="2">項目の入力・選択を行わないと配信できません</b>
</FONT>
<BR>

<div align="center">
<TABLE border=1 bordercolor="#008080" width="700">
	<TR>
		<TD bgcolor="#FFCC99">
			<B><FONT size="2" color=#FF0000></FONT><FONT size="2">送信先</FONT></B>
		</TD>
		<TD>
			<input type="radio" name="radSendPtn" value="1" onClick="send_change();" <?php echo $this->_tpl_vars['radSend'][0]; ?>
><FONT size="2">個人配信</FONT><br>
			 <INPUT size="60" maxlength="50" type="text" name="sousin" value="<?php echo $this->_tpl_vars['strSubmitName']; ?>
" readonly>
				<INPUT type="button" name="sousin_sentaku" value="送信先の選択をする" onClick="JavaScript:Select();">
			<hr>
			<input type="radio" name="radSendPtn" value="2" onClick="send_change();" <?php echo $this->_tpl_vars['radSend'][1]; ?>
><FONT size="2"><?php echo $this->_tpl_vars['strDisp_Name'][1]; ?>
配信</FONT><br>
			<?php echo $this->_tpl_vars['strGP']; ?>

		</TD>
	</TR>
	<TR>
		<TD bgcolor="#FFCC99">
			<B><FONT size="2" color=#FF0000></FONT><FONT size="2">送信先機種</FONT></B>
		</TD>
		<TD>
			<FONT size="2">
				<input name="SendType" type="radio" value="0" <?php echo $this->_tpl_vars['radSendType'][0]; ?>
>両方 
				<input name="SendType" type="radio" value="1" <?php echo $this->_tpl_vars['radSendType'][1]; ?>
>携帯のみ 
				<input name="SendType" type="radio" value="2" <?php echo $this->_tpl_vars['radSendType'][2]; ?>
>PCのみ 
			</FONT>
		</TD>
	</TR>
	<TR>
		<TD bgcolor="#FFCC99">
			<B><FONT size="2" color=#FF0000></FONT><FONT size="2"><?php echo $this->_tpl_vars['strDisp_Name'][2]; ?>
</FONT></B>
		</TD>
			<TD>
				<INPUT size="30" maxlength="28" type="text" name="kenmei" value="<?php echo $this->_tpl_vars['TITLE']; ?>
">
				<input type="checkbox" name="tei" <?php echo $this->_tpl_vars['rad_tei']; ?>
><FONT size=2><B>定型文有り</B></FONT>
		</TD>
	</TR>
	<TR>
		<TD bgcolor="#FFCC99">
			<B><FONT size="2" color=#FF0000></FONT><FONT size="2" class="space">本文</FONT></B>
		</TD>
		<TD>
			<TEXTAREA rows="10" cols="60" name="text"><?php echo $this->_tpl_vars['MAIL_TEXT']; ?>
</TEXTAREA>
			<BR>
		</TD>
	</TR>
	<TR>
		<TD bgcolor="#FFCC99">
			<B><FONT size="2" color=#FF0000></FONT><FONT size="2">候補日時</FONT></B>
		</TD>
		<TD>
			<FONT size="2">候補数 </FONT>
			<select name="kouho" onChange="kouhoChange();">
				<?php echo $this->_tpl_vars['optKouho']; ?>

			</select>
			<BR>
			<FONT size="2">希望日時無しの選択肢</FONT>
			<input type="text" name="noAnswer" size="60" maxlength="30" value="<?php echo $this->_tpl_vars['noAnswer']; ?>
">
		<?php unset($this->_sections['idx']);
$this->_sections['idx']['name'] = 'idx';
$this->_sections['idx']['loop'] = is_array($_loop=$this->_tpl_vars['kouhoData']) ? 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']);
?>
			<div id="div_k<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
				<hr>
				<table>
					<tr>
						<td rowspan="2" width="80">
							<FONT size="2"><?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
 候補 </FONT>
						</td>
						<td>
							<FONT size="2">
								開始日時
								<INPUT size="5" maxlength="4" type="text" name="kouhoS_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" Value="<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][1]; ?>
" id="kouhoS_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" >
								<select name="kouhoS_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" onchange="JavaScript:DayMax('S', '<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
');">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][2]; ?>

								</select>
								<select name="kouhoS_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][3]; ?>

								</select>
								<select name="kouhoS_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][4]; ?>

								</select>
								<select name="kouhoS_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoS_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][5]; ?>

								</select>
								<!--カレンダー-->
								<a href="javascript:calS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
.write();">
									<img id="dateLinkS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" src="./img/cl001.gif" alt="日付選択" border="0" style="vertical-align:middle;margin:5px"/>
								</a>
								<input type="hidden" name="colnameS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" value="">
								<div id="calidS<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
"></div>
							</FONT>
						</td>
					</tr>
					<tr>
						<td>
							<FONT size="2">
								終了日時
								<INPUT size="5" maxlength="4" type="text" name="kouhoE_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" Value="<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][6]; ?>
" id="kouhoE_yyyy<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
								<select name="kouhoE_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_mm<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" onchange="JavaScript:DayMax('E', '<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
');">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][7]; ?>

								</select>
								<select name="kouhoE_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_dd<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][8]; ?>

								</select>
								<select name="kouhoE_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_hh<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][9]; ?>

								</select>
								<select name="kouhoE_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" id="kouhoE_ii<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
">
									<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][10]; ?>

								</select>
								<!--カレンダー-->
								<a href="javascript:calE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
.write();">
									<img id="dateLinkE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" src="./img/cl001.gif" alt="日付選択" border="0" style="vertical-align:middle;margin:5px"/>
								</a>
								<input type="hidden" name="colnameE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
" value="">
								<div id="calidE<?php echo $this->_tpl_vars['kouhoData'][$this->_sections['idx']['index']][0]; ?>
"></div>
							</FONT>
						</td>
					</tr>
				</table>
			</div>
		<?php endfor; endif; ?>
		</TD>
	</TR>
	<TR>
		<TD bgcolor="#FFCC99">
			<B><FONT size="2">回答期限</FONT><FONT size="2" color=#FF0000></FONT></B>
		</TD>
		<TD>
			<FONT size="2">
			<INPUT size="5" maxlength="4" type="text" name="limit_yyyy" Value="<?php echo $this->_tpl_vars['limit_yyyy']; ?>
">
			<SELECT name="limit_mm" onchange="JavaScript:DayMax5(limit_yyyy.value,limit_mm.value,0,0);">
				<?php echo $this->_tpl_vars['opt_limit_mm']; ?>

			</SELECT>
			<SELECT name="limit_dd">
				<?php echo $this->_tpl_vars['opt_limit_dd']; ?>

			</SELECT>
			<SELECT name="limit_time_hh">
				<?php echo $this->_tpl_vars['opt_limit_time_hh']; ?>

			</SELECT>
			<SELECT name="limit_time_mm">
				<?php echo $this->_tpl_vars['opt_limit_time_mm']; ?>

			</SELECT>分 
			<!--カレンダー-->
			<a href="javascript:cal0.write();">
				<img id="dateLink0" src="./img/cl001.gif" alt="日付選択" border="0" style="vertical-align:middle;margin:5px"/>
			</a>
			<input type="hidden" name="colname0" value="<?php echo $this->_tpl_vars['calYMD0']; ?>
">
			<div id="calid0"></div>
		</TD>
	</TR>
	<TR>
		<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000></FONT><FONT size="2">閲覧状況の公開</FONT></B></TD>
		<TD>
			<FONT size="2">
				<input name="view_flg" type="radio" value="0" <?php echo $this->_tpl_vars['rad_view_flg'][0]; ?>
>公開しない 
				<input name="view_flg" type="radio" value="1" <?php echo $this->_tpl_vars['rad_view_flg'][1]; ?>
>公開する 
			</FONT>
		</TD>
	</TR>
</TABLE>
</div>

<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="Send_User" value="<?php echo $this->_tpl_vars['Send_User']; ?>
">
<INPUT type="hidden" name="userCNT"   value="<?php echo $this->_tpl_vars['userCNT']; ?>
">
<INPUT type="hidden" name="group_id"  value="<?php echo $this->_tpl_vars['group_id']; ?>
">

<?php echo $this->_tpl_vars['strPtnCode']; ?>

<INPUT type="hidden" name="pattern_flg" value="">

<div align="center">
<p><FONT size="2"><B>
↓情報を配信する場合はこのボタンを押してください↓<br>
</B></FONT>
<INPUT type="button" name="submit_btn" value="配信" onClick="JavaScript:haisin(<?php echo $this->_tpl_vars['PHP_POST_DB_FLG']; ?>
,'<?php echo $this->_tpl_vars['strDisp_Name'][1]; ?>
','<?php echo $this->_tpl_vars['strDisp_Name'][2]; ?>
')" style="padding:4px 20px 4px 20px; ">
</p>
<hr>
<INPUT type="button" name="back" value="メニューへ戻る" onClick="JavaScript:menuBack();">
</div>
<!-- フッター表示 -->
<?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);
 ?>

</CENTER>
</form>
</BODY>
</HTML>