D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
markniuj
/
bazmeasar.com
/
Filename :
add_book.php
back
Copy
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Add Book</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div class="container mt-5"> <h2 class="text-center mb-4">Add a New Book</h2> <div class="card shadow"> <div class="card-body"> <form action="submit_book.php" method="post" enctype="multipart/form-data"> <div class="mb-3"> <label for="title" class="form-label">Book Title</label> <input type="text" class="form-control" id="title" name="title" placeholder="Enter book title" required> </div> <div class="mb-3"> <label for="author" class="form-label">Author Name</label> <input type="text" class="form-control" id="author" name="author" placeholder="Enter author name" required> </div> <div class="mb-3"> <label for="pdf_link" class="form-label">PDF Link</label> <input type="url" class="form-control" id="pdf_link" name="pdf_link" placeholder="Enter PDF link" required> </div> <div class="mb-3"> <label for="thumbnail" class="form-label">Thumbnail Image</label> <input type="file" class="form-control" id="thumbnail" name="thumbnail" accept="image/*" required> </div> <div class="mb-3"> <label for="description" class="form-label">Book Description</label> <textarea class="form-control" id="description" name="description" rows="3" placeholder="Enter a brief description"></textarea> </div> <div class="mb-3"> <label for="publish_date" class="form-label">Publish Date</label> <input type="date" class="form-control" id="publish_date" name="publish_date"> </div> <div class="text-center"> <button type="submit" class="btn btn-primary">Add Book</button> </div> </form> </div> </div> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> </body> </html>