Help
RSS
API
Feed
Maltego
Contact
Domain > spfpromotion2025.com.sg
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2025-06-16
18.136.162.58
(
ClassC
)
2025-11-30
52.76.106.71
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyServer: awselb/2.0Date: Sun, 30 Nov 2025 08:54:23 GMTContent-Type: text/htmlContent-Length: 134Connection: keep-aliveLocation: https://spfpromotion2025.com.sg:443/ html>head>title>301 Moved Permanently/title>/head>body>center>h1>301 Moved Permanently/h1>/center>/body>/html>
Port 443
HTTP/1.1 200 OKDate: Sun, 30 Nov 2025 08:54:24 GMTContent-Type: text/html; charsetutf-8Content-Length: 33127Connection: keep-aliveServer: nginx/1.22.0X-XSS-Protection: 1; modeblockX-Content-Type-Options: nosniffStrict-Transport-Security: max-age31536000; includeSubDomainsX-Download-Options: noopenX-Permitted-Cross-Domain-Policies: noneReferrer-Policy: no-referrer-when-downgradePermissions-Policy: *Vary: Accept,Accept-EncodingETag: W/5cba901fe0cf51a29164dc0a36f8d19cCache-Control: max-age0, private, must-revalidateSet-Cookie: _tool_sessionoJ8aQ70oSesCm8DUb7lob1%2FDt6trCqVXUOJElQsC236ribQSINg3X442%2BWCepw8ZtWaiEme3XdRY1pKryApmBnFlaMoaCydHoBxJApY8v4SQxgai55lV4YX4bttotR1j1j%2Fabnw021TdczERrLZQBaoUhkGK7kejdDILl4o1GLi3zzAkS2P1XuFISz55CgN4HcEPh5DhFtfUgA9TpEU0q%2B%2B4lltKTSifSvEuyNiB0ctEbcKOOpBKpu8l2hUT0PTP1MX%2BVcFisUGVK3VVqVQz30ldZU4J--d4JecsFmWqQ7ub%2F1--X%2F4ljMUUdmxsNKnp28szDA%3D%3D; path/; HttpOnlyX-Request-Id: fc4e10e6-2a06-47fc-97ac-d2ec03d2f2f3X-Runtime: 0.277758 !DOCTYPE html>html langen>head> !-- Meta Data --> meta namecsrf-param contentauthenticity_token />meta namecsrf-token contentUaz+R1CkoTtTjqcY1Lf28uRBTBTr51dBxzRqDR9ftG85Wb8DbV7yZNX4YVJ98EMmisMX5HR3riAR6m7Jx/Rxzw /> !-- Meta Data --> meta nameaction-cable-url contentwss://spfpromotion2025.com.sg/cable /> meta charsetutf-8> meta http-equivX-UA-Compatible contentIEedge> meta nameviewport contentwidthdevice-width, initial-scale1> meta namerobots contentnoindex> link relstylesheet href//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css> link relstylesheet href/resources/demos/style.css> link relstylesheet hrefhttps://unpkg.com/balloon-css/balloon.min.css> link relstylesheet hrefhttps://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css integritysha512-SfTiTlX6kk+qitfevl/7LibUOeJWlt9rbyDn92a1DqWOw9vWG2MFoays0sgObmWazO5BQPiFucnnEAjpAB+/Sw crossoriginanonymous /> title>SPF Promotion 2025 (21st April)/title> meta namecsrf-param contentauthenticity_token />meta namecsrf-token content/r40FVJJg26183UyEqvdqSnlkgtAw8mH28zHyNMEjxeWS3VRb7PQMTOFs3i77Gh9R2fJ+99TMOYNEsMMC69Ktw /> link hrefhttps://use.fontawesome.com/releases/v5.6.3/css/all.css relstylesheet> link relstylesheet hrefhttps://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css integritysha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T crossoriginanonymous> link relstylesheet hrefhttps://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css integritysha512-c42qTSw/wPZ3/5LBzD+Bw5f7bSF2oxou6wEb+I/lqeaKV5FDIfMvvRp772y4jcJLKuGUOpbJMdg/BTl50fJYAw crossoriginanonymous /> link relstylesheet mediaall href/assets/v1/application-ee1891ad5fb9cef9f14efdfdbfa134a5b7b3974eb209bfc791fbecc869339a76.css /> link relstylesheet hrefhttps://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css /> link relstylesheet hrefhttps://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css crossoriginanonymous /> style typetext/css> .header-cont a i{ color: # !important; } .footer-contacts li i{ color: # !important; } .nav-list li a:hover { color: # !important; } .nav-list > li.active > a, .nav-list li.dropdown ul li.active a{ color: # !important; } .nav-list li.dropdown ul li a:hover { background-color: #fff; color: #fff; } @media (min-width: 768px){ .nav-list li.dropdown ul { border-top: 2px solid # !important; } } .version-2 .title-line-left:before, .version-2 .title-line:before { background-color: # !important; } .header-two-top .btn { border-color: #00205b !important; } .header-two-top .btn:before { background-color: #00205b !important; } .our-speakers .speaker-item .speaker-item-content .prof:before { background-color: # !important; } .schedule-event-home-two .schedule-cover li.active .schedule-header .schedule-time, .schedule-event-home-two .schedule-cover li.active .inner-accordian-header .schedule-time, .schedule-event-home-two .schedule-cover li.active .schedule-header .schedule-title, .schedule-event-home-two .schedule-cover li.active .schedule-header i, .schedule-event-home-two .schedule-cover li .schedule-header:hover .schedule-time, .schedule-event-home-two .schedule-cover li .schedule-header:hover .schedule-title, .schedule-event-home-two .schedule-cover li .schedule-header:hover i { color: # !important; } .tab-nav .item:hover, .tab-nav .item.active { color: #000 !important; } .tab-nav .item:hover, .tab-nav .item.active{ color: # !important; } .tab-nav .item:before { content: ; position: absolute; bottom: -1px; width: 0; left: 0; background-color: # !important; -webkit-transition: .3s ease; transition: .3s ease; z-index: 1; height: 2px; } .btn:before { background-color: #00205b !important; } .send-btn { background: #00205b; } .history-info-cover .history-info .title span{ color: #; } .history-info-cover .history-info:hover .title:before { border-color: #; } .version-2 a:hover, .version-2 .title a:hover { color: #; } @media (max-width: 480px){ .tab-nav .item.active, .tab-nav .item:hover{ background-color: #; } } a#send_message:hover,a#askquestion:hover{ color: # !important; } .v-tab button.active, .v-tab button.active i, .v-tab button:hover, .v-tab button:hover i, .v-tab a.active, .v-tab a.active i, .v-tab a:hover, .v-tab a:hover i, .v-tab .tablinks.active, .v-tab .tablinks.active i, .v-tab .tablinks:hover, .v-tab .tablinks:hover i{ color: # !important; } .chat-list .tag, .progress-ul .tag{ color: #; border: 1px solid #; } inputtypebutton, inputtypesubmit, .btn { color: #151515; border: 2px solid #00205b !important; } .version-2 .soc-link li a:hover { color: # !important; } .footer-menu li a:hover, .copyright a:hover { color: # !important; } /*version dyanamic color*/ .rd-navbar-aside.rd-navbar-static .rd-nav-item.active, .rd-navbar-aside.rd-navbar-static .rd-nav-item:hover .rd-nav-link,.rd-navbar-toggle.active span, .rd-navbar-toggle.active span:before, .rd-navbar-toggle.active span:after,.rd-navbar-aside.rd-navbar-static .rd-navbar-dropdown li > a:hover, .rd-navbar-aside.rd-navbar-static .rd-megamenu-list li > a:hover,.title-decorate:before,.event-item-modern.event-active span:before,.title-decorate:after,.user-profile-btns a:hover, .rd-navbar-aside.rd-navbar-static .rd-nav-item.opened .rd-nav-link{ background: # !important; } /*.social-icon i,.event-agenda-v2 .collapse-icon i,.collapse-icon i,.rd-navbar-static .rd-nav-item > .rd-navbar-submenu-toggle::before,.rd-navbar-aside.rd-navbar-static .rd-nav-item > .rd-navbar-submenu-toggle,.nav-tabs-cteative .nav-link:hover, .nav-tabs-cteative .nav-link.active,.nav-tabs-classic .nav-link:hover, .nav-tabs-classic .nav-link.active,.manage-account,.chat-room .tab-right-section .tab-nav .item a.active,.v2-footer-menu li a:hover,.v2-footer-menu .sub-menu li>a::before,.v4-footer-menu li a:hover,.v4-footer-menu .sub-menu li>a::before,.rd-navbar-classic.rd-navbar--is-stuck .button-secondary:hover,a.btn-v4:hover,button.btn-v4:hover,.ui-to-top:hover,.login-v2 .theme-btn:hover,.user-action-btns-v2 .theme-btn:hover,.theme-btn:hover,.shadow-bottom-hover:hover,.v5-footer-menu li a:hover, .gradient-btn:hover,.link-hover:hover,a.nav-link:hover,.darkmode .nav-list li a:hover,.darkmode .tab-nav .item.active span,.darkmode .tab-nav .item:before,.darkmode .footer-menu li a:hover,.darkmode p > a:hover,.darkmode strong > a:hover,.darkmode b > a:hover,.darkmode span > a:hover,.event-agenda-v2 .theme-btn:hover,.btn:hover,.rd-navbar-classic .button-secondary:hover,.button-secondary:hover{ color:# !important; }*/ .event-agenda-v2 .main-agenda-time,.v2-bg-green a ,a.link-hover, .link-hover, .team-name,.speaker-name{ color:# !important; } .collapse-icon,.event-item-modern .event-dot,.event-item-modern:before,.darkmode .history-info-cover .history-info:hover .title:before{ border-color:# !important; } .user-action-btns-v2 .theme-btn,.theme-btn,.v2-bg-green,.ui-to-top,.event-agenda-v2 .theme-btn,.btn-v4,.button-secondary, .button-secondary:focus,.login-v2 .theme-btn,.user-button:hover, .gradient-btn, .js-card-container:after, .js-tag-row .js-tag, .bottom-bar::after{ background: #00205b !important; border-color: #00205b !important; color:#fff !important; } .js-card .js-card-footer{color: #00205b !important;} a.tablinks.leaderboard-tab { color: #000 !important; } /*version dyanamic color*/ /*VERSION 3*/ /*.darkmode inputtypebutton, inputtypesubmit, .btn { color: #d8d8d8; }*//style> meta nametheme-color content#ffffff> !-- Google Web Fonts --> link hrefhttps://fonts.googleapis.com/css?familyJosefin+Sans:600%7CRoboto:400,500,700 relstylesheet> script srchttps://api.tiles.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.js>/script> !-- DARKMODE CDN --> script srchttps://cdn.jsdelivr.net/npm/darkmode-js@1.3.4/lib/darkmode-js.min.js>/script> !--//DARKMODE CDN --> link hrefhttps://api.tiles.mapbox.com/mapbox-gl-js/v0.44.0/mapbox-gl.css relstylesheet /> link relstylesheet hrefhttps://cdn.plyr.io/3.6.12/plyr.css /> style typetext/css> /style> script src/assets/tinymce-90d5e525e3269a03eaff07e0831b67e2fb16e166455dc72fd338085733c89df3.js data-turbolinks-trackreload>/script> !-- script srchttps://code.jquery.com/jquery-3.5.1.min.js>/script> --> !-- script typetext/javascript srchttps://event.zenway.gg/js/tracking.js>/script> -->/head>body idhome classversion-2 data-localeen stylebackground-color: #fff; data-domain-id> !-- h1 onclicktracking(3,new activity, 295)>CLick/h1> --> !-- HEADER --> !-- site-banner --> !-- /.site-banner --> !----> !-- Event Speakers --> !----> !-- div styleheight: 200px;>/div> --> !-- /#site-event-speakers --> !-- S-LATEST-NEWS END --> section classcopyright-section d-flex justify-content-center p-3> div classcopyright>© 2025. SPF Promotion 2025 (21st April). All Rights Reserved. a href/295/terms_and_condition>Terms and Conditions/a>/div>/section> !-- TO TOP --> a classto-top href#home> i classfa fa-chevron-up aria-hiddentrue>/i> /a> !-- TO TOP END --> !-- SCRIPT --> !-- after user login popup --> !-- push notification popup --> !-- download button popup -->div classmodal fade idpush-notification-popup tabindex-1 roledialog aria-labelledbychat-download aria-hiddentrue> div classmodal-dialog modal-dialog-centered roledocument> div classmodal-content> div classmodal-body text-center > h4>Notification/h4> div idpop_up_message>/div> /div> div classmodal-footer> a hrefjavascript:void(0) classconfirm_chat_download btn btn-secondary m-auto data-dismissmodal>Close/a> /div> /div> /div>/div> script srchttps://code.jquery.com/jquery-3.5.1.min.js>/script> script srchttps://cdn.plyr.io/3.6.12/plyr.js>/script> script> if($(#player).length > 0){ const player new Plyr(#player); } /script> script typetext/javascript idMathJax-script async srchttps://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-chtml.js> /script> !-- chat box jquery --> script typetext/javascript> $(document).ready(function() { mainH(); $(.chat-icon).click(function() { $(.chat-box).addClass(show); $(.chat-main).addClass(active); $(.chat-box).addClass(show); if($(window).width() 768) { var winH $(window).height(); var winW $(window).width(); $(.chat-container).height(winH - 120); } }); $(.close-chat).click(function() { $(this).parents(.chat-box).removeClass(show); }); $(.close-chatbox).on(click, function(){ $(this).parent(.c-box).remove(); $(.chat-main).removeClass(active); }); $(document).on(click, function(){ $(.tooltip).hide(); }); }); // media query box resize $(window).resize(function() { mainH(); }) var mainH function() { var ww $(window).width(); var wh2 $(window).height(); } /script> !-- chat box jquery close --> script typetext/javascript> $(document).ready(function(){ $(.open_model).on(click, function(){ var popupId $(this).attr(data-target); $(popupId).addClass(in); }); $(buttondata-dismissmodal).on(click, function(){ $(.modal.in).removeClass(in); }); }); /script> script> function passwordCheck(){ $(#site-preloader).show(); $(body).addClass(body-overlay); var password prompt(Please enter the password to access website.); if (password){ localStorageauthentication true; $(body).removeClass(body-overlay); } else{ while(password !){ $(body).addClass(body-overlay); password prompt(Please enter the password to access website.); } localStorageauthentication true; $(body).removeClass(body-overlay); } } function authenticatedAlready(){ return ( localStorageauthentication || false ); } /script> script typetext/javascript> /script> script typetext/javascript> /script> script srchttps://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js>/script> script srchttps://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js>/script> script srchttps://cdnjs.cloudflare.com/ajax/libs/jquery.lazy/1.7.9/jquery.lazy.min.js>/script> script srchttps://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js integritysha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM crossoriginanonymous>/script> div classbrowser-detect-main> div idoutdated-browser styleborder-color: #dd8c3c > h2 stylecolor: #dd8c3c>Unsupported Browser/h2> p>Your web browser appears to be outdated. Our website may not look quite right in it./p> p>Please consider updating your browser to enjoy an optimal experience./p> nav> ul> li classbrowser-chrome> a hrefhttps://www.google.com/chrome/browser/desktop/ target_blank> div classimage> i classfab fa-chrome stylecolor: #dd8c3c>/i> div classtext>Google Chrome/div> /div> /a> /li> li classbrowser-firefox> a hrefhttps://www.mozilla.org/en-US/firefox/new/ target_blank> div classimage> i classfab fa-firefox stylecolor: #dd8c3c>/i> div classtext>Mozilla Firefox/div> /div> /a> /li> li classbrowser-safari> a hrefhttps://support.apple.com/en-us/HT204416 target_blank> div classimage> i classfab fa-safari stylecolor: #dd8c3c>/i> div classtext>Apple Safari/div> /div> /a> /li> li classbrowser-edge> a hrefhttps://www.microsoft.com/en-us/windows/microsoft-edge target_blank> div classimage> i classfab fa-edge stylecolor: #dd8c3c>/i> div classtext>Microsoft Edge/div> /div> /a> /li> /ul> /nav>/div> /div> script src/assets/v1/application-0c52ca3e05661a27967dcd169faf8613092c99874e53dd2baf326c35ebadcd43.js data-turbolinks-trackreload>/script> script typetext/javascript> function geogebra_graph_preview(on) { var paramArray var appletcount $(.applets).length; var appletArray console.log(appletcount); for (let i0; iappletcount; i++){ paramArrayi { appName: , width:$(.rc-row).width() - 30, height:450, showToolBar:false, borderColor:null, showMenuBar:false, showAlgebraInput:false, customToolbar:0 || 1, showResetIcon:true, enableLabelDrags:true, enableShiftDragZoom:true, enableRightClick:false, capturingThreshold:null, showToolBarHelp:false, errorDialogsActive:false, showFullscreenButton: true, id: ggbApplet+(i+1), useBrowserForJS:false}; console.log(applet_container_+(i+1)); // alert(applet_container_+(i+1)); appletArrayi new GGBApplet(paramArrayi, 5.0); if (on result){ appletArrayi.inject(applet_container_+(i+1)+); }else{ appletArrayi.inject(applet_container_+(i+1)+_prev); } } // var applet1 new GGBApplet(parameters1, 5.0); // applet1.inject(applet_container1); function loadGgbFile(num){ // alert(ggbApplet+num); // console.log(eval(ggbApplet+num)); (eval(ggbApplet+num)).setBase64(document.getElementById(applet_+num).value); // console.log(document.getElementById(applet_+num).value); } setTimeout(function() { for (let i0; iappletcount; i++){ loadGgbFile(i+1); } $(.result-ans).removeClass(_loading); },2000); } function geogebra_graph(num) { if ($(.applet_container_single_page).length > 1) { var parameters var applet var i -1 $(.applet_container_single_page).each(function(index){ i++; parametersi { appName: , // width:700, height:600, showToolBar:true, borderColor:null, showMenuBar:false, showAlgebraInput:true, customToolbar:0 || 1, showResetIcon:true, enableLabelDrags:false, enableShiftDragZoom:true, enableRightClick:true, capturingThreshold:null, showToolBarHelp:true, errorDialogsActive:true, showFullscreenButton: true, id: ggbApplet+$(this).attr(number), useBrowserForJS:false}; appleti new GGBApplet(parametersi, 5.0); appleti.inject($(this).attr(id)); }); setTimeout(function() { $(.answer-div).removeClass(_loading); },3000); function saveGgbFile(n){ (eval(ggbApplet+(n))).getBase64(function(b){ document.getElementById(graph-save-base64-+n).value b }); } $(document).on(click,#single-page-submit-button,function(e){ e.preventDefault(); $(.applet_container_single_page).each(function(index){ saveGgbFile($(this).attr(number)); }); $(#single-page-submit-button-hidden).trigger(click); }); }else{ $(document).on(click,#single-page-submit-button,function(e){ e.preventDefault(); $(#single-page-submit-button-hidden).trigger(click); }); var parameters { appName: , width:1200, height:600, showToolBar:true, borderColor:null, showMenuBar:false, showAlgebraInput:true, customToolbar:0 || 1, showResetIcon:true, enableLabelDrags:true, enableShiftDragZoom:true, enableRightClick:true, capturingThreshold:null, showToolBarHelp:true, errorDialogsActive:true, showFullscreenButton: true, useBrowserForJS:false}; var applet new GGBApplet(parameters, 5.0); function saveGgbFile(n){ ggbApplet.getBase64(function(b){ document.getElementById(graph-save-base64-+n).value b }); } function loadGgbFile(){ ggbApplet.setBase64(document.getElementById(graph-save-base64-+num).value); } applet.inject(applet_container_+num); // when used with Math Apps Bundle, uncomment this: // applet.setHTML5Codebase(GeoGebra/HTML5/5.0/web/); // window.onload function() { // applet.inject(applet_container_+num); // } if($(#graph-save-base64-+num).val().length > 1){ setTimeout(function() { loadGgbFile(); setTimeout(function() { $(.qz-answer).removeClass(_loading); }, 1000); },5000); }else{ $(.qz-answer).removeClass(_loading); } $(document).on(click,#graph-submit-+num,function(e){ saveGgbFile($(this).attr(number)); $(#login-submit).trigger(click); e.preventDefault(); }); } } /script> script srchttps://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js>/script> script typetext/javascript> // $(document).on(click,.answer_media // ,function(e){ // {} var divId $(this).attr(data-img-preview); // var fileType $(this).attr(data-file-type); // $(divId+ + .imgbox span).text(No file selected); // if (fileType image){ // if($(divId).html() ! ){ // // $(divId).html(div classcol-md-12 text-center stylefont-size: 14px;color: red; idfile_type_error>/div>i classfa fa-file-image-o aria-hiddentrue>/i>h5>Upload Image/h5>p>Only below file types are allowed/p>small classtext-danger>.jpg, .jpeg, .png, .tiff, .tif/small>); // $(divId).html( ); // $(divId).next().removeClass(active); // } // }else{ // $(divId).html(); // } // }); function checkIt() { // Check if the number of files // is not zero if ($(.answer_media).val()) { alert(Files Loaded); } // Alert the user if the number // of file is zero else { // alert(Cancel clicked); $(this).attr(prev-url) } document.body.onfocus null; console.log(checked); } // $(document).on(click,.answer_media,function(e){ // document.body.onfocus checkIt; // }); $(document).on(change,.answer_media,function(e){ // console.log($(this).val()); if($(this).val() ! ){ var filename e.target.files0.name; var allowedExtensions ; var file this.files0; var divId $(this).attr(data-img-preview); var fileType $(this).attr(data-file-type); // alert(fileType); if(fileType video){ var allowedExtensions /(\.x-flv|\.mp4|\.MP2T|\.3gpp|\.quicktime|\.x-msvideo|\.x-ms-wmv|\.3gp|\.avi|\.mpeg|\.mpg|\.wmv|\.mov|\.webm)$/i }else if(fileType image){ var allowedExtensions /(\.jpg|\.jpeg|\.png|\.gif|\.tiff|\.tif)$/i; }else if(fileType document){ var allowedExtensions /(\.doc|\.docx|\.pdf|\.txt|\.htm|\.html)$/i }else{ var allowedExtensions /(\.mp3|\.wav|\.wma)$/i; } var large_size false if(file.size > 15728640 ){ large_size true } if (!allowedExtensions.exec(filename)) { // alert(Invalid file type); $(divId+ + .imgbox #file_type_error).html(Invalid file type !); $(this).val(); return false; }else if(large_size true){ $(divId+ + .imgbox #file_type_error).html(File size too large. Please upload within 15MB !); $(this).val(); }else{ $(divId+ + .imgbox #file_type_error).html(); if(fileType image){ $(divId).html(); if (file){ let reader new FileReader(); reader.onload function(event){ // alert(divId); // alert(filename); $(divId).html( ); $(divId).next().removeClass(active); $(divId+ + .imgbox).addClass(active); $(divId+ + .imgbox span).html(filename); // console.log(event.target.result); $(divId).append(img src+event.target.result+ classpreview-img>); } reader.readAsDataURL(file); } }else if(fileType audio || fileType video){ $(divId).html(); // console.log(divId); $(divId+ + .imgbox span).html(filename); changeHandler(e , divId, fileType); $(divId+ video).addClass(video-upload-quiz); }else if(fileType document){ $(divId).html(); changeHandler(e , divId, a); $(#doc).html(filename); $(divId+ + .imgbox span).html(); } else{ $(divId).html(); //console.log(file); if (file){ let reader new FileReader(); reader.onload function(event){ $(divId+ + .imgbox span).html(filename); } reader.readAsDataURL(file); } } } }else{ var divId $(this).attr(data-img-preview); var fileType $(this).attr(data-file-type); var prev_url $(this).attr(prev-url); var prev_filename $(this).attr(prev-filename); if(fileType image){ $(divId).html( ); $(divId+ + .imgbox span).html(prev_filename); $(divId).append(img src+prev_url+ classpreview-img>); }else if(fileType audio || fileType video){ $(divId).html(); $(divId+ + .imgbox span).html(prev_filename); if (fileType video){ var elem video controlstrue src+prev_url+>/video> }else if(fileType audio){ var elem audio controlstrue src+prev_url+>/audio> } $(divId).append(elem); $(divId+ video).addClass(video-upload-quiz); }else if(fileType document){ $(divId).html(); // changeHandler(e , divId, a); var elem a href+prev_url+ iddoc target_blank>+prev_filename+/a> $(divId).append(elem); $(#doc).html(prev_filename); $(divId+ + .imgbox span).html(); } } }); //document.getElementById(audio).addEventListener(change, changeHandler); function changeHandler({ target }, divId,type) { // console.log(yuvnyiu+target) // console.log(divId+divId) // console.log(type+type) // Make sure we have files to use if (!target.files.length) return; // Make sure we have files to use //if (!target.files.length) return; // Create a blob that we can use as an src for our audio element const urlObj URL.createObjectURL(target.files0); // console.log(urlObj); // Create an audio element const audio document.createElement(type); // Clean up the URL Object after we are done with it audio.addEventListener(load, () > { URL.revokeObjectURL(urlObj); }); // Append the audio element // document.body.appendChild(audio); $(divId).append(audio); console.log(audio+audio) // Allow us to control the audio audio.controls true; // Set the src and start loading the audio from the file if(type a){ audio.href urlObj; audio.id doc; audio.target _blank; }else{ audio.src urlObj; } } $(#quiz_preview_previous).click(function () { $(#question_list).html(); $(#preview-block).hide(); $(#quiz_card_partial).show(); // $(#quiz-attempt-page).removeClass(container).addClass(container-fluid); }); /script> script typetext/javascript> $(window).on(load,function(e) { var quizCardMaxHeight Math.max.apply(null, $(.quiz-description).map(function(){ return $(this).innerHeight(); }).get()); $(.quiz-description).css(height, quizCardMaxHeight+px); }); /script> script typetext/javascript> function splitterLoad() { var width $(.quiz-container).width(); var panel_height parseInt($(window).height() - ($(header).height() + $(#quiz_head).height() + 115)); var elementExists $(#rightSplitter > div).length; var mainElementExists $(#mainSplitter > div).length; $(.qz-question).css(height,panel_height-47+px); if ($(#pannel-check).attr(pannel) 2){ if(elementExists > 1){ $(#rightSplitter).jqxSplitter({ width: width, height: panel_height, panels: { size: (width-10)/2 } , splitBarSize: 10}); $(.inner-div, .inner-div iframe).css(height,600px); $(#quiz_card_partial, .question-container .quiz-card).height(panel_height); } }else{ if(elementExists > 0){ $(#mainSplitter).jqxSplitter({ width: width, height: panel_height, panels: { size: (width-10)/2 }, splitBarSize: 10 }); if(elementExists > 1){ $(#rightSplitter).jqxSplitter({ width: 100%, height: 100%, splitBarSize: 10 , orientation: horizontal, panels: { size: 60%, collapsible: false } }); } }else{ if (mainElementExists 2){ $(#mainSplitter).jqxSplitter({ width: width, height: panel_height, panels: { size: (width-10)/2 }, splitBarSize: 10 }); } $(.inner-div, .inner-div iframe).css(height,600px); } $(#quiz_card_partial, .question-container .quiz-card).height(panel_height); } } function mobileSplitterLoad(){ // $(#rightSplitter).jqxSplitter({ width: 850, height: 400, orientation: horizontal, panels: { size: 100 }, { size: 300 } }); // $(#mainSplitter).jqxSplitter({ width: 850, height: 400, orientation: horizontal, panels: { size: 100 }, { size: 300 } }); } function fillBlankDuplicateValue() { $(.fill-input).keyup(function(){ let parent $(this).parent().parent(); let inputDivs parent.children(); let inputAns inputDivs.each(function (index) { inputAnsindex $(this).children(input).val(); }); var searchVal $(this).val(); if (searchVal ! ){ var count inputAns.filter(function(item) { // console.log(); // console.log(item); // console.log(searchVal); // console.log(item searchVal); // console.log(); return item searchVal }).length; if (count > 1){ $(.quiz_error).text(You cannot fill duplicate value); }else{ $(.quiz_error).text(); } } }); } $(document).ready(function(){ if ($(window).width() > 768) { splitterLoad(); }else{ mobileSplitterLoad(); } fillBlankDuplicateValue(); }); // $(window).resize(function(){ // splitterLoad(); // }); $(window).on(load, function() { var modelShown localStorage.getItem(modelShown); if(modelShown ! YES){ $(#language_popup).modal(show); }else{ $(#language_popup).modal(hide); } }); $(document).on(click, .language_link , function(){ var url $(this).attr(data-href); localStorage.setItem(modelShown, YES); window.open(url, _self); }) $(document).ready(function(){ var windowH $(window).height(); var headerH $(header).height(); var totalCount windowH - headerH; $(.quiz-outer).css(height, totalCount+px); }) /script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]