You've already forked OpenShorte.old
Renamed "includes" to "templates" Added .htaccess to redirect requests to index.php Added function to split request URL into array Corrected locations in scripts and pages
15 lines
510 B
PHP
15 lines
510 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>BJPHoster URL Shortener | Login</title>
|
|
</head>
|
|
<body>
|
|
<input type="text" id="form-username"><br>
|
|
<input type="password" id="form-password"><br>
|
|
<button onclick="login()">Login</button><br>
|
|
<div id="responsetext"></div>
|
|
<script src="js/sha512.min.js"></script>
|
|
<script src="js/login.js"></script>
|
|
<script>var script_name = "<?=substr($_SERVER['SCRIPT_NAME'],0,-10)?>";</script>
|
|
</body>
|
|
</html> |