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
|
<? include('_init.php');
$id = intval($_SESSION['member_login']);
if (!$id) { $path = 'signupTutor.php'; @header("Location: {$path}"); echo "<script language='JavaScript'>window.location='{$path}'</script>"; exit(); } else { $sql = "select * from tutor_main where id = ? and deleted = ? and status = ?"; $parameters = array($id, 0, 2); $row = bind_pdo($sql, $parameters, "selectone");
if (!$row['id']) { $path = 'index.php'; @header("Location: {$path}"); echo "<script language='JavaScript'>window.location='{$path}'</script>"; exit(); } } ?> <!DOCTYPE html> <html lang="en"> <head> <? include('_head.php') ?> <link href="css/_sign.css" type="text/css" rel="stylesheet"> <script src='https://www.google.com/recaptcha/api.js?hl=en'></script> <script> function refreshcode() { $('#LiCodeiframe').html('<iframe width="160" height="50" src="../_verifyCode.php" frameborder="0" scrolling="no" marginwidth="0"></iframe>'); } </script> <script type="text/javascript" src="js/facebook.js"></script> </head>
<body>
<!-- Navigation --> <? include('_header.php'); ?> <div class="formSection"> <? $signupMenu = 'menu' ?> <? include('_signupTutorMenu.php') ?> <div class="TutorForm"> <form action="../_process.php" method="post" enctype="multipart/form-data" id="LiForm"> <input type="hidden" name="action" value="signup_tutorverification"/> <input type="hidden" name="facebook_id" value="<? if ($row['facebook_id']) { echo $row['facebook_id']; } ?>"/> <!--<div class="VerifyHeading">將你的帳戶進行認證和與社交網絡聯繫 是最容易獲取學生信任的方法 !!!</div>--> <div class="SocialNetwork"> <div class="SocialSet" style="margin-top:10px;"> <div class="SocialLeft"> <div><img src="../img/signup/Icon_Facebook.png"><?= _lang("Connect Facebook") ?></div> <div> <font color="#0012ff" style="font-size:12px; font-weight:100;"><?= _lang("Student can know more about us through Facebook.") ?></font> </div> </div> <div class="SocialRight"> <? if ($row['facebook_id']) { ?> <input type="button" value="<?= _lang("Connected") ?>" id="LiConnectFB" class="SocialSend"> <? } else { ?> <input type="button" value="<?= _lang("Connect") ?>" id="LiConnectFB" class="SocialSend" sname="<?= _lang("Connected") ?>" onclick="statusChangeCallback()"> <div style="color:#F00; display:none;" class="error" id="fbError"> <?= _lang('This facebook account has been used.') ?> </div> <? } ?> </div> </div> <!-- <div class="SocialSet"> <div class="SocialLeft"><img src="../img/signup/Icon_GooglePlus.png">Google+</div> <div class="SocialRight"> <input type="button" value="CONNECT" class="SocialSend"> </div> </div>--> </div>
<div class="InputDataIII"> <input type="checkbox" name="is_provision" value="1" required> <?= html_entity_decode(_lang('Read and understand all of the above ')) ?> <a href="tnc.php"> <?= _lang('Terms of Service') ?> </a> <div style="color:#F00; display:none;" class="error" id="provisionError"> <?= _lang('Please click if you have read') ?> </div> </div> <input type="submit" value="<?= _lang('SUBMIT') ?>" id="submitBTN" class="submitBTN"> </form> </div> </div> <? include('_footer.php') ?> </body> </html>
|