{"id":519,"date":"2026-03-31T05:32:04","date_gmt":"2026-03-31T05:32:04","guid":{"rendered":"https:\/\/studyquell.com\/solution\/?page_id=519"},"modified":"2026-03-31T05:36:30","modified_gmt":"2026-03-31T05:36:30","slug":"view","status":"publish","type":"page","link":"https:\/\/studyquell.com\/solution\/view\/","title":{"rendered":"StudyQuell.com Solution"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta charset=\"UTF-8\">\n<title>View Solution<\/title>\n\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.5.0\/css\/all.min.css\"\/>\n\n<style>\n\/* \u0aac\u0abf\u0aa8\u0a9c\u0ab0\u0ac2\u0ab0\u0ac0 CSS \u0a95\u0abe\u0aa2\u0ac0 \u0aa8\u0abe\u0a96\u0ab5\u0abe\u0aae\u0abe\u0a82 \u0a86\u0ab5\u0ac0 \u0a9b\u0ac7. \u0aab\u0a95\u0acd\u0aa4 Content \u0a85\u0aa8\u0ac7 Popup \u0aa8\u0ac0 CSS \u0ab0\u0abe\u0a96\u0ac0 \u0a9b\u0ac7. *\/\n.post-title { font-size: 30px; font-weight: bold; margin-bottom: 20px; color: #111; }\n.post-content { font-size: 18px; line-height: 28px; margin-bottom: 20px; }\n\n\/* Highlighted PDF Section *\/\n.pdf-download-area { background: #fff9c4; border: 2px solid #333; padding: 20px; border-radius: 10px; margin: 20px 0; text-align: center; }\n.pdf-download-area p { color: #000; font-weight: bold; margin: 5px 0; font-size: 17px; }\n.dl-btn { background: #d32f2f; color: white; border: none; padding: 12px 25px; font-size: 18px; border-radius: 5px; cursor: pointer; margin-top: 10px; font-weight: bold; }\n\n\/* Popup Overlay *\/\n.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; display: none; align-items: center; justify-content: center; }\n.popup { background: white; width: 90%; max-width: 500px; padding: 30px; border-radius: 15px; text-align: center; position: relative; }\n.close-popup { position: absolute; top: 10px; right: 15px; font-size: 25px; cursor: pointer; }\n<\/style>\n<\/head>\n<body>\n\n<script src=\"https:\/\/www.gstatic.com\/firebasejs\/8.10.0\/firebase-app.js\"><\/script>\n<script src=\"https:\/\/www.gstatic.com\/firebasejs\/8.10.0\/firebase-database.js\"><\/script>\n\n<div class=\"overlay\" id=\"dlOverlay\">\n    <div class=\"popup\">\n        <span class=\"close-popup\" onclick=\"closePopup()\">&times;<\/span>\n        <div id=\"timerSection\">\n            <p>Plz Wait 10 seconds <b>Download Link<\/b> Generating<\/p>\n            <p>Please wait <span id=\"seconds\">10<\/span> seconds&#8230;<\/p>\n        <\/div>\n        <div id=\"finalBtnSection\" style=\"display:none;\">\n            <button class=\"dl-btn\" id=\"realDownloadBtn\" style=\"background:#28a745; width:100%;\">Click to Download PDF<\/button>\n        <\/div>\n    <\/div>\n<\/div> \n\n<div id=\"postData\">Loading&#8230;<\/div>\n\n<script>\nconst firebaseConfig = {\n  apiKey: \"AIzaSyA1pLAnliwFhsaRXjDIaXHx2ouagvM0SV0\",\n  databaseURL: \"https:\/\/studyquell-solution-default-rtdb.firebaseio.com\"\n};\nfirebase.initializeApp(firebaseConfig);\nconst db = firebase.database();\n\nconst postID = new URLSearchParams(window.location.search).get(\"id\");\n\ndb.ref(\"posts\/\" + postID).once(\"value\", snap => {\n  if(!snap.exists()){\n    postData.innerHTML = \"<h2>Post not found!<\/h2>\";\n    return;\n  }\n\n  const data = snap.val();\n\n  let pdfHtml = \"\";\n  if(data.pdfLink){\n    pdfHtml = `\n    <div class=\"pdf-download-area\">\n        <p>\u0a9c\u0acb \u0aa4\u0aae\u0ac7 \u0a86 \u0ab8\u0acb\u0ab2\u0acd\u0aaf\u0ac1\u0ab6\u0aa8\u0aa8\u0ac0 PDF \u0aa1\u0abe\u0a89\u0aa8\u0ab2\u0acb\u0aa1 \u0a95\u0ab0\u0ab5\u0abe \u0aae\u0abe\u0a82\u0a97\u0aa4\u0abe \u0ab9\u0acb\u0ab5 \u0aa4\u0acb Download Now \u0aac\u0a9f\u0aa8 \u0aaa\u0ab0 \u0a95\u0acd\u0ab2\u0abf\u0a95 \u0a95\u0ab0\u0acb.<\/p>\n        <p>If you want to download the PDF of this solution, click on the Download Now button.<\/p>\n        <button class=\"dl-btn\" onclick=\"openDownloadPopup('${data.pdfLink}')\">\n            <i class=\"fas fa-file-pdf\"><\/i> Download Now\n        <\/button>\n        <p style=\"margin-top:10px;\">\u0a85\u0aa8\u0ac7 \u0a9c\u0acb PDF Download \u0aa8\u0aa5\u0ac0 \u0a95\u0ab0\u0ab5\u0ac0 \u0aa4\u0acb \u0ab8\u0acd\u0a95\u0acd\u0ab0\u0acb\u0ab2 page \u0a85\u0aa8\u0ac7 \u0a9c\u0ab5\u0abe\u0aac \u0a9c\u0ac1\u0a93.<\/p>\n        <p>And if you don't want to Download the PDF, scroll down the page and see the answer.<\/p>\n      <\/div>`;\n  }\n\n  \/\/ \u0a85\u0ab9\u0ac0\u0aa5\u0ac0 \"ADS HERE\" \u0aa8\u0abe Div \u0a95\u0abe\u0aa2\u0ac0 \u0aa8\u0abe\u0a96\u0acd\u0aaf\u0abe \u0a9b\u0ac7\n  postData.innerHTML = `\n    <div class=\"post-title\">${data.title}<\/div>\n    ${pdfHtml}\n    <div class=\"post-content\">\n      ${data.content}\n    <\/div>\n  `;\n});\n<\/script>\n\n<script>\n\/\/ \u0aaa\u0acb\u0aaa\u0a85\u0aaa \u0aa8\u0ac1\u0a82 JavaScript\nfunction openDownloadPopup(rawUrl){\n    document.getElementById(\"dlOverlay\").style.display = \"flex\";\n    let timeLeft = 10;\n    const timerText = document.getElementById(\"seconds\");\n    const timerSection = document.getElementById(\"timerSection\");\n    const finalBtnSection = document.getElementById(\"finalBtnSection\");\n    const finalBtn = document.getElementById(\"realDownloadBtn\");\n\n    timerSection.style.display = \"block\";\n    finalBtnSection.style.display = \"none\";\n    timerText.innerText = timeLeft;\n\n    const downloadTimer = setInterval(() => {\n        timeLeft--;\n        timerText.innerText = timeLeft;\n        if(timeLeft <= 0){\n            clearInterval(downloadTimer);\n            timerSection.style.display = \"none\";\n            finalBtnSection.style.display = \"block\";\n            finalBtn.onclick = function() { window.location.href = rawUrl; };\n        }\n    }, 1000);\n}\n\nfunction closePopup(){ document.getElementById(\"dlOverlay\").style.display = \"none\"; }\n\n\/\/ \u0ab8\u0acd\u0a95\u0acd\u0ab0\u0acb\u0ab2 \u0aae\u0ac7\u0aa8\u0ac1 (swipeMenu) \u0aa8\u0ac0 \u0ab8\u0acd\u0a95\u0acd\u0ab0\u0abf\u0aaa\u0acd\u0a9f \u0a95\u0abe\u0aa2\u0ac0 \u0aa8\u0abe\u0a96\u0ab5\u0abe\u0aae\u0abe\u0a82 \u0a86\u0ab5\u0ac0 \u0a9b\u0ac7 \u0a95\u0abe\u0ab0\u0aa3 \u0a95\u0ac7 \u0aa4\u0ac7 \u0aae\u0ac7\u0aa8\u0ac1 \u0ab9\u0ab5\u0ac7 \u0aa8\u0aa5\u0ac0.\n<\/script>\n\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>View Solution &times; Plz Wait 10 seconds Download Link Generating Please wait 10 seconds&#8230; Click to Download PDF<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-519","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/pages\/519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/comments?post=519"}],"version-history":[{"count":2,"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/pages\/519\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/pages\/519\/revisions\/521"}],"wp:attachment":[{"href":"https:\/\/studyquell.com\/solution\/wp-json\/wp\/v2\/media?parent=519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}