forked from NamelessMC/Nameless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rewrite_test.php
55 lines (46 loc) · 1.17 KB
/
rewrite_test.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
<?php
/*
* Made by Samerton
* https://github.com/NamelessMC/Nameless/
* NamelessMC version 2.0.0-pr8
*
* License: MIT
*
* Rewrite test
*/
?>
<html lang="en">
<head>
<title>Rewrite Test • NamelessMC</title>
<!-- Global CSS -->
<link rel="stylesheet" href="core/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="core/assets/css/custom.css">
<link rel="stylesheet" href="core/assets/css/font-awesome.min.css">
<style>
html {
overflow-y: scroll;
}
body {
background-color: #eceeef;
}
</style>
</head>
<body>
<div style="text-align: center">
<br/><br/><br/>
<h1>NamelessMC v2 <sup><span style="font-size: small;">pre-release</span></sup></h1>
<hr/>
<div class="row">
<div class="col-md-6 offset-md-3">
<?php
if (isset($_GET['route']) && $_GET['route'] == '/rewrite_test') {
echo '<div class="alert alert-success">Rewrite enabled!</div>';
} else {
echo '<div class="alert alert-danger">Rewrite disabled!</div>';
}
?>
</div>
</div>
</div>
</body>
</html>