LIST1030.tpl 3.89 KB
<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>
{literal}

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();	
		}
}

{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm" enctype="multipart/form-data" method="post">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<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">
			{if ($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>
			{/if}
		</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" >{$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" {$TypeChk[0]}>両方 
						<input name="SendType" type="radio" value="1" {$TypeChk[1]}>携帯のみ 
						<input name="SendType" type="radio" value="2" {$TypeChk[2]}>PCのみ 
					</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000>*</FONT><FONT size="2">件名</FONT></B></TD>
					<TD>{$subject_name}</TD>
				</TR>
				<TR>
					<TD bgcolor="#FFCC99"><B><FONT size="2" color=#FF0000>*</FONT><FONT size="2" class="space">本文</FONT></B></TD>
					<TD>{$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_POST_DB_FLG},{$intGroupCount});" style="padding:4px 20px 4px 20px; ">
			</p>
		</TD>
	</TR>
</TABLE>
<input type="hidden" name="Send_User"  value="{$Send_User}" /> 
<INPUT type="hidden" name="mail_id"    value="{$mail_id}">
<!-- フッター表示 -->
{include file='footer.tpl'}
</FORM>
</BODY>
</HTML>