Help
RSS
API
Feed
Maltego
Contact
Domain > stmichaelsmaihar.in
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2021-05-19
23.111.171.162
(
ClassC
)
2025-11-23
13.232.35.77
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyServer: nginxDate: Sun, 23 Nov 2025 04:38:17 GMTContent-Type: text/htmlContent-Length: 162Connection: keep-aliveLocation: https://stmichaelsmaihar.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: Sun, 23 Nov 2025 04:38:18 GMTContent-Type: text/htmlContent-Length: 46300Last-Modified: Tue, 17 Jun 2025 10:22:39 GMTConnection: keep-aliveETag: 685141ef-b4dcAccept-Ranges: bytes !DOCTYPE html>html> head runatserver> meta charsetutf-8 /> meta http-equivX-UA-Compatible contentIEedge /> meta nameviewport contentwidthdevice-width, initial-scale1 /> title>St. Michaels school, Sonwari, Maihar/title> link relicon hrefhttps://webapi.entab.info/api/image/SMSSM/public/images/favicon.jpg typeimage/x-icon /> link hrefcss/bootstrap.css typetext/css relStylesheet /> link hrefcss/font-awesome.min.css typetext/css relStylesheet /> link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css /> link relstylesheet hrefcss/style.css typetext/css /> link relstylesheet hrefcss/lightslider.css typetext/css /> !-- script typetext/javascript srcjs/jquery-1.9.1.min.js>/script> --> /head> body> !--Campus Care--> div classerp_links> a hrefhttps://smsmaihar.campussoft.in/ target_blank >img srchttps://webapi.entab.info/api/image/SMSSM/public/images/Campulogo.png altSt. Michaels School, Maihar classimg-responsive />/a> /div> !--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> !--Menu Section--> div classcontainer-fluid top_sec> div iduchead>/div> div iducheader>/div> /div> !--Slider Section--> div classcontainer-fluid slider wow fadeInDown> div classrow> div idmyCarousel_slide classcarousel slide data-ridecarousel> !-- Wrapper for slides --> div classcarousel-inner> div classitem active> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider1.jpg altSt. Michaels School, Maihar /> /div> div classitem> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider2.jpg altSt. Michaels School, Maihar /> /div> div classitem> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider5.jpg altSt. Michaels School, Maihar /> /div> div classitem> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider3.jpg altSt. Michaels School, Maihar /> /div> div classitem> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider4.jpg altSt. Michaels School, Maihar /> /div> div classitem> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider7.jpg altSt. Michaels School, Maihar /> /div> div classitem> img classimg-responsive srchttps://webapi.entab.info/api/image/SMSSM/public/images/slider6.jpg altSt. Michaels School, Maihar /> /div> /div> !-- Left and right controls --> a classleft carousel-control href#myCarousel_slide data-slideprev> span classglyphicon glyphicon-chevron-left>/span> span classsr-only>Previous/span> /a> a classright carousel-control href#myCarousel_slide data-slidenext> span classglyphicon glyphicon-chevron-right>/span> span classsr-only>Next/span> /a> /div> /div> /div> div classclr>/div> !--About Section--> div classcontainer-fluid about_us_sec> div classcontainer> div classcol-xs-12 col-sm-12 col-md-5 col-lg-5> h2> St. Michaels schoolbr /> A Tribute... /h2> p> Dear Students, parents, teachers and well wishers br /> We are delighted to welcome you all to St. Michael’s School Sonwari, Maihar. The Benjamin Family and St. Michael’s Society together strive to fulfill the dreams and vision of the founder members, Late Mr. Jeremiah Benjamin and Late Mrs. Jeanette Benjamin, to reach out to students through this institution, to make the learning system both conform to high academic levels and to serve the needs of the society as well. br /> As a tribute to our founder members, let us commit ourselves to serve and transform lives, to help our students practice virtue and reject vice, to instill culture. /p> a hrefschool-history.html classreadmore>Read More/a> /div> div classcol-xs-12 col-sm-12 col-md-7 col-lg-7> center> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/about_img.png classimg-responsive altSt. Michaels School, Maihar /> /center> /div> /div> /div> !--Upcoming Events--> div classcontainer-fluid events_sec inner> h2> Upcoming Eventsa hrefevents.html >i classbi bi-arrow-bar-right>/i >/a> /h2> ul idevent-slider classcontent-slider> !-- Event Item 1 --> li> a href# target_blank> div classevent_sec_box> div classhome-event-img> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/eve1.jpg classimg-responsive altSt. Michaels School, Maihar /> div classhome-event-info> p>Attachment/p> /div> /div> div> p classevent_sec_box_title> “Online Admission Registration start for Class I to V.” /p> p classevent-desc>School Venue/p> div classevent_sec_box_date> p>i classbi bi-calendar>/i> 20.06.2019/p> p>i classbi bi-clock>/i> 11:00 AM/p> /div> /div> /div> /a> /li> !-- Event Item 2 --> li> a href# target_blank> div classevent_sec_box> div classhome-event-img> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/eve2.jpg classimg-responsive altSt. Michaels School, Maihar /> div classhome-event-info> p>Attachment/p> /div> /div> div> p classevent_sec_box_title> Rejoice in the glory of India and freedom fighters on this day. Happy Republic Day. /p> p classevent-desc>School Venue/p> div classevent_sec_box_date> p>i classbi bi-calendar>/i> 21.01.2019/p> p>i classbi bi-clock>/i> 10:00 AM/p> /div> /div> /div> /a> /li> !-- Event Item 3 --> li> a href# target_blank> div classevent_sec_box> div classhome-event-img> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/eve3.jpg classimg-responsive altSt. Michaels School, Maihar /> div classhome-event-info> p>Attachment/p> /div> /div> div> p classevent_sec_box_title> Rejoice in the glory of India and freedom fighters on this day. Happy Republic Day. /p> p classevent-desc>School Venue/p> div classevent_sec_box_date> p>i classbi bi-calendar>/i> 23.06.2019/p> p>i classbi bi-clock>/i> 10:00 AM/p> /div> /div> /div> /a> /li> !-- Event Item 4 --> li> a href# target_blank> div classevent_sec_box> div classhome-event-img> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/evedum1.jpg classimg-responsive altSt. Michaels School, Maihar /> div classhome-event-info> p>Attachment/p> /div> /div> div> p classevent_sec_box_title> Rejoice in the glory of India and freedom fighters on this day. Happy Republic Day. /p> p classevent-desc>School Venue/p> div classevent_sec_box_date> p>i classbi bi-calendar>/i> 24.06.2019/p> p>i classbi bi-clock>/i> 10:00 AM/p> /div> /div> /div> /a> /li> /ul> div classclr25>/div> center> a hrefevents.html classreadmore>More Events/a> /center> /div> !--Quick Information Section--> div classcontainer-fluid important_menu> div classrow> div classcontainer box> h2>Quick Information/h2> div classcol-xs-6 col-sm-4 col-md-4 col-lg-2 fullwidth> article> a hrefactivities.html >span classicon >i classfa fa-child aria-hiddentrue>/i>/span >span classcircle >span>em>/em>/span>span>em>/em>/span>/span >/a> /article> div classclr>/div> h3>Activites/h3> div classclr10>/div> /div> div classcol-xs-6 col-sm-4 col-md-4 col-lg-2 fullwidth> article> a hreffacilites.html >span classicon >i classfa fa-university aria-hiddentrue>/i>/span >span classcircle >span>em>/em>/span>span>em>/em>/span>/span >/a> /article> div classclr>/div> h3>Facilities/h3> div classclr10>/div> /div> div classcol-xs-6 col-sm-4 col-md-4 col-lg-2 fullwidth> article> a hrefexams.html >span classicon >i classfa fa-book aria-hiddentrue>/i>/span >span classcircle >span>em>/em>/span>span>em>/em>/span>/span >/a> /article> div classclr>/div> h3>Exams/h3> div classclr10>/div> /div> div classcol-xs-6 col-sm-4 col-md-4 col-lg-2 fullwidth> article> a hreftoppers.html >span classicon >i classfa fa-trophy aria-hiddentrue>/i>/span >span classcircle >span>em>/em>/span>span>em>/em>/span>/span >/a> /article> div classclr>/div> h3>Toppers/h3> div classclr10>/div> /div> div classcol-xs-6 col-sm-4 col-md-4 col-lg-2 fullwidth> article> a hrefbus-route.html >span classicon >i classfa fa-bus aria-hiddentrue>/i>/span >span classcircle >span>em>/em>/span>span>em>/em>/span>/span >/a> /article> div classclr>/div> h3>Bus Routes/h3> div classclr10>/div> /div> div classcol-xs-6 col-sm-4 col-md-4 col-lg-2 fullwidth> article> a hrefhttps://webapi.entab.info/api/image/SMSSM/public/pdf/A-Tribute.pdf target_blank >span classicon >i classfa fa-graduation-cap aria-hiddentrue>/i>/span >span classcircle >span>em>/em>/span>span>em>/em>/span>/span >/a> /article> div classclr>/div> h3>A Tribute/h3> div classclr10>/div> /div> /div> /div> /div> !--Latest News Section--> div classcontainer-fluid latestnews> div classrow> div classclr25>/div> div classcontainer> div classclr>/div> center> h2>Latest News/h2> /center> div classclr25>/div> ul idnews-slider classcontent-slider> !-- News items will be dynamically populated here --> /ul> div classclr25>/div> center> a hrefnews.html classreadmore>More News/a> /center> /div> div classclr>/div> /div> /div> !--Message Section--> div classcontainer-fluid message_sec> div classrow> div classcol-xs-12 col-sm-12 col-md-6 col-lg-6> center> img idprincipal-image srchttps://webapi.entab.info/api/image/SMSSM/public/images/Principal-home.jpg classimg-responsive altSt. Michaels School, Maihar /> /center> /div> div classcol-xs-12 col-sm-12 col-md-6 col-lg-6> article> h2>Principals Message/h2> p idprincipal-message-content> !-- Dynamic principal message will be inserted here --> /p> a hrefmessage-desk.html classreadmore aboutmore>Read More/a> /article> /div> /div> /div> !--Gallery Section--> div classcontainer-fluid gallery_sec> div classrow idgalleryContent> div classclr25>/div> center> h2>Cute Gallery/h2> /center> div classclr25>/div> div classclr5>/div> /div> /div> !--Mobile App Section--> div classcontainer-fluid mob_app> div classrow> div classcontainer> div classcol-xs-12 col-sm-12 col-md-6 col-lg-6 mob_sec> center> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/Mobile-slides-white.png altSt. Michaels School, Maihar classimg-responsive /> /center> /div> div classcol-xs-12 col-sm-12 col-md-6 col-lg-6 icon_sec> h2>Download Mobile App/h2> h4>Click on the icons to download the Mobile App/h4> h5>b>Use URL :/b> smsmaihar.campussoft.in/h5> div classclr10>/div> a hrefhttps://itunes.apple.com/in/app/campuscare/id1034721587 target_blank> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/ios-black.png classimg-responsive altSt. Michaels School, Maihar /> /a> a hrefhttps://play.google.com/store/apps/details?idcom.campuscare.entab.ui target_blank> img srchttps://webapi.entab.info/api/image/SMSSM/public/images/Playstore-black.png classimg-responsive altSt. Michaels School, Maihar /> /a> /div> /div> /div> /div> !--Footer Section--> div iducfooter>/div> !--Footer End--> 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 srcjs/rlaccordion.js typetext/javascript>/script> script srcjs/gnmenu.js typetext/javascript>/script> script> new gnMenu(document.getElementById(gn-menu)); /script> script typetext/javascript> $(function () { $(#first).rlAccordion(mix, { childNumOptions: false, }); $(#div1).rlAccordion(mix, { childNumOptions: false, }); $(#div2).rlAccordion(mix, { childNumOptions: false, }); $(#div3).rlAccordion(mix, { childNumOptions: false, }); $(#div4).rlAccordion(mix, { childNumOptions: false, }); $(#div5).rlAccordion(mix, { childNumOptions: false, }); $(#div6).rlAccordion(mix, { childNumOptions: false, }); }); /script> !--Header Fix--> script typetext/javascript> $(function () { var shrinkHeader 100; $(window).scroll(function () { var scroll getCurrentScroll(); if (scroll > shrinkHeader) { $(.top_sec).addClass(fix-header); } else { $(.top_sec).removeClass(fix-header); } }); function getCurrentScroll() { return window.pageYOffset || document.documentElement.scrollTop; } }); /script> !--Scripts--> !-- script typetext/javascript> $(window).load(function () { $(#myModal_popup).modal(show); });/script> --> script> document.addEventListener(DOMContentLoaded, function () { function loadHeadTag() { fetch(/uc/uchead.html) .then((response) > response.text()) .then((data) > { document.getElementById(uchead).innerHTML data; executeScripts(document.getElementById(uchead)); }) .catch((error) > console.error(Error loading head tag:, error)); } 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); } } loadHeadTag(); 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> 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}/SMSSM`); 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 typetext/javascript> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/SMSSM`); 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 words text.split( ); return words.length > wordLimit ? words.slice(0, wordLimit).join( ) + ... : text; }; const loadPrincipalMessage async () > { const messageData await fetchData(PrincipalMessage); if (messageData) { const principalMessageData messageData.find( (item) > item.category Principal ); if (principalMessageData) { document.getElementById(principal-message-content).innerHTML truncateWords(principalMessageData.message, 50); document.getElementById(principal-image).src principalMessageData.attachments?.0 ? `${API_URL}/api/image?url${principalMessageData.attachments0}` : https://webapi.entab.info/api/image/SMSSM/public/images/Principal-home.jpg; } else { console.warn(No principal message data available.); } } else { console.warn(No message data available.); } }; loadPrincipalMessage(); }); /script> script typetext/javascript> 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}/SMSSM`); 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: Description, imageUrl: https://webapi.entab.info/api/image/SMSSM/public/images/news-1.jpg, attachmentUrl: #, }, { title: News, description: Description, imageUrl: https://webapi.entab.info/api/image/SMSSM/public/images/news-1.jpg, attachmentUrl: #, }, { title: News, description: Description, imageUrl: https://webapi.entab.info/api/image/SMSSM/public/images/news-1.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 classevent_sec_box> div classhome-event-img> img data-src${ item.image?.0 ? `https://webapi.entab.info/api/image/${item.image0}` : https://webapi.entab.info/api/image/SMSSM/public/images/news-1.jpg } alt${item.title || News} classimg-fluid lazyload srchttps://webapi.entab.info/api/image/SMSSM/public/images/news-1.jpg data-sizesauto data-threshold1 data-expand 10 /> div classhome-event-info> ${ item.attachments?.length ? `p>a hrefhttps://webapi.entab.info/api/image/${item.attachments0} target_blank>i classfa fa-paperclip aria-hiddentrue>/i>/a>/p>` : `` } /div> /div> div> p classevent_sec_box_title>${item.title || News Title}/p> p classevent-desc>${ 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> !-- events --> script typetext/javascript> 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}/SMSSM`); 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, description: Event, location: School Campus, time: 10:00, attachments: , }, { date: 2024-09-16T00:00:00, title: Event, description: Event, location: School Campus, time: 11:00, attachments: , }, { date: 2024-09-17T00:00:00, title: Event, description: Event, location: School Campus, time: 12:00, 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}` : https://webapi.entab.info/api/image/SMSSM/public/images/eve1.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 data-src${imageUrl} classimg-responsive lazyload alt${ item.title || Event } srchttps://webapi.entab.info/api/image/SMSSM/public/images/eve1.jpg data-sizesauto data-threshold1 data-expand 10 /> ${ 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 Title }/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> script> document.addEventListener(DOMContentLoaded, async function () { // Static fallback gallery data const staticGalleryData { src: https://webapi.entab.info/api/image/SMSSM/public/images/evedum1.jpg, alt: St. Michaels School, Maihar, }, { src: https://webapi.entab.info/api/image/SMSSM/public/images/evedum1.jpg, alt: St. Michaels School, Maihar, }, { src: https://webapi.entab.info/api/image/SMSSM/public/images/evedum1.jpg, alt: St. Michaels School, Maihar, }, { src: https://webapi.entab.info/api/image/SMSSM/public/images/evedum1.jpg, alt: St. Michaels School, Maihar, }, ; // Function to fetch gallery data from API const fetchGalleryData async () > { try { const response await fetch( https://webapi.entab.info/api/gallery/all/SMSSM ); 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 update gallery content dynamically const updateGalleryContent (data) > { const galleryContainer document.getElementById(galleryContent); // Use static data if dynamic data is not available const galleryData data.length > 0 ? data : staticGalleryData; // Populate the gallery content galleryContainer.innerHTML + galleryData .slice(0, 8) .map( (item, index) > ` div classcol-xs-6 col-sm-6 col-md-3 col-lg-3 fullwidth600> a hrefphoto-gallery.html> img data-src${ item.attachments?.0 && item.attachments.length > 0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : item.src } classimg-responsive lazyload alt${ item.alt || `Gallery Image ${index + 1}` } srchttps://webapi.entab.info/api/image/SMSSM/public/images/evedum1.jpg data-sizesauto data-threshold1 data-expand 10 /> /a> /div> ` ) .join(); }; // Load and update gallery data const galleryData await fetchGalleryData(); updateGalleryContent(galleryData); }); /script> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; // Function to fetch highlight data from the API const getHighlight async () > { try { const response await fetch(`${API_URL}/api/highlight/SMSSM`); 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 }); console.log(Filtered Highlights Data:, data); return data; } catch (error) { console.error(Error fetching highlights:, error); return ; } }; // Function to update the content in the p> tag within the marquee 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.style.display none; return; } else { highlightContainer.style.display block; } // Create dynamic content for each highlight const content highlights .map((item, index) > { return ` span> ${item.title || Highlight- + (index + 1)} ${ item.attachments && item.attachments.length > 0 ? `a hrefhttps://webapi.entab.info/api/image/${item.attachments0} target_blank titleView Attachment>i classfa fa-paperclip aria-hiddentrue>/i>/a>` : } | /span> `; }) .join(); console.log(Final rendered content:, content); highlightContainer.innerHTML content; }; // Fetch highlights and update the content getHighlight().then((highlights) > { console.log(Highlights to be displayed:, highlights); updateHighlightContent(highlights); }); }); /script> !-- online Registration --> 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 from the API const getOnlineRegistration async () > { try { const response await fetch( `${API_URL}/api/onlineRegistration/SMSSM` ); 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 content in the registration container with the fetched data const updateRegistrationContent (registrations) > { const registrationContainer document.getElementById( Registration-content ); if (!registrationContainer) { console.error(Registration container not found); return; } if (registrations.length 0) { registrationContainer.style.display none; // Hide the container if no data return; } const contentHtml registrations .map((item) > { // Handle attachments array properly const attachmentUrl item.attachments && item.attachments.length > 0 ? `${CDN_URL}/api/image/${item.attachments0}` : null; return ` a href${ item.url || https://smsmaihar.campussoft.in/ } target_blank> ${item.title || } /a> ${ attachmentUrl ? `a href${attachmentUrl} target_blank>i classfa fa-paperclip aria-hiddentrue>/i>/i>/a>` : } `; }) .join(); registrationContainer.innerHTML contentHtml; }; // Fetch online registration data and update the content when the DOM is fully loaded getOnlineRegistration().then((registrations) > { updateRegistrationContent(registrations); }); }); /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
]