📁 File Manager
Editing:
/home/wvl7mof7402e/www/2vinternational.com/admin/resume_form.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Create Resume</title> <!-- Bootstrap Icons CDN --> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet" /> <style> /* Reset & base */ * { box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); margin: 0; padding: 0 15px 40px; min-height: 100vh; color: #2c2c2c; display: flex; justify-content: center; align-items: flex-start; } .container { background: #fff; max-width: 800px; width: 100%; margin-top: 40px; padding: 30px 35px 40px; border-radius: 16px; box-shadow: 0 20px 50px rgba(38, 41, 75, 0.15); } h2 { text-align: center; color: #4b2eff; margin-bottom: 30px; font-weight: 700; font-size: 2.2rem; letter-spacing: 1px; } label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #444; margin-bottom: 6px; font-size: 1rem; } label i { color: #4b2eff; font-size: 1.2rem; } input[type="text"], input[type="email"], input[type="file"], textarea { width: 100%; padding: 12px 14px; margin-bottom: 20px; border-radius: 10px; border: 1.8px solid #ddd; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; font-family: inherit; resize: vertical; } input[type="text"]:focus, input[type="email"]:focus, textarea:focus, input[type="file"]:focus { outline: none; border-color: #4b2eff; box-shadow: 0 0 12px #b4a5ff8a; } textarea { min-height: 80px; } /* Buttons */ .btn { background: #4b2eff; color: #fff; padding: 14px 24px; border: none; cursor: pointer; border-radius: 10px; font-size: 1.1rem; font-weight: 600; transition: background-color 0.3s ease; display: inline-flex; align-items: center; gap: 10px; } .btn:hover { background: #391dcf; } .add-btn { background: #1f8ef1; margin-top: -10px; } .add-btn:hover { background: #1266d4; } .remove-btn { background: #f44336; margin-left: 12px; } .remove-btn:hover { background: #c9302c; } /* Sections */ .section { margin-bottom: 28px; padding: 20px 25px; border-radius: 12px; background: #f8f8ff; border: 1.5px solid #ddd; position: relative; } .section label { margin-top: 10px; } .section button.remove-btn { position: absolute; top: 15px; right: 15px; padding: 6px 14px; font-size: 0.9rem; } /* Headings */ h3 { color: #4b2eff; margin-bottom: 18px; font-weight: 700; font-size: 1.6rem; } /* Responsive */ @media (max-width: 700px) { .container { padding: 25px 20px 30px; margin-top: 25px; } h2 { font-size: 1.8rem; margin-bottom: 25px; } label { font-size: 0.95rem; } input[type="text"], input[type="email"], textarea { font-size: 0.95rem; } .btn { font-size: 1rem; padding: 12px 20px; } .section { padding: 18px 20px; margin-bottom: 22px; } h3 { font-size: 1.4rem; } } @media (max-width: 400px) { .btn { font-size: 0.95rem; padding: 10px 18px; } } </style> <script> function addEducation() { let div = document.createElement('div'); div.classList.add("section"); div.innerHTML = ` <label><i class="bi bi-mortarboard-fill"></i> Degree:</label> <input type="text" name="degree[]" placeholder="e.g. Bachelor of Science" required> <label><i class="bi bi-building"></i> Institute:</label> <input type="text" name="institute[]" placeholder="Institute name" required> <label><i class="bi bi-calendar-event-fill"></i> Year:</label> <input type="text" name="edu_year[]" placeholder="e.g. 2024" required> <button type="button" class="btn remove-btn" onclick="this.parentElement.remove()"> <i class="bi bi-trash-fill"></i> Remove </button> `; document.getElementById("education_section").appendChild(div); } function addExperience() { let div = document.createElement('div'); div.classList.add("section"); div.innerHTML = ` <label><i class="bi bi-building"></i> Company:</label> <input type="text" name="company[]" placeholder="Company name" required> <label><i class="bi bi-briefcase-fill"></i> Position:</label> <input type="text" name="position[]" placeholder="Your role" required> <label><i class="bi bi-calendar-range"></i> Start Year:</label> <input type="text" name="start_year[]" placeholder="Start year" required> <label><i class="bi bi-calendar-range"></i> End Year:</label> <input type="text" name="end_year[]" placeholder="End year or Present" required> <label><i class="bi bi-card-text"></i> Description:</label> <textarea name="exp_desc[]" placeholder="Brief description" required></textarea> <button type="button" class="btn remove-btn" onclick="this.parentElement.remove()"> <i class="bi bi-trash-fill"></i> Remove </button> `; document.getElementById("experience_section").appendChild(div); } </script> </head> <body> <a href="logout.php" class="logout-btn" aria-label="Logout"> <i class="bi bi-box-arrow-right"></i> Logout </a> <div class="container" role="main" aria-labelledby="formTitle"> <h2 id="formTitle"><i class="bi bi-file-earmark-person-fill"></i> Create Resume</h2> <form action="save_resume.php" method="post" enctype="multipart/form-data" novalidate> <label for="full_name"><i class="bi bi-person-fill"></i> Full Name:</label> <input type="text" id="full_name" name="full_name" placeholder="John Doe" required> <label for="job_title"><i class="bi bi-briefcase-fill"></i> Job Title:</label> <input type="text" id="job_title" name="job_title" placeholder="Software Engineer" required> <label for="email"><i class="bi bi-envelope-fill"></i> Email:</label> <input type="email" id="email" name="email" placeholder="john@example.com" required> <label for="phone"><i class="bi bi-telephone-fill"></i> Phone:</label> <input type="text" id="phone" name="phone" placeholder="+1234567890" required> <label for="website"><i class="bi bi-globe2"></i> Website:</label> <input type="text" id="website" name="website" placeholder="https://"> <label for="address"><i class="bi bi-geo-alt-fill"></i> Address:</label> <input type="text" id="address" name="address" placeholder="Your address"> <label for="profile"><i class="bi bi-file-text-fill"></i> Profile Summary:</label> <textarea id="profile" name="profile" placeholder="Brief summary about yourself"></textarea> <label for="expertise"><i class="bi bi-award-fill"></i> Expertise:</label> <textarea id="expertise" name="expertise" placeholder="Your key skills"></textarea> <label for="languages"><i class="bi bi-translate"></i> Languages:</label> <textarea id="languages" name="languages" placeholder="Languages you know"></textarea> <label for="reference_info"><i class="bi bi-people-fill"></i> References:</label> <textarea id="reference_info" name="reference_info" placeholder="Reference contacts or info"></textarea> <label for="photo"><i class="bi bi-camera-fill"></i> Upload Photo:</label> <input type="file" id="photo" name="photo" accept="image/*"> <h3><i class="bi bi-mortarboard-fill"></i> Education</h3> <div id="education_section" aria-live="polite"></div> <button type="button" class="btn add-btn" onclick="addEducation()" aria-label="Add education entry"> <i class="bi bi-plus-lg"></i> Add Education </button> <h3><i class="bi bi-briefcase-fill"></i> Experience</h3> <div id="experience_section" aria-live="polite"></div> <button type="button" class="btn add-btn" onclick="addExperience()" aria-label="Add experience entry"> <i class="bi bi-plus-lg"></i> Add Experience </button> <br /><br /> <input type="submit" value="Save Resume" class="btn" aria-label="Save Resume" /> </form> </div> </body> </html>
Save
Cancel