<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="Search for Voter Details online. Get complete information on voter card details using Voter ID and State."> <meta name="keywords" content="Voter Search find, Voter Details serch, Voter ID details, Voter Card Serial Number, Election Details"> <meta name="author" content="wbpvcprint.com"> <link rel="icon" href="https://w...content-available-to-author-only...t.com/wp-content/uploads/2023/12/200-px.svg" type="svg/image/png"> <title>Find Voter Card Number Details With wbpvcprint.com</title> <link href="https://f...content-available-to-author-only...s.com/css2?family=Poppins:wght@300;400;500&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://c...content-available-to-author-only...r.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"> <style> body { font-family: 'Poppins', sans-serif; background-color: white; min-height: 100vh; display: flex; justify-content: center; align-items: center; margin: 0; } .container { background-color: white; border-radius: 12px; padding: 10px; width: 100%; max-width: autopx; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } .heading { text-align: center; font-size: 36px; color: #333; margin-bottom: 30px; font-weight: 500; } .form-control, .form-select { border-radius: 8px; border: 1px solid #ddd; box-shadow: none; padding: 12px 20px; font-size: 14px; } .form-control:focus, .form-select:focus { border-color: #bcdf4e; box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25); } .btn-primary { background-color: #bcdf4e; border-color: #bcdf4e; width: 100%; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 500; } .btn-primary:hover { background-color: #254ec9; border-color: #254ec9; } .btn-back { margin-top: 10px; font-size: 14px; background-color: #6c757d; color: white; border-radius: 5px; padding: 8px 16px; width: 100%; } .btn-back:hover { background-color: #5a6268; } #preview-container { display: none; margin-top: 30px; background-color: #f9f9f9; border-radius: 12px; padding: 20px; border: 1px solid #ddd; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); } #preview-container iframe { border-radius: 8px; } footer { margin-top: 40px; text-align: center; color: #6c757d; font-size: 14px; } footer a { text-decoration: none; color: #4e73df; } footer a:hover { text-decoration: underline; } </style> </head> <body> <div class="row g-4" style="height: auto !important;"> <div class="col-md-6"> <div class="card border"> <div class="card-header border-bottom"> <h5 class="card-header-title title-">Make Driving Licence Slip (Cards)</h5> <p class="mb-0 small"> Please enter the details in the input field(s) to generate the Driving Licence slip(s). </p> </div> <form method="POST"> <div class="card-body"> <div class="mb-3 "> <label class="form-label">Criteria <span class="text-danger">*</span> </label> <select class="form-select" name="relation" required=""> </select> </div> <div class="mb-3"><label class="form-label">Driving Licence Number <span class="text-danger">*</span> </label><input type="text" name="dl" class="form-control" placeholder="Driving Licence Number" required=""></div> <div class="mb-3"><label class="form-label">Date of Birth <span class="text-danger">*</span> </label><input type="text" name="dob" class="form-control" placeholder="DD-MM-YYY" required=""></div> </div> <div class="card-footer border-top"> <div class="text-center mt-3"><button class="btn btn-primary fs-5" type="submit" value="Submit"><span class="spinner-border spinner-border-sm me-2" aria-hidden="true" style="display: none;"></span><span role="status">Submit</span></button></div> </div> </form> </div> </div> <div class="col"> <div class="card border"> <div class="card-header border-bottom"> <h5 class="card-header-title">HTML Page Preview</h5> <p class="mb-0 small"> Easily print this page with print button. </p> </div> <div class="card-body ratio ratio-16x9 bg-white"><iframe src=""></iframe></div> <div class="card-footer border-top"> <div class="text-center mt-3"><button class="btn btn-primary fs-5 iframe-download-btn" type="button"><span role="status">Print</span></button></div> </div> </div> </div> <div class="col-12"> <ins class=""> </iframe></div> </ins> </div> </div> <script> function goHome() { window.location.href = '/'; // Replace with your home page URL } const form = document.getElementById('voterForm'); const previewContainer = document.getElementById('preview-container'); const downloadBtn = document.getElementById('download-btn'); form.addEventListener('submit', function (e) => { e.preventDefault(); const formData = new FormData(form); previewContainer.style.display = 'block'; previewContainer.innerHTML = `<div class="text-center">Voter Card Number Searching.....</div>`; downloadBtn.classList.add('d-none'); try { const response = await fetch('https://a...content-available-to-author-only...d.store/free/free_vc', { method: 'POST', headers: { 'Authorization': 'Bearer 6f3a5224-132e-4a51-8475-79c0a70e5575', // Replace with your API Key }, body: formData }); if (!response.ok) { throw new Error(` 🛑No Data Fount Error ${response.status} 📧 Contact Email-wbpvcprint@gmail.com`); } const result = await response.json(); if (result.cards && result.cards[0]) { const cardUrl = `https://i...content-available-to-author-only...n.in/${result.cards[0].html}`; previewContainer.innerHTML = ` <iframe src="${cardUrl}" width="100%" height="1000px" style="border:none;"></iframe> `; downloadBtn.classList.remove('d-none'); downloadBtn.onclick = () => { const printWindow = window.open('', '_blank'); printWindow.document.write('<html><head><title>Card Preview</title></head><body>'); printWindow.document.write(`<iframe src="${cardUrl}" width="100%" height="100%" style="border:none;"></iframe>`); printWindow.document.write('</body></html>'); printWindow.document.close(); printWindow.focus(); printWindow.onload = () => { printWindow.print(); }; }; } else { previewContainer.innerHTML = `<div class="alert alert-warning">No card data returned.</div>`; } } catch (error) { console.error(error); previewContainer.innerHTML = `<div class="alert alert-danger">Error: ${error.message}</div>`; } }); </script> </body> </html>
Standard input is empty
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="Search for Voter Details online. Get complete information on voter card details using Voter ID and State."> <meta name="keywords" content="Voter Search find, Voter Details serch, Voter ID details, Voter Card Serial Number, Election Details"> <meta name="author" content="wbpvcprint.com"> <link rel="icon" href="https://w...content-available-to-author-only...t.com/wp-content/uploads/2023/12/200-px.svg" type="svg/image/png"> <title>Find Voter Card Number Details With wbpvcprint.com</title> <link href="https://f...content-available-to-author-only...s.com/css2?family=Poppins:wght@300;400;500&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://c...content-available-to-author-only...r.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"> <style> body { font-family: 'Poppins', sans-serif; background-color: white; min-height: 100vh; display: flex; justify-content: center; align-items: center; margin: 0; } .container { background-color: white; border-radius: 12px; padding: 10px; width: 100%; max-width: autopx; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } .heading { text-align: center; font-size: 36px; color: #333; margin-bottom: 30px; font-weight: 500; } .form-control, .form-select { border-radius: 8px; border: 1px solid #ddd; box-shadow: none; padding: 12px 20px; font-size: 14px; } .form-control:focus, .form-select:focus { border-color: #bcdf4e; box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25); } .btn-primary { background-color: #bcdf4e; border-color: #bcdf4e; width: 100%; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 500; } .btn-primary:hover { background-color: #254ec9; border-color: #254ec9; } .btn-back { margin-top: 10px; font-size: 14px; background-color: #6c757d; color: white; border-radius: 5px; padding: 8px 16px; width: 100%; } .btn-back:hover { background-color: #5a6268; } #preview-container { display: none; margin-top: 30px; background-color: #f9f9f9; border-radius: 12px; padding: 20px; border: 1px solid #ddd; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); } #preview-container iframe { border-radius: 8px; } footer { margin-top: 40px; text-align: center; color: #6c757d; font-size: 14px; } footer a { text-decoration: none; color: #4e73df; } footer a:hover { text-decoration: underline; } </style> </head> <body> <div class="row g-4" style="height: auto !important;"> <div class="col-md-6"> <div class="card border"> <div class="card-header border-bottom"> <h5 class="card-header-title title-">Make Driving Licence Slip (Cards)</h5> <p class="mb-0 small"> Please enter the details in the input field(s) to generate the Driving Licence slip(s). </p> </div> <form method="POST"> <div class="card-body"> <div class="mb-3 "> <label class="form-label">Criteria <span class="text-danger">*</span> </label> <select class="form-select" name="relation" required=""> <option value="DL No" selected="">DL No</option> </select> </div> <div class="mb-3"><label class="form-label">Driving Licence Number <span class="text-danger">*</span> </label><input type="text" name="dl" class="form-control" placeholder="Driving Licence Number" required=""></div> <div class="mb-3"><label class="form-label">Date of Birth <span class="text-danger">*</span> </label><input type="text" name="dob" class="form-control" placeholder="DD-MM-YYY" required=""></div> </div> <div class="card-footer border-top"> <div class="text-center mt-3"><button class="btn btn-primary fs-5" type="submit" value="Submit"><span class="spinner-border spinner-border-sm me-2" aria-hidden="true" style="display: none;"></span><span role="status">Submit</span></button></div> </div> </form> </div> </div> <div class="col"> <div class="card border"> <div class="card-header border-bottom"> <h5 class="card-header-title">HTML Page Preview</h5> <p class="mb-0 small"> Easily print this page with print button. </p> </div> <div class="card-body ratio ratio-16x9 bg-white"><iframe src=""></iframe></div> <div class="card-footer border-top"> <div class="text-center mt-3"><button class="btn btn-primary fs-5 iframe-download-btn" type="button"><span role="status">Print</span></button></div> </div> </div> </div> <div class="col-12"> <ins class=""> </iframe></div> </ins> </div> </div> <script> function goHome() { window.location.href = '/'; // Replace with your home page URL } const form = document.getElementById('voterForm'); const previewContainer = document.getElementById('preview-container'); const downloadBtn = document.getElementById('download-btn'); form.addEventListener('submit', function (e) => { e.preventDefault(); const formData = new FormData(form); previewContainer.style.display = 'block'; previewContainer.innerHTML = `<div class="text-center">Voter Card Number Searching.....</div>`; downloadBtn.classList.add('d-none'); try { const response = await fetch('https://a...content-available-to-author-only...d.store/free/free_vc', { method: 'POST', headers: { 'Authorization': 'Bearer 6f3a5224-132e-4a51-8475-79c0a70e5575', // Replace with your API Key }, body: formData }); if (!response.ok) { throw new Error(` 🛑No Data Fount Error ${response.status} 📧 Contact Email-wbpvcprint@gmail.com`); } const result = await response.json(); if (result.cards && result.cards[0]) { const cardUrl = `https://i...content-available-to-author-only...n.in/${result.cards[0].html}`; previewContainer.innerHTML = ` <iframe src="${cardUrl}" width="100%" height="1000px" style="border:none;"></iframe> `; downloadBtn.classList.remove('d-none'); downloadBtn.onclick = () => { const printWindow = window.open('', '_blank'); printWindow.document.write('<html><head><title>Card Preview</title></head><body>'); printWindow.document.write(`<iframe src="${cardUrl}" width="100%" height="100%" style="border:none;"></iframe>`); printWindow.document.write('</body></html>'); printWindow.document.close(); printWindow.focus(); printWindow.onload = () => { printWindow.print(); }; }; } else { previewContainer.innerHTML = `<div class="alert alert-warning">No card data returned.</div>`; } } catch (error) { console.error(error); previewContainer.innerHTML = `<div class="alert alert-danger">Error: ${error.message}</div>`; } }); </script> </body> </html>