OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
CreateLeadPage
/
pages
/
5
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/13/2025 09:27:22 AM
rwxrwxrwx
📁
images3
-
03/13/2025 09:28:01 AM
rwxr-xr-x
📄
index.html
25.57 KB
03/13/2025 11:07:38 AM
rw-r--r--
Editing: index.html
Close
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Agency Portfolio</title> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; } a { text-decoration: none; color: #6c5ce7; transition: all 0.3s ease; } a:hover { color: #4834d4; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header Styles */ .header { background-color: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); padding: 15px 0; /* position: fixed; */ width: 100%; top: 0; z-index: 1000; } .header .container { display: flex; justify-content: space-between; align-items: center; } .header h1 { font-size: 2rem; font-weight: 700; } .header h1 a { background: linear-gradient(to right, #6c5ce7, #a29bfe); -webkit-background-clip: text; background-clip: text; color: transparent; } /* Hero Section Styles */ .hero { background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%); padding: 180px 0 120px; color: white; text-align: center; } .hero h2 { font-size: 2.5rem; max-width: 800px; margin: 0 auto; line-height: 1.4; } .hero h2 span { position: relative; display: inline-block; } .hero h2 span::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 8px; background-color: rgba(255, 255, 255, 0.3); z-index: -1; } /* Projects Section Styles */ .projects { background-color: #fff; padding: 80px 0; } .section-heading { text-align: center; margin-bottom: 60px; } .section-heading h2 { font-size: 2.5rem; margin-bottom: 15px; position: relative; display: inline-block; } .section-heading h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: #6c5ce7; } .section-heading p { max-width: 600px; margin: 0 auto; color: #666; font-size: 1.1rem; } .project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; } .project-item { position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .project-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); } .project-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; } .project-item:hover img { transform: scale(1.05); } .project-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); color: white; } .project-info h3 { margin-bottom: 5px; font-size: 1.3rem; } .project-info h3 a { color: white; } .project-info span { display: inline-block; background-color: rgba(108, 92, 231, 0.8); color: white; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; } /* Contact Form Section Styles */ .contact-form-section { background-color: #fff; padding: 80px 0; position: relative; } .field-selection { background-color: #f8f9fa; padding: 30px; border-radius: 10px; margin-bottom: 40px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } .field-selection h3 { margin-bottom: 20px; color: #6c5ce7; font-size: 1.3rem; } .checkbox-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; } .checkbox-item { display: flex; align-items: center; } .checkbox-item input[type="checkbox"] { margin-right: 10px; width: 18px; height: 18px; accent-color: #6c5ce7; } .form-title { text-align: center; margin-bottom: 40px; font-size: 2.2rem; position: relative; color: #333; } .contact-form { max-width: 800px; margin: 0 auto; padding: 40px; background: white; border-radius: 10px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); } .form-group { margin-bottom: 25px; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; } .form-group.visible { opacity: 1; transform: translateY(0); } .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; } .form-group input, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-family: 'Poppins', sans-serif; transition: border-color 0.3s ease; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: #6c5ce7; box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1); } .submit-button { background: linear-gradient(to right, #6c5ce7, #a29bfe); color: #fff; border: none; padding: 12px 30px; border-radius: 30px; cursor: pointer; font-size: 1rem; font-weight: 500; transition: transform 0.3s, box-shadow 0.3s; } .submit-button:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4); } .submit-section { display: flex; align-items: center; } .loader { margin-left: 15px; color: #6c5ce7; font-weight: 500; } .status-panel { margin-bottom: 20px; padding: 12px 15px; border-radius: 8px; transition: all 0.3s ease; } .edit-button { position: absolute; right: -40px; top: 0; background: #6c5ce7; color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; } .edit-button:hover { background: #4834d4; } .edit-control { position: relative; } /* Footer Styles */ .footer { background-color: #2d3436; color: #fff; padding: 80px 0 20px; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; } .footer-column h3 { color: #fff; margin-bottom: 25px; font-size: 1.4rem; position: relative; } .footer-column h3::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 40px; height: 3px; background: #6c5ce7; } .footer-column p, .footer-column li { color: rgba(255, 255, 255, 0.7); margin-bottom: 15px; font-size: 0.95rem; } .footer-column ul { list-style: none; } .footer-column li { position: relative; padding-left: 20px; } .footer-column li::before { content: '→'; position: absolute; left: 0; color: #6c5ce7; } .footer-column a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; } .footer-column a:hover { color: #fff; } .copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; color: rgba(255, 255, 255, 0.5); display: flex; justify-content: space-between; font-size: 0.9rem; } /* Responsive Styles */ @media (max-width: 992px) { .hero { padding: 150px 0 100px; } .hero h2 { font-size: 2.2rem; } } @media (max-width: 768px) { .hero { padding: 130px 0 80px; } .hero h2 { font-size: 1.8rem; } .project-grid { grid-template-columns: 1fr; } .section-heading h2 { font-size: 2rem; } } @media (max-width: 576px) { .hero { padding: 120px 0 70px; } .hero h2 { font-size: 1.5rem; } .section-heading h2 { font-size: 1.8rem; } .contact-form { padding: 25px; } .copyright { flex-direction: column; align-items: center; text-align: center; } .copyright p:first-child { margin-bottom: 10px; } } </style> </head> <body> <header class="header"> <div class="container"> <h1><a href="#">Agency</a></h1> <!-- <div class="nav-toggle"> <i class="fas fa-bars"></i> </div> --> </div> </header> <section class="hero"> <div class="container"> <h2>We Are Portfolio Agency, We Create <span>Functional</span> & <span>Beautiful</span> Website</h2> </div> </section> <section class="projects"> <div class="container"> <div class="section-heading"> <h2>Projects</h2> <p>A small river named Duden flows by their place and supplies it with the necessary regelialia.</p> </div> <div class="project-grid"> <div class="project-item"> <a href="#"><img src="images3/work-1.jpg" alt="Project 1"></a> <div class="project-info"> <h3><a href="#">Work name</a></h3> <span>Printing</span> </div> </div> <div class="project-item"> <a href="#"><img src="images3/work-2.jpg" alt="Project 2"></a> <div class="project-info"> <h3><a href="#">Work name</a></h3> <span>Printing</span> </div> </div> <div class="project-item"> <a href="#"><img src="images3/work-3.jpg" alt="Project 3"></a> <div class="project-info"> <h3><a href="#">Work</a></h3> <span>Printing</span> </div> </div> <div class="project-item"> <a href="#"><img src="images3/work-4.jpg" alt="Project 4"></a> <div class="project-info"> <h3><a href="#">Work</a></h3> <span>Printing</span> </div> </div> </div> </div> </section> <!-- Dynamic Form Section --> <section class="contact-form-section"> <div class="container"> <!-- Form Field Selection --> <div class="field-selection edit-control"> <h3>Select Required Fields</h3> <div class="checkbox-container"> <div class="checkbox-item"> <input type="checkbox" id="nameField" name="fieldSelect" value="name"> <label for="nameField">Name</label> </div> <div class="checkbox-item"> <input type="checkbox" id="instituteField" name="fieldSelect" value="institute"> <label for="instituteField">Institute/Organization</label> </div> <div class="checkbox-item"> <input type="checkbox" id="designationField" name="fieldSelect" value="designation"> <label for="designationField">Designation</label> </div> <div class="checkbox-item"> <input type="checkbox" id="emailField" name="fieldSelect" value="email"> <label for="emailField">Email</label> </div> <div class="checkbox-item"> <input type="checkbox" id="phoneField" name="fieldSelect" value="phone"> <label for="phoneField">Phone Number</label> </div> <div class="checkbox-item"> <input type="checkbox" id="queryField" name="fieldSelect" value="query"> <label for="queryField">Free Space</label> </div> <div class="checkbox-item"> <input type="checkbox" id="stateField" name="fieldSelect" value="state"> <label for="stateField">State</label> </div> <div class="checkbox-item"> <input type="checkbox" id="cityField" name="fieldSelect" value="city"> <label for="cityField">City</label> </div> </div> </div> <div class="edit-control"> <button class="edit-button" onclick="editText('form-title')"><i class="fa fa-pencil-alt"></i></button> <h2 class="form-title" id="form-title">Enter Form Name</h2> </div> <form id="frmLead" class="contact-form" onsubmit="return chkLead()"> <div id="formFields"> <!-- Dynamic form fields will be inserted here --> </div> <div id="panelStatus" class="status-panel"></div> <div class="submit-section"> <button type="submit" id="btnSubmit" class="submit-button">Submit</button> <div id="contentLoader" class="loader" style="display: none;"> <i class="fas fa-spinner fa-spin"></i> Processing... </div> </div> </form> </div> </section> <footer class="footer"> <div class="container"> <div class="footer-content"> <div class="footer-column"> <h3>About</h3> <p>A small river named Duden flows by their place and supplies it with the necessary regelialia.</p> <div class="social-icons"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> <a href="#"><i class="fab fa-linkedin-in"></i></a> </div> </div> <div class="footer-column"> <h3>Contact Info</h3> <ul> <li>203 Fake St. Mountain View, San Francisco, California, USA</li> <li><a href="tel:+2 392 3929 210">+2 392 3929 210</a></li> <li><a href="mailto:info@agency.com">info@agency.com</a></li> </ul> </div> <div class="footer-column"> <h3>Useful Links</h3> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Services</a></li> <li><a href="#">Work</a></li> <li><a href="#">Contact</a></li> </ul> </div> </div> <div class="copyright"> <p>© 2025 Agency. All Rights Reserved</p> <p>Designed with <i class="fas fa-heart" style="color: #6c5ce7;"></i> by Agency Team</p> </div> </div> </footer> <script> const chkFilterEmail = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; // Field templates const fieldTemplates = { name: ` <div class="form-group form-field" data-field="name"> <label for="Name">Name *</label> <input type="text" id="Name" name="Name" required> </div> `, institute: ` <div class="form-group form-field" data-field="institute"> <label for="Company">Institute/Organization *</label> <input type="text" id="Company" name="Company" required> </div> `, designation: ` <div class="form-group form-field" data-field="designation"> <label for="Designation">Designation *</label> <input type="text" id="Designation" name="Designation" required> </div> `, email: ` <div class="form-group form-field" data-field="email"> <label for="Email">Email *</label> <input type="email" id="Email" name="Email" required> </div> `, phone: ` <div class="form-group form-field" data-field="phone"> <label for="Mobile">Phone Number *</label> <input type="tel" id="Mobile" name="Mobile" required> </div> `, query: ` <div class="form-group form-field" data-field="query"> <div class="edit-control"> <button class="edit-button" onclick="editText('labelQuery')"><i class="fa fa-pencil-alt"></i></button> <label for="Query" id='labelQuery'>Name the Field</label> </div> <textarea id="Query" name="Query" rows="4" required></textarea> </div> `, state: ` <div class="form-group form-field" data-field="state"> <label for="state">State *</label> <input type="text" id="state" name="state" required> </div> `, city: ` <div class="form-group form-field" data-field="city"> <label for="city">City *</label> <input type="text" id="city" name="city" required> </div> `, }; // Function to update form fields function updateFormFields() { const formFields = document.getElementById("formFields"); formFields.innerHTML = ""; const selectedFields = Array.from( document.querySelectorAll('input[name="fieldSelect"]:checked') ).map((checkbox) => checkbox.value); selectedFields.forEach((field) => { formFields.insertAdjacentHTML("beforeend", fieldTemplates[field]); // Animation setTimeout(() => { const newField = formFields.querySelector(`[data-field="${field}"]`); newField.classList.add("visible"); }, 50); }); // Save to localStorage localStorage.setItem("selectedFields", JSON.stringify(selectedFields)); } // Initialize form on load window.addEventListener("load", function () { const savedFields = localStorage.getItem("selectedFields"); if (savedFields) { const fields = JSON.parse(savedFields); fields.forEach((field) => { const checkbox = document.querySelector(`input[value="${field}"]`); if (checkbox) checkbox.checked = true; }); updateFormFields(); } }); // Add checkbox event listeners document.querySelectorAll('input[name="fieldSelect"]').forEach((checkbox) => { checkbox.addEventListener("change", updateFormFields); }); // Edit text function function editText(elementId) { const element = document.getElementById(elementId); const currentText = element.innerText; const newText = prompt("Edit text:", currentText); if (newText !== null && newText.trim() !== "") { element.innerText = newText; } } // Form validation function chkLead() { const email = document.getElementById('Email'); const statusPanel = document.getElementById('panelStatus'); const submitButton = document.getElementById('btnSubmit'); const contentLoader = document.getElementById('contentLoader'); // Reset status statusPanel.innerHTML = ''; statusPanel.style.backgroundColor = ''; // Email validation if (email && !chkFilterEmail.test(email.value)) { statusPanel.innerHTML = 'Please enter a valid email address.'; statusPanel.style.backgroundColor = '#ffe0e0'; return false; } // Show loader submitButton.style.display = 'none'; contentLoader.style.display = 'block'; // Simulate form submission setTimeout(() => { statusPanel.innerHTML = 'Form submitted successfully!'; statusPanel.style.backgroundColor = '#e0ffe0'; submitButton.style.display = 'block'; contentLoader.style.display = 'none'; }, 1500); return false; } </script> </body> <script src="script.js"></script> </html>