Help
RSS
API
Feed
Maltego
Contact
Domain > alphonsaresidentialschool.in
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2021-05-12
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 01:00:51 GMTContent-Type: text/htmlContent-Length: 162Connection: keep-aliveLocation: https://alphonsaresidentialschool.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 01:00:52 GMTContent-Type: text/htmlContent-Length: 61964Last-Modified: Mon, 16 Jun 2025 10:48:56 GMTConnection: keep-aliveETag: 684ff698-f20cAccept-Ranges: bytes !DOCTYPE html>html> head> meta charsetutf-8 /> meta http-equivX-UA-Compatible contentIEedge /> meta nameviewport contentwidthdevice-width,minimum-scale1,initial-scale1 /> title>Alphonsa Residential School | Home/title> meta namedescription contentAlphonsa Residential School, English medium school located in the city of Bharananganam, Kerela. Alphonsa Residential School, with the grace of God Almighty stands glorified for being instrumental in leading the budding youngsters of our society into the light. /> meta namekeywords contentBest School in India, Top 10 Listed School In India, Alphonsa Residential School school in Bharananganam , Best School in Kerela /> link relcanonical hrefhttp://www.alphonsaresidentialschool.in/ /> meta namecopyright contentEntab /> meta namelanguage contentEn /> meta nameurl contenthttp://www.alphonsaresidentialschool.in/ /> meta namecoverage contentWorldwide /> meta namedistribution contentGlobal /> meta http-equivExpires content30 /> link relicon hrefhttps://webapi.entab.info/api/image/ARSB/public/images/Favicon.png sizes16x16 /> link hrefcss/bootstrap.min.css relstylesheet /> link relStylesheet hrefcss/fontawesome-all.css typetext/css /> link hrefcss/lightslider.css relstylesheet /> link relstylesheet hrefcss/amp.css /> !-- script typetext/javascript srcjs/jquery-3.4.1.min.js defer>/script> --> !-- script typetext/javascript srcjs/bootstrap.min.js defer>/script> --> link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css /> script typetext/javascript srcjs/lightslider.js defer>/script> !-- script src/js/dynamic-webApi-mutation.js defer>/script> script src/js/nameVariations-cache.js defer>/script> --> script src/js/automatically-lazy-load.js>/script> /head> body> !-----modal-pop-up----> div classmodal fade show idexampleModalToggle aria-hiddentrue aria-labelledbyexampleModalToggleLabel tabindex-1> div classmodal-dialog modal-dialog-centered> div classmodal-content> div idmodalH classcarousel slide data-bs-ridecarousel> !-- Carousel Indicators --> div classcarousel-indicators>/div> !-- Carousel Inner --> div classcarousel-inner>/div> /div> /div> /div> /div> !-----modal-pop-up----> div iduchighlights>/div> div iducheader>/div> a hrefhttps://ars.campuscare.info/ target_blank >img altAlphonsa Residential School srchttps://webapi.entab.info/api/image/ARSB/public/images/parent-portal.png width175px height175px classparent-portal layoutresponsive />/a> !-- parent-portal --> !-- section--> section classslider-main> div idmainCarousel classcarousel slide data-bs-ridecarousel> !-- Carousel Indicators --> div classcarousel-indicators> button typebutton data-bs-target#mainCarousel data-bs-slide-to0 classactive aria-currenttrue aria-labelSlide 1>/button> button typebutton data-bs-target#mainCarousel data-bs-slide-to1 aria-labelSlide 2>/button> button typebutton data-bs-target#mainCarousel data-bs-slide-to2 aria-labelSlide 3>/button> button typebutton data-bs-target#mainCarousel data-bs-slide-to3 aria-labelSlide 4>/button> /div> !-- Carousel Inner --> div classcarousel-inner> div classcarousel-item active> img srchttps://webapi.entab.info/api/image/ARSB/public/images/slide1.jpg classd-block w-100 altAlphonsa Residential School /> /div> div classcarousel-item> img srchttps://webapi.entab.info/api/image/ARSB/public/images/slide6.jpg classd-block w-100 altAlphonsa Residential School /> /div> div classcarousel-item> img srchttps://webapi.entab.info/api/image/ARSB/public/images/slide7.jpg classd-block w-100 altAlphonsa Residential School /> /div> div classcarousel-item> img srchttps://webapi.entab.info/api/image/ARSB/public/images/slide5.jpg classd-block w-100 altAlphonsa Residential School /> /div> /div> !-- Carousel Controls --> !-- button classcarousel-control-prev typebutton data-bs-target#mainCarousel data-bs-slideprev> span classcarousel-control-prev-icon aria-hiddentrue>/span> span classvisually-hidden>Previous/span> /button> button classcarousel-control-next typebutton data-bs-target#mainCarousel data-bs-slidenext> span classcarousel-control-next-icon aria-hiddentrue>/span> span classvisually-hidden>Next/span> /button> --> /div> /section> div classonline-registration idRegistration-content> p> a href# target_blank> i classfas fa-paperclip>/i> /a> a hrefhttps://ars.campuscare.info/logon/tploginregistration target_blank> Online Registration started for session 2020-21/a > /p> /div> div classprincipal> div classcontainer> div classrow> div classcol-lg-4 col-md-4 col-sm-12> div classhead-block1> h4>Our Vision/h4> p> Enchanted by the paramount principles of Christ- the greatest teacher of the world, who enlightened the thousands of souls with his light of wisdom. /p> div classread-more> a hrefvision-mission.html#vission> i classfas fa-long-arrow-alt-right>/i> /a> /div> /div> /div> div classcol-lg-4 col-md-4 col-sm-12> div classmotto> a hrefvision-mission.html#mission> h4>Mission & Motto/h4> p> ARS regards the creation of a well integrated and full fledged personality a ‘sine qua non’ for a successful system... /p> /a> /div> /div> div classcol-lg-4 col-md-4 col-sm-12> div classhead-block1> h4>Our Inspiration/h4> p> Having realized the need of quality education for the children of rural middle class families and inspired by the challenges of moulding the little minds into future master minds /p> div classread-more> a hrefvision-mission.html#inspiration> i classfas fa-long-arrow-alt-right>/i> /a> /div> /div> /div> /div> /div> /div> !-- header--> !--section about--> div classsection about-section> div classcontainer> div classrow> div classcol-lg-6 col-md-12 col-sm-12> div classblock-main> img altAlphonsa Residential School srchttps://webapi.entab.info/api/image/ARSB/public/images/about.png width400px height300px classimg-fluid mx-auto d-block /> /div> /div> div classcol-lg-6 col-md-12 col-sm-12> div classabout-content> div classheading red> h2>Alphonsa Residential School/h2> /div> p> Alphonsa Residential School, with the grace of God Almighty stands glorified for being instrumental in leading the budding youngsters of our society into the light of education and moral upliftment and is regarded as one among the best in the field of education. Situated on the banks of Meenachil River bestowed by the heavenly blessing of St. Alphonsa, Alphonsa Residential School popularly known as ARS as has registered a phenomenal development since its inception in 1972. /p> a hrefabout.html> button>Read More/button> /a> /div> /div> /div> /div> div classshape-img1> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/1.png altimage /> /div> div classshape-img2> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/2.png altimage /> /div> div classshape-img3> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/3.png altimage /> /div> div classshape-img4> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/4.png altimage /> /div> div classshape-img5> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/5.png altimage /> /div> div classshape-img6> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/6.png altimage /> /div> div classdot-shape1> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/dot1.png altimage /> /div> div classdot-shape2> img srchttps://webapi.entab.info/api/image/ARSB/public/images/icons/dot3.png altimage /> /div> /div> !--News & Events--> section classblog__area> div classcontainer> div classrow g-5> div classcol-12> div classcol-md-12 text-center> h2 classmaintitle>Our School Bulletin/h2> div classp-2>/div> /div> /div> /div> div classrow> div classcol-xl-8 col-lg-12 col-md-12> div classrow> div classcol-md-12> div classdemo> div classitem> ul idevent-slider classcontent-slider> !-- Dynamic content will be injected here by JavaScript --> /ul> /div> /div> center> div classbtn-box mt-5> a hrefevents.html classtheme-btn btn-style-one> button classbtn-title>View All/button> /a> /div> /center> /div> /div> /div> div classcol-xl-4 col-lg-12 col-md-12> div classnewssec-area mt-5> marquee idnews-marquee behaviorscroll height435 directionup onmouseoverthis.stop() onmouseoutthis.start()> div idnews-content> !-- Dynamic news content will be injected here by JavaScript --> /div> /marquee> /div> center> div classbtn-box mt-5> a hrefnews.html classtheme-btn btn-style-one> span classbtn-title>View All/span> /a> /div> /center> /div> /div> /div> /section> div classtopper-sec> div classcontainer> div classrow> div classcol-12> div classsec-title topper-sec mb-30> h2>Heartiest Congratulations To/h2> p>OUR SHINING STARS/p> /div> /div> div classcol-xs-12 col-sm-12 col-md-6 col-lg-6 toppers> div idxtopper classcarousel slide data-ridecarousel> ul idx-toppers-carousel classlightSlider> !-- Dynamic carousel items will be populated here --> /ul> /div> /div> div classcol-xs-12 col-sm-12 col-md-6 col-lg-6 toppers> div idxiitopper classcarousel slide data-ridecarousel> div classcarousel-inner idxii-toppers-carousel> !-- Dynamic content will be inserted here --> /div> /div> /div> /div> /div> /div> div classtestimonial2__area p-relative bookani> div classtestimonial2__shape> img classtestimonial2__shape-1 srchttps://webapi.entab.info/api/image/ARSB/public/images/1.png altshape png /> /div> div classcontainer message-container> div classrow> !-- Message Desk Section --> div classcol-xl-12 col-lg-12 col-md-12 col-sm-12 col-12> h2 classtext-center>Message Desk/h2> div idmessageCarousel classcarousel slide data-bs-ridecarousel> !-- Carousel Indicators --> div classcarousel-indicators> button typebutton data-bs-target#messageCarousel data-bs-slide-to0 classactive aria-currenttrue aria-labelSlide 1>/button> button typebutton data-bs-target#messageCarousel data-bs-slide-to1 aria-labelSlide 2>/button> /div> !-- Carousel Inner --> div classcarousel-inner> !-- Manager Message --> div classcarousel-item active> div classsections> div classtestimonial2__wrapper> div classtestimonial2__wrapper-2 idmanager-message> div classcentered-link> a hrefmessage-desk2.html> Manager Message i classfas fa-arrow-right>/i> /a> /div> p>Coming Soon.../p> /div> div classtestimonial2__wrapper-3> div classtestimonial2__wrapper-3--img> img idmanager-image altManager srchttps://webapi.entab.info/api/image/ARSBhttps://webapi.entab.info/api/image/ARSB/public/images/about.png /> /div> div classtestimonial2__wrapper-3--discription> h6>Manager - Name/h6> span>Manager/span> /div> /div> /div> /div> /div> !-- Principal Message --> div classcarousel-item> div classsections> div classtestimonial2__wrapper> div classtestimonial2__wrapper-2 idprincipal-message> div classcentered-link> a hrefmessage-desk1.html >Principal Message i classfas fa-arrow-right>/i >/a> /div> p>Coming Soon.../p> /div> div classtestimonial2__wrapper-3> div classtestimonial2__wrapper-3--img> img idprincipal-image altPrincipal classimg-fluid /> /div> div classtestimonial2__wrapper-3--discription> h6 idprincipal-name>Principal Name/h6> span idprincipal-title>Principal/span> /div> /div> /div> /div> /div> !-- Vice Principal Message --> /div> !-- Carousel Controls --> !-- button classcarousel-control-prev typebutton data-bs-target#messageCarousel data-bs-slideprev> span classcarousel-control-prev-icon aria-hiddentrue>/span> span classvisually-hidden>Previous/span> /button> button classcarousel-control-next typebutton data-bs-target#messageCarousel data-bs-slidenext> span classcarousel-control-next-icon aria-hiddentrue>/span> span classvisually-hidden>Next/span> /button> --> /div> /div> /div> /div> /div> !---message---> !----gallery---> div classgallery-sec-home> div classrow> div classcol-lg-4 col-md-4 col-sm-12 col-12 gallery__col> iframe width100% height315 srchttps://www.youtube.com/embed/KW8nXMy-ncg frameborder0 allowfullscreen>/iframe> /div> div classcol-lg-8 col-md-8 col-sm-12 col-12 gallery__col photo-gallery> h2> Photo Galleryspan> a hrefgallery.html> i classfas fa-long-arrow-alt-right>/i>/a >/span> /h2> h5>Activities and Celebrations/h5> div classdemo> div classitem> ul idgalleryslider classcontent-slider> !-- Static fallback HTML items here initially, will be replaced dynamically --> /ul> /div> /div> /div> /div> /div> div iducfooter>/div> script srchttps://code.jquery.com/jquery-3.6.1.min.js typetext/javascript>/script> script srchttps://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js>/script> !-- script srchttps://code.jquery.com/jquery-3.6.1.min.js typetext/javascript>/script> script srchttps://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js>/script> --> !-- script typetext/javascript srcjs/jquery-3.4.1.min.js>/script>script typetext/javascript srcjs/bootstrap.min.js>/script> script typetext/javascript srcjs/lightslider.js>/script> --> script> document.addEventListener(DOMContentLoaded, function () { function loadHighlightTag() { fetch(/uc/uchighlights.html) .then((response) > response.text()) .then((data) > { document.getElementById(uchighlights).innerHTML data; executeScripts(document.getElementById(uchighlights)); }) .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); } } loadHighlightTag(); 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> !-- events --> script typetext/javascript> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; const endpoint events; // 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}/ARSB`); 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)); const attachmentLink `https://webapi.entab.info/api/image/attachments0`; // Populate the events dynamically eventsContainer.innerHTML eventsData .map( (item) > ` li> div classblog__item> a > img src${ item.images?.0 ? `https://webapi.entab.info/api/image/${item.images0}` : https://webapi.entab.info/api/image/ARSB/public/images/events.jpg } classlazyloadThisImage alt${ item.title || Event }/> div classblog__content> div classdate>${new Date( item.date ).toLocaleDateString(en-GB, { day: 2-digit, month: short, year: numeric, })}/div> h2 classblog__title>${ item.title || Event Title }/h2> p>${ item.description || Event description goes here. }/p> h6>i classbi bi-geo-alt-fill>/i>${ item.venue || Venue }/h6> h6> ${ item.attachments && item.attachments.length > 0 ? ` a href${attachmentLink} classlink target_blank>Attachment i classbi bi-paperclip>/i>/a> ` : } i classbi bi-clock-fill>/i>${ item.time || HH:MM } /h6> /div> /a> /div> /li> ` ) .join(); // Initialize the lightSlider plugin with auto-slide and pause on hover $(document).ready(function () { $(#event-slider).lightSlider({ item: 2, auto: true, // Enable auto slide pauseOnHover: true, // Pause on hover loop: true, // Set to false to prevent looping (you can set to true if desired) slideMove: 2, pager: false, easing: cubic-bezier(0.25, 0, 0.25, 1), speed: 600, pager: false, responsive: { breakpoint: 800, settings: { item: 2, slideMove: 1, slideMargin: 6, }, }, { breakpoint: 480, settings: { item: 1, slideMove: 1, }, }, , }); }); }; // Fetch events data and update the content const eventsData await fetchData(endpoint); updateEventsContent(eventsData); }); /script> !-- dynamic news --> script> document.addEventListener(DOMContentLoaded, async function () { // Static fallback news data const staticNewsData { title: News, description: News, attachmentUrl: #, fromDate: DD-MM-YYYY, // Dummy date remains as is }, { title: News, description: News, attachmentUrl: #, fromDate: DD-MM-YYYY, // Dummy date remains as is }, { title: News, description: News, attachmentUrl: #, fromDate: DD-MM-YYYY, // Dummy date remains as is }, ; // Function to fetch news data from API const fetchNewsData async () > { try { const response await fetch( https://webapi.entab.info/api/news/ARSB ); // Replace with your actual API endpoint if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); let data await response.json(); // Filter out news items where toDate is in the past const currentDate new Date(); data data.filter((newsItem) > { const toDate new Date(newsItem.toDate); return toDate > currentDate; // Only include active news }); return data; } catch (error) { console.error(Error fetching news data:, error); return ; } }; // Function to format date const formatDate (dateString, isDummy false) > { if (isDummy) return dateString; // Return dummy date as is const date new Date(dateString); if (isNaN(date.getTime())) { console.error(Invalid date:, dateString); return Invalid Date; } return date.toLocaleDateString(en-GB, { day: 2-digit, month: short, year: numeric, }); }; // Function to update news content dynamically const updateNewsContent (data) > { const newsContainer document.querySelector(#news-content); const marquee document.querySelector(#news-marquee); // Check if the container exists if (!newsContainer || !marquee) { console.error(News content container or marquee not found); return; } // Use static data if dynamic data is not available const newsData data.length > 0 ? data : staticNewsData; // Populate the news content marquee.innerHTML newsData .slice(0, 5) .map((item) > { const isDummy data.length 0; // Check if the data is from dummy const formattedDate formatDate(item.fromDate, isDummy); let attachmentUrl #; // Handle attachments const hasAttachments item.attachments && item.attachments.length > 0; if (hasAttachments) { try { const parsedAttachments item.attachments0; attachmentUrl `https://webapi.entab.info/api/image/${parsedAttachments}`; } catch (e) { console.error(Error parsing attachments:, e); } } return ` div classnewbox> div classnewssec-area-box-con> h2>${item.title || News Title}/h2> p>${item.description || News description goes here.}/p> h6> ${ hasAttachments ? `a href${attachmentUrl} classlink target_blank>i classbi bi-paperclip>/i>View Attachment/a>` : } i classbi bi-calendar-event>/i>${ formattedDate || DD-MM-YYYY } /h6> /div> /div> hr> `; }) .join(); }; // Load and update news data const newsData await fetchNewsData(); updateNewsContent(newsData); }); /script> !-- dynamic 10th --> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; // Dummy data for fallback const dummyData { name: Student Name, division: 00%, stream: Subject, attachments: , sessionYear: `${ new Date().getFullYear() - 1 }-${new Date().getFullYear()}`, }, ; // Function to fetch topper data for a specific session year const fetchTopperDataForSessionYear async (sessionYear) > { try { const response await fetch(`${API_URL}/api/topper/ARSB`); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data await response.json(); const filteredData data.filter( (item) > item.sessionYear sessionYear && item.class X ); return filteredData.sort((a, b) > { const aPercentage parseFloat(a.division.split(%)0.trim()); const bPercentage parseFloat(b.division.split(%)0.trim()); return bPercentage - aPercentage; }); } catch (error) { console.error(Error fetching topper data:, error); return ; } }; // Function to recursively fetch data until data is found or the session year becomes invalid const getTopperData async () > { let currentYear new Date().getFullYear(); let sessionYear `${currentYear - 1}-${currentYear}`; let data ; while (data.length 0 && currentYear > 2000) { console.log(`Fetching data for session year: ${sessionYear}`); data await fetchTopperDataForSessionYear(sessionYear); if (data.length > 0) break; currentYear--; sessionYear `${currentYear - 1}-${currentYear}`; } return data.length > 0 ? data : dummyData; }; // Function to update the carousel content dynamically const updateCarouselContent (data) > { const carouselInner document.getElementById(x-toppers-carousel); const carouselItems data .map((item) > { const imageUrl item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : https://webapi.entab.info/api/image/SJSFShttps://webapi.entab.info/api/image/ARSB/public/images/topper.png; // index image return ` li classitem> article> div classbg> h3>Class X Toppers i classfa fa-trophy aria-hiddentrue>/i>/h3> a classtoper_view href/topper-X.html>View All/a> div classclr10>/div> div classfullwidth> img src${imageUrl} classimg-responsive lazyloadThisImage alt${ item.name || Student Name } /> h4>${item.name || Student Name}/h4> h5>${item.division || 00%}/h5> /div> div classclr>/div> /div> /article> /li>`; }) .join(); carouselInner.innerHTML carouselItems; // Initialize LightSlider $(#x-toppers-carousel).lightSlider({ item: 1, slideMove: 1, loop: true, speed: 600, auto: true, pause: 3000, controls: true, pager: false, }); }; // Fetch data and update the carousel getTopperData().then(updateCarouselContent); }); /script> !-- dynamic 12th --> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; // Dummy data for fallback const dummyData { name: Student Name, division: 00%, stream: Subject, attachments: , sessionYear: `${new Date().getFullYear()}-${ new Date().getFullYear() - 1 }`, }, ; // Function to fetch topper data for a specific session year const fetchTopperDataForSessionYear async (sessionYear) > { try { const response await fetch(`${API_URL}/api/topper/ARSB`); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data await response.json(); const filteredData data.filter( (item) > item.sessionYear sessionYear && item.class XII ); return filteredData.sort((a, b) > { const aPercentage parseFloat(a.division.split(%)0.trim()); const bPercentage parseFloat(b.division.split(%)0.trim()); return bPercentage - aPercentage; }); } catch (error) { console.error(Error fetching topper data:, error); return ; } }; // Function to recursively fetch data until data is found or the session year becomes invalid const getTopperData async () > { let currentYear new Date().getFullYear(); let sessionYear `${currentYear - 1}-${currentYear}`; let data ; while (data.length 0 && currentYear > 2000) { console.log(`Fetching data for session year: ${sessionYear}`); data await fetchTopperDataForSessionYear(sessionYear); if (data.length > 0) break; currentYear--; sessionYear `${currentYear - 1}-${currentYear}`; } return data.length > 0 ? data : dummyData; }; // Function to update the carousel content dynamically const updateCarouselContent (data) > { const carouselInner document.getElementById(xiitopper); const carouselItems data .map((item) > { const imageUrl item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : https://webapi.entab.info/api/image/SJSFShttps://webapi.entab.info/api/image/ARSB/public/images/topper.png; return ` li classitem> article> div classbg> h3>Class XII Toppers i classfa fa-trophy aria-hiddentrue>/i>/h3> a classtoper_view href/topper-XII.html>View All/a> div classclr10>/div> div classfullwidth> img src${imageUrl} classimg-responsive lazyloadThisImage alt${ item.name || Student Name } /> h4>${item.name || Student Name}/h4> h5>${item.division || 00%}/h5> /div> div classclr>/div> /div> /article> /li>`; }) .join(); carouselInner.innerHTML carouselItems; // Initialize LightSlider $(#xiitopper).lightSlider({ item: 1, slideMove: 1, loop: true, speed: 600, auto: true, pause: 3000, controls: true, pager: false, }); }; // Fetch data and update the carousel getTopperData().then(updateCarouselContent); }); /script> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const CDN_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}/ARSB`); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return ; } }; // Truncate message text const truncateWords (text, wordLimit) > { const words text.split( ); return words.length > wordLimit ? words.slice(0, wordLimit).join( ) + ... : text; }; // Remove empty or extra p> tags const removeExtraPTags (containerId) > { const container document.getElementById(containerId); // Ensure the container exists if (container) { const paragraphs container.querySelectorAll(p); // Remove p> tags that are empty or contain only whitespace paragraphs.forEach((p) > { if ( !p.textContent.trim() || p.textContent.trim() Coming Soon... ) { p.remove(); } }); } }; // Update Manager message const updateManagerMessage async () > { const data await fetchData(PrincipalMessage); const managerData data.find((item) > item.category Manager); const messageContainer document.getElementById(manager-message); const image document.getElementById(manager-image); const name document.querySelector( .testimonial2__wrapper-3--discription h6 ); const title document.querySelector( .testimonial2__wrapper-3--discription span ); // index fallback values const indexMessage Coming Soon...; const indexImage https://webapi.entab.info/api/image/ARSBhttps://webapi.entab.info/api/image/ARSB/public/images/about.png; const indexName Manager - Name; const indexTitle Manager; if (managerData) { const messageText managerData.message ? truncateWords( managerData.message.replace(/\/?^>+(>|$)/g, ), 70 ) : indexMessage; const imageUrl managerData.attachments?.0 ? `${CDN_URL}/api/image/${managerData.attachments0}` : indexImage; const managerName managerData.name || indexName; // Update the message container content messageContainer.innerHTML ` div classcentered-link> a hrefmessage-desk2.html>Manager Message i classfas fa-arrow-right>/i>/a> /div> p>${messageText}/p> `; image.src imageUrl; name.textContent managerName; title.textContent indexTitle; } else { // Fallback content messageContainer.innerHTML `p>${indexMessage}/p>`; image.src indexImage; name.textContent indexName; title.textContent indexTitle; } // Remove empty or unnecessary p> tags removeExtraPTags(manager-message); }; // Load Manager data updateManagerMessage(); }); /script> !-- dynamic principal --> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const CDN_URL https://webapi.entab.info; // Fetch data from the API const fetchData async (endpoint) > { try { const response await fetch(`${API_URL}/api/${endpoint}/ARSB`); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); return await response.json(); } catch (error) { console.error(`Error fetching ${endpoint}:`, error); return ; } }; // Truncate message text const truncateWords (text, wordLimit) > { const words text.split( ); return words.length > wordLimit ? words.slice(0, wordLimit).join( ) + ... : text; }; // Remove empty or extra p> tags const removeExtraPTags (containerId) > { const container document.getElementById(containerId); // Ensure the container exists if (container) { const paragraphs container.querySelectorAll(p); // Remove p> tags that are empty or contain only whitespace paragraphs.forEach((p) > { if ( !p.textContent.trim() || p.textContent.trim() Coming Soon... ) { p.remove(); } }); } }; // Update principal message const updatePrincipalMessage async () > { const data await fetchData(PrincipalMessage); const principalMessage data.length > 0 ? data0 : null; const messageContainer document.getElementById(principal-message); const image document.getElementById(principal-image); const name document.getElementById(principal-name); const title document.getElementById(principal-title); // index fallback values const indexMessage Coming Soon...; const indexImage https://webapi.entab.info/api/image/ARSB/public/images/sr_Shiji.jpg; const indexName Principal - Name; const indexTitle Principal; if (principalMessage) { const messageText principalMessage.message ? truncateWords(principalMessage.message, 70) : indexMessage; const imageUrl principalMessage.attachments?.0 ? `${CDN_URL}/api/image/${principalMessage.attachments0}` : indexImage; const principalName principalMessage.name || indexName; // Remove the View More link by not adding it to the innerHTML messageContainer.innerHTML ` div classcentered-link> a href /message-desk1.html>Principal Message i classfas fa-arrow-right>/i>/a> /div> p>${messageText}/p>`; image.src imageUrl; name.textContent principalName; title.textContent indexTitle; } else { // Fallback content without the View More link messageContainer.innerHTML `p>${indexMessage}/p>`; image.src indexImage; name.textContent indexName; title.textContent indexTitle; } // Remove empty or unnecessary p> tags removeExtraPTags(principal-message); }; // Load data updatePrincipalMessage(); }); /script> script> document.addEventListener(DOMContentLoaded, async function () { // Static fallback gallery data const staticGalleryData { link: gallery.html, size: gal-big }, { link: gallery.html, size: gal-small }, { link: gallery.html, size: gal-big }, { link: gallery.html, size: gal-small }, { link: gallery.html, size: gal-big }, ; // Function to fetch gallery data from API const fetchGalleryData async () > { try { const response await fetch( https://webapi.entab.info/api/gallery/ARSB ); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); return await response.json(); } catch (error) { console.error(Error fetching gallery data:, error); return ; } }; // Function to update gallery content dynamically const updateGalleryContent (data) > { const gallerySlider document.getElementById(galleryslider); // Use static data if dynamic data is not available const galleryData data.length > 0 ? data.filter((item) > item.category PhotoGallery) : staticGalleryData; // Populate the gallery slider gallerySlider.innerHTML galleryData .map( (item, index) > ` li> div classproject-item> div classproject-thumb gal-big> a hrefgallery-single-page.html?id${item._id} > img src${ item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : https://webapi.entab.info/api/image/ARSB/public/images/about1.jpg } altGallery Image ${ index + 1 } classimg-fluid lazyloadThisImage/> /a> /div> /div> /li> ` ) .join(); // Initialize the lightSlider after the gallery content is populated $(#galleryslider).lightSlider({ item: 3, loop: true, slideMove: 1, pager: false, auto: true, pauseOnHover: true, easing: cubic-bezier(0.25, 0, 0.25, 1), speed: 600, responsive: { breakpoint: 1199, settings: { item: 3, slideMove: 1, slideMargin: 6 }, }, { breakpoint: 991, settings: { item: 2, slideMove: 1, slideMargin: 6 }, }, { breakpoint: 575, settings: { item: 1, slideMove: 1 } }, , }); }; // Load and update gallery data const galleryData await fetchGalleryData(); updateGalleryContent(galleryData); }); /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}/ARSB`); 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 data and update the carousel const loadData async () > { const notificationData await fetchData(notification); if (notificationData) updateHighlightContent(notificationData); }; const updateHighlightContent (data) > { const carouselInner document.querySelector( #modalH .carousel-inner ); const indicatorsContainer document.querySelector( #modalH .carousel-indicators ); const modalElement document.getElementById(exampleModalToggle); if (!Array.isArray(data) || data.length 0) { carouselInner.innerHTML ; indicatorsContainer.innerHTML ; if (modalElement) { const modalInstance bootstrap.Modal.getInstance(modalElement); if (modalInstance) { modalInstance.hide(); } } return; } 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}` : ; // index placeholder image return ` div classcarousel-item ${index 0 ? active : }> div classmodal-header> h1>${item.title || }/h1> button typebutton classbtn-close btn-close-black data-bs-dismissmodal aria-labelClose>/button> /div> div classmodal-body> div classcard modalcard> div classrow> div classcard-body> ${ hasImage ? `img src${imageUrl} classimg-fluid alt${ item.title || }/>` : } p>${item.description || }/p> div classclearfix>/div> div classd-grid gap-2 d-md-flex justify-content-around> ${ 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.link ? `a target_blank href${item.link} classbtn btn-primary btn-sm>Click Here/a>` : } ${ item.url ? `a target_blank href${ item.url } classbtn btn-primary btn-sm>${ item.urlTitle && item.urlTitle.length > 0 ? item.urlTitle : Click Here }/a>` : } /div> /div> /div> /div> /div> /div> `; }) .join(); // Add carousel indicators indicatorsContainer.innerHTML data .map((_, index) > { return ` button typebutton data-bs-target#modalH data-bs-slide-to${index} class${ index 0 ? active : } aria-current${ index 0 ? true : } aria-labelSlide ${index + 1}>/button> `; }) .join(); if (modalElement) { const modalInstance new bootstrap.Modal(modalElement); modalInstance.show(); } }; // Load data when the DOM content is loaded loadData(); }); /script> !-- online reg --> 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/ARSB` ); 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 ` ${ attachmentUrl ? `a href${attachmentUrl} target_blank>i classfas fa-paperclip>/i>/a>` : } a href${ item.url || https://ars.campuscare.info/logon/tploginregistration } target_blank> ${item.title || Online Registration} /a> `; }) .join(); registrationContainer.querySelector(p).innerHTML contentHtml; }; // Fetch online registration data and update the content getOnlineRegistration().then((registrations) > { updateRegistrationContent(registrations); }); }); /script> !-- dynamic highlights --> 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/ARSB`); 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 marquee const updateHighlightContent (highlights) > { const highlightContainer document.getElementById(highlights-content); if (!highlightContainer) { console.error(Highlight container not found); return; } // index content if no highlights are available const indexContent ` `; // Use index content if no highlights are available if (highlights.length 0) { highlightContainer.innerHTML indexContent; return; } // Construct content dynamically const content highlights .map((item) > { const attachmentLink item.attachments && item.attachments.length > 0 ? `a hrefhttps://webapi.entab.info/api/image/${item.attachments0} target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> /a>` : ; return ` ${attachmentLink} ${ item.title || Highlight } span>●/span> `; }) .join(); highlightContainer.innerHTML content; }; // Fetch highlights and update the marquee content getHighlight().then((highlights) > { console.log(Highlights to be displayed:, highlights); updateHighlightContent(highlights); }); }); /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
]