-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregistration_check.php
More file actions
140 lines (116 loc) · 3.33 KB
/
Copy pathregistration_check.php
File metadata and controls
140 lines (116 loc) · 3.33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="widh3=device-widh3,initial-scale=1">
<link rel="stylesheet" href="css/register.css">
<link rel="icon" href="img/favicon.ico">
<script src="js/register.js"></script>
<script src="js/jquery-3.1.1.min.js"></script>
<title>O書店</title>
</head>
<body>
<header>
<h1><a href="index.php">O書店</a></h1>
<span>Web注文機能を使うためには、ログインしてください</span>
<a id="login" href="">ログイン</a>
</header>
<form id="search" method="get" action="search.php">
<input name="q" type="search" placeholder="書籍を検索">
<input type="submit" value="">
</form>
<div id="main">
<section>
<h2>会員登録</h2>
<form action="registration_check.php" method="post">
<div id="form" class="vertical">
<div id="id" class="horizontal">
<h3>ID</h3>
<div>
<p><?php echo $_POST['UserID']; ?></p>
</div>
</div>
<div id="password" class="horizontal">
<h3>パスワード</h3>
<div>
<p><?php
for($i = 0; $i < strlen($_POST['Password']); $i++){
echo '*';
}
?></p>
<p>セキュリティのためパスワードは伏字になっています。</p>
</div>
</div>
<div id="sex" class="horizontal">
<h3>性別</h3>
<div class="horizontal">
<p><?php
if($_POST['Gender'] == 'male'){
echo '男';
} else {
echo '女';
}
?></p>
</div>
</div>
<div id="name" class="horizontal">
<h3>氏名</h3>
<div>
<p><?php echo $_POST['LastName'] . ' ' . $_POST['FirstName']; ?></p>
</div>
</div>
<div id="phonetic" class="horizontal">
<h3>フリガナ</h3>
<div>
<p><?php echo $_POST['YomiLast'] . ' ' . $_POST['YomiFirst']; ?></p>
</div>
</div>
<div id="birth" class="horizontal">
<h3>生年月日</h3>
<p><?php echo $_POST['year'], '年', $_POST['month'], '月', $_POST['day'], '日'; ?></p>
</div>
<div id="phonenumber" class="horizontal">
<h3>電話番号</h3>
<p><?php echo $_POST['Phone']; ?></p>
</div>
<div id="mailaddress" class="horizontal">
<h3>メールアドレス</h3>
<p><?php echo $_POST['MailUser'], '@', $_POST['MailDomain']; ?></p>
</div>
<div id="address" class="horizontal">
<h3>住所</h3>
<div>
<div>
<h4>郵便番号</h4>
<p><?php echo $_POST['ZipCode1'], '-', $_POST['ZipCode2']; ?></p>
</div>
<div>
<h4>都道府県</h4>
<p><?php echo $_POST['pref']; ?>
</div>
<div>
<h4>市区町村</h4>
<p><?php echo $_POST['city']; ?></p>
</div>
<div>
<h4>番地</h4>
<p><?php echo $_POST['Address']; ?></p>
</div>
<div>
<p><?php echo $_POST['Apartment']; ?></p>
</div>
</div>
</div>
<input class="button_c" type="submit" value="送信">
</div>
</form>
<img id="character" alt="O書店公式キャラクター 羽名しおりちゃん" src="img/register_shiori.png">
</section>
</div>
<footer>
<a href="">規約</a>
<a href="">プライバシー</a>
<a href="">店舗</a>
</footer>
</body>
</html>