Şuanki Dizin: /home/wwwdreamtechnolo/public_html/strongergen.com/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/strongergen.com/delete-acc.php |
<?php error_reporting(E_ALL); ini_set('display_errors', '1'); require_once('functions.php'); $db = new class_function(); if (isset($_POST['submit'])) { $name = $_POST['name']; $mobile_no = $_POST['mobile_no']; $email = $_POST['email']; $message = $_POST['message']; if($db->create_user_account($name,$mobile_no,$email,$message)) { ?> <script>alert("Request sent successfully");</script> <?php } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>StrongerGen - Request Delete Account</title> <style> body{ margin: 0; padding: 0; } .container{ background-image: url('vegetables-pictures.jpg'); height: 1050px; /* max-height: 100%; */ max-width: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; margin: 0px; } img{ margin-left: 20px; background-color: #ffffffb0; border-radius: 30px; } input[type=text], select { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type=submit] { width: 100%; background-color: #4CAF50; color: white; padding: 14px 20px; margin: 8px 0; border: none; border-radius: 4px; cursor: pointer; } input[type=submit]:hover { background-color: #45a049; } /* div { border-radius: 5px; background-color: #f2f2f2; padding: 20px; } */ .form{ width: 50%; background-color: #ffffffd6; border-radius: 30px; margin-top: 50px; margin: 20px; padding: 30px; position: absolute; left: 24%; } </style> </head> <body> <div class="container" style="background-image:url('images/b1.jpg');"> <br /> <br /> <br /> <div class="form" style="margin-top:150px;"> <form action="delete-acc.php" method="POST"> <label for="name">Name</label> <input type="text" id="name" name="name" placeholder="Name"><br> <label for="lname">Mobile Number</label> <input type="text" id="mobile" name="mobile_no" placeholder="Mobile Number"><br> <label for="lname">Email Address</label> <input type="text" id="email" name="email" placeholder="Email Address"><br> <label for="lname">Kindly Discribe why you want to delete this account</label> <input type="text" id="lname" name="message" ><br> <input type="submit" name="submit" value="Submit"> </form> </div> </div> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4