-
Notifications
You must be signed in to change notification settings - Fork 0
/
end.php
130 lines (102 loc) · 4.13 KB
/
end.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
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
<?php
include "config.php";
if(isset($_COOKIE['uuid'])){
$conn = mysqli_connect($servername, $username, $password, $dbname);
$sql = "SELECT ending FROM user WHERE uuid ='" . $_COOKIE['uuid'] . "'";
$result = mysqli_query($conn, $sql);
while ($row = mysqli_fetch_assoc($result)) {
$a = $row["ending"];
}
//echo $a;
if($a ==1){
echo "
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta content='width=device-width,user-scalable=no' name='viewport'>
<title>The Ending</title>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'>
<link rel='stylesheet' href='./argon.min.css' type='text/css'>
</head>
<body>
<div class='main-content' id='panel'>
<div class='header bg-pink pb-6'>
<div class='container-fluid'>
<div class='header-body'>
<div class='row align-items-center py-4'>
<div class='col-lg-6 col-7'>
<h6 class='h2 text-white d-inline-block mb-0'>The Ending</h6>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class='container-fluid mt--6'>
<div class='row'>
<div class='col-xl-8 center'>
<div class='card'>
<div class='card-body' >
<div style='text-align:center;'><h2 class='card-header' >结局
</h2></div>
<p class='card-text mb-4'>
<p>
没有想到,原来她的父母也是支持我的这门婚事的。
<br> 有情人,终成眷属。
<br> ......
<br> 婚礼即将开始,我终于可以迎娶我的爱人了。
<br> 感谢年少时的我奋力拼搏,我终于走进了她的未来。
<br> 她的未来会有我的参与,我与她的爱最终成为了我们的未来。
<br>
<br> 到了婚礼上,主持人问她。
<br> “此时此刻,你想对你的爱人说些什么吗?”
<br> 她会心一笑,只说了一句话。
<br> “我欲与君相知,长命无绝衰”
<br> (全剧终)
</p>
</p>
</div>
</div>
<!-- 此处编写跳转逻辑(下一页还没想好) -->
<div class='card'>
<div class='card-header'>
<h3 class='mb-0'>了解我们的团队</h3>
</div>
<div class='card-body' style='text-align:center'>
<form>
<h4>这次解密游戏倾注了我们极大的心血,欢迎了解我们的团队</h4>
<input type='button' value='立即跳转' type='submit' name='submit'onClick='b()' class='col-auto btn btn-sm btn-success'>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src='./jquery.min.js'></script>
<script src='./bootstrap.bundle.min.js'></script>
<script>
function b(){
location.href='about.html';
}
</script>
</body>
<footer>
<div class='card'>
<div class='card-header' style='text-align:center'>
联系我们:seimo@sakura-bbs.cn
<br> 官方鹅群:542645899
<br>本游戏策划团队版权所有,遵循AGPL开源协议。游戏所有源码将于结束后开源,可关注B站@Seimo 或加入官方鹅群获取详情</div>
</div>
</footer>
</html>
";
}else{
echo "<script>location.href='jump.html'</script>";
}
}else{
echo "<script>location.href='no-login.html'</script>";
}