Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (file_exists("install.php")) echo "<script> window.location.href = 'install.php' </script>";
- foreach (glob("engine/*.php") as $filename)
- {
- include $filename;
- }
- ?>
- <!--
- Powered by DarkCoreCMS
- Website: http://mmltools.com
- Author: Marco aka (Darksoke)
- -->
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title></title>
- </head>
- <body>
- </body>
- </html>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="description" content="<?php echo $description; ?>">
- <meta name="keywords" content="<?php echo $keywords; ?>">
- <link rel="stylesheet" type="text/css" href="style/main.css" title="Default Styles" media="screen">
- <title><?php echo $title ?> - <?php echo ucwords( str_ireplace(array('-', '.php'), array(' ', ''), basename($_SERVER['PHP_SELF']) ) )?> </title>
- <link rel="stylesheet" href="css/reset.css" />
- <link rel="stylesheet" href="css/styles.css" />
- <script src="http://code.jquery.com/jquery-latest.js"></script>
- <script src="js/countdown.js"></script>
- <script>
- $(document).ready(function(){
- $("#countdown").countdown({
- date: "31 march 2017 20:00:00",
- format: "on"
- },
- function() {
- // callback function
- });
- });
- </script>
- </head>
- <body>
- <?php
- if (isset($_GET['success'])){ ?>
- <div id="content">
- <div id="c_header">
- <!--<div class="c_title"><?php echo $title; ?></div>-->
- <div class="timer-area">
- <ul id="countdown">
- <li> <span class="days">00</span>
- </li>
- <li> <span class="hours">00</span>
- </li>
- <li> <span class="minutes">00</span>
- </li>
- <li> <span class="seconds">00</span>
- </li>
- </ul>
- </div>
- </div>
- <div class="middle">
- <h5 style="color: #4e4e4e;">set realmlist <?php echo $realmlist; ?></h5>
- <form method='post' autocomplete='off' enctype='multipart/form-data'>
- <!-- Setup for web browsers / this won't allow the autofill in this form -->
- <input style="display:none">
- <input type="password" style="display:none">
- <!--Registration Info -->
- <input class="input" id="usr_username" type="text" name="username" placeholder="Username" onchange="set_sumbitusr()" required>
- <input class="input" type="password" name="password" placeholder="Password" required>
- <input class="input" type="password" name="re_password" placeholder="Repeat Password" required>
- <?php
- if (isset($_POST['register'])) { ?>
- <div id="desc-line-err">
- <?php register_user(clean($_POST['username']), $_POST['password'], clean($_POST['re_password']));?>
- </div>
- <?php } ?><div id="notification">
- Account created succesfully.
- </div>
- <input class="submit" id="regbutton" type="submit" name="register" value="Register">
- </form>
- </div>
- <div id="desc-line">
- <div class="description"><?php echo $description; ?></div>
- </div>
- </div>
- <?php } else { ?>
- <div id="content">
- <div id="c_header">
- <div class="timer-area">
- <ul id="countdown">
- <li> <span class="days">00</span>
- </li>
- <li> <span class="hours">00</span>
- </li>
- <li> <span class="minutes">00</span>
- </li>
- <li> <span class="seconds">00</span>
- </li>
- </ul>
- </div>
- </div>
- <div class="middle">
- <h5 style="color: #4e4e4e;">set realmlist <?php echo $realmlist; ?></h5>
- <form method='post' autocomplete='off' enctype='multipart/form-data'>
- <!-- Setup for web browsers / this won't allow the autofill in this form -->
- <input style="display:none">
- <input type="password" style="display:none">
- <!--Registration Info -->
- <input class="input" id="usr_username" type="text" name="username" placeholder="Username" onchange="set_sumbitusr()" required>
- <input class="input" type="password" name="password" placeholder="Password" required>
- <input class="input" type="password" name="re_password" placeholder="Repeat Password" required>
- <?php
- if (isset($_POST['register'])) { ?>
- <div id="desc-line-err">
- <?php register_user(clean($_POST['username']), $_POST['password'], clean($_POST['re_password']));?>
- </div>
- <?php } ?>
- <input class="submit" id="regbutton" type="submit" name="register" value="Register">
- </form>
- </div>
- <div id="desc-line">
- <div class="description"><?php echo $description; ?></div>
- </div>
- </div>
- <script>
- function set_sumbitusr(){
- document.getElementById("regbutton").value = "Register";
- }
- </script>
- <?php } ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement