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
|
<?php require_once('webadmin/basic_info.php');
if (!isset($_SESSION["id"]) || (int)$_SESSION["id"] <= 0) { echo "<script type='text/javascript'>alert('Cannot find survey information.');</script>"; exit; } else { $id = (int)$_SESSION["id"];
$campaign = get_campaign($id); check_campaign_date($campaign); } ?>
<!DOCTYPE html> <html> <head> <?php require_once('html_head.php'); ?> <link rel="stylesheet" type="text/css" media="screen" href="js/form_builder/assets/css/form-builder.min.css">
<?php if (empty($_SESSION["telephone"])) { echo "<script>alert('Please enter your mobile number.\\n請輸入你的手提電話號碼。'); location.href='registration_step1.php';</script>"; exit; } ?>
<script type="text/javascript"> function resend_sms() { alert("Verification Code SMS has resent.\n驗證碼短訊已重發。"); location.href = 'registration_step1_post.php'; } </script> </head> <body>
<div class="container"> <h1> <?php foreach ($arraylangcode as $langcode => $langname) { if (!empty($campaign["name_" . $langcode])) { echo $campaign["name_" . $langcode] . "<br>"; } } ?> </h1>
<div style="margin-top: 30px;font-size: 17px;"> <form action="registration_step1_verify_post.php" method="post" name="register" id="register" enctype="multipart/form-data"> <h4>Register Sinomax Member 登記 Sinomax 會員<br><br>Step 1. Verify Mobile Phone Number<br>步驟一 驗證手提電話號碼</h4>
<div class="user_info_field"> <div class="required_field">Mobile Phone Number 手提電話號碼</div> <?=($_SESSION["telephone"]);?>
</div>
<div class="user_info_field"> <div class="required_field">Code 認證碼</div> <input class="form-control text-input" name="code" type="text"> <br>
<button type="button" class="btn" onclick="resend_sms();">Resend Code 重發認證碼</button>
</div>
<div class="tc" style="margin-top: 50px;"> <a href="registration_step1.php" style="margin-right: 20px;"> <button type="button" class="btn">Previous Step 上一步</button> </a> <button type="submit" class="btn">提交 Submit</button> </div>
</form> </div>
</div>
<?php require_once('html_footer.php'); ?> </body> </html>
|