๐ File Manager
Editing:
/home/wvl7mof7402e/public_html/remindyourdata.live/emply/agent.php
<?php include "dbconnect.php"; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Agent Registration</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"/> <style> body { margin: 0; padding: 0; min-height: 100vh; background: linear-gradient(135deg, #2C3E50, #3498DB); display: flex; justify-content: center; align-items: center; font-family: 'Arial', sans-serif; } .form-container { width: 100%; max-width: 450px; background: rgba(255, 255, 255, 0.9); padding: 30px 25px; border-radius: 15px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); position: relative; } .form-container h4 { text-align: center; color: #2c3e50; margin-bottom: 25px; font-weight: bold; } .form-control { height: 42px; border-radius: 10px; border: 1px solid #ced4da; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); font-size: 14px; } textarea.form-control { height: 90px; } .btn-primary { width: 100%; background-color: #2980b9; border: none; padding: 10px; font-size: 16px; font-weight: 600; border-radius: 10px; transition: background 0.3s ease; } .btn-primary:hover { background-color: #1c5980; } .logout-btn { position: absolute; top: 15px; right: 15px; background-color: #e74c3c; color: white; padding: 6px 14px; font-size: 14px; border-radius: 20px; text-decoration: none; } .logout-btn:hover { background-color: #c0392b; } .success-msg { color: #28a745; text-align: center; font-size: 14px; margin-bottom: 15px; } .error-msg { color: #e74c3c; text-align: center; font-size: 14px; margin-bottom: 15px; } /* Mobile adjustments */ @media (max-width: 576px) { .form-container { margin: 15px; padding: 20px; } .logout-btn { position: static; display: block; width: 100%; text-align: center; margin-bottom: 10px; } } </style> </head> <body> <div class="form-container"> <!-- Logout --> <a href="logout.php" class="logout-btn">Logout</a> <h4>Agent Registration</h4> <!-- Success & Error Message --> <?php if (isset($_GET['success'])) { echo "<p class='success-msg'>โ เคเคชเคเคพ เคฐเคเคฟเคธเฅเคเฅเคฐเฅเคถเคจ เคธเคซเคฒ เคฐเคนเคพ!</p>"; } if (isset($_GET['error'])) { echo "<p class='error-msg'>"; switch ($_GET['error']) { case 'duplicate': echo "โ เคฏเคน เคเคเฅเคเค เคชเคนเคฒเฅ เคธเฅ เคฐเคเคฟเคธเฅเคเคฐเฅเคก เคนเฅ!"; break; case 'invalid_mobile': echo "โ เคฎเฅเคฌเคพเคเคฒ เคจเคเคฌเคฐ 10 เค เคเคเฅเค เคเคพ เคนเฅเคจเคพ เคเคพเคนเคฟเค!"; break; case 'invalid_email': echo "โ เคเคฎเฅเคฒ เคซเฅเคฐเฅเคฎเฅเค เคธเคนเฅ เคจเคนเฅเค เคนเฅ!"; break; case 'invalid_adhar': echo "โ เคเคงเคพเคฐ เคจเคเคฌเคฐ 12 เค เคเคเฅเค เคเคพ เคนเฅเคจเคพ เคเคพเคนเคฟเค!"; break; case 'invalid_pan': echo "โ เคเคฒเคค เคชเฅเคจ เคเคพเคฐเฅเคก เคซเฅเคฐเฅเคฎเฅเค! (ABCDE1234F)"; break; case 'invalid_file': echo "โ เคเฅเคตเคฒ PDF เคเคฐ JPG เคซเคผเคพเคเคฒเฅเค เค เคชเคฒเฅเคก เคเคฐเฅเค!"; break; case 'file_upload': echo "โ เคซเคผเคพเคเคฒ เค เคชเคฒเฅเคก เคจเคนเฅเค เคนเฅเค!"; break; case 'insert_fail': echo "โ เคกเฅเคเคพ เคธเฅเคต เคเคฐเคจเฅ เคฎเฅเค เคธเคฎเคธเฅเคฏเคพ เคนเฅเค!"; break; default: echo "โ เคเฅเค เคเคฒเคค เคนเฅเค!"; } echo "</p>"; } ?> <!-- Registration Form --> <form action="agent_register.php" method="POST" enctype="multipart/form-data"> <input type="text" name="name" class="form-control mb-2" placeholder="Full Name" required> <input type="text" name="father_name" class="form-control mb-2" placeholder="Father's Name" required> <input type="text" name="qualification" class="form-control mb-2" placeholder="Qualification"> <input type="text" name="mobile_no" class="form-control mb-2" placeholder="Mobile No." required> <input type="email" name="email_id" class="form-control mb-2" placeholder="Email ID" required> <input type="text" name="adharno" class="form-control mb-2" placeholder="Aadhar Number (12 Digits)" required> <input type="text" name="pancard" class="form-control mb-2" placeholder="PAN Card (ABCDE1234F)" required> <textarea name="address" class="form-control mb-2" placeholder="Address"></textarea> <input type="text" name="city" class="form-control mb-2" placeholder="City"> <input type="text" name="state" class="form-control mb-2" placeholder="State"> <input type="file" name="document_upload" class="form-control mb-2" required> <textarea name="message" class="form-control mb-3" placeholder="Message"></textarea> <button type="submit" class="btn btn-primary">Register</button> </form> </div> </body> </html>
Save
Cancel