%%24^24C^24C14175%%LIST1030.tpl.php 4.92 KB
<?php /* Smarty version 2.6.26, created on 2017-06-02 01:42:27
         compiled from LIST1030.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_List(){
		document.frm.action = "LIST1000.php";
		document.frm.method = "POST";
		document.frm.submit();
}

function Send_Select(){
		document.frm.action = "LIST1031.php";
		document.frm.method = "POST";
		document.frm.submit();
}

function Mail_Send(db_flg, intGroupCount){
		if(!document.frm.Send_User.value){
				window.alert("送信先を選択して下さい");
				return false;
		}
		var SnedMsg = "";

		if(db_flg != 6 || intGroupCount==0 || (eval(document.frm.total_max_point.value) >=1000)){
				SnedMsg = "";
		}else{
				var UserCnt = document.frm.Send_User.value.split(",")
				var SendPoint = UserCnt.length-1;
				SnedMsg = "\\nこのメールを配信するには"+SendPoint+"ポイント必要です";
				if((eval(document.frm.total_point.value)-SendPoint) < 0){
						window.alert("ポイントが足りません\\nこのメールを配信するには"+SendPoint+"ポイント必要です");
						return false;
				}
		}

		if(confirm("選択者に追加送信します。"+SnedMsg)){
				document.frm.action="LIST1032.php";
				document.frm.method = "POST";
				document.frm.submit();	
		}
}

'; ?>

</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm" enctype="multipart/form-data" 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 align="center">
			<table width="100%" border="0">
				<tr><th><B><FONT color=blue size=5>追加配信配信</FONT></B></th></tr>
			</table>
			<HR>
			<INPUT type="button" name="back" value="一覧に戻る" onClick="Disp_List();">
		</TD>
	</TR>
	<tr>
		<td align="center">
			<?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; ?>
		</td>
	</tr> 
	<TR>
		<TD align="center">
			<TABLE border=1 bordercolor="#008080" width="650">
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000></FONT><FONT size="2">送信先</FONT></B></TD>
					<TD>
						<TABLE width="100%">
							<TR>
								<TD width="50%" align="left" ><?php echo $this->_tpl_vars['Send_List']; ?>
</TD>
								<TD width="50%" align="right"><INPUT type="button" name="btnSelect" value="送信先の選択をする" onClick="Send_Select();"></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000></FONT><FONT size="2">送信先機種</FONT></B></TD>
					<TD>
						<input name="SendType" type="radio" value="0" <?php echo $this->_tpl_vars['TypeChk'][0]; ?>
>両方 
						<input name="SendType" type="radio" value="1" <?php echo $this->_tpl_vars['TypeChk'][1]; ?>
>携帯のみ 
						<input name="SendType" type="radio" value="2" <?php echo $this->_tpl_vars['TypeChk'][2]; ?>
>PCのみ 
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000></FONT><FONT size="2">件名</FONT></B></TD>
					<TD><?php echo $this->_tpl_vars['subject_name']; ?>
</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000></FONT><FONT size="2" class="space">本文</FONT></B></TD>
					<TD><?php echo $this->_tpl_vars['contents']; ?>
</TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
	<TR>
		<TD align="center">
			<p>
				<FONT size="2"><B>↓情報を配信する場合はこのボタンを押してください↓<br></B></FONT>
				<INPUT type="button" name="btnSend" value="配信する" onClick="JavaScript:Mail_Send(<?php echo $this->_tpl_vars['PHP_POST_DB_FLG']; ?>
,<?php echo $this->_tpl_vars['intGroupCount']; ?>
);" style="padding:4px 20px 4px 20px; ">
			</p>
		</TD>
	</TR>
</TABLE>
<input type="hidden" name="Send_User"  value="<?php echo $this->_tpl_vars['Send_User']; ?>
" /> 
<INPUT type="hidden" name="mail_id"    value="<?php echo $this->_tpl_vars['mail_id']; ?>
">
<!-- フッター表示 -->
<?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>