Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/celkcksm/cms.ncriptech.com/../bhumikainstitute.com/config/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $base_url = ''; $base_url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http"); $base_url .= "://" . $_SERVER['HTTP_HOST']; $base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']); $uriSegments = explode("/", parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); $lastUriSegment = array_pop($uriSegments); $site_name="Bhumika Institute"; $site_short_name="BI"; $favicon=$base_url.'public/images/favicon.ico'; $logo_top=$base_url.'public/img/logo/header-logo.png'; $logo_bottom=$base_url.'public/img/logo/footer-logo.png'; $banner_images = array( 'about' => 'public/new-assets/img/breadcrum.png', 'mission' => 'public/new-assets/img/breadcrum.png', 'vision' => 'public/new-assets/img/breadcrum.png', 'admissions' => 'public/new-assets/img/breadcrum.png', ); // Set the banner image dynamically based on the current page // $banner_image = isset($banner_images[$lastUriSegment]) ? $banner_images[$lastUriSegment] : 'public/new-assets/img/defaultBanner.jpg'; $bg_404=$base_url.'public/img/bg/404-img.png'; $bg_comeingsoon=$base_url.'public/img/class/comeing.jpg'; $features_img='public/img/features/img-07.jpeg'; $admission_home_img='public/img/features/img-14.jpeg'; $page_title=[ 'home'=>'Best Paramedical Colleges in Kolkata - Bhumika Institute', 'about'=>'Bhumika Institute | Vocational Diploma Programs - 1 & 3 Years', 'mission'=>'Bhumika Institute | Our Mission in Healthcare Education', 'vision'=>'Bhumika Institute | Vision for Future Healthcare', 'notice'=>'Bhumika Institute | Latest News & Student Notices', 'classroom'=>'Bhumika Institute | Modern & Interactive Classrooms', 'library'=>'Bhumika Institute | Resourceful & Quiet Library Space', 'lab'=>'Bhumika Institute | Advanced Healthcare Laboratories', 'hostel'=>'Bhumika Institute | Safe & Comfortable Hostel Life', 'canteen'=>'Bhumika Institute | Clean & Hygienic Campus Canteen', 'transportation'=>'Bhumika Institute | Safe & Reliable Transportation', 'gallery'=>'Bhumika Institute | Campus Life & Event Gallery', 'placement'=>'Bhumika Institute | Career Support & Placement Cell', 'd-voc-3'=>'3-Year D.Voc Program Courses West Bengal - Bhumika Institute', 'd-voc-1'=>'1-Year D.Voc Program Details - Bhumika Institute', 'prospectus'=>'Bhumika Institute Prospectus - North 24 Parganas Overview', 'contact'=>'Contact Us' ]; $page_heading = array( 'about' => array( 'page_heading' => 'About Institute' ), 'mission' => array( 'page_heading' => 'Mission' ), 'vision' => array( 'page_heading' => 'Vision' ), 'principal-desk' => array( 'page_heading' => 'Pricipal Desk' ), 'chairman-desk' => array( 'page_heading' => 'Chairman Desk' ), 'govering-body' => array( 'page_heading' => 'govering-body' ), 'classroom' => array( 'page_heading' => 'Our Classroom' ), 'library' => array( 'page_heading' => 'Our Library' ), 'lab' => array( 'page_heading' => 'Our Laboratory' ), 'hostel' => array( 'page_heading' => ' Our hostel' ), 'canteen' => array( 'page_heading' => 'Our canteen' ), 'transportation' => array( 'page_heading' => 'Our Transportation ' ), 'placement' => array( 'page_heading' => 'Placement Day' ), 'd-voc-3' => array( 'page_heading' => 'Diploma in Vocation (D.Voc) – 3-Year Program' ), 'b-optom' => array( 'page_heading' => 'Bachelor of Optometry (B.Optom)' ), 'm-pharm' => array( 'page_heading' => 'M.pharm(Masters in Pharmacy)' ), 'd-voc-1' => array( 'page_heading' => 'Diploma in Vocation (D.Voc) – 1-Year Program' ), 'prospectus' => array( 'page_heading' => 'Prospectus' ), 'gallery' => array( 'page_heading' => 'Gallery' ), 'infrastructure' => array( 'page_heading' => 'Infrastructure' ), 'course' => array( 'page_heading' => 'Course' ), 'method-subject' => array( 'page_heading' => 'Method Subject' ), 'fee-structure' => array( 'page_heading' => 'Fee Structure' ), 'mandatory-disclosure' => array( 'page_heading' => 'Mandatory Disclosure' ), 'contact' => array( 'page_heading' => 'Contact Us' ), 'notice' => array( 'page_heading' => 'Notice Board' ), 'affidavit' => array( 'page_heading' => 'Affidavit' ), 'affiliation' => array( 'page_heading' => 'Affiliation' ), 'b-ed' => array( 'page_heading' => 'B.ed Documents' ), // Add more pages here ); $page_heading2 = array( 'about' => array( 'page_heading2' => 'Shaping Skilled Paramedical Professionals' ), 'mission' => array( 'page_heading2' => 'Our Commitment to Excellence' ), 'vision' => array( 'page_heading2' => 'Shaping the Future of Pharmacy' ), 'principal-desk' => array( 'page_heading2' => 'Message from the Principal' ), 'chairman-desk' => array( 'page_heading2' => 'A Word from Our Chairman' ), 'govering-body' => array( 'page_heading2' => 'Leadership & Governance' ), 'classroom' => array( 'page_heading2' => 'Modern & Interactive Learning Spaces' ), 'library' => array( 'page_heading2' => 'A Treasure Trove of Knowledge' ), 'lab' => array( 'page_heading2' => 'Hands-on Learning in Advanced Labs' ), 'hostel' => array( 'page_heading2' => 'Safe & Comfortable Student Accommodation' ), 'canteen' => array( 'page_heading2' => 'Delicious & Healthy Campus Dining' ), 'transportation' => array( 'page_heading2' => 'Seamless Connectivity for Students' ), 'placement' => array( 'page_heading2' => 'Launching Careers in Pharmacy' ), 'd-voc-3' => array( 'page_heading2' => 'Diploma in Vocation (D.Voc) – 3-Year Program' ), 'b-optom' => array( 'page_heading2' => 'B.Optom(Bachelor of Optometry)' ), 'm-pharm' => array( 'page_heading2' => 'M.Pharm (Master of Pharmacy)' ), 'd-voc-1' => array( 'page_heading2' => 'Diploma in Vocation (D.Voc) – 1-Year Program' ), 'prospectus' => array( 'page_heading2' => 'Your Guide to Bhumika Institute' ), 'gallery' => array( 'page_heading2' => 'Snapshots of Campus Life & Events' ), 'contact' => array( 'page_heading2' => 'Connect with Us – We’re Here to Help' ), 'notice' => array( 'page_heading2' => 'Important Admission Notice ' ), 'mandatory-disclosure' => array( 'page_heading2' => 'Mandatory Disclosure' ) ); $menu = [ // "Home" => "$base_url", "About Us" => [ "About Institute" => "about", "Mission" => "mission", "Vision" => "vision", // "Principal Desk" => "principal-desk", // "Chairman Desk" => "chairman-desk", // "Governing Body" => "govering-body", "Notice-Board" => "notice" ], "Facilities" => [ "Classroom" => "classroom", "Library" => "library", "LAB" => "lab", "Hostel" => "hostel", "Canteen" => "canteen", "Transportation" => "transportation", "Gallery" => "gallery" ], "Placement" => "placement", "Courses" => [ "Diploma in Vocation (D.Voc) – 3-Year Program" => "d-voc-3", "Diploma in Vocation (D.Voc) – 1-Year Program" => "d-voc-1", ], "Prospectus" => "prospectus", "Quick Links" => [ // "Pharmacy Council" => "https://www.pci.nic.in/", "MAKAUT" => "https://makautexam.net/", "WBSTVESD" => "https://sctvesd.wb.gov.in/", "Student Credit Card" => "https://wbscc.wb.gov.in/", "SVMCM Scholarship" => "https://svmcm.wb.gov.in/", "OIKASHREE Scholarship" => "https://wbmdfcscholarship.com/", "OASIS Scholarship" => "https://oasis.gov.in/", "National Scholarship" => "https://scholarships.gov.in/", "Vidyalakshmi Portal" => "https://www.vidyalakshmi.co.in/Students/", // "Mandatory-disclosure"=>"mandatory-disclosure", ], ]; $header_menu_special=array('text'=>'Contact Us','url'=>$base_url.'apply_now'); $pages_arr=[ ""=>"home", "about"=>"about", "mission"=>"about", "vision"=>"about", "principal-desk"=>"about", "chairman-desk"=>"about", "govering-body"=>"about", "notice"=>"about", "classroom"=>"facilities", "library"=>"facilities", "lab"=>"facilities", "hostel"=>"facilities", "canteen"=>"facilities", "transportation"=>"facilities", "placement"=>"others", "d-voc-3"=>"course", "b-optom"=>"course", "d-voc-1"=>"course", "m-pharm"=>"course", "prospectus"=>"others", "fee-structure"=>"course", "method-subject"=>"course", "mandatory-disclosure"=>"others", "contact"=>"others", "privacy_policy"=>"others", "infrastructure"=>"others", "gallery"=>"others", "syllabus"=>"others", "terms&condition"=>"others", "refund_policy"=>"others", "apply_now"=>"others", 'coming-soon'=>"others", ]; $footer_menues=[ 'Home'=>$base_url.'', 'About'=>$base_url.'about', 'courses'=>$base_url.'bscn', 'Contact-us'=>$base_url.'contact_us', 'Blog'=>$base_url.'', 'Terms & Condition'=>$base_url.'terms&condition', 'privacy & Policy'=>$base_url.'Privacy_Policy', 'refund policy'=>$base_url.'refund_policy', ]; $slides = [ [ 'image' => 'public/img/agnibina/banner_1.webp', 'caption' => 'It is the mission of our educational institution to provide a nurturing environment for the students. We aim to transform the youngsters through sound academic education with a distinct worldview.', // 'caption2'=>'Education is the best key success in life', 'title' => 'WELCOME TO', 'title1' => 'AGNIBINA SCHOOL OF PHARMACY', ], [ 'image' => 'public/img/agnibina/banner_2.webp', 'caption' => 'It is the mission of our educational institution to provide a nurturing environment for the students. We aim to transform the youngsters through sound academic education with a distinct worldview.', // 'caption2'=>'Education is the best key success in life', 'title' => 'YOUR FUTURE BEGINS AT OUR ', 'title1' => 'AGNIBINA SCHOOL OF PHARMACY', ], [ 'image' => 'public/img/agnibina/banner_3.webp', 'caption' => 'It is the mission of our educational institution to provide a nurturing environment for the students. We aim to transform the youngsters through sound academic education with a distinct worldview.', // 'caption2'=>'Education is the best key success in life', 'title' => 'START YOUR FUTURE AT', 'title1' => 'AGNIBINA SCHOOL OF PHARMACY', ], ]; // gallery page $image_urls = array( "public/new-assets/img/bhumika-img/gallery/1.png", "public/new-assets/img/bhumika-img/gallery/2.png", "public/new-assets/img/bhumika-img/gallery/3.png", "public/new-assets/img/bhumika-img/gallery/4.png", "public/new-assets/img/bhumika-img/gallery/5.png", "public/new-assets/img/bhumika-img/gallery/6.png", "public/new-assets/img/bhumika-img/gallery/7.png", "public/new-assets/img/bhumika-img/gallery/1.png", "public/new-assets/img/bhumika-img/gallery/1.png", "public/new-assets/img/bhumika-img/gallery/2.png", "public/new-assets/img/bhumika-img/gallery/3.png", "public/new-assets/img/bhumika-img/gallery/4.png", "public/new-assets/img/bhumika-img/gallery/5.png", "public/new-assets/img/bhumika-img/gallery/6.png", "public/new-assets/img/bhumika-img/gallery/7.png", "public/new-assets/img/bhumika-img/gallery/1.png", // "public/new-assets/gallery/gal12.jpg", ); // gallery page $image_urls1 = array( "public/new-assets/img/bhumika-img/gallery/1.png", "public/new-assets/img/bhumika-img/gallery/2.png", "public/new-assets/img/bhumika-img/gallery/3.png", "public/new-assets/img/bhumika-img/gallery/4.png", "public/new-assets/img/bhumika-img/gallery/5.png", "public/new-assets/img/bhumika-img/gallery/6.png", "public/new-assets/img/bhumika-img/gallery/7.png", "public/new-assets/img/bhumika-img/gallery/1.png", // "public/new-assets/gallery/gal12.jpg", ); //Meta data $page_meta=[ "contact-us"=>array( "title"=>"Contact Us", "page_heading"=>"Contact Us" ), "rules-regulation"=>array( "title"=>"Rules-regulation", "page_heading"=>"Rules-regulation" ), "fee-structure"=>array( "title"=>"Fee Structure", "page_heading"=>"Fee Structure" ), "admission"=>array( "title"=>"Admission 2024", "page_heading"=>"Admission" ), "curriculum"=>array( "title"=>"Curriculum", "page_heading"=>"Curriculum" ), "mission-vision"=>array( "title"=>"Mission & Vision", "page_heading"=>"Mission & Vision" ), "management"=>array( "title"=>"Managing Director Message", "page_heading"=>"Director Message" ), "courses"=>array( "title"=>"Courses", "page_heading"=>"Courses" ), "classinfrastructure"=>array( "title"=>"Infrastructure", "page_heading"=>"Infrastructure" ), "gallery"=>array( "title"=>"GPS Gallery", "page_heading"=>"GPS Gallery" ), "mandatory-disclosure"=>array( "title"=>"Mandatory Disclosure", "page_heading"=>"Mandatory Disclosure" ), "terms-conditions"=>array( "title"=>"Terms & Conditions", "page_heading"=>"Terms & Conditions" ), "privacy-policy"=>array( "title"=>"Privacy Policy", "page_heading"=>"Privacy Policy" ), "school-activities"=>array( "title"=>"School Activities", "page_heading"=>"School Activities" ), "school-house"=>array( "title"=>"School House", "page_heading"=>"School House" ), "information"=>array( "title"=>"About-us", "page_heading"=>"Information" ), "students-details"=>array( "title"=>"Student-details", "page_heading"=>"Student-details" ), "examination"=>array( "title"=>"Examination", "page_heading"=>"Examination" ), "syllabus"=>array( "title"=>"Syallabus", "page_heading"=>"Syallabus" ), "result"=>array( "title"=>"Result", "page_heading"=>"Result" ), "faculty"=>array( "title"=>"Faculty", "page_heading"=>"Faculty" ), "house-event"=>array( "title"=>"House-event", "page_heading"=>"House-event" ), "celebration"=>array( "title"=>"Celebration Blog", "page_heading"=>"Celebration" ), "project"=>array( "title"=>"Project", "page_heading"=>"School Project" ), "excursion"=>array( "title"=>"Excursion", "page_heading"=>"School Excursion" ), "laboratory"=>array( "title"=>"Laboratory", "page_heading"=>"School Laboratory" ), "digital-classroom"=>array( "title"=>"digital-classroom", "page_heading"=>"digital-classroom" ), "about-us"=>array( "title"=>"About-us", "page_heading"=>"About-Us" ) ]; $page_keywords=[ "home"=>"paramedical college, paramedical college in kolkata, paramedical colleges near me, paramedical college in west bengal, paramedical course fees in private colleges, best paramedical college in india, paramedical college list, paramedical courses colleges, paramedical courses, paramedical courses list, paramedical courses after 12th, paramedical courses after 10th, best paramedical courses", "about"=>"paramedical college, paramedical college in kolkata, paramedical colleges near me, paramedical college in west bengal, paramedical course fees in private colleges, best paramedical college in india, paramedical college list, paramedical courses colleges, paramedical courses, paramedical courses list, paramedical courses after 12th, paramedical courses after 10th, best paramedical courses", "mission"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "vision"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "notice"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "classroom"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "library"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "lab"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "hostel"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "canteen"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "transportation"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "gallery"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "placement"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "d-voc-3"=>"D voc course details, best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "d-voc-1"=>"D voc course details, best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "prospectus"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses", "contact"=>"best paramedical college in kolkata, best private paramedical college in kolkata, best paramedical college and hospital in kolkata, paramedical colleges near me, paramedical college, private paramedical colleges, private paramedical college in wb, diploma in vocation courses" ]; $page_description=[ "home"=>"Join Bhumika Institute, one of the Best Paramedical Colleges in Kolkata, for D.Voc healthcare programs with modern labs and expert faculty. Join us now!", "about"=>"$site_short_name is the best paramedical college in Kolkata, offering 1-year and 3-year vocational diploma programs (D.Voc) in healthcare. Start your career today!", "mission"=>"Bhumika Institute is committed to training ethical, skilled healthcare professionals through quality education, innovation, and hands-on experience.", "vision"=>"Bhumika Institute envisions becoming a leader in healthcare education, empowering students to transform communities with skill, care, and innovation.", "notice"=>"Stay updated with the latest announcements, exam schedules, admission dates, and student notices from Bhumika Institute. Check back regularly.", "classroom"=>"Bhumika Institute offers well-equipped, smart classrooms designed to enhance learning with interactive teaching methods and hands-on training.", "library"=>"The Bhumika Institute Library offers a rich collection of medical books, journals, and digital resources to support student learning and research.", "lab"=>"Bhumika Institute features modern labs for hands-on training in radiology, dialysis, physiotherapy, and more, ensuring practical healthcare skills.", "hostel"=>"Bhumika Institute provides secure, hygienic, and comfortable hostel facilities with modern amenities to support a focused and peaceful student life.", "canteen"=>"The Bhumika Institute canteen offers nutritious, hygienic, and affordable meals in a clean environment to keep students healthy and energized.", "transportation"=>"Bhumika Institute offers safe, reliable transport services for students and staff, ensuring easy access to and from the campus across key locations.", "gallery"=>"Explore the Bhumika Institute gallery featuring campus life, academic events, workshops, and student activities captured in vibrant, memorable moments.", "placement"=>"Bhumika Institute offers strong placement support, industry tie-ups, and career guidance to help students secure jobs in top healthcare organizations.", "d-voc-3"=>"Bhumika Institute’s 3-Year D.Voc program after 10th offers in-depth training in Radiology, Dialysis, OT Tech, Lab Tech & more for a healthcare career.", "d-voc-1"=>"Join Bhumika Institute’s 1-Year D.Voc program after 12th in fields like Medical Equipment, Radiology, OT Tech & more for quick entry into healthcare jobs.", "prospectus"=>"Uncover the Bhumika Institute Prospectus for North 24 Parganas. Get insights into courses, faculty, and campus life to make informed educational choices.", "contact"=>"Connect with Bhumika Institute for inquiries and support. Our dedicated team is here to assist you with all your educational needs and questions." ]; $galleries = [ ['src' => 'public/new-assets/gallery/gal15.jpg', 'caption' => 'Fest 2024'], ['src' => 'public/new-assets/gallery/gal16.jpg', 'caption' => 'Fest 2024'], ['src' => 'public/new-assets/gallery/gal17.jpg', 'caption' => 'Laboratory'], ['src' => 'public/new-assets/gallery/gal18.jpg', 'caption' => 'Laboratory'], ['src' => 'public/new-assets/gallery/gal20.png', 'caption' => 'Fest 2024'], ['src' => 'public/new-assets/gallery/gal12.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal10.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal14.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal2.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal3.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal4.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal5.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal6.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal7.jpg', 'caption' => 'Campus'], ['src' => 'public/new-assets/gallery/gal8.jpg', 'caption' => 'Campus'], ]; //Meta data $styles=[ // "public/css/bootstrap.min.css"=>"prefetch", // "public/css/animate.min.css"=>"prefetch", // "public/css/magnific-popup.css"=>"prefetch", // "public/fontawesome/css/all.min.css"=>"prefetch", // "public/css/dripicons.css"=>"prefetch", // "public/css/meanmenu.css"=>"prefetch", // "public/css/default.css"=>"prefetch", // "public/css/style.css"=>"prefetch", // "public/css/custom.css"=>"prefetch", // "public/css/responsive.css"=>"prefetch" ]; $scripts=[ // "public/vendors/bootstrap/js/bootstrap.min.js" ]; if(empty($lastUriSegment)){ array_push($scripts, "public/vendors/rev-slider/js/jquery.themepunch.tools.min.js", "public/vendors/rev-slider/js/jquery.themepunch.revolution.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.actions.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.carousel.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.kenburn.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.layeranimation.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.migration.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.navigation.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.parallax.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.slideanims.min.js", "public/vendors/rev-slider/js/extensions/extensionsrevolution.extension.video.min.js", "public/js/rev-slider.js"); } function getUrl () { if (!isset($_SERVER['REQUEST_URI'])) { $url = $_SERVER['REQUEST_URI']; } else { $url = $_SERVER['SCRIPT_NAME']; $url .= (!empty($_SERVER['QUERY_STRING']))? '?' . $_SERVER[ 'QUERY_STRING' ] : ''; } return $url; } //getUrl gets the queried page with query string function cache ($buffer) { //page's content is $buffer $url = getUrl(); $filename = md5($url) . '.cache'; $data = time() . '¦' . $buffer; $filew = fopen("cache/" . $filename, 'w'); fwrite($filew, $data); fclose($filew); return $buffer; } function display () { $url = getUrl(); $filename = md5($url) . '.cache'; if (!file_exists("/cache/" . $filename)) { return false; } $filer = fopen("cache/" . $filename, 'r'); $data = fread($filer, filesize("cache/" . $filename)); fclose($filer); $content = explode('¦', $data, 2); if (count($content)!= 2 OR !is_numeric($content['0'])) { return false; } if (time()-(100) > $content['0']) { // 100 is the cache time here!!! return false; } echo $content['1']; die(); } ?>