BUY0000.tpl 4.27 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 chk(){
		if (document.frm.point.value==0) {
				alert("ご購入ポイントを選択してください");
				document.frm.point.focus();
				return false;
		}
		if (hissu_chk("氏名",document.frm.buy_name.value)==false) {
				document.frm.buy_name.focus();
				return false;
		}
		if (hissu_chk("メールアドレス",document.frm.mail_add1.value)==false) {
				document.frm.mail_add1.focus();
				return false;
		}
		if (hissu_chk("メールアドレス",document.frm.mail_add2.value)==false) {
				document.frm.mail_add2.focus();
				return false;
		}
		if (mailadr_chk(document.frm.mail_add1.value,document.frm.mail_add2.value)==false) {
				document.frm.mail_add1.focus();
				return false;
		}
		document.frm.action = "BUY0001.php";
		document.frm.method="POST"
		document.frm.submit();
}

function go_crdt(){
	window.open("","MtcAspSettlement","width=900,height=600,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
	document.frm.target = "MtcAspSettlement";
	document.frm.action = "https://www.mtc-sv.jp/pay/srvc1000.php";
	document.frm.method="POST"
	document.frm.submit();
}

{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<!-- 一覧表示 -->
<center>
<table width="100%" border="0">
	<tr><th><B><FONT color=blue size=5>ポイント購入</FONT></B></th></tr>
</table>
<HR>
お支払い方法を選んでください。
<table border="0"> 
	<tr> 
		<td align="center">
			<div class="shi_area">
				<h2>クレジットカード</h2>
				<p>
					Visa、MasterCardがご利用いただけます<br><br>
					<a href="javascript:go_crdt();"><img src="./img/btn_cre.jpg" alt="クレジットカード決済はこちらから" width="491" height="56" border="0"></a><br>
					<input type="hidden" name="pg_user_id" value="{$PHP_POST_SYAIN_ID}">
					<input type="hidden" name="pg_user_name" value="{$PHP_POST_DB_USER_NAME}">
				</p>
			</div>
		</td> 
	</tr> 
</table>
<hr />
<table border="0"> 
	<tr> 
		<td align="center">
			<div class="shi_area">
				<h2 class="ptitle">銀行振込</h2>
				{if $buy_flg == "1"}
						<center><FONT size="3" color=#FF0000><B>※購入手続き中のポイントがあります。<br>新規購入は手続き中の処理が完了するまでお待ち下さい。</FONT></center>
				{/if}
				<div class="po">
					<table width="544">
						<tr>
							<th width="199">ご購入ポイント</th>
							<td width="329">
								<select name="point">
									<option value="0" selected>▼ お選び下さい</option>
									<option value="1">500ポイント(2,000円)</option>
									<option value="2">1100ポイント(4,000円)</option>
									<option value="3">1700ポイント(6,000円)</option>
									<option value="4">3500ポイント(10,000円)</option>
									<option value="5">8000ポイント(20,000円)</option>
								</select>
							</td>
						</tr>
					</table>
					<br>
					<TABLE width="544">
						<tr>
							<th>お支払い方法</th>
							<td>銀行振り込み</td>
						</tr>
						<tr>
							<th>ご購入者 お名前</th>
							<td><input name="buy_name" type="text" size="50"></td>
						</tr>
						<tr>
							<th width="199">メールアドレス</th>
							<td width="329">
							<input name="mail_add1" type="text" size="25">@<input name="mail_add2" type="text" size="25">
							</td>
						</tr>
					</table>
				</div>
			</div>
		</td> 
	</tr> 
</table> 
<br>



</center>
<table width="100%" border="0">
	<tr>
		<td align="center">
			{if $buy_flg == "1"}
				<input name="Submit_btn" type="button" id="Submit_btn" value="確認画面へ" disabled="true">
			{else}
				<input name="Submit_btn" type="button" id="Submit_btn" value="確認画面へ" onclick="return chk();">
			{/if}
		</td> 
	</tr> 
	<tr>
		<td align="center"><input type="button" name="back" value="メニューへ戻る" onClick="location='./MAIN0000.php'"></td> 
	</tr> 
</table>
<!-- フッター表示 -->
{include file='footer.tpl'}
</FORM>
</BODY>
</HTML>