MMCT TEAM
Server IP : 153.92.220.142  /  Your IP : 216.73.216.32
Web Server : LiteSpeed
System : Linux nl-srv-web513.main-hosting.eu 5.14.0-503.34.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 27 06:00:50 EDT 2025 x86_64
User : u444427800 ( 444427800)
PHP Version : 8.1.32
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u444427800/domains/dronacharyasunayana.com/../jmgcl.com/../3zlaundry.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u444427800/domains/dronacharyasunayana.com/../jmgcl.com/../3zlaundry.com/public_html/form.php
<?php
session_start();
$errors = $_SESSION['errors'] ?? [];
$old = $_SESSION['old'] ?? [];
session_unset();
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" />
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/responsive.css">
    <link rel="stylesheet" href="css/grid.css">
  <title>Schedule Pickup Form</title>
  <style>
    body {
      font-family: Arial, sans-serif;
    }
    .book{
      background: url(./images/give.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 50px 0;
    }
    .form-container {
      background: #5758535a;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      max-width: 400px;
      width: 100%;
    }

    .form-container h2 {
      color: #d5d5d5;
      text-align: center;
      text-shadow: white 1px 1px 1px;
      cursor: pointer;
    }

    .form-container label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      color: #fffafa;
    }

    .form-container input,
    .form-container textarea {
      width: 100%;
      padding: 8px 5px;
      margin-bottom: 8px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 14px;
    }

    .form-container small {
      color: red;
      display: block;
      margin-bottom: 10px;
    }

    .form-container button {
      background-color: #007bff;
      color: white;
      border: none;
      padding: 12px;
      border-radius: 6px;
      font-size: 16px;
      width: 100%;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .form-container button:hover {
      background-color: #0056b3;
    }
  </style>
</head>
<body>

<?php include("header.php");
    ?>

  <section class="book">
  <div class="form-container">
    <h2>Schedule Free Pickup Your Laundry</h2>
    <form method="post" action="action.php">

      <label for="name">Name</label>
      <input type="text" id="name" name="name" value="<?= $old['name'] ?? '' ?>" required>
      <small><?= $errors['name'] ?? '' ?></small>

      <label for="email">Email</label>
      <input type="email" id="email" name="email" value="<?= $old['email'] ?? '' ?>" required>
      <small><?= $errors['email'] ?? '' ?></small>

      <label for="mobile">Mobile</label>
      <input type="tel" id="mobile" name="mobile" value="<?= $old['mobile'] ?? '' ?>" required>
      <small><?= $errors['mobile'] ?? '' ?></small>

      <label for="date">Date</label>
      <input type="date" id="date" name="date" value="<?= $old['date'] ?? '' ?>" required>
      <small><?= $errors['date'] ?? '' ?></small>

      <label for="time">Time</label>
      <input type="time" id="time" name="time" value="<?= $old['time'] ?? '' ?>" required>
      <small><?= $errors['time'] ?? '' ?></small>

      <label for="city">City</label>
      <input type="text" id="city" name="city" value="<?= $old['city'] ?? '' ?>" required>
      <small><?= $errors['city'] ?? '' ?></small>

      <label for="address">Address</label>
      <textarea id="address" name="address" required><?= $old['address'] ?? '' ?></textarea>
      <small><?= $errors['address'] ?? '' ?></small>

      <button type="submit">Schedule Pickup</button>
    </form>
  </div>
  </section>

  <?php include("footer.php")
      ?>
     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
     <script>
              $('.toggle').click(function () {
    $('.nav-bar').toggleClass('active')
})


$('nav ul li span').click(function () {
    $('nav li ul').slideUp();
    $(this).next().slideToggle();
})
     </script>  
</body>
</html>

MMCT - 2023