-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
30 lines (30 loc) · 714 Bytes
/
Copy pathindex.php
File metadata and controls
30 lines (30 loc) · 714 Bytes
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
<?php
define("IN_STORYBOT", 1);
require_once("config/config.php");
if(!is_mod(mod_id())) {
echo <<<END
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html>
<head>
<title>Storybot Register</title>
<link rel="stylesheet" type="text/css" href="media/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
<body>
<center>
<img src="media/logo.png" />
<br />
<form action='action.php' method='GET'>
Click to register!
<br />
<input type="hidden" name="type" value="register" />
<input type="submit" value="Register" />
</form>
END;
} else {
header("Location: mod.php");
}
?>
</center>
</body>
</html>