Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
/* |-------------------------------------------------------------------------- HighLine Template Main JS |-------------------------------------------------------------------------- */ document.addEventListener("touchstart", function() {},false); (function ($) { "use strict"; var windw = $(window); /* |-------------------------------------------------------------------------- carousel |-------------------------------------------------------------------------- */ //Main Slider $('#home-carousel').owlCarousel({ items: 1, autoplay: true, dots: false, nav: true, navText: ["❮", "❯"], slideSpeed : 300, loop: true, smartSpeed:450 }); //Typewriter Effect Banner $('#homeCarousel').owlCarousel({ items: 1, autoplay: false, dots: false, nav: false, navText: ["❮", "❯"], slideSpeed : 300, loop: false, smartSpeed:450 }); //Blog Carousel $('#blog .owl-carousel').owlCarousel({ autoplay: false, margin: 30, nav: true, navText: ["❮", "❯"], loop: true, responsive: { 0: { items: 1 }, 534: { items: 2 }, 992: { items: 3 } } }); //Testimonial Carousel duble column $('.testimonial-duble .owl-carousel').owlCarousel({ autoplay: true, margin: 30, loop: true, nav: false, navText: ["❮", "❯"], responsive: { 0: { items: 1 }, 992: { items: 2 } } }); //Testimonial Carousel single column $('.testimonial-single .owl-carousel').owlCarousel({ items: 1, autoplay: true, margin: 30, loop: true, nav: false, navText: ["❮", "❯"] }); //clients Carousel $('#clients .owl-carousel').owlCarousel({ autoplay: true, margin: 30, loop: true, nav: false, dots: false, navText: ["❮", "❯"], responsive: { 0: { items: 1 }, 300: { items: 2 }, 480: { items: 3 }, 641: { items: 4 }, 1024: { items: 6 } } }); /* |-------------------------------------------------------------------------- Typewrite |-------------------------------------------------------------------------- */ var TxtType = function(el, toRotate, period) { this.toRotate = toRotate; this.el = el; this.loopNum = 0; this.period = parseInt(period, 10) || 2000; this.txt = ''; this.tick(); this.isDeleting = false; }; TxtType.prototype.tick = function() { var i = this.loopNum % this.toRotate.length; var fullTxt = this.toRotate[i]; if (this.isDeleting) { this.txt = fullTxt.substring(0, this.txt.length - 1); } else { this.txt = fullTxt.substring(0, this.txt.length + 1); } this.el.innerHTML = ''+this.txt+''; var that = this; var delta = 200 - Math.random() * 100; if (this.isDeleting) { delta /= 2; } if (!this.isDeleting && this.txt === fullTxt) { delta = this.period; this.isDeleting = true; } else if (this.isDeleting && this.txt === '') { this.isDeleting = false; this.loopNum++; delta = 500; } setTimeout(function() { that.tick(); }, delta); }; window.onload = function() { var elements = document.getElementsByClassName('typewrite'); for (var i=0; i 100) { navh.addClass("fixed-nav"); } else { navh.removeClass("fixed-nav"); } }); $(function(){ var nav = $('.nav-container'); windw.scroll(function () { if ($(this).scrollTop() > 100) { nav.addClass("fixed-nav"); } else { nav.removeClass("fixed-nav"); } }); }); /* |-------------------------------------------------------------------------- Change Active State on Scroll |-------------------------------------------------------------------------- */ var sections = $('section') , nav = $('nav') , nav_height = nav.outerHeight(); windw.on('scroll', function () { var cur_pos = $(this).scrollTop(); sections.each(function() { var top = $(this).offset().top - (nav_height-24), bottom = top + $(this).outerHeight(); if (cur_pos >= top && cur_pos <= bottom) { nav.find('a').removeClass('active'); sections.removeClass('active'); $(this).addClass('active'); nav.find('a[href="#'+$(this).attr('id')+'"]').addClass('active'); } }); }); /* |-------------------------------------------------------------------------- Smoth Scroll |-------------------------------------------------------------------------- */ $(document).on('click', 'a[href*="#"]:not([href="#"])', function(event){ if (location.pathname.replace(/^\//,'') === this.pathname.replace(/^\//,'') && location.hostname === this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); var topBar_height = $('.TopBar').outerHeight() - 3; if(!topBar_height) topBar_height = 0; var header_height = 50 + topBar_height; if (target.length) { $('html, body').animate({ scrollTop: target.offset().top - header_height }, 1000); return false; } } }); /* |-------------------------------------------------------------------------- Circle Progress Bar |-------------------------------------------------------------------------- */ windw.on('load', function() { function animateElements() { $('.progressbar').each(function () { var elementPos = $(this).offset().top; var topOfWindow = windw.scrollTop(); var percent = $(this).find('.circle').attr('data-percent'); var barColor = $(this).find('.circle').attr('data-color'); var percentage = parseInt(percent, 10) / parseInt(100, 10); var animate = $(this).data('animate'); if (elementPos < topOfWindow + windw.height() - 30 && !animate) { $(this).data('animate', true); $(this).find('.circle').circleProgress({ startAngle: -Math.PI / 2, value: percent / 100, size: 120, thickness: 14, fill: { color: barColor }, animation: { duration: 3000, easing: 'circleProgressEasing' } }).on('circle-animation-progress', function (event, progress, stepValue) { $(this).find('div').text((stepValue*100).toFixed(1) + "%"); }).stop(); } }); } // Show animated elements animateElements(); windw.scroll(animateElements); }); /* |-------------------------------------------------------------------------- isotope Filter Start |-------------------------------------------------------------------------- */ var myTheme = window.myTheme || {}, $win = $( window ); myTheme.Isotope = function () { // 4 column layout var isotopeContainer = $('.isotopeContainer'); if( !isotopeContainer.length || !jQuery().isotope ) return; $win.on('load', function() { isotopeContainer.isotope({ itemSelector: '.isotopeSelector' }); $('.isotopeFilters').on( 'click', 'a', function(e) { $('.isotopeFilters').find('.active').removeClass('active'); $(this).parent().addClass('active'); var filterValue = $(this).attr('data-filter'); isotopeContainer.isotope({ filter: filterValue }); e.preventDefault(); }); }); }; myTheme.Isotope(); /* |-------------------------------------------------------------------------- Lighbox |-------------------------------------------------------------------------- */ lightbox.option({ 'albumLabel': "Item %1 of %2", 'positionFromTop': 40, 'resizeDuration': 500, 'disableScrolling': false }); if( $(document.body).width() > 1200 ) { lightbox.option({ 'disableScrolling': true }); } windw.resize(function() { if( $(document.body).width() < 1200 ) { $(".lb-dataContainer").css("width", "80%"); $(".lb-dataContainer").css("height", "80%"); $(".lb-outerContainer").css("width", "80%"); $(".lb-outerContainer").css("height", "80%"); $(".lb-image").css("width", "100%"); $(".lb-image").css("height", "100%"); } }); /* |-------------------------------------------------------------------------- Subscribe Form |-------------------------------------------------------------------------- */ //Change YOUR MAILCHIMP ACCOUNT LIST FORM ACTION URL $('#mc-form').ajaxChimp({ url: '' }); /* |-------------------------------------------------------------------------- Quote Form |-------------------------------------------------------------------------- */ $("#quoteForm").validator().on("submit", function (event) { if (event.isDefaultPrevented()) { //handle the invalid form... formError(); submitQuoteMSG(false, "Please fill in the form properly!"); } else { //everything looks good! event.preventDefault(); submitquoteForm(); } }); function submitquoteForm(){ //Variables With Form Content var fname = $("#quoteName").val(); var email = $("#quoteEmail").val(); var phone = $("#quotePhone").val(); var service = $("#quoteService").val(); $.ajax({ type: "POST", url: "quote-process.php", data: "fname=" + fname + "&email=" + email + "&phone=" + phone + "&service=" + service, success : function(text){ if (text == "success"){ quoteFormSuccess(); } else { formError(); submitQuoteMSG(false,text); } } }); } function quoteFormSuccess(){ $("#quoteForm")[0].reset(); submitQuoteMSG(true, "Your Query Submitted Successfully!") } function submitQuoteMSG(valid, msg){ if(valid){ var msgClasses = "h3 text-center text-success"; } else { var msgClasses = "h3 text-center text-danger"; } $("#msgQuoteSubmit").removeClass().addClass(msgClasses).text(msg); } /* |-------------------------------------------------------------------------- CountUp |-------------------------------------------------------------------------- */ $('.counter').counterUp({ delay: 5, time: 1000 }); /* |-------------------------------------------------------------------------- Accordion |-------------------------------------------------------------------------- */ function toggleChevron(e) { $(e.target) .prev('.panel-heading') .find("i.indicator") .toggleClass('glyphicon-plus glyphicon-minus'); $('#accordion .panel-heading').toggleClass('highlight default-color'); $(e.target).prev('.panel-heading').addClass('highlight'); } $('#accordion').on('hidden.bs.collapse', toggleChevron); $('#accordion').on('shown.bs.collapse', toggleChevron); /* |-------------------------------------------------------------------------- Scrollup |-------------------------------------------------------------------------- */ var scrollup = $('.scrollup'); windw.scroll(function () { if ($(this).scrollTop() > 100) { scrollup.fadeIn(); } else { scrollup.fadeOut(); } }); scrollup.on('click', '', function(event){ $("html, body").animate({ scrollTop: 0 }, 600); return false; }); })(jQuery); /* |-------------------------------------------------------------------------- Google Map |-------------------------------------------------------------------------- */ function myMap() { var mapCanvas = document.getElementById("map"); var mapOptions = { center: new google.maps.LatLng(51.899124, -0.438638), zoom: 12, scrollwheel: false, styles: [ { featureType: 'water', elementType: 'geometry', stylers: [{color: '#0147fe'}] } ] } var map = new google.maps.Map(mapCanvas, mapOptions); var infowindow = new google.maps.InfoWindow({ content:'

YOUR COMPANY

70 Trent Rd, Luton LU3 1TA, UK.

' }); var marker = new google.maps.Marker({ position: new google.maps.LatLng(51.899124, -0.438638), map: map, title: 'YOUR COMPANY' }); marker.addListener('click', function() { infowindow.open(map, marker); }); } /* |-------------------------------------------------------------------------- PRICING TABLE |-------------------------------------------------------------------------- */ $(function() { $('.toggle-price-starter-year').hide(); $('.toggle-price-premium-year').hide(); $('.toggle-price-professional-year').hide(); $('.toggle-price-maximum-year').hide(); }); function changePlanStarter(plan) { $('[class^="toggle-price-starter"]').hide(); $('.toggle-price-starter-' + plan).show(); } function changePlanPremium(plan) { $('[class^="toggle-price-premium"]').hide(); $('.toggle-price-premium-' + plan).show(); } function changePlanProfessional(plan) { $('[class^="toggle-price-professional"]').hide(); $('.toggle-price-professional-' + plan).show(); } function changePlanMaximum(plan) { $('[class^="toggle-price-maximum"]').hide(); $('.toggle-price-maximum-' + plan).show(); } /* |-------------------------------------------------------------------------- End |-------------------------------------------------------------------------- */