Help
RSS
API
Feed
Maltego
Contact
Domain > stthomasschool.co.in
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2021-05-20
23.111.171.162
(
ClassC
)
2025-11-22
13.232.35.77
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyServer: nginxDate: Sat, 22 Nov 2025 15:13:00 GMTContent-Type: text/htmlContent-Length: 162Connection: keep-aliveLocation: https://stthomasschool.co.in/ html>head>title>301 Moved Permanently/title>/head>body>center>h1>301 Moved Permanently/h1>/center>hr>center>nginx/center>/body>/html>
Port 443
HTTP/1.1 200 OKServer: nginxDate: Sat, 22 Nov 2025 15:13:01 GMTContent-Type: text/htmlContent-Length: 48603Last-Modified: Thu, 10 Jul 2025 03:19:44 GMTConnection: keep-aliveETag: 686f3150-bddbAccept-Ranges: bytes !DOCTYPE html>html langen> head> meta charsetutf-8 /> meta http-equivX-UA-Compatible contentIEedge /> meta nameviewport contentwidthdevice-width, initial-scale1 /> title>St. Thomas School, Mandsaur (M.P.) India/title> meta namekeywords content St. Thomas School Mandsaur, MP, Best School in Mandsaur, Top School in Mandsaur, English Medium Schools in Mandsaur /> meta namedescription contentThe School is named after St. Thomas, one of the twelve disciples of Jesus Christ. He is the Patron of our school and is especially honored for his guidance and, Best School in a India, best school in mandsaur, Quality Education, Best infrastructure and best Facilities, Best School in a world, Best Education System in St. Thomas Mandsaur, Highly Qualified Teachers /> !-- Favicon --> link relshortcut icon href/public/Images/favicon.png /> link relStylesheet hrefcss/fontawesome-all.css typetext/css /> link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css /> link relStylesheet hrefcss/bootstrap.css typetext/css /> link relStylesheet hrefcss/style.css typetext/css /> link relstylesheet hrefcss/lightslider.css typetext/css /> script src/js/dynamic-webApi-mutation.js defer>/script> script src/js/automatically-lazy-load-ThisImage.js defer>/script> /head> body> !--Campus Care--> div classerp_links> a hrefhttps://entab.online/STSMDS target_blank >img data-src/public/Images/Campulogo.png altSt. Thomas School classimg-responsive lazyload data-sizesauto data-threshold1 data-expand10 />/a> /div> !--Popup Section--> !--Popup Section--> div idmyModal classmodal fade modalpopup roledialog> div classmodal-dialog> div classmodal-content modal-pop-content> div idmyModalsld classcarousel slide data-ridecarousel> div classcarousel-inner> !-- Dynamic content will be injected here --> /div> !-- Carousel controls --> a classleft carousel-control no-img carousel-pad href#myModalsld rolebutton data-slideprev> span classglyphicon glyphicon-chevron-left aria-hiddentrue>/span> span classsr-only>Previous/span> /a> a classright carousel-control no-img carousel-pad href#myModalsld rolebutton data-slidenext> span classglyphicon glyphicon-chevron-right aria-hiddentrue>/span> span classsr-only>Next/span> /a> /div> /div> /div> /div> !--Header--> div iducheader>/div> !--Slider--> div idmyCarousel classcarousel slide data-ridecarousel> !-- Wrapper for slides --> div classcarousel-inner> div classitem active> img data-src/public/Images/sld-12.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> !-- div classitem> img data-src/public/Images/sld-13.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> --> !-- div classitem> img src/public/Images/sld-14.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> --> div classitem> img src/public/Images/sld-15.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> div classitem> img src/public/Images/sld-16.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> div classitem> img src/public/Images/sld-17.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> div classitem> img src/public/Images/sld-18.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> div classitem> img src/public/Images/sld-19.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> div classitem> img src/public/Images/sld-20.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> div classitem> img src/public/Images/sld-1.jpg altSt. Thomas School width100% classlazyload data-sizesauto data-threshold1 data-expand10 /> /div> !-- div classitem> img src/public/Images/sld-11.jpg altSt. Thomas School width100%/> /div> div classitem> img src/public/Images/sld-2.jpg altSt. Thomas School width100%/> /div> div classitem> img src/public/Images/sld-5.jpg altSt. Thomas School width100%/> /div> div classitem> img src/public/Images/sld-8.jpg altSt. Thomas School width100%/> /div> div classitem> img src/public/Images/sld-6.jpg altSt. Thomas School width100%/> /div> div classitem> img src/public/Images/sld-9.jpg altSt. Thomas School width100%/> /div>--> /div> !-- Left and right controls --> a classleft carousel-control no-img href#myCarousel data-slideprev> span classglyphicon glyphicon-chevron-left>/span> span classsr-only>Previous/span> /a> a classright carousel-control no-img href#myCarousel data-slidenext> span classglyphicon glyphicon-chevron-right>/span> span classsr-only>Next/span> /a> /div> !--Online Reg--> div classcontainer-fluid OnlineRe> center> div classrow> div classcol-md-12 idRegistration-content> !-- Dynamic content will be inserted here --> a href# target_blank classonreg blink> i classfa fa-paperclip aria-hiddentrue>/i> /a> span classonreg blink> a hrefhttp://www.stmcampuscare.in/ target_blank >Online Registration/a > /span> /div> /div> /center> /div> !--Highlight marquee--> div classcontainer-fluid no-linehei> div classrow> marquee behaviorscroll directionleft onmouseoverthis.stop(); onmouseoutthis.start(); classhighlight> p idhighlights-content> !-- Dynamic content will be inserted here --> a href/public/Images/innerbg/Library_1.jpg target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> Day Celebration - Default Highlight /a> /p> /marquee> /div> /div> !--About Us--> div classcontainer-fluid> div classrow> !--Bishops Message--> div classcol-sm-12 col-md-4 no-pad> div classthreebox> img idmanager-image src/public/Images/about.jpg classimg-responsive altManagers Image /> div classthreebox_text> a hrefmanager_mes.html> h3 idmanager-title>Managers Message/h3> p idmanager-message>/p> h5 classmorelink> a hrefmanager_mes.html>Learn More/a> /h5> /a> /div> /div> /div> !--About Us--> div classcol-sm-12 col-md-4 no-pad> div classthreebox> div classthreebox_text> a hrefabout_us.html> h3>About Us/h3> p> The School is named after St. Thomas, one of the twelve disciples of Jesus Christ. He is the Patron of our school and is especially honored for his guidance and protection in all our endeavors. /p> h5 classmorelink>a hrefabout_us.html>Learn More/a>/h5> /a> /div> img src/public/Images/about.jpg classimg-responsive home-about altSt. Thomas School /> /div> /div> !--principal mes--> div classcol-sm-12 col-md-4 no-pad> div classthreebox> img idprincipal-image src/public/Images/about.jpg classimg-responsive altPrincipals Image /> div classthreebox_text> a hrefprincipal_mes.html> h3 idprincipal-title>Principals Message/h3> p idprincipal-message>/p> h5 classmorelink> a hrefprincipal_mes.html>Learn More/a> /h5> /a> /div> /div> /div> /div> /div> !--Emblem + Goals + Education + Admission--> div classcontainer tb-pad-50> div classrow> div classcol-md-4 hidden-xs hidden-sm> img src/public/Images/img-slide.png classimg-responsive center-block altSt. Thomas School /> /div> div classcol-sm-12 col-md-8> div classtabbable-panel margin-tops4> div classtabbable-line> ul classnav nav-tabs tabtop tabsetting> li classactive> a href#tab_default_1 data-toggletab> Emblem /a> /li> li> a href#tab_default_2 data-toggletab> Goals and Objectives/a > /li> li> a href#tab_default_3 data-toggletab> Admission Procedure/a > /li> /ul> div classtab-content margin-tops> div classtab-pane active fade in idtab_default_1> div classcol-md-12 tab_height> !-- h4 classheading4>Emblem/h4>--> p> The Monogram Symbolises light of wisdom and knowledge. The flame towards the heaven indicates reaching out to God, the Supreme Master. The Triangle personifies the mediators of wisdom and knowledge. The rays at the bottom represent imparting of knowledge to the students. /p> p> Our school has a spiritual and secular motto. Remaining united with God, the Supreme Master of wisdom and knowledge, the St .Thomasians gain the power of self confidence and hard work to dispel the ignorance from the hearts of many and thus transform the society. /p> div classbtns> a hrefour_emblem.html >View More i classfa fa-angle-right>/i> /a> /div> /div> /div> div classtab-pane fade idtab_default_2> div classcol-md-12 tab_height> !-- h4 classheading4>Goals and Objectives/h4>--> ul classullist> li> To become mature, spiritually aware men and women of character. /li> li> To think for themselves independently and critically. /li> li> To build up self confidence and continually strive after excellence in every field. /li> li>To develop positive attitude and skills./li> li> To value and judiciously use their freedom combining with it a full sense of responsibility for action. /li> li> To be unselfish in the service of their fellow men. /li> /ul> div classbtns> a hrefgoal-objective.html >View More i classfa fa-angle-right>/i> /a> /div> /div> /div> div classtab-pane fade idtab_default_3> div classcol-md-12 tab_height> !-- h4 classheading4>Admission Procedure /h4>--> p> The Principal reserves the right to grant admission or otherwise to a student without having to assign reason for his/her action. Admissions are open to all, subject to the availability of seats and student’s eligibility. Preference is given to students who are coming from schools affiliated to the CBSE. Admissions to KG and Nursery classes will be made in the first week of February every year. /p> div classbtns> a hrefadmission-procedure.html >View More i classfa fa-angle-right>/i> /a> /div> /div> /div> /div> /div> /div> /div> /div> /div> !--Upcoming Events--> div classlatest-events wow fadeInUp theme-bg-color stylevisibility: visible; animation-name: fadeInUp> div classcontainer> h1 classtitile text-center> Events & Activities a hrefevents.html> i classfa fa-arrow-right aria-hiddentrue>/i> /a> /h1> ul idevent-slider classlightSlider> !-- Dynamic content will be added here --> /ul> /div> /div> !--News Section--> div classcontainer tb-pad-50> div classrow> div classcol-md-12> h1 classtitile text-center> Latest News a hrefnews.html >i classfa fa-arrow-right aria-hiddentrue>/i >/a> /h1> /div> div classcol-md-12> ul idnews-slider classlightSlider> !-- Dynamic content will be added here --> /ul> /div> /div> /div> !--Gallery --> div classcontainer-fluid gray_bg tb-pad-50> div classcontainer newgallery> div classrow> div classcol-md-12> h1 classtitile text-center>Photo Gallery/h1> /div> div classcol-md-12> ul idgallery-slider classlightSlider> !-- Dynamic gallery content will be inserted here --> /ul> /div> /div> /div> /div> !--Mobile App--> div classcontainer tb-pad-50> div classrow> div classcol-md-7 col-sm-8> div classmobilapp_text> h1>Download Mobile App/h1> h3>Click on the icons to download the Mobile App/h3> h4>Use CODE :STSMDS/h4> /div> div classbtn_img> a hrefhttps://play.google.com/store/apps/details?idcom.entab.learninglab&hlen-IN target_blank >img data-src/public/Images/Playstore.jpg classimg-responsive lazyload altSt. Thomas School data-sizesauto data-threshold1 data-expand10 />/a > a hrefhttps://apps.apple.com/in/app/campuscare-10x/id1611283814 target_blank >img data-src/public/Images/ios.jpg classimg-responsive lazyload altSt. Thomas School data-sizesauto data-threshold1 data-expand10 />/a> /div> /div> div classcol-md-5 col-sm-4 hidden-xs> img data-src/public/Images/mobile_app.jpg classimg-responsive center-block lazyload data-sizesauto data-threshold1 data-expand10 /> /div> /div> /div> !-- Footer Section --> div iducfooter>/div> script typetext/javascript srcjs/jquery-1.9.1.min.js>/script> script typetext/javascript srcjs/bootstrap.min.js>/script> script srcjs/lightslider.js>/script> !--Script Start--> !--Home Page Modal Popup--> !-- script typetext/javascript> $(window).load(function () { $(#myModal_popup).modal(show); });/script> --> script> document.addEventListener(DOMContentLoaded, function () { function loadHeader() { fetch(/uc/ucheader.html) .then((response) > response.text()) .then((data) > { document.getElementById(ucheader).innerHTML data; executeScripts(document.getElementById(ucheader)); }) .catch((error) > console.error(Error loading header:, error)); } function loadFooter() { fetch(/uc/ucfooter.html) .then((response) > response.text()) .then((data) > { document.getElementById(ucfooter).innerHTML data; executeScripts(document.getElementById(ucfooter)); }) .catch((error) > console.error(Error loading footer:, error)); } function executeScripts(container) { const scripts container.getElementsByTagName(script); for (let i 0; i scripts.length; i++) { const script document.createElement(script); if (scriptsi.src) { script.src scriptsi.src; } else { script.innerHTML scriptsi.innerHTML; } document.head.appendChild(script); } } loadHeader(); loadFooter(); // Function to toggle the top navigation menu const toggleNav function () { const x document.getElementById(myTopnav); x.className x.className topnav ? topnav responsive : topnav; }; }); /script> !-- dynamic popup --> script typetext/javascript> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; // Function to fetch data from the API const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/STHSMS`); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return null; } }; // Function to load notification data and trigger the modal const loadData async () > { const notificationData await fetchData(notification); if (notificationData && notificationData.length > 0) { updateModalContent(notificationData); $(#myModal).modal(show); // Show the modal if there is data } else { const modal document.getElementById(myModal); if (modal) { modal.parentNode.removeChild(modal); // Remove modal if no notifications } } }; // Function to update the modal content dynamically const updateModalContent (data) > { const carouselInner document.querySelector( #myModalsld .carousel-inner ); const leftControl document.querySelector( #myModalsld .left.carousel-control ); const rightControl document.querySelector( #myModalsld .right.carousel-control ); // Hide or show carousel controls based on the data length if (data.length 1) { leftControl.style.display none; rightControl.style.display none; } else { leftControl.style.display block; rightControl.style.display block; } carouselInner.innerHTML data .map((item, index) > { const hasImage item.image && item.image.length > 0; const imageUrl hasImage ? `https://webapi.entab.info/api/image/${item.image0}` : ; return ` div classitem ${index 0 ? active : }> div classmodal-header> button typebutton classclose data-dismissmodal aria-labelClose>×/button> h4>${item.title || Modal Heading}/h4> /div> div classmodal-body> ${ hasImage ? `img src${imageUrl} classimg-responsive popup-cover alt${ item.title || Image } />` : } p>strong>${ item.description || Default description text. }/strong>/p> div classtext-center> ${ item.attachments && item.attachments.length > 0 ? `a hrefhttps://webapi.entab.info/api/image/${item.attachments0} classbtn btn-primary btn-sm target_blank>Attachment/a>` : } ${ item.url ? `a target_blank href${ item.url } classbtn btn-primary btn-sm>${ item.urlTitle || Click Here }/a>` : } /div> /div> /div> `; }) .join(); // Reinitialize the carousel to start from the first slide $(#myModalsld).carousel(0); }; // Load data and handle modal pop-up on DOM content loaded loadData(); }); /script> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const CDN_URL https://webapi.entab.info; // Function to fetch online registration data const getOnlineRegistration async () > { try { const response await fetch( `${API_URL}/api/onlineRegistration/STHSMS` ); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return await response.json(); } catch (error) { console.error(Error fetching online registration data:, error); return ; } }; // Function to update the registration content const updateRegistrationContent (registrations) > { const registrationContainer document.getElementById( Registration-content ); if (!registrationContainer) { console.error(Registration container not found); return; } if (registrations.length 0) { // Hide the entire section if no data is available registrationContainer.style.display none; return; } // Show the container and populate it with content registrationContainer.style.display block; const contentHtml registrations .map((item) > { const attachmentUrl item.attachments?.0 ? `${API_URL}/api/image/${item.attachments0}` : null; return ` a href${ item.url || http://www.stmcampuscare.in/ } target_blank classonreg blink> ${item.title || Online Registration} /a> ${ attachmentUrl ? `a href${attachmentUrl} target_blank classonreg blink>i classfa fa-paperclip>/i>/a>` : } `; }) .join(); registrationContainer.innerHTML contentHtml; }; // Fetch and update the registration content getOnlineRegistration().then((registrations) > { updateRegistrationContent(registrations); }); }); /script> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; // Function to fetch highlight data const getHighlight async () > { try { const response await fetch(`${API_URL}/api/highlight/STHSMS`); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } let data await response.json(); // Filter out highlights where toDate is in the past const currentDate new Date(); data data.filter((highlight) > { const toDate new Date(highlight.toDate); return toDate > currentDate; // Only include active highlights }); return data; } catch (error) { console.error(Error fetching highlights:, error); return ; } }; // Function to update the marquee content const updateHighlightContent (highlights) > { const highlightContainer document.getElementById(highlights-content); if (!highlightContainer) { console.error(Highlight container not found); return; } // Check if there are highlights; hide container if none if (highlights.length 0) { highlightContainer.innerHTML ` a href# target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> No highlights available /a> `; return; } // Generate dynamic content for highlights const content highlights .map((item, index) > { const attachmentUrl item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : null; return ` a href${attachmentUrl || #} target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> ${item.title || Highlight- + (index + 1)} /a> span stylecolor:white;>•/span> `; }) .join(); // Update the marquee content highlightContainer.innerHTML content; }; // Fetch highlights and update the marquee content getHighlight().then((highlights) > { updateHighlightContent(highlights); }); }); /script> !-- Manager Message --> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const CDN_URL https://webapi.entab.info; const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/STHSMS`); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return null; } }; const truncateWords (text, wordLimit) > { const strippedText text.replace(/^>+>/g, ); // Strip HTML tags const words strippedText.split( ); if (words.length > wordLimit) { return words.slice(0, wordLimit).join( ) + ...; } return strippedText; }; const updateManagerMessage (data) > { const managerMessage data.find( (item) > item.category Manager ); const messageContainer document.getElementById(manager-message); const imageElement document.getElementById(manager-image); const titleElement document.getElementById(manager-title); // Default values const defaultMessage ; const defaultImage /public/Images/about.jpg; const defaultTitle Managers Message; if (managerMessage) { const message managerMessage.message ? truncateWords(managerMessage.message, 30) : defaultMessage; const imageUrl managerMessage.attachments?.0 ? `${CDN_URL}/api/image/${managerMessage.attachments0}` : defaultImage; const title managerMessage.name || defaultTitle; messageContainer.innerHTML `p>${message}a hrefmanager_mes.html>/a>/p>`; titleElement.textContent title; imageElement.src imageUrl; } else { // Fallback content messageContainer.innerHTML `p>${defaultMessage}a hrefmanager_mes.html>/a>/p>`; titleElement.textContent defaultTitle; imageElement.src defaultImage; } }; const loadData async () > { const messages await fetchData(PrincipalMessage); if (messages) updateManagerMessage(messages); }; loadData(); }); /script> !-- principal message --> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const CDN_URL https://webapi.entab.info; const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/STHSMS`); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return null; } }; const truncateWords (text, wordLimit) > { const strippedText text.replace(/^>+>/g, ); // Strip HTML tags const words strippedText.split( ); if (words.length > wordLimit) { return words.slice(0, wordLimit).join( ) + ...; } return strippedText; }; const updatePrincipalMessage (data) > { const principalMessage data.find( (item) > item.category Principal ); const messageContainer document.getElementById(principal-message); const imageElement document.getElementById(principal-image); const titleElement document.getElementById(principal-title); // Default values const defaultMessage ; const defaultImage /public/Images/about.jpg; const defaultTitle Principals Message; if (principalMessage) { const message principalMessage.message ? truncateWords(principalMessage.message, 30) : defaultMessage; const imageUrl principalMessage.attachments?.0 ? `${CDN_URL}/api/image/${principalMessage.attachments0}` : defaultImage; const title principalMessage.name || defaultTitle; messageContainer.innerHTML `p>${message}a hrefprincipal_mes.html>/a>/p>`; titleElement.textContent title; imageElement.src imageUrl; } else { // Fallback content messageContainer.innerHTML `p>${defaultMessage}a hrefprincipal_mes.html>/a>/p>`; titleElement.textContent defaultTitle; imageElement.src defaultImage; } }; const loadData async () > { const messages await fetchData(PrincipalMessage); if (messages) updatePrincipalMessage(messages); }; loadData(); }); /script> script> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; const endpoint events; // Function to fetch data from the API const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/STHSMS`); if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return ; } }; // Dummy data to use when no events data is available const dummyData { date: 2024-09-15T00:00:00, title: Event 1, description: Event description 1., location: School Campus, time: 10:00 AM, attachments: , }, { date: 2024-09-16T00:00:00, title: Event 2, description: Event description 2., location: Auditorium, time: 11:00 AM, attachments: , }, { date: 2024-09-17T00:00:00, title: Event 3, description: Event description 3., location: School Hall, time: 12:00 PM, attachments: , }, ; // Function to update the events content dynamically const updateEventsContent (data) > { const eventsContainer document.querySelector(#event-slider); if (!eventsContainer) { console.error(Event slider not found); return; } // Use dummy data if no data is available from the API const eventsData data.length 0 ? dummyData : data; // Sort events in descending order by date (latest first) eventsData.sort((a, b) > new Date(b.date) - new Date(a.date)); // Populate the events dynamically eventsContainer.innerHTML eventsData .map((item) > { const imageUrl item.images?.0 ? `https://webapi.entab.info/api/image/${item.images0}` : /public/Images/events.jpg; const attachmentLink item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : #; return ` li> div classevent_sec_box> div classhome-event-img> img src${imageUrl} classimg-responsive alt${ item.title || Event } /> ${ item.attachments?.0 ? `div classhome-event-info>a href${attachmentLink} target_blank>Attachment/a>/div>` : } /div> div> p classevent_sec_box_title>${ item.title || Event Title }/p> div classevent_sec_box_date> p classevent-desc>i classbi bi-geo-alt-fill>/i>${ item.location || School Venue } /p> p>i classbi bi-calendar>/i> ${new Date( item.date ).toLocaleDateString(en-GB, { day: 2-digit, month: short, year: numeric, })}/p> p>i classbi bi-clock>/i> ${ item.time || HH:MM }/p> /div> p classevent_sec_box_desc>${ item.description || Event Description }/p> /div> /div> /li> `; }) .join(); // Initialize the lightSlider plugin $(#event-slider).lightSlider({ item: 3, auto: true, pauseOnHover: true, loop: false, slideMove: 2, autoWidth: false, pager: false, easing: cubic-bezier(0.25, 0, 0.25, 1), speed: 600, responsive: { breakpoint: 991, settings: { item: 2, slideMove: 1, slideMargin: 6, }, }, { breakpoint: 767, settings: { item: 1, slideMove: 1, }, }, { breakpoint: 575, settings: { item: 1, slideMove: 1, }, }, , }); }; // Fetch events data and update the content const eventsData await fetchData(endpoint); updateEventsContent(eventsData); }); /script> !-- news --> script> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; const endpoint news; // Adjust the endpoint as needed // Function to fetch data from the API const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/STHSMS`); if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return ; } }; // Dummy data to use when no news data is available const dummyData { title: News, description: News Description, // imageUrl: /public/Images/icon1.jpg, attachmentUrl: #, }, { title: News, description: News Description, // imageUrl: /public/Images/icon1.jpg, attachmentUrl: #, }, { title: News, description: News Description, // imageUrl: /public/Images/icon1.jpg, attachmentUrl: #, }, ; // Function to update the news content dynamically const updateNewsContent (data) > { const newsContainer document.querySelector(#news-slider); if (!newsContainer) { console.error(News slider not found); return; } // Use dummy data if no data is available from the API const newsData data.length 0 ? dummyData : data; // Populate the news items dynamically newsContainer.innerHTML newsData .map( (item) > ` li> div classnew_area> div classnew-icon> ${ item.attachments?.length ? `p>a hrefhttps://webapi.entab.info/api/image/${ item.attachments0 } target_blank> img src${ item.imageUrl || /public/Images/icon1.jpg } classcenter-block alt${ item.title || News } />/a>/p>` : `` } /a> /div> div classnew_box> h3>${item.title || News Title}/h3> p>${ item.description || Stay tuned for latest updates. }/p> /div> /div> /li> ` ) .join(); // Initialize the lightSlider plugin $(#news-slider).lightSlider({ item: 3, auto: true, pauseOnHover: true, loop: true, slideMove: 1, pager: false, slideMargin: 10, speed: 600, responsive: { breakpoint: 991, settings: { item: 2, slideMove: 1, }, }, { breakpoint: 767, settings: { item: 1, slideMove: 1, }, }, , }); }; // Fetch news data and update the content const newsData await fetchData(endpoint); updateNewsContent(newsData); }); /script> script> document.addEventListener(DOMContentLoaded, async function () { // Static fallback gallery data const staticGalleryData { src: /public/Images/about.jpg, alt: Gallery Image 1 }, { src: /public/Images/about.jpg, alt: Gallery Image 1 }, { src: /public/Images/about.jpg, alt: Gallery Image 1 }, { src: /public/Images/about.jpg, alt: Gallery Image 1 }, { src: /public/Images/about.jpg, alt: Gallery Image 1 }, { src: /public/Images/about.jpg, alt: Gallery Image 1 }, ; // Function to fetch gallery data from API const fetchGalleryData async () > { try { const response await fetch( https://webapi.entab.info/api/gallery/STHSMS ); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data await response.json(); return data.filter((item) > item.category PhotoGallery); } catch (error) { console.error(Error fetching gallery data:, error); return ; } }; // Function to populate LightSlider content dynamically const updateLightSliderContent (data) > { const sliderContainer document.getElementById(gallery-slider); // Use static data if dynamic data is not available const galleryData data.length > 0 ? data : staticGalleryData; // Populate LightSlider items sliderContainer.innerHTML galleryData .map( (item) > ` li> div classfullwidth_gal> a hrefphoto_gallery.html> img data-src${ item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : item.src } classimg-responsive lazyload alt${ item.alt || Gallery Image } data-sizesauto data-threshold1 data-expand10/> div classimg_cover>/div> /a> /div> /li> ` ) .join(); }; // Fetch and populate gallery data const galleryData await fetchGalleryData(); updateLightSliderContent(galleryData); // Initialize LightSlider $(#gallery-slider).lightSlider({ item: 4, // Default number of items auto: true, loop: true, slideMove: 1, speed: 600, pager: false, controls: true, enableTouch: true, enableDrag: true, responsive: { breakpoint: 1200, // Large screens (Laptops) settings: { item: 3, slideMove: 1 }, }, { breakpoint: 991, // Medium screens (Tablets) settings: { item: 2, slideMove: 1 }, }, { breakpoint: 767, // Small screens (Phones) settings: { item: 2, slideMove: 1 }, }, { breakpoint: 575, // Extra Small screens (Small Phones) settings: { item: 1, slideMove: 1 }, }, , }); }); /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
]