This repository has been archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newuser_final.php
82 lines (76 loc) · 2.4 KB
/
newuser_final.php
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
<!DOCTYPE html>
<html>
<head>
<?php
include "config.php";
?>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocas-ui/2.3.2/tocas.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocas-ui/2.3.2/tocas.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css">
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
#outer
{
width:100%;
text-align: center;
}
.inner
{
display: inline-block;
}
</style>
</head>
<body>
<div class="ts container">
<br><br><br>
<div class="ts massive steps">
<div class="step">
<div class="content">
<div class="title"><?php echo $lang['newuser_google']; ?></div>
<div class="description"><?php echo $lang['newuser_googledec']; ?></div>
</div>
</div>
<div class="step">
<i class="info icon"></i>
<div class="content">
<div class="title"><?php echo $lang['newuser_telegram']; ?></div>
<div class="description"><?php echo $lang['newuser_telegramdec']; ?></div>
</div>
</div>
<div class="active step">
<i class="info icon"></i>
<div class="content">
<div class="title"><?php echo $lang['newuser_confirm']; ?></div>
</div>
</div>
</div>
<div class="ts inverted primary segment">
<p><?php echo $lang['newuser_newuser']; ?></p>
</div>
<table>
<td>
<p><?php echo $lang['newuser_final']; ?></p>
<p>Telegram : <?php echo $_GET["tg"]; ?></p>
<p>Google Secret : <?php echo $_GET["data"]; ?></p>
<button class="btn btn-block btn-lg btn-primary" onclick="g_auth();">確定</button>
</td>
</table>
<script>
var g_auth=function(){
$.get("./lib/newuser.php",
{
google: "<?php echo $_GET["data"]; ?>",
id: "<?php echo $_GET["id"]; ?>",
telegram: "<?php echo $_GET["tg"]; ?>",
},
function(data, status){
console.log(status);
});
window.location = "index.php?url=<?php echo $_GET["url"]; ?>";
};
</script>
</body>
</html>