BUY0000.tpl
4.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!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>