Help
RSS
API
Feed
Maltego
Contact
Domain > www.bkbajoriaschool.in
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2022-04-21
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 13:15:46 GMTContent-Type: text/htmlContent-Length: 162Connection: keep-aliveLocation: https://www.bkbajoriaschool.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 13:15:47 GMTContent-Type: text/htmlContent-Length: 41452Last-Modified: Mon, 21 Jul 2025 09:45:57 GMTConnection: keep-aliveETag: 687e0c55-a1ecAccept-Ranges: bytes !DOCTYPE html>html langen>head idHead1 runatserver> title>B K Bajoria School, Shillong | Home/title> !-- Meta Tags --> meta charsetutf-8> meta namedescription contentB.K. Bajoria School, located in Shillong, is a Senior Secondary School affiliated with the CBSE Board, offering Arts, Science, and Commerce streams. With over 1,400 students and more than 90 teachers, the school boasts well-equipped libraries, laboratories, auditoriums, and various facilities to foster holistic education. /> meta namekeywords contentB.K. Bajoria School, Shillong, CBSE, Senior Secondary School, Arts, Science, Commerce, Education, Laboratories, Libraries, Holistic Education /> meta namecopyright contentB K Bajoria School, Shillong /> meta nameurl contenthttps://www.bkbajoriaschool.in/ /> meta nameviewport contentwidthdevice-width, initial-scale1 /> meta namerobots contentindex, follow /> meta nameclassification contentOrganization /> meta namecoverage contentWorldwide /> meta namedistribution contentGlobal /> meta namelanguage contentEn> meta http-equivcache-control contentno-cache /> meta http-equivexpires content0 /> meta http-equivpragma contentno-cache /> !-- Canonical Link --> link relcanonical hrefhttps://www.bkbajoriaschool.in/> link relshortcut icon hrefhttps://webapi.entab.info/api/image/BKBSSM/public/images/favicon.png /> !-- Bootstrap 5 CSS --> link hrefhttps://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css relstylesheet> link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css> !-- Custom Styles --> link relstylesheet typetext/css hrefcss/style.css> link relstylesheet hrefcss/aos.css> script typeapplication/ld+json>{@context: http://schema.org,@type: organization,name : B K Bajoria School, Shillong,url: http://www.bkbajoriaschool.in/index.html,logo: https://webapi.entab.info/api/image/BKBSSM/public/images/logo.png,image: https://webapi.entab.info/api/image/BKBSSM/public/images/sld-2.jpg,description: B K Bajoria School in Shillong is a Sr. Sec School offering Arts, Science and Commerce. The School is affiliated to the CBSE Board. Best school in Shillong - Meghalaya.,telephone: 0364 2227919/ 9856151502 / 8794506477 / 8794506477,address: {@type: PostalAddress,streetAddress: Boyce Road,addressLocality: Shillong,addressRegion: Meghalaya,addressCountry : India,postalCode: 793001}}/script> !-- Global site tag (gtag.js) - Google Analytics --> script async srchttps://www.googletagmanager.com/gtag/js?idUA-222821806-1>/script> script> window.dataLayer window.dataLayer || ; function gtag() { dataLayer.push(arguments); } gtag(js, new Date()); gtag(config, UA-222821806-1); /script> style> #home1 { color: #9f0000; } /style>/head>body> div classmainsld-overlay> div classfirework-animation> canvas idcanvas>/canvas> /div> div classcloseLoader onclickcloseLoader()> i classbi bi-x>/i> /div> div classenter-sec> div classenter-sec-details> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/50Years.png classimg-responsive FiftyYears altB K Bajoria School> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/mainsldlogo.png classimg-responsive mainsldlogo altB K Bajoria School> /div> /div> /div> !--erp_links--> div classerp_links> a hrefhttps://bkbs.campuscare.cloud/ target_blank> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/Campulogo.png altB K Bajoria School, Shillong classimg-responsive> /a> /div> !--erp_links--> div classrightimg> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/rightside.jpeg altB K Bajoria School, Shillong classimg-responsive> /div> !--Page Loaded Popup--> div classmodal fade idexampleModalToggle aria-hiddentrue aria-labelledbyexampleModalToggleLabel tabindex-1> div classmodal-dialog modal-dialog-centered> div classmodal-content> div idmodalH classcarousel slide data-bs-ridecarousel> div classcarousel-inner> /div> button classcarousel-control-prev typebutton data-bs-target#modalH 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#modalH data-bs-slidenext> span classcarousel-control-next-icon aria-hiddentrue>/span> span classvisually-hidden>Next/span> /button> /div> /div> /div> /div> !--heighlight--> div classcontainer-fluid> div classrow> div classcol-md-12 p-0> div classhighlights_sec> marquee onmouseoverthis.stop(); onmouseoutthis.start();> p idhighlights-content> a>Stay tuned for more information about latest updates span>Click Here/span>/a> /p> /marquee> /div> /div> /div> /div> !--navigation--> div iducheader>/div> div classLEAP-Member> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/LEAP-Member.jpg classimg-fluid altB K Bajoria School, Shillong /> /div> !--Slider TExt--> !-- div classcontainer-fluid> div classrow> div classcol-md-12 logo>img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/logo.png classimg-fluid mx-auto d-block altB K Bajoria School, Shillong /> h2>B K Bajoria School, Shillong/h2> /div> /div> /div> --> div idslider> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/sld-1.jpg altB K Bajoria School, Shillong /> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/sld-2.jpg altB K Bajoria School, Shillong /> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/sld-3.jpg altB K Bajoria School, Shillong /> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/sld-4.jpg altB K Bajoria School, Shillong /> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/sld-5.jpg altB K Bajoria School, Shillong /> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/sld-6.jpg altB K Bajoria School, Shillong /> /div> !--Slider Bot--> div classLEAP-Member-m> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/LEAP-Member.jpg classimg-fluid altB K Bajoria School, Shillong /> /div> div classcontainer slider-btm> !-- Online Registration--> div classbox idOnlineRegistration> span>/span> span>/span> span>/span> span>/span> div classcontent> h2>a hrefhttps://bkbs.campuscare.cloud/ target_blank>Online Registration 2022 - 23/a>/h2> p>a href# target_blank>More Info/a>/p> /div> /div> div classrow> div classcol-xl-4 col-lg-12 col-md-12> h1>Best Platform to Learn Everything/h1> /div> div classcol-xl-8 col-lg-12 col-md-12> div classrow g-3> div classcol-lg-4 col-md-12 data-aosfade-left data-aos-duration2000> a href#> div classslider-btm-box bg1> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/vision.png classimg-fluid altB K Bajoria School, Shillong /> h3>Vision & Mission/h3> /div> /a> /div> div classcol-lg-4 col-md-12 data-aosfade-right data-aos-duration2000> a hrefcurriculum.html> div classslider-btm-box bg2> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/Curriculum.png classimg-fluid altB K Bajoria School, Shillong /> h3>Curriculum/h3> /div> /a> /div> div classcol-lg-4 col-md-12 data-aosfade-left data-aos-duration2000> a hrefhttps://bkbs.campuscare.cloud/ target_blank> div classslider-btm-box bg3> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/Admission.png classimg-fluid altB K Bajoria School, Shillong /> h3>Admission Enquiry/h3> /div> /a> /div> /div> /div> /div> /div> !--About Us--> section classaboutsec> div classcontainer> div classrow> div classcol-lg-6 col-md-12 data-aosfade-left data-aos-duration2000> div classabout> h4>Welcome to/h4> div classtitle-sperator>/div> h1>B K Bajoria School, Shillong /h1> p>From a small School with a handful of students and teachers, our School has grown into a Sr. Sec School offering Arts, Science and Commerce. The School now has more than 1400 students. The school has 03 buildings, more than 90 teachers. The School is affiliated to the CBSE Board. Our teachers have attended several workshops which have enabled them to improve classroom communication and subject specialisation with all the training and experiences they have gained. The School has well equipped Libraries, Labs, Mathematic Lab, English Lab, Subject Rooms, Record Room, Auditoriums, Indoor Sports Room, Sick Rooms, Audio-visual Room & a Canteen. Besides celebrating Foundation Day, Independence Day, Teacher’s Day, etc our School also organises several programmes regularly to provide students a window to showcase their creativity & talent. Our students have brought laurels to the School by winning National & Regional Competitions. It is our vision to take school to greater heights & impart wholesome education. /p> h5 classreadmore>a hrefintroduction.html>Read More i classbi bi-arrow-right>/i>/a>/h5> /div> /div> div classcol-lg-6 col-md-12 mesdesk data-aosfade-right data-aos-duration2000> img srchttps://webapi.entab.info/api/image/BKBSSM/public/images/Chairman.jpg classimg-fluid img-thumbnail altB K Bajoria School, Shillong /> div classbg-clr test_2> h1>span>Chairmans Message/span>/h1> p>A school plays a pivotal role in the all-round development of children especially in the formative years. Our objective is to nurture the children by providing them with a safe and conducive environment which would in turn enable them to excel in academics, sports, arts and cultural activities. At Bhajanlal Kamakhyalal Bajoria School (BKBS), this vision has always served as the road map for everything that we undertake. /p> h6>. P. Bajoria/h6> h5>a hrefchairman-message.html>i classbi bi-arrow-right>/i>/a>/h5> /div> /div> /div> /div> /section> !--Events--> section classevent-sec> div classcontainer> div classrow> div classback__title__section text-center> h6 classback__subtitle>Upcoming/h6> h2 classback__tittle> Events & Activities a hrefevents.html>i classbi bi-arrow-bar-right>/i>/a>/h2> /div> /div> div classrow> div classdemo g-4> div classitem> ul idevent-slider classevent-slider> !-- Dynamic events will be injected here by JavaScript --> /ul> /div> /div> /div> /div> /section> !--News--> div classnews__area p-relative> div classcontainer news__width> div classrow> div classcol-xl-8 col-lg-7 pr-80 data-aosfade-left data-aos-duration2000> div classnews__section-wrapper> div classnews__content-wrapper mb-45> h2 classnews__title>Latest News/h2> p classnews__paragraph>News/Notice/p> /div> div idnewsSlider> !-- News items will be inserted here dynamically --> /div> p classnews__small-paragraph>Check Out the School Latest News/p> a classnews__small-paragraph--link hrefnews.html> View all News i classbi bi-arrow-right>/i> /a> /div> /div> div classcol-xl-4 col-lg-5 data-aosfade-right data-aos-duration2000> div classnews__video-btn text-end> img classm-img image-background img-fluid srchttps://webapi.entab.info/api/image/BKBSSM/public/images/bannner.jpg altB K Bajoria School, Shillong /> div classnews__video-btn--play> a hrefvideo.html classnews__video-btn--play-btn> i classbi bi-play-fill>/i> /a> /div> /div> /div> /div> /div> /div> !--Gallery--> div classback__title__section text-center> h6 classback__subtitle>Activities & Celebrations/h6> h2 classback__tittle>Photo Gallery a hrefgallery.html>i classbi bi-arrow-bar-right>/i>/a>/h2> /div> div idback-gallery-section classback-gallery> div classdemo> div classitem> ul idgallery-slider classcontent-slider> !-- Dynamic content will be inserted here --> /ul> /div> /div> /div> !-- Footer --> div idfooter>/div> !-- jQuery --> script srchttps://code.jquery.com/jquery-3.6.0.min.js>/script> !-- Bootstrap Bundle with Popper --> script srchttps://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js>/script> !-- Custom jQuery Script Header & footer --> script typetext/javascript> document.addEventListener(DOMContentLoaded, function () { function loadHeader() { fetch(/uc/ucheader.html) .then(response > response.text()) .then(data > { document.getElementById(ucheader).innerHTML data; executeScripts(document.getElementById(ucheader)); }) .catch(error > console.error(Error loading header:, error)); } function loadFooter() { fetch(/uc/ucfooter.html) .then(response > response.text()) .then(data > { document.getElementById(footer).innerHTML data; executeScripts(document.getElementById(footer)); }) .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) { // Handle external scripts script.src scriptsi.src; } else { // Handle inline scripts script.textContent scriptsi.textContent; } document.head.appendChild(script); } } // Load content sections loadHeader(); loadFooter(); }); /script> !-- aos Animation--> script srcjs/aos.js typetext/javascript>/script> script> AOS.init();/script> !-- Lightslider jQuery Script --> script srcjs/lightslider.js typetext/javascript>/script> !-- filoSlider--> script srcjs/filoSlider.js>/script> script>$(#slider).filoSlider();/script> !--Dynmic modal--> 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}/BKBSSM`); 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 news content const loadData async () > { const notificationData await fetchData(notification); if (notificationData) updateHighlightContent(notificationData); }; //1 Function to update the modal content const updateHighlightContent (data) > { const carouselInner document.querySelector(#modalH .carousel-inner); const modalElement document.getElementById(exampleModalToggle); // Clear carousel inner if no data is provided if (!Array.isArray(data) || data.length 0) { carouselInner.innerHTML ; if (modalElement) { const modalInstance bootstrap.Modal.getInstance(modalElement); if (modalInstance) { modalInstance.hide(); } } return; } // 1 Populate carousel inner with MOdal items 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}` : https://webapi.entab.info/api/image/BKBSSM/public/images/modal.jpg; // Default placeholder image return ` div classcarousel-item ${index 0 ? active : }> div classmodal-header> h1>${item.title || Notification Title}/h1> button typebutton classbtn-close btn-close-white 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 || Notification}/>` : } p>${item.description || Notification Description}/p> div classclearfix>/div> div classd-grid gap-2 d-md-flex justify-content-center> ${item.attachments && item.attachments.length > 0 ? `a hrefhttps://webapi.entab.info/api/image/${item.attachments0} classbtn btn-secondary btn-sm target_blank>Attachment/a>` : } ${item.url ? `a target_blank href${item.url} classbtn btn-secondary btn-sm>${item.urlTitle || Click Here}/a>` : } /div> /div> /div> /div> /div> /div> `; }).join(); // Show modal after content update if (modalElement) { const modalInstance bootstrap.Modal.getInstance(modalElement) || new bootstrap.Modal(modalElement); modalInstance.show(); } }; const formatDate (dateString) > { const date new Date(dateString); return `${date.getDate()} ${date.toLocaleString(default, { month: short })} ${date.getFullYear()}`; }; // Load data when the DOM content is loaded loadData(); }); // Function to toggle the top navigation menu function myFunction() { var x document.getElementById(myTopnav); x.className x.className topnav ? topnav responsive : topnav; } /script> !--Highlights--> script> document.addEventListener(DOMContentLoaded, function () { const API_URL https://webapi.entab.info; const SCHOOL_CODE BKBSSM; // Set your school code here const highlightContainer document.getElementById(highlights-content); // Function to fetch highlight data from API const getHighlight async () > { try { const response await fetch(`${API_URL}/api/highlight/${SCHOOL_CODE}`); if (!response.ok) throw new Error(`HTTP error! Status: ${response.status}`); return await response.json(); } catch (error) { console.error(Error fetching highlights:, error); return ; } }; // Function to update marquee content dynamically const updateHighlightContent (highlights) > { if (!highlightContainer) { console.error(Highlight container not found); return; } if (!Array.isArray(highlights) || highlights.length 0) { highlightContainer.innerHTML ` a href#>Stay tuned for more information about latest updates span>Click Here/span>/a> `; return; } // Construct marquee content dynamically const content highlights .map((item) > { const title item.title || Stay tuned for more updates!; const description item.description || ; // Check if an attachment exists const hasAttachment item.attachments && Array.isArray(item.attachments) && item.attachments.length > 0; const attachmentLink hasAttachment ? `${API_URL}/api/image/${item.attachments0}` : #; // Show Click Here only if an attachment exists const clickHereSpan hasAttachment ? `span>Click Here/span>` : ; return `${description} a href${attachmentLink} target_blank>${clickHereSpan}/a>`; }) .join( || ); highlightContainer.innerHTML content; }; // Fetch highlights and update marquee content getHighlight().then(updateHighlightContent); }); /script> !--Online Sec--> script> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; // Base API URL const SCHOOL_CODE BKBSSM; const onlineRegistrationUrl `${API_URL}/api/onlineRegistration/${SCHOOL_CODE}`; const fallbackUrl https://bkbs.campuscare.cloud/; // Default fallback URL // Function to fetch Online Registration Data const fetchOnlineRegistrationData async () > { try { const response await fetch(onlineRegistrationUrl); if (!response.ok) throw new Error(`HTTP error! Status: ${response.status}`); return await response.json(); } catch (error) { console.error(Error fetching registration data:, error); return ; } }; // Function to update the existing HTML structure dynamically const updateOnlineRegistration (data) > { const container document.getElementById(OnlineRegistration); if (!container) { console.error(OnlineRegistration container not found.); return; } if (!Array.isArray(data) || data.length 0) { container.style.display none; // Hide the entire section if no data is found return; } // Use the first available item from API response const item data0; // Extract title and registration URL const registrationTitle item.title || Online Registration; const registrationUrl item.url && item.url.trim() ! ? item.url : fallbackUrl; // Check if an attachment exists and build the correct URL const hasAttachment item.attachments && Array.isArray(item.attachments) && item.attachments.length > 0; const attachmentUrl hasAttachment ? `${API_URL}/api/image/${encodeURIComponent(item.attachments0)}` : null; // Update only the existing parts of the content, keeping the structure intact container.querySelector(h2 a).setAttribute(href, registrationUrl); container.querySelector(h2 a).textContent registrationTitle; const moreInfoLink container.querySelector(p a); if (hasAttachment) { moreInfoLink.setAttribute(href, attachmentUrl); moreInfoLink.innerHTML Click Here; moreInfoLink.style.display inline; // Ensure the link is visible if data exists } else { moreInfoLink.style.display none; // Hide More Info if no attachment exists } container.style.display block; // Ensure the section is visible when data is available }; // Fetch and update the content const data await fetchOnlineRegistrationData(); updateOnlineRegistration(data); }); /script> !--Gallery Sec--> script> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; const galleryApiUrl `${API_URL}/api/gallery/all/BKBSSM`; const fallbackImageUrl `${API_URL}/api/image/BKBSSM/public/images/gal-1.jpg`; // Function to fetch gallery data const fetchGalleryData async () > { try { const response await fetch(galleryApiUrl); 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 ; // Return empty array on error } }; // Function to generate HTML for each gallery image const generateGalleryItemHTML (imageUrl) > { return ` li> div classback-gallery-inner card data-aosfade-left data-aos-duration2000> img data-src${imageUrl} altGallery Image classimg-fluid lazyload data-sizesauto data-threshold1 data-expand10 /> /div> /li>`; }; // Function to update the gallery dynamically with the latest 8 images const updateGalleryContent (data) > { const gallerySlider document.querySelector(#gallery-slider); if (!gallerySlider) { console.error(Gallery slider not found.); return; } // Sort data by date (latest first) and take only the latest 8 entries const latestImages data .filter(item > item.category PhotoGallery) // Ensure its a Photo Gallery .sort((a, b) > new Date(b.date) - new Date(a.date)) // Sort by latest date .slice(0, 8) // Limit to the latest 8 images .map(item > item.attachments?.0 ? `${API_URL}/api/image/${item.attachments0}` : fallbackImageUrl); // Insert images (dynamic if available, static if not) gallerySlider.innerHTML latestImages.length > 0 ? latestImages.map(image > generateGalleryItemHTML(image)).join() : generateGalleryItemHTML(fallbackImageUrl); // Re-initialize the lightSlider after adding the new content $(#gallery-slider).lightSlider({ item: 5, 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: 1199, settings: { item: 3, slideMove: 1, slideMargin: 6 } }, { breakpoint: 991, settings: { item: 2, slideMove: 1, slideMargin: 6 } }, { breakpoint: 575, settings: { item: 1, slideMove: 1 } }, , }); }; // Fetch and display the latest 8 gallery images (or fallback to static data) const galleryData await fetchGalleryData(); updateGalleryContent(galleryData); }); /script> !--upcoming Events--> script> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; const endpoint events; // Fetch data from the API or use fallback dummy data const fetchData async () > { try { const response await fetch(`${API_URL}/api/${endpoint}/all/BKBSSM`); if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } return await response.json(); } catch (error) { console.error(`Error fetching events data:`, error); return ; } }; // Fallback dummy data const dummyData { date: 2024-09-15, title: Event Title 1, description: Stay tuned for more information., venue: School Campus, time: 10:00 AM, images: event-1.jpg, attachments: // No attachment for this event }, { date: 2024-09-16, title: Event Title 2, description: More details will follow., venue: Main Hall, time: 02:00 PM, images: event-2.jpg, attachments: file1.pdf // Attachments present }, ; // Function to render events const renderEvents (events) > { const eventSlider document.getElementById(event-slider); if (!eventSlider) { console.error(Event slider container not found.); return; } eventSlider.innerHTML events .map((event) > { const imageSrc event.images && event.images.length ? `https://webapi.entab.info/api/image/${event.images0}` : https://webapi.entab.info/api/image/BKBSSM/public/images/events.jpg; // Check if there are attachments const attachmentLink event.attachments && event.attachments.length > 0 ? `li>a href#>Click Here/a>/li>` : ; // If no attachments, leave it empty return ` li data-aosfade-left data-aos-duration2000> div classevent-box> img src${imageSrc} classimg-fluid alt${event.title} /> div classdate> h4>${new Date(event.date).getDate()}/h4> h3>${new Date(event.date).toLocaleString(en, { month: short })}/h3> /div> div classtime>i classbi bi-clock>/i>${event.time || N/A}/div> div classevent-text> h3>${event.title}/h3> p>${event.description}/p> ul classmeta> ${attachmentLink} !-- Only show this link if theres an attachment --> li>i classbi bi-geo-alt>/i>${event.venue || N/A}/li> /ul> /div> /div> /li> `; }) .join(); }; // Fetch and render events const eventsData await fetchData(); // Sort events by date (latest first) and show the latest 7 const sortedEvents eventsData .sort((a, b) > new Date(b.date) - new Date(a.date)) .slice(0, 7); // Use sorted events or fallback dummy data const events sortedEvents.length > 0 ? sortedEvents : dummyData.sort((a, b) > new Date(b.date) - new Date(a.date)).slice(0, 7); renderEvents(events); // Initialize the lightSlider $(#event-slider).lightSlider({ item: 3, slideMove: 2, loop: true, auto: true, pauseOnHover: true, easing: cubic-bezier(0.25, 0, 0.25, 1), speed: 600, pager: false, responsive: { breakpoint: 1199, settings: { item: 3, slideMove: 1, slideMargin: 6, }, }, { breakpoint: 991, settings: { item: 2, slideMove: 1, }, }, { breakpoint: 767, settings: { item: 1, slideMove: 1, }, }, , }); }); /script> !--News--> script> document.addEventListener(DOMContentLoaded, async function () { const API_URL https://webapi.entab.info; const newsApiUrl `${API_URL}/api/news/all/BKBSSM`; // API Endpoint const BASE_IMAGE_URL `${API_URL}/api/image/`; // Base Image URL // Function to fetch news data from API const fetchNewsData async () > { try { const response await fetch(newsApiUrl); if (!response.ok) throw new Error(`HTTP error! Status: ${response.status}`); return await response.json(); } catch (error) { console.error(Error fetching news data:, error); return ; // Return empty array to avoid breaking UI } }; // Function to update the News dynamically const updateNewsSection (data ) > { const newsSlider document.getElementById(newsSlider); if (!newsSlider) { console.error(News slider container not found.); return; } // Clear existing content newsSlider.innerHTML ; // Sort news by date (latest first) and take only the latest 3 entries const latestNews data .sort((a, b) > new Date(b.fromDate) - new Date(a.fromDate)) .slice(0, 3); // Limit to latest 3 items // If no news available, show a placeholder if (latestNews.length 0) { newsSlider.innerHTML ` div classnews__card-wrapper> div classnews__card> div classnews__card--date-area> span classnews__card--date-area-1>dd/span> span classnews__card--date-area-2>mm, yyyy/span> /div> div classnews__card--icon-area> p classnews__card--icon-area-3>No Latest News/p> span classnews__card--icon-area-1>Stay connected for more updates./span> /div> /div> /div>`; return; } // Generate news items dynamically latestNews.forEach(news > { const newsTitle news.title || News Title; const newsDescription news.description || Stay connected for more updates!; const newsDate news.fromDate ? new Date(news.fromDate) : new Date(); const newsDay String(newsDate.getDate()).padStart(2, 0); const newsMonth newsDate.toLocaleString(default, { month: short }); const newsYear newsDate.getFullYear(); const hasAttachment news.attachments && news.attachments.length > 0; // If attachment exists, show the paperclip icon, else show the bullhorn icon const attachmentIcon hasAttachment ? `a href${BASE_IMAGE_URL}${news.attachments0} target_blank>i classfas fa-paperclip>/i>/a>` : `i classfas fa-bullhorn>/i>`; // Announcement Icon when no attachment (FA 5.8.2) const newsItem document.createElement(div); newsItem.classList.add(news__card-wrapper); newsItem.innerHTML ` div classnews__card> div classnews__card--date-area> span classnews__card--date-area-1>${newsDay}/span> span classnews__card--date-area-2>${newsMonth}, ${newsYear}/span> /div> div classnews__card--icon-area> p classnews__card--icon-area-3>${newsTitle}/p> span classnews__card--icon-area-1>${newsDescription}/span> ${attachmentIcon} /div> /div> `; newsSlider.appendChild(newsItem); }); }; // Fetch and update news dynamically const newsData await fetchNewsData(); updateNewsSection(newsData); }); /script> !-- script srcjs/velocity.min.js>/script> script srcjs/velocity.ui.min.js>/script> script idrendered-js> $(.modal).each(function (l) { $(this).on(show.bs.modal, function (l) { var o $(this).attr(data-easein); shake o ? $(.modal-dialog).velocity(callout. + o) : pulse o ? $(.modal-dialog).velocity(callout. + o) : tada o ? $(.modal-dialog).velocity(callout. + o) : flash o ? $(.modal-dialog).velocity(callout. + o) : bounce o ? $(.modal-dialog).velocity(callout. + o) : swing o ? $(.modal-dialog).velocity(callout. + o) : $(.modal-dialog).velocity(transition. + o); }); }); /script> --> script> let isVisible true; const closeLoader () > { isVisible false; document.querySelector(.mainsld-overlay).style.display none; }; window.addEventListener(DOMContentLoaded, () > { const canvas document.getElementById(canvas); const ctx canvas.getContext(2d); let w, h; const particles ; const probability 0.04; let xPoint, yPoint; const resizeCanvas () > { w canvas.width window.innerWidth; h canvas.height window.innerHeight; }; const updateWorld () > { update(); paint(); window.requestAnimationFrame(updateWorld); }; const update () > { if (particles.length 500 && Math.random() probability) { createFirework(); } const alive ; for (let i 0; i particles.length; i++) { if (particlesi.move()) { alive.push(particlesi); } } particles.length 0; particles.push(...alive); }; const paint () > { ctx.globalCompositeOperation source-over; ctx.fillStyle rgba(0,0,0,0.2); ctx.fillRect(0, 0, w, h); ctx.globalCompositeOperation lighter; for (let i 0; i particles.length; i++) { particlesi.draw(ctx); } }; const createFirework () > { xPoint Math.random() * (w - 200) + 100; yPoint Math.random() * (h - 200) + 100; const nFire Math.random() * 50 + 100; const c `rgb(${Math.floor(Math.random() * 200 + 55)},${Math.floor(Math.random() * 200 + 55)},${Math.floor(Math.random() * 200 + 55)})`; for (let i 0; i nFire; i++) { const particle new Particle(); particle.color c; const vy Math.sqrt(25 - particle.vx * particle.vx); if (Math.abs(particle.vy) > vy) { particle.vy particle.vy > 0 ? vy : -vy; } particles.push(particle); } }; function Particle() { this.w this.h Math.random() * 4 + 1; this.x xPoint - this.w / 2; this.y yPoint - this.h / 2; this.vx (Math.random() - 0.5) * 10; this.vy (Math.random() - 0.5) * 10; this.alpha Math.random() * .5 + .5; this.color ; } Particle.prototype { gravity: 0.05, move: function () { this.x + this.vx; this.vy + this.gravity; this.y + this.vy; this.alpha - 0.01; if (this.x -this.w || this.x > w || this.y > h || this.alpha 0) { return false; } return true; }, draw: function (c) { c.save(); c.beginPath(); c.translate(this.x + this.w / 2, this.y + this.h / 2); c.arc(0, 0, this.w, 0, Math.PI * 2); c.fillStyle this.color; c.globalAlpha this.alpha; c.closePath(); c.fill(); c.restore(); } }; window.addEventListener(resize, resizeCanvas, false); window.addEventListener(DOMContentLoaded, resizeCanvas, false); window.requestAnimationFrame(updateWorld); resizeCanvas(); // Cleanup on unload window.addEventListener(beforeunload, () > { window.removeEventListener(resize, resizeCanvas); window.cancelAnimationFrame(updateWorld); }); }); /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
]