Help
RSS
API
Feed
Maltego
Contact
Domain > www.stjohnsschool.co.in
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2021-05-17
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 21:11:44 GMTContent-Type: text/htmlContent-Length: 162Connection: keep-aliveLocation: https://www.stjohnsschool.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 21:11:45 GMTContent-Type: text/htmlContent-Length: 54548Last-Modified: Wed, 01 Oct 2025 07:47:56 GMTConnection: keep-aliveETag: 68dcdcac-d514Accept-Ranges: bytes !DOCTYPE html>html langen> head> meta charsetutf-8 /> meta http-equivX-UA-Compatible contentIEedge /> meta nameviewport contentwidthdevice-width, initial-scale1 /> title> St. Johns School, Sec-7A, Faridabad| Indias Best School ERP Software |School Software /title> meta namedescription contentWelcome to St. Johns School. St. Johns School was founded in 1965 by Sh. T.I. John under the aegis of Idicula Trust Society (Regd.)., St. Johns School Faridabad, Best School Facilities Provided, Best quality education /> meta namekeywords contentSt. Johns School Faridabad, One of the best school in Faridabad, Top 10 Schools in Faridabad, Haryana, School Management ERP Software, School ERP Solution, Mobile Apps for School, School ERP Solution /> link relcanonical hrefhttps://www.stjohnsschool.co.in/ /> meta namecopyright contentEntab /> meta namelanguage contentEn /> meta nameurl contenthttps://www.stjohnsschool.co.in/ /> meta namecoverage contentWorldwide /> meta namedistribution contentGlobal /> meta http-equivExpires content30 /> link relshortcut icon hrefhttps://webapi.entab.info/api/image/SJSFS/public/Images/favicon.jpg typeimage/x-icon /> link relStylesheet hrefcss/fontawesome-all.css typetext/css /> link relStylesheet hrefcss/bootstrap.css typetext/css /> link relStylesheet hrefhttps://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css typetext/css /> link relStylesheet hrefcss/style.css typetext/css /> link relstylesheet hrefcss/lightslider.css /> !--Home Page Modal Popup--> !-- script typetext/javascript> $(function () { $(#myModal_popup).modal(show); }); /script> --> style typetext/css> #home-menu { background: #d9261c; } /style> meta namegoogle-site-verification content3LY-8lk4npWl3yyoEG9R184kQIbn7C1VPYLvk7jZcD0 /> /head> body> div classsociallinks> a hrefhttps://www.facebook.com/profile.php?id61555730505185 target_blank classs-item facebook> span>i classfa-brands fa-facebook-f>/i>/span> /a> a hrefhttps://www.instagram.com/stjohnsschoolfaridabad?igshaGJ4eHFqcmdieXpi target_blank classs-item instagram> span>i classfa-brands fa-instagram>/i>/span> /a> a hrefhttps://youtube.com/@st.johnsschool_sector7a_fbd?siNA9ybrvc6n7LGtuG target_blank classs-item youtube> span>i classfa-brands fa-youtube>/i>/span> /a> /div> !--a hrefhttps://www.SJSFScampuscare.in/ idpportal target_blank>/a> a hrefFIT-india.html idfitindia>/a> a hrefcompetitive_exam.html idolympiad>/a> --> !--modal popup--> 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> !--Highlights--> !-- uchighlights:uchighlights runatserver IDhighlights /> --> div classcontainer-fluid> div classrow> p classmrkq> marquee idhighlights-content behaviorscroll directionleft onmouseoverthis.stop(); onmouseoutthis.start();> !-- Dynamic content will be injected here --> /marquee> /p> !-- div classsocial-media> ul> li>a>Follow us : /a>/li> li> a hrefhttps://www.facebook.com/profile.php?id61555730505185 target_blank> img altfacebook icon titlefacebook icon srchttps://webapi.entab.info/api/image/SJSFS/public/Images/facebk_ico.png /> /a> /li> li> a hrefhttps://www.instagram.com/stjohnsschoolfaridabad?igshaGJ4eHFqcmdieXpi target_blank> img altinstagram icon titleinstagram icon srchttps://webapi.entab.info/api/image/SJSFS/public/Images/instagram2_icon.png /> /a> /li> /ul> /div> --> /div> /div> !--Navigation--> div iducheader>/div> !-- Slider --> div idmyCarouselsld classcarousel slide data-ridecarousel> !-- Wrapper for slides --> div classcarousel-inner> div classitem active> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-1.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-2.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-3.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-4.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-5.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-6.jpg altSJSFS width100% /> /div> !-- div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-7.jpg altSJSFS width100% /> /div> --> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-8.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-9.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-10.jpg altSJSFS width100% /> /div> div classitem> img srchttps://webapi.entab.info/api/image/SJSFS/public/Images/slide-11.jpg altSJSFS width100% /> /div> /div> !-- Left and right controls --> a classleft carousel-control no-img href#myCarouselsld data-slideprev> span classglyphicon glyphicon-chevron-left>/span> span classsr-only>Previous/span> /a> a classright carousel-control no-img href#myCarouselsld data-slidenext> span classglyphicon glyphicon-chevron-right>/span> span classsr-only>Next/span> /a> /div> !--Online Registration--> !-- div classcontainer-fluid OnlineRe> center> div classrow> div classcol-md-12> a href# target_blank classonreg blink >i classfa fa-paperclip aria-hiddentrue>/i>/a >span classonreg blink >a hrefhttps://www.SJSFScampuscare.in/ target_blank >Online Registration/a >/span > /div> /div> /center> /div> --> div classcontainer-fluid OnlineRe blinking> center> div classrow> div classcol-md-12 idRegistration-content> /div> /div> /center> /div> div classclr10>/div> !--Mission Vision--> div classcontainer> div classrow> div classcol-sm-6 col-md-4 col-lg-4 no-pad-lr> div classblue-box> h3> Vision & Missiona hrefvision_mission.html >i classfas fa-arrow-right>/i >/a> /h3> p> St. Johns School was founded in 1965 by Shri T.I. John under the aegis of Idicula Trust Society (Regd). Sprawled in four acres, the school is a majestic structure amidst sprawling greens. The school ambience is eco-friendly and pleasant. The atmosphere is maintained ambient conducive to the holistic development of the students. /p> /div> /div> div classcol-md-4 col-lg-4 no-pad-lr hidden-sm> a hrefhttps://www.youtube.com/embed/bKqHqh3z_NU target_blank> span classplay> img data-sizesauto data-threshold1 data-expand10 data-srchttps://webapi.entab.info/api/image/SJSFS/public/Images/youtube.png stylewidth: 100% classimg-responsive lazyload altSJSFS /> /span> img data-sizesauto data-threshold1 data-expand10 data-srchttps://webapi.entab.info/api/image/SJSFS/public/Images/1.jpg stylewidth: 100% classimg-responsive lazyload altSJSFS /> /a> /div> div classcol-sm-6 col-md-4 col-lg-4 no-pad-lr> div classblue-box> h3> OUR OBJECTIVESa hrefobjective.html >i classfas fa-arrow-right>/i >/a> /h3> p> To help students become mature, spiritually oriented characters which in turn will transform them into citizens with strong sense of national integration. To instil in the students spirit of nationalism, patriotism and understanding. /p> /div> /div> /div> /div> !--About us--> div classcontainer about_space about> div classrow about-box> div classcol-lg-4 col-md-4 col-sm-4 col-xs-12> a hrefadmission.html target_blank> h3> img data-sizesauto data-threshold1 data-expand10 data-srchttps://webapi.entab.info/api/image/SJSFS/public/Images/adm.png classimg-responsive lazyload />Student Admission /h3> i class>/i> /a> p>a hrefadmission.html target_blank> Admission/a>/p> /div> !-- div classcol-lg-4 col-md-4 col-sm-4 col-xs-12> a hrefhttps://www.SJSFScampuscare.in/ target_blank> h3> img srcImages/Campulogo-r.png classimg-responsive />Parent Portal /h3> i class>/i> /a> p> a hrefhttps://www.SJSFScampuscare.in/ target_blank> Parent Portal/a > /p> /div> --> div classcol-lg-4 col-md-4 col-sm-4 col-xs-12> a hrefhttps://online.fliphtml5.com/cgsbh/zgug/ target_blank> h3> img data-sizesauto data-threshold1 data-expand10 data-srchttps://webapi.entab.info/api/image/SJSFS/public/Images/magazine.png classimg-responsive lazyload />Magazine /h3> p>Arpan Magazine/p>/a > /div> !-- div classcol-lg-4 col-md-4 col-sm-4 col-xs-12> h3>i classfar fa-circle>/i>CBSE Circulars/h3> p> a hrefCBSE_circulars.html >Please click here to view CBSE Circulars for all classes/a > /p> /div> --> div classcol-lg-4 col-md-4 col-sm-4 col-xs-12> a hrefFIT-india.html> h3> img data-sizesauto data-threshold1 data-expand10 data-srchttps://webapi.entab.info/api/image/SJSFS/public/Images/fit-india.png classimg-responsive lazyload />FIT India /h3> /a> p>a hrefFIT-india.html>FIT India/a>/p> /div> /div> /div> !--Latest News--> div classcontainer-fluid graybg> div classcontainer tb-pad-40> div classrow> div classcol-md-12> h1 classmain-head text-center> Latest span classblue>News/span> /h1> /div> /div> ul idnews-list classlightSlider> !-- Dynamic content will be injected here --> /ul> center> a hrefnews.html classbutton1 rolebutton>View More/a> /center> /div> /div> !--Topper--> div classcontainer> div classrow> div classcol-xs-12 col-sm-12 col-md-6 col-lg-4 toppers> div idxtopper classcarousel slide data-ridecarousel> ul idx-toppers-carousel classlightSlider> !-- Dynamic carousel items will be populated here --> /ul> /div> /div> !-- Class 12 Toppers --> div classcol-xs-12 col-sm-12 col-md-6 col-lg-4 toppers> div idxiitopper classcarousel slide data-ridecarousel> div classcarousel-inner idxii-toppers-carousel> !-- Dynamic content will be inserted here --> /div> /div> /div> !-- achievers --> div classcol-xs-12 col-sm-12 col-md-6 col-lg-4 toppers> ul idachieversSlider classlightSlider> !-- Dynamic content will be injected here --> /ul> /div> /div> /div> !--Upcoming Events--> div classcontainer-fluid> div classrow> div classcourse-progress> div classopacity> div classcontainer> div classlatest-news wow fadeInUp stylevisibility: visible; animation-name: fadeInUp> div classcontainer> div classtheme-title> h1 classmain-head text-center white> Upcoming span classblue>Events/span >a hrefevents.html >i classfas fa-arrow-circle-right>/i >/a> /h1> /div> ul idevent-slider classlightSlider> !-- Dynamic content will be injected here --> /ul> /div> !-- /.container --> /div> /div> /div> /div> /div> /div> /asp:Label> !--Photo Gallery--> div classcontainer tb-pad-40 pad_home> div classrow> div classcol-md-12> h1 classmain-head text-center> Photo span classblue>Gallery/span> /h1> div classclr10>/div> /div> /div> div classrow> ul idgallery-slider classlightSlider> !-- Dynamic gallery content will be injected here --> /ul> /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> 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> $(window).on(load, function () { $(#myModal).modal(show); }); /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}/SJSFS`); 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>${item.description || Default description text.}/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> !-- dynamic news --> script> document.addEventListener(DOMContentLoaded, async function () { // Static fallback news data const staticNewsData { title: News, description: Description, attachmentUrl: #, date: { day: 19, month: Jan }, }, { title: News, description: Description, attachmentUrl: #, date: { day: 19, month: Jan }, }, { title: News, description: Description, attachmentUrl: #, date: { day: 19, month: Jan }, }, ; // Function to fetch news data from the API const fetchNewsData async () > { try { const response await fetch( https://webapi.entab.info/api/news/SJSFS ); 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 }); // Sort news items by fromDate in descending order data data.sort((a, b) > { const dateA new Date(a.fromDate); const dateB new Date(b.fromDate); return dateB - dateA; // Descending order }); return data; } catch (error) { console.error(Error fetching news data:, error); return ; } }; // Function to construct the attachment URL const getAttachmentUrl (item) > { if (item.attachments && item.attachments.length > 0) { try { // Assuming the first attachment is the relevant one for the news item const parsedAttachments item.attachments0; return `https://webapi.entab.info/api/image/${parsedAttachments}`; } catch (e) { console.error(Error parsing attachments:, e); return null; // Fallback to # if theres an error } } return #; // Fallback URL if no attachment exists }; // Function to create the HTML for the news list items const createNewsItem (item) > { const date new Date(item.fromDate); // Use the `fromDate` as the display date const formattedDate { day: date.getDate(), month: date.toLocaleString(default, { month: short }), }; // Check if there are attachments const attachmentUrl getAttachmentUrl(item); const attachmentIcon attachmentUrl && attachmentUrl ! # ? `a href${attachmentUrl} target_blank> i classfa fa-paperclip blue aria-hiddentrue>/i> /a>` : ; // Hide the icon if no valid attachment URL return ` li> div classsingle-event theme-bg-white> div classdate blue> ${formattedDate.day} span>${formattedDate.month}/span> ${attachmentIcon} /div> h6>${item.title || News Title}/h6> p>${item.description || Coming Soon...}/p> /div> /li> `;}; // Function to populate the news list const updateNewsList (newsData) > { const newsList document.getElementById(news-list); // Use static data if dynamic data is not available const data newsData.length > 0 ? newsData : staticNewsData; // Generate HTML for news list items newsList.innerHTML data .map((item) > createNewsItem(item)) .join(); // Initialize LightSlider $(#news-list).lightSlider({ item: 3, 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, 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 dynamic news data or use static data const newsData await fetchNewsData(); updateNewsList(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/SJSFS`); 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}-${currentYear +1}`; 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/SJSFS/public/Images/topper.png; // Default 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 data-src${imageUrl} classimg-responsive lazyload alt${item.name || Student Name} data-sizesauto data-threshold1 data-expand10 /> 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/SJSFS`); 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}-${currentYear +1}`; 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/SJSFS/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 data-src${imageUrl} classimg-responsive lazyload alt${item.name || Student Name} data-sizesauto data-threshold1 data-expand10 /> 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> !-- dynamic achievers --> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; // Dummy data for fallback const achieversDummyData { name: Name, batch: Batch, rank: Rank, category: Category, }, { name: Name, batch: Batch, rank: Rank, category: Category, }, ; // Function to fetch achievers data for a specific session year const fetchAchieversDataForSessionYear async (sessionYear) > { try { const response await fetch(`${API_URL}/api/topper/SJSFS`); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data await response.json(); const filteredData data.filter( (item) > item.class Civil Services && item.sessionYear sessionYear ); return filteredData; } catch (error) { console.error(Error fetching achievers data:, error); return ; } }; // Function to recursively fetch data until data is found or the session year becomes invalid const getAchieversData 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 fetchAchieversDataForSessionYear(sessionYear); if (data.length > 0) break; currentYear--; sessionYear `${currentYear - 1}-${currentYear}`; } return data.length > 0 ? data : achieversDummyData; }; // Function to update the LightSlider content dynamically const updateAchieversSlider (data) > { const sliderContainer document.getElementById(achieversSlider); const sliderItems data .map((item) > { const imageUrl item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : https://webapi.entab.info/api/image/SJSFS/public/Images/topper.png; return ` li> article> div classbg> h3>Our Achievers i classfa fa-trophy aria-hiddentrue>/i>/h3> a classtoper_view hrefachievers.html>View All/a> div classclr10>/div> div classfullwidth> img data-src${imageUrl} classimg-responsive lazyload alt${item.name || Name} data-sizesauto data-threshold1 data-expand10 /> h4>${item.name || Name}/h4> h5>${item.stream || Batch}br />${item.rank || Rank}/h5> /div> /div> /article> /li>`; }) .join(); sliderContainer.innerHTML sliderItems; // Initialize LightSlider $(#achieversSlider).lightSlider({ item: 1, slideMove: 1, loop: true, speed: 600, auto: true, pause: 3000, controls: true, pager: false, }); }; // Fetch data and update the LightSlider getAchieversData().then(updateAchieversSlider); }); /script> !-- dynamic 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}/SJSFS`); 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 Title 1, description: Event Description 1, location: School Campus, time: 10:00, attachments: , }, { date: 2024-09-16T00:00:00, title: Event Title 2, description: Event Description 2, location: School Campus, time: 11:00, attachments: , }, { date: 2024-09-17T00:00:00, title: Event Title 3, description: Event Description 3, 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/SJSFS/public/Images/event-1.jpg const attachmentLink item.attachments?.0 && `https://webapi.entab.info/api/file/${item.attachments0}`; return ` li> div classsingle-post wow fadeInUp > div classimg-holder> div classdate wow fadeInUp p-color-bg> ${new Date(item.date).toLocaleDateString(en-GB, { day: 2-digit, month: short, })} /div> img data-src${imageUrl} classimg-responsive center-block lazyload alt${item.title || Event} data-sizesauto data-threshold1 data-expand 10 /> a href# classtran4s>/a> /div> div classtext-wrapper> div classtext tran4s> h6 classattachment> ${ attachmentLink ? `a href${attachmentLink} target_blank>i classfa fa-paperclip aria-hiddentrue>/i>/a>` : } /h6> a href#>${item.title || Event Title}/a> p>${item.description || Event description goes here.}/p> ul> li> i classfa fa-map-marker aria-hiddentrue>/i> ${item.location || Venue} /li> li> i classfar fa-clock aria-hiddentrue>/i> ${item.time || HH:MM} /li> /ul> /div> /div> /div> /li> `; }) .join(); // Initialize LightSlider $(#event-slider).lightSlider({ item: 3, auto: true, // Enable auto slide pauseOnHover: true, // Pause on hover loop: true, // Enable looping slideMove: 1, 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 { title: Album Name 1, attachments: , link: gallery.html, }, { title: Annual Sports Day, attachments: , link: gallery.html, }, { title: Dental Check Up, attachments: , link: gallery.html, }, { title: Orientation Programme, attachments: , link: gallery.html, }, ; // Function to fetch gallery data from API const fetchGalleryData async () > { try { const response await fetch(https://webapi.entab.info/api/gallery/SJSFS); // Replace with your actual API endpoint if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data await response.json(); return data; } catch (error) { console.error(Error fetching gallery data:, error); return ; } }; // Function to update gallery content dynamically const updateGalleryContent (data) > { const galleryContainer document.querySelector(#gallery-slider); // Use static data if dynamic data is not available const galleryData data.length > 0 ? data : staticGalleryData; // Populate the gallery content galleryContainer.innerHTML galleryData .filter(item>item.category PhotoGallery) .map( (item) > ` li> div classno-pad galoverlay> a href${item.link || gallery.html}> img data-src${item.attachments?.0 ? `https://webapi.entab.info/api/image/${item.attachments0}` : https://webapi.entab.info/api/image/SJSFS/public/Images/about.png} classimg-responsive gal_2 lazyload alt${item.title || Gallery Image} data-sizesauto data-threshold1 data-expand 10 /> View Gallery /a> /div> /li> ` ) .join(); // Initialize LightSlider after content has been added $(#gallery-slider).lightSlider({ item: 6, autoWidth: false, slideMove: 2, loop: true, auto: true, pauseOnHover: true, easing: cubic-bezier(0.25, 0, 0.25, 1), speed: 600, pager: false, responsive: { breakpoint: 991, settings: { item: 4, slideMove: 1, slideMargin: 6, }, }, { breakpoint: 767, settings: { item: 2, slideMove: 1, }, }, { breakpoint: 575, settings: { item: 1, slideMove: 1, }, }, , }); }; // Fetch the gallery data and update the content const galleryData await fetchGalleryData(); updateGalleryContent(galleryData); });/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/SJSFS`); 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; } // Default content if no highlights are available const defaultContent ` a hrefhttps://webapi.entab.info/api/image/SJSFS/public/Images/1.jpg target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> /a> Admission Programme for class 7 to 9 span>●/span> a href# target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> /a> Admission Programme Class 1- Academic Year 2018-19 span>●/span> a href# target_blank> i classfa fa-paperclip mrqatt aria-hiddentrue>/i> /a> Datesheet for Main Examination 2018 for Class Xth `; // Use default content if no highlights are available if (highlights.length 0) { highlightContainer.innerHTML defaultContent; 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>!-- 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/SJSFS`); 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://www.SJSFScampuscare.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>script> document.addEventListener(DOMContentLoaded, () > { // Get the current year dynamically const currentYear new Date().getFullYear(); // Select the footer paragraph const footer document.querySelector(.footerP); if (footer) { footer.innerHTML `© Copyright 2019 - ${currentYear} By SJSFS, Sec-7A, Faridabad. | Created By a classlink hrefhttps://www.entab.in/ target_blank> Entab Infotech : CampusCare® /a>`; } });/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
]