SUB0100.tpl
3.37 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
<!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}
var SFlg = false; //サブミットフラグを定義
function DoubleSubmit(){ //ダブルサブミットチェック関数
if (SFlg){ //ダブルサブミットの場合
alert("応答中です"); //メッセージを出力
return false;
}
SFlg = true; //サブミットフラグを設定
return true; //戻り値を設定
}
function send_youbou(){
//メールアドレス
strdata1=document.frm.mail_address.value;
if (strdata1 !=""){
if (!strdata1.match(/.*@.*\..*/i)){
alert("不正なメールアドレスがあります\n["+strdata1+"]");
document.frm.mail_address.focus();
return false;
}
}
if (hissu_chk("内容詳細",document.frm.youbou.value)==false) {
document.frm.youbou.focus();
return false;
}
if (DoubleSubmit()) {
if (confirm("お問い合わせメールを送信します\nよろしいですか?")){
document.frm.Submit_btn.disabled = true;
document.frm.action="SUB0101.php";
document.frm.submit();
} else {
SFlg = false;
}
}
}
{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<!-- 一覧表示 -->
<table width="100%" border="0">
<tr>
<th><B><font color="blue" size="5">お問い合わせ</font></B></th>
</tr>
</table>
<hr />
<center>
<table width="50%" border="0">
<tr>
<td width="25%">E-Mail:</td>
<td><input type ="text" size = "70" name = mail_address></td>
</tr>
<tr>
<td width="25%">お問い合わせの内容:</td>
<td>
<select name = "q_ctg">
<option value = "定額制への切り替え">定額制への切り替え</option>
<option value = "機能に関するお問い合わせ">機能に関するお問い合わせ</option>
<option value = "機能に関するご要望">機能に関するご要望</option>
<option value = "ご契約内容に関するお問い合わせ">ご契約内容に関するお問い合わせ</option>
<option value = "ご契約内容の変更">ご契約内容の変更</option>
<option value = "その他">その他</option>
</select>
</td>
</tr>
<tr>
<td align="left" valign="top" colspan = "2"><textarea name= youbou cols="85" rows="15"></textarea></td>
</tr>
</table>
<br>
<table width="50%" border="0">
<tr>
<td align="center"><input type="button" name="Submit_btn" value=" 送 信 " onClick="JavaScript:send_youbou();"></td>
<td align="center"><input type="button" name="btnReturn" value="メニューへ戻る" onClick="location='MAIN0000.php'"></td>
</tr>
</table>
<hr>
<table width="50%" border="0">
<tr>
<td colspan= "2">
<font size = "2">
<b>ポイント制から定額制への切り替えをご希望の場合は、お問い合わせ内容詳細部分へご連絡先、料金プランを記載して送信してください。</b><br>
</font>
</td>
</tr>
<tr>
<td>
<font size = "2">
【連絡先内容】<br>
●ご担当者様名<br>
●住所<br>
●電話番号<br>
</font>
</td>
<td>
<font size = "2">
【料金プラン】<br>
●月払い(1,200円(税込み))<br>
●年払い(12,000円(税込み))<br>
※どちらかをご選択ください<br>
</font>
</td>
</tr>
</table>
</center>
<!-- フッター表示 -->
{include file='footer.tpl'}
</FORM>
</BODY>
</HTML>