Advertisement
aridho

bs.php

Jun 3rd, 2018
1,571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.19 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>Borneo Login Panel </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 17+</h0><br>
  51. <br><h5>Silahkan Masukan Email And Password anda yang udah di Register Owner SC 17+ 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 17+ please enter your key Token .</a>
  61.  
  62.     <p id="user_para">Welcome to 17+ 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/5.0.4/firebase.js"></script>
  73. <script>
  74.   // Initialize Firebase
  75.   var config = {
  76.     apiKey: "AIzaSyBSIorXPUygfNuscwlM6HDmd2uFoc-DejY",
  77.     authDomain: "scriptborneo.firebaseapp.com",
  78.     databaseURL: "https://scriptborneo.firebaseio.com",
  79.     projectId: "scriptborneo",
  80.     storageBucket: "",
  81.     messagingSenderId: "157608615492"
  82.   };
  83.   firebase.initializeApp(config);
  84. </script>
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91. </body>
  92. </html>
  93. <html>
  94. <head>
  95.     <title>17+</title>
  96.  
  97. </head>
  98. <body>
  99.     <br>
  100.     <center>
  101.     <a>Project   Panel 17 + | Apple Scamp v1.5<a>
  102. <center>
  103.     <style>
  104. *{
  105.     text-decoration:none;
  106.     outline:0px;
  107. }
  108. body{
  109.     background-color:black;
  110.     color:#00FF00;
  111.     font-family:courier;
  112.     margin-top:8%;
  113. }
  114. .pass{
  115.     color:#00FF00;
  116.     background:black;
  117.     width:25%;
  118.     padding:8px;
  119.     outline:0px;
  120.     border:1px solid green;
  121.         margin:1%;
  122. }
  123. .passs{
  124.     color:#00FF00;
  125.     background:solid green;
  126.     width:10%;
  127.     padding:8px;
  128.     outline:0px;
  129.     border:1px solid green;
  130.         margin:1%;
  131. }
  132. span{
  133.     margin-top:6%;
  134.     margin:3%;
  135.     color:#00FF00;
  136.     width:43%;
  137.     text-align:left;
  138.     display:block;
  139. }
  140. .sub{
  141.  
  142.     color:#00FF00;
  143.     background:black;
  144.     width:40%;
  145.     padding:8px;
  146.     outline:0px;
  147.     border:1px solid green;
  148.    
  149. }
  150. .subb{
  151.  
  152.     color:#00FF00;
  153.     background:black;
  154.     width:40%;
  155.     padding:8px;
  156.     outline:0px;
  157.     border:1px solid green;
  158.    
  159. }
  160. </style>
  161. </center>
  162. </body>
  163. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement