{"id":457,"date":"2026-04-13T11:19:59","date_gmt":"2026-04-13T11:19:59","guid":{"rendered":"https:\/\/mymun-pro.wasmer.app\/?p=457"},"modified":"2026-04-13T11:19:59","modified_gmt":"2026-04-13T11:19:59","slug":"admin","status":"publish","type":"post","link":"https:\/\/mymun.pro.bd\/?p=457","title":{"rendered":"admin"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"bn\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Enterprise Admin Dashboard<\/title>\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    <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.0.0\/css\/all.min.css\">\n    <style>\n        :root { --bg: #070a13; --card: #111625; --accent: #00d4ff; --text: #fff; }\n        body { font-family: 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); padding: 20px; }\n        \n        \/* Login UI *\/\n        #loginOverlay { position: fixed; top:0; left:0; width:100%; height:100%; background: var(--bg); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 2000; }\n        .login-box { background: var(--card); padding: 40px; border-radius: 20px; text-align: center; border: 1px solid var(--accent); }\n        \n        \/* Main Panel UI *\/\n        .container { max-width: 900px; margin: auto; display: none; }\n        h2 { border-left: 5px solid var(--accent); padding-left: 15px; margin-bottom: 30px; }\n        .card { background: var(--card); padding: 25px; border-radius: 15px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.05); }\n        \n        input, textarea, select { width: 100%; padding: 12px; margin: 10px 0; background: #1a1f35; border: 1px solid #333; color: white; border-radius: 8px; }\n        button { background: linear-gradient(135deg, #00d4ff 0%, #0046af 100%); color: white; border: none; padding: 12px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; width: 100%; }\n        button:hover { opacity: 0.9; transform: scale(0.98); }\n        \n        .list-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); padding: 10px; margin-top: 10px; border-radius: 5px; }\n        .del-btn { background: #ff4d4d; width: auto; padding: 5px 15px; font-size: 12px; }\n    <\/style>\n<\/head>\n<body>\n\n    <div id=\"loginOverlay\">\n        <div class=\"login-box\">\n            <i class=\"fas fa-lock\" style=\"font-size: 50px; color: var(--accent); margin-bottom: 20px;\"><\/i>\n            <h3>Admin Login<\/h3>\n            <input type=\"password\" id=\"passInput\" placeholder=\"Enter Password\">\n            <button onclick=\"checkPass()\">Login Now<\/button>\n        <\/div>\n    <\/div>\n\n    <div class=\"container\" id=\"adminPanel\">\n        <div style=\"display: flex; justify-content: space-between; align-items: center;\">\n            <h2>Mymun Dashboard<\/h2>\n            <button onclick=\"location.reload()\" class=\"del-btn\">Logout<\/button>\n        <\/div>\n\n        <div class=\"card\">\n            <h3><i class=\"fas fa-share-alt\"><\/i> \u09b8\u09cb\u09b6\u09cd\u09af\u09be\u09b2 \u0993 \u09ae\u09c7\u09b8\u09c7\u099e\u09cd\u099c\u09be\u09b0 \u09b2\u09bf\u0982\u0995<\/h3>\n            <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 10px;\">\n                <input type=\"text\" id=\"fb\" placeholder=\"Facebook Link\">\n                <input type=\"text\" id=\"tk\" placeholder=\"TikTok Link\">\n                <input type=\"text\" id=\"ig\" placeholder=\"Instagram Link\">\n                <input type=\"text\" id=\"wa\" placeholder=\"WhatsApp Number (Ex: 8801...)\">\n            <\/div>\n            <input type=\"text\" id=\"ms\" placeholder=\"Messenger Link (Ex: https:\/\/m.me\/yourid)\">\n            <button onclick=\"updateSocial()\">\u09b2\u09bf\u0982\u0995 \u0986\u09aa\u09a1\u09c7\u099f \u0995\u09b0\u09c1\u09a8<\/button>\n        <\/div>\n\n        <div class=\"card\">\n            <h3><i class=\"fas fa-bars\"><\/i> \u09a5\u09cd\u09b0\u09bf-\u09b2\u09be\u0987\u09a8 \u09ae\u09c7\u09a8\u09c1 \u0995\u09a8\u09cd\u099f\u09cd\u09b0\u09cb\u09b2<\/h3>\n            <input type=\"text\" id=\"mName\" placeholder=\"\u09ae\u09c7\u09a8\u09c1\u09b0 \u09a8\u09be\u09ae\">\n            <input type=\"text\" id=\"mLink\" placeholder=\"\u09b2\u09bf\u0982\u0995 \u09ac\u09be \u0987\u0989\u0986\u09b0\u098f\u09b2\">\n            <button onclick=\"addMenu()\">\u09ae\u09c7\u09a8\u09c1\u09a4\u09c7 \u09a8\u09a4\u09c1\u09a8 \u0986\u0987\u099f\u09c7\u09ae \u09af\u09cb\u0997 \u0995\u09b0\u09c1\u09a8<\/button>\n            <div id=\"menuList\" class=\"list\"><\/div>\n        <\/div>\n\n        <div class=\"card\">\n            <h3><i class=\"fas fa-edit\"><\/i> \u09aa\u09cd\u09b0\u09bf\u09ae\u09bf\u09df\u09be\u09ae \u09aa\u09cb\u09b8\u09cd\u099f\/\u09b8\u09be\u09b0\u09cd\u09ad\u09bf\u09b8 \u098f\u09a1 \u0995\u09b0\u09c1\u09a8<\/h3>\n            <input type=\"text\" id=\"pTitle\" placeholder=\"\u09aa\u09cb\u09b8\u09cd\u099f\u09c7\u09b0 \u09b6\u09bf\u09b0\u09cb\u09a8\u09be\u09ae\">\n            <textarea id=\"pDesc\" rows=\"4\" placeholder=\"\u09ac\u09bf\u09b8\u09cd\u09a4\u09be\u09b0\u09bf\u09a4 \u09ac\u09b0\u09cd\u09a3\u09a8\u09be...\"><\/textarea>\n            <button onclick=\"addPost()\">\u09aa\u09be\u09ac\u09b2\u09bf\u09b6 \u09aa\u09cb\u09b8\u09cd\u099f<\/button>\n            <div id=\"postList\" class=\"list\" style=\"margin-top: 20px;\"><\/div>\n        <\/div>\n    <\/div>\n\n<script>\n    const firebaseConfig = { databaseURL: \"https:\/\/mohongonj-5419e-default-rtdb.firebaseio.com\/\" };\n    firebase.initializeApp(firebaseConfig);\n    const db = firebase.database();\n\n    \/\/ Password Security\n    function checkPass() {\n        const pass = document.getElementById('passInput').value;\n        if(pass === \"198800\") {\n            document.getElementById('loginOverlay').style.display = 'none';\n            document.getElementById('adminPanel').style.display = 'block';\n            loadData();\n        } else {\n            alert(\"\u09ad\u09c1\u09b2 \u09aa\u09be\u09b8\u0993\u09df\u09be\u09b0\u09cd\u09a1! \u0986\u09ac\u09be\u09b0 \u099a\u09c7\u09b7\u09cd\u099f\u09be \u0995\u09b0\u09c1\u09a8\u0964\");\n        }\n    }\n\n    \/\/ Update Social Links\n    function updateSocial() {\n        db.ref('social').set({\n            facebook: document.getElementById('fb').value,\n            tiktok: document.getElementById('tk').value,\n            instagram: document.getElementById('ig').value,\n            whatsapp: \"https:\/\/wa.me\/\" + document.getElementById('wa').value,\n            messenger: document.getElementById('ms').value\n        });\n        alert(\"\u09b8\u09cb\u09b6\u09cd\u09af\u09be\u09b2 \u09ae\u09bf\u09a1\u09bf\u09df\u09be \u0986\u09aa\u09a1\u09c7\u099f \u09b9\u09df\u09c7\u099b\u09c7!\");\n    }\n\n    \/\/ Manage Menu\n    function addMenu() {\n        const name = document.getElementById('mName').value;\n        const link = document.getElementById('mLink').value;\n        if(name && link) {\n            db.ref('menu_links').push({ name, link });\n            document.getElementById('mName').value = '';\n            document.getElementById('mLink').value = '';\n        }\n    }\n\n    \/\/ Manage Posts\n    function addPost() {\n        const title = document.getElementById('pTitle').value;\n        const desc = document.getElementById('pDesc').value;\n        if(title && desc) {\n            db.ref('posts').push({ title, desc });\n            document.getElementById('pTitle').value = '';\n            document.getElementById('pDesc').value = '';\n        }\n    }\n\n    \/\/ Real-time Data Loading\n    function loadData() {\n        \/\/ Social\n        db.ref('social').once('value', snap => {\n            const s = snap.val();\n            if(s) {\n                document.getElementById('fb').value = s.facebook || \"\";\n                document.getElementById('tk').value = s.tiktok || \"\";\n                document.getElementById('ig').value = s.instagram || \"\";\n                document.getElementById('ms').value = s.messenger || \"\";\n            }\n        });\n\n        \/\/ Menu List\n        db.ref('menu_links').on('value', snap => {\n            const list = document.getElementById('menuList');\n            list.innerHTML = '';\n            snap.forEach(child => {\n                list.innerHTML += `<div class=\"list-item\"><span>${child.val().name}<\/span> <button class=\"del-btn\" onclick=\"del('menu_links\/${child.key}')\">Delete<\/button><\/div>`;\n            });\n        });\n\n        \/\/ Post List\n        db.ref('posts').on('value', snap => {\n            const list = document.getElementById('postList');\n            list.innerHTML = '<h4>\u09ac\u09b0\u09cd\u09a4\u09ae\u09be\u09a8 \u09aa\u09cb\u09b8\u09cd\u099f\u0997\u09c1\u09b2\u09cb:<\/h4>';\n            snap.forEach(child => {\n                list.innerHTML += `<div class=\"list-item\"><span>${child.val().title}<\/span> <button class=\"del-btn\" onclick=\"del('posts\/${child.key}')\">Delete<\/button><\/div>`;\n            });\n        });\n    }\n\n    function del(path) {\n        if(confirm(\"\u0986\u09aa\u09a8\u09bf \u0995\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u098f\u099f\u09bf \u09a1\u09bf\u09b2\u09bf\u099f \u0995\u09b0\u09a4\u09c7 \u099a\u09be\u09a8?\")) db.ref(path).remove();\n    }\n<\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Enterprise Admin Dashboard Admin Login Login Now Mymun Dashboard Logout \u09b8\u09cb\u09b6\u09cd\u09af\u09be\u09b2 \u0993 \u09ae\u09c7\u09b8\u09c7\u099e\u09cd\u099c\u09be\u09b0 \u09b2\u09bf\u0982\u0995 \u09b2\u09bf\u0982\u0995 \u0986\u09aa\u09a1\u09c7\u099f \u0995\u09b0\u09c1\u09a8 \u09a5\u09cd\u09b0\u09bf-\u09b2\u09be\u0987\u09a8 \u09ae\u09c7\u09a8\u09c1 \u0995\u09a8\u09cd\u099f\u09cd\u09b0\u09cb\u09b2 \u09ae\u09c7\u09a8\u09c1\u09a4\u09c7 \u09a8\u09a4\u09c1\u09a8 \u0986\u0987\u099f\u09c7\u09ae \u09af\u09cb\u0997 \u0995\u09b0\u09c1\u09a8 \u09aa\u09cd\u09b0\u09bf\u09ae\u09bf\u09df\u09be\u09ae \u09aa\u09cb\u09b8\u09cd\u099f\/\u09b8\u09be\u09b0\u09cd\u09ad\u09bf\u09b8 \u098f\u09a1 \u0995\u09b0\u09c1\u09a8 \u09aa\u09be\u09ac\u09b2\u09bf\u09b6 \u09aa\u09cb\u09b8\u09cd\u099f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-457","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=457"}],"version-history":[{"count":0,"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=\/wp\/v2\/posts\/457\/revisions"}],"wp:attachment":[{"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mymun.pro.bd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}