Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. <?php if (file_exists("install.php")) echo "<script> window.location.href = 'install.php' </script>";
  2. foreach (glob("engine/*.php") as $filename)
  3. {
  4. include $filename;
  5. }
  6. ?>
  7. <!--
  8. Powered by DarkCoreCMS
  9. Website: http://mmltools.com
  10. Author: Marco aka (Darksoke)
  11. -->
  12. <!DOCTYPE html>
  13. <html lang="en">
  14. <head>
  15. <meta charset="UTF-8">
  16. <title></title>
  17. </head>
  18. <body>
  19.  
  20. </body>
  21. </html>
  22. <!DOCTYPE html>
  23. <html lang="en">
  24. <head>
  25. <meta charset="UTF-8">
  26. <meta name="description" content="<?php echo $description; ?>">
  27. <meta name="keywords" content="<?php echo $keywords; ?>">
  28. <link rel="stylesheet" type="text/css" href="style/main.css" title="Default Styles" media="screen">
  29. <title><?php echo $title ?> - <?php echo ucwords( str_ireplace(array('-', '.php'), array(' ', ''), basename($_SERVER['PHP_SELF']) ) )?> </title>
  30. <link rel="stylesheet" href="css/reset.css" />
  31. <link rel="stylesheet" href="css/styles.css" />
  32. <script src="http://code.jquery.com/jquery-latest.js"></script>
  33. <script src="js/countdown.js"></script>
  34. <script>
  35.  
  36. $(document).ready(function(){
  37. $("#countdown").countdown({
  38. date: "31 march 2017 20:00:00",
  39. format: "on"
  40. },
  41.  
  42. function() {
  43. // callback function
  44. });
  45. });
  46.  
  47. </script>
  48.  
  49. </head>
  50. <body>
  51. <?php
  52. if (isset($_GET['success'])){ ?>
  53. <div id="content">
  54. <div id="c_header">
  55. <!--<div class="c_title"><?php echo $title; ?></div>-->
  56. <div class="timer-area">
  57. <ul id="countdown">
  58. <li> <span class="days">00</span>
  59. </li>
  60. <li> <span class="hours">00</span>
  61. </li>
  62. <li> <span class="minutes">00</span>
  63. </li>
  64. <li> <span class="seconds">00</span>
  65. </li>
  66. </ul>
  67. </div>
  68. </div>
  69. <div class="middle">
  70. <h5 style="color: #4e4e4e;">set realmlist <?php echo $realmlist; ?></h5>
  71. <form method='post' autocomplete='off' enctype='multipart/form-data'>
  72. <!-- Setup for web browsers / this won't allow the autofill in this form -->
  73. <input style="display:none">
  74. <input type="password" style="display:none">
  75. <!--Registration Info -->
  76. <input class="input" id="usr_username" type="text" name="username" placeholder="Username" onchange="set_sumbitusr()" required>
  77. <input class="input" type="password" name="password" placeholder="Password" required>
  78. <input class="input" type="password" name="re_password" placeholder="Repeat Password" required>
  79. <?php
  80. if (isset($_POST['register'])) { ?>
  81. <div id="desc-line-err">
  82. <?php register_user(clean($_POST['username']), $_POST['password'], clean($_POST['re_password']));?>
  83. </div>
  84. <?php } ?><div id="notification">
  85. Account created succesfully.
  86. </div>
  87. <input class="submit" id="regbutton" type="submit" name="register" value="Register">
  88. </form>
  89. </div>
  90. <div id="desc-line">
  91. <div class="description"><?php echo $description; ?></div>
  92. </div>
  93. </div>
  94. <?php } else { ?>
  95. <div id="content">
  96. <div id="c_header">
  97. <div class="timer-area">
  98. <ul id="countdown">
  99. <li> <span class="days">00</span>
  100. </li>
  101. <li> <span class="hours">00</span>
  102. </li>
  103. <li> <span class="minutes">00</span>
  104. </li>
  105. <li> <span class="seconds">00</span>
  106. </li>
  107. </ul>
  108. </div>
  109. </div>
  110. <div class="middle">
  111. <h5 style="color: #4e4e4e;">set realmlist <?php echo $realmlist; ?></h5>
  112. <form method='post' autocomplete='off' enctype='multipart/form-data'>
  113. <!-- Setup for web browsers / this won't allow the autofill in this form -->
  114. <input style="display:none">
  115. <input type="password" style="display:none">
  116. <!--Registration Info -->
  117. <input class="input" id="usr_username" type="text" name="username" placeholder="Username" onchange="set_sumbitusr()" required>
  118. <input class="input" type="password" name="password" placeholder="Password" required>
  119. <input class="input" type="password" name="re_password" placeholder="Repeat Password" required>
  120. <?php
  121. if (isset($_POST['register'])) { ?>
  122. <div id="desc-line-err">
  123. <?php register_user(clean($_POST['username']), $_POST['password'], clean($_POST['re_password']));?>
  124. </div>
  125. <?php } ?>
  126. <input class="submit" id="regbutton" type="submit" name="register" value="Register">
  127. </form>
  128. </div>
  129. <div id="desc-line">
  130. <div class="description"><?php echo $description; ?></div>
  131. </div>
  132. </div>
  133. <script>
  134. function set_sumbitusr(){
  135. document.getElementById("regbutton").value = "Register";
  136. }
  137. </script>
  138. <?php } ?>
  139. </body>
  140. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement