{"id":682,"date":"2021-09-28T09:55:36","date_gmt":"2021-09-28T01:55:36","guid":{"rendered":"http:\/\/www.sdb.org.hk\/resources-2021\/purchases\/"},"modified":"2021-09-28T09:55:36","modified_gmt":"2021-09-28T01:55:36","slug":"purchases","status":"publish","type":"page","link":"https:\/\/www.sdb.org.hk\/resources-2021\/?page_id=682","title":{"rendered":"Purchases"},"content":{"rendered":"        <div class=\"w3eden\">\n        \n<div class=\"w3eden wpdm-auth-page\" id=\"wpdmloginpage\">\n    <div class=\"wpdm-auth-split\" id=\"wpdmlogin\">\n        <div class=\"wpdm-auth-panel\">\n            <!-- Left Panel - Decorative -->\n            <div class=\"wpdm-auth-left\">\n                <div class=\"wpdm-auth-grid\"><\/div>\n                <div class=\"wpdm-auth-circles\">\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                <\/div>\n\n                <div class=\"wpdm-auth-brand\">\n                    <a href=\"https:\/\/www.sdb.org.hk\/resources-2021\">\n                                            <img decoding=\"async\" src=\"https:\/\/www.sdb.org.hk\/resources-2021\/wp-content\/uploads\/2023\/12\/cropped-icon-01.png\" alt=\"\u6148\u5e7c\u5bf6\u5eab\" \/>\n                                        <span>\u6148\u5e7c\u5bf6\u5eab<\/span>\n                    <\/a>\n                <\/div>\n\n                <div class=\"wpdm-auth-welcome\">\n                    <div class=\"wpdm-auth-welcome-sub\">Nice to see you again<\/div>\n                    <div class=\"wpdm-auth-welcome-title\">WELCOME BACK<\/div>\n                    <div class=\"wpdm-auth-welcome-line\"><\/div>\n                    <div class=\"wpdm-auth-welcome-text\">\n                        Sign in to access your account, manage your downloads, and explore all the features available to you.                    <\/div>\n                <\/div>\n            <\/div>\n\n            <!-- Right Panel - Form -->\n            <div class=\"wpdm-auth-right\">\n\n\n                <div class=\"wpdm-auth-form-header\">\n                    <h1 class=\"wpdm-auth-form-title\">Login Account<\/h1>\n                    <p class=\"wpdm-auth-form-desc\">Enter your credentials to access your account and continue where you left off.<\/p>\n                <\/div>\n                                <form name=\"loginform\" id=\"loginform\" action=\"\" method=\"post\">\n                    <input type=\"hidden\" name=\"permalink\" value=\"https:\/\/www.sdb.org.hk\/resources-2021\/?page_id=682\" \/>\n\n                    <!-- Alerts -->\n                    <div id=\"__signin_msg\">\n                                            <\/div>\n\n                    \n                    <!-- Email -->\n                    <div class=\"wpdm-auth-field\">\n                        <div class=\"wpdm-auth-input-wrap\">\n                            <input type=\"text\" name=\"wpdm_login[log]\" id=\"user_login\" class=\"wpdm-auth-input\" required placeholder=\"Email ID\" autocomplete=\"username\" \/>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Password -->\n                    <div class=\"wpdm-auth-field\">\n                        <div class=\"wpdm-auth-input-wrap\">\n                            <input type=\"password\" name=\"wpdm_login[pwd]\" id=\"password\" class=\"wpdm-auth-input has-toggle\" required placeholder=\"Password\" autocomplete=\"current-password\" \/>\n                            <button type=\"button\" class=\"wpdm-auth-pwd-toggle\" onclick=\"wpdmTogglePwd()\" aria-label=\"Toggle password visibility\">\n                                <svg id=\"wpdm-eye\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"\/><circle cx=\"12\" cy=\"12\" r=\"3\"\/><\/svg>\n                                <svg id=\"wpdm-eye-off\" style=\"display:none\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\/><line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"\/><\/svg>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Hidden hash -->\n                                        <input type=\"hidden\" name=\"__phash\" id=\"__phash\" value=\"OVIRGGxHtg-oXUDtIfbIEmb1LDNKnnhS3BoF8IyDleBZCJySp7ShLBpsJuPH5gMTt2ojrK-9auxJHxR4bayWnAiFGtJjyQvYwrUAsNYFqL-iFs75lR_ZJGw4bjoRFQuu5Sg2E-lBEZtouseM9A6tQnaZkJlVNOzjIqa8wz8-e4TMTkSaB2-XxdwGQoWGtAx0md-uhvGY-yIC2aNb7UmIdJg\" \/>\n\n                    \n                                        \n                    <!-- Remember & Forgot -->\n                    <div class=\"wpdm-auth-meta\">\n                        <label class=\"wpdm-auth-remember\">\n                            <input type=\"checkbox\" name=\"rememberme\" id=\"rememberme\" value=\"forever\" \/>\n                            <span class=\"wpdm-auth-check\">\n                                <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\"><polyline points=\"20 6 9 17 4 12\"\/><\/svg>\n                            <\/span>\n                            <span>Keep me signed in<\/span>\n                        <\/label>\n                        <a href=\"https:\/\/www.sdb.org.hk\/resources-2021\/wp-login.php?action=lostpassword\" class=\"wpdm-auth-forgot\">Forgot password?<\/a>\n                    <\/div>\n\n                    <!-- Submit -->\n                    <button type=\"submit\" name=\"wp-submit\" id=\"loginform-submit\" class=\"wpdm-auth-btn\">\n                        <span>Sign In<\/span>\n                    <\/button>\n\n                    <!-- Register Link -->\n                    \n                    <input type=\"hidden\" name=\"redirect_to\" value=\"\/resources-2021\/index.php?rest_route=\/wp\/v2\/pages\/682\" \/>\n                <\/form>\n\n                <!-- Social Login -->\n                \n                            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\nfunction wpdmTogglePwd() {\n    var pwd = document.getElementById('password');\n    var eye = document.getElementById('wpdm-eye');\n    var eyeOff = document.getElementById('wpdm-eye-off');\n    if (pwd.type === 'password') {\n        pwd.type = 'text';\n        eye.style.display = 'none';\n        eyeOff.style.display = 'block';\n    } else {\n        pwd.type = 'password';\n        eye.style.display = 'block';\n        eyeOff.style.display = 'none';\n    }\n}\n\njQuery(function ($) {\n        var $btn = $('#loginform-submit');\n    var btnHtml = $btn.html();\n\n    $('#loginform').submit(function () {\n        $btn.html('<span class=\"wpdm-auth-spinner\"><\/span><span>Signing in...<\/span>').attr('disabled', 'disabled');\n\n        $(this).ajaxSubmit({\n            error: function(error) {\n                if(typeof error.responseJSON !== 'undefined') {\n                    showErr(error.responseJSON.messages || error.responseJSON.message);\n                    $btn.html(btnHtml).removeAttr('disabled');\n                                    } else {\n                    setTimeout(function () {\n                        location.href = \"\/resources-2021\/index.php?rest_route=\/wp\/v2\/pages\/682\";\n                    }, 1000);\n                }\n            },\n            success: async function (res) {\n                if (!res.success) {\n                    showErr(res.message);\n                    $btn.html(btnHtml).removeAttr('disabled');\n                                    } else {\n                    let proceed = await WPDM.doAction(\"wpdm_user_login\", res);\n                    $btn.html('<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"\/><polyline points=\"22 4 12 14.01 9 11.01\"\/><\/svg><span>' + res.message + '<\/span>');\n                    setTimeout(function () {\n                        location.href = \"\/resources-2021\/index.php?rest_route=\/wp\/v2\/pages\/682\";\n                    }, 1000);\n                }\n            }\n        });\n        return false;\n    });\n    \n    function showErr(msg) {\n        $('#loginform .wpdm-auth-alert.error').remove();\n        var html = '<div class=\"wpdm-auth-alert error\">' +\n            '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"\/><line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"\/><\/svg>' +\n            '<span>' + msg + '<\/span><\/div>';\n        $('#loginform').prepend(html);\n    }\n\n    $('body').on('click', '.wpdm-auth-alert.error', function(){\n        $(this).slideUp(150, function() { $(this).remove(); });\n    });\n});\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-682","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=\/wp\/v2\/pages\/682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=682"}],"version-history":[{"count":0,"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=\/wp\/v2\/pages\/682\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sdb.org.hk\/resources-2021\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}