D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
markniuj
/
bazmeasar.com
/
admin
/
Filename :
add_event.php
back
Copy
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Add event</title> <!-- responsive meta --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- For IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Module css --> <style> body { margin-top: 20px; background-color: #f7faf7; } A {text-decoration: none;} table { border-collapse: collapse; background-color: #FFFFFF; width: 100%; } tr:nth-child(even){background-color: #f2f2f2;} tr:hover {background-color: #ddd;} th, td { text-align: left; padding: 10px; } tr:nth-child(even) {background-color: #f2f2f2; } .form{ max-width: 400px; display: flex; align-content: stretch; margin-left: auto; margin-right: auto; } input{ width: 90%; margin: 5px; padding: 10px; border: 1px solid #001c50; border-radius: 3px; } input:hover{ width: 90%; padding: 10px; padding: 10px; background-color: #fffee6; border: 1px solid #001c50; border-radius: 3px; } select { width: 96%; margin: 5px; padding: 10px; border: 1px solid #001c50; border-radius: 3px; } textarea{ width: 90%; margin: 5px; padding: 10px; border: 1px solid #001c50; border-radius: 3px; } textarea:hover{ width: 90%; margin: 5px; padding: 10px; background-color: #fffee6; border: 1px solid #001c50; border-radius: 3px; } .submit{ width: 97%; margin: 5px; padding: 10px; background-color: green; } .submit:hover{ width: 97%; margin: 5px; padding: 10px; background-color: red; } .button { background-color: #4CAF50; /* Green */ border: none; color: white; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; transition-duration: 0.4s; cursor: pointer; padding: 16px 32px; } .button1 { background-color: white; color: black; border: 2px solid #4CAF50; } .button1:hover { background-color: #4CAF50; color: white; } </style> </head> <a href="allevents.php"> <button class="button button1">Go to list</button></a></br> <a href="displayevents.php"> <button class="button button1">comming event</button></a> <div class="form"> <form action="insert_event.php" method="post"> <label for="event_name">Event Name (English):</label> <input type="text" name="event_name" required><br> <label for="event_nameurdu">Event Name (Urdu):</label> <input type="text" name="event_nameurdu" required><br> <label for="event_date">Event Date:</label> <input type="date" name="event_date" required><br> <label for="event_time">Event Time:</label> <input type="time" name="event_time" required><br> <label for="countdown">Countdown (in seconds):</label> <input type="number" name="countdown" required><br> <label for="event_nameurdu">Pin Location (link):</label> <input type="text" name="location" required><br> <input type="submit" value="Submit Event"> </form> </div>