ncd200 Posted September 2, 2016 Report Posted September 2, 2016 (edited) after many hours of searching and trying things I cant seem to fix this. I have created a template from a free html template, the template itself works like a charm. Only, when i go to the schedules i allready see there is an error because the flight search is listed instead of shown correctly. I am using the phpvms 5.5 My layout.php has many jquery in it. When i remove them the template does not work anymore. Those jquery's are in the top and in the end footer section. all related to the JS folder within the skin itself. Is here anybody that can see any errors? The template is running on: http://www.budgetair-va.com The layout is shown below. <!doctype html> <head> <script type="text/javascript" src="//cdn.jsdelivr.net/cookie-bar/1/cookiebar-latest.min.js?tracking=1&thirdparty=1&showNoConsent=1&privacyPage=http%3A%2F%2Fbudgetair-va.com%2Findex.php%2Fpages%2Fcookie"></script> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title><?php echo $page_title; ?></title> <?php echo $page_htmlhead; ?> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="apple-touch-icon.png"> <!--[if lt IE 9]> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/html5shiv.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/respond.min.js"></script> <![endif]--> <!-- Place favicon.ico in the root directory --> <link href='https://fonts.google...ato:400,300,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/normalize.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/main.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/bootstrap.min.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/font-awesome.min.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/owl.carousel.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/responsive.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/style.css"> </head> <body > <?php echo $page_htmlreq; ?> <!-- start preloader --> <div id="loader-wrapper"> <div class="logo"></div> <div id="loader"> </div> </div> <!-- end preloader --> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.c...y.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <!-- Start Header Section --> <header class="main_menu_sec navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-12"> <div class="lft_hd"> <a href="index.html"><img src="<?php echo SITE_URL?>/lib/skins/budgetair/img/logo.png" alt=""/></a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-12"> <div class="rgt_hd"> <div class="main_menu"> <nav id="nav_menu"> <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div id="navbar"> <ul> <li><a class="page-scroll" href="<?php echo SITE_URL?>">Home</a></li> <li><a href="#">Our Another Page <i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="#tm_sec">Our Team</a></li> <li><a class="page-scroll" href="#tstm_sec">Our Testimonial</a></li> <li><a class="page-scroll" href="#lts_sec">Our Latest Blog</a></li> <li><a class="page-scroll" href="#pricing_sec">Pricing</a></li> <li><a class="page-scroll" href="#clt_sec">Our Happy Client</a></li> </ul> </li> <li><a href="#">Static Page<i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="blog.html">Blog Page</a></li> <li><a class="page-scroll" href="single.html">Single Blog Page</a></li> </ul> </li> <li><a class="page-scroll" href="#abt_sec">About</a></li> <li><a class="page-scroll" href="#skill_sec">Our Skill</a></li> <li><a class="page-scroll" href="#pr_sec">Our Service</a></li> <li><a class="page-scroll" href="#protfolio_sec">Our Portfolio</a></li> <li><a class="page-scroll" href="#ctn_sec">Contact Us</a></li> </ul> </div> </nav> </div> </div> </div> </div> </div> </header> <!-- End Header Section --> <br> <br> <br> <?php echo $page_content;?> <br> <!-- start content Section --> <!-- End content map Section --> <!-- start footer Section --> <footer id="ft_sec"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="ft"> <ul> <li><a href=""><i class="fa fa-facebook"></i></a></li> <li><a href=""><i class="fa fa-twitter"></i></a></li> <li><a href=""><i class="fa fa-dribbble"></i></a></li> <li><a href=""><i class="fa fa-rss"></i></a></li> <li><a href=""><i class="fa fa-flickr"></i></a></li> <li><a href=""><i class="fa fa-pinterest"></i></a></li> <li><a href=""><i class="fa fa-linkedin"></i></a></li> <li><a href=""><i class="fa fa-skype"></i></a></li> <li><a href=""><i class="fa fa-google"></i></a></li> </ul> </div> <ul class="copy_right"> <li>©Sima 2015</li> <li>developer by md. shiddikur rahman</li> </ul> </div> </div> </div> </footer> <!-- End footer Section --> <script type="text/javascript" src="http://code.jquery.c...n.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/vendor/jquery-1.11.2.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/isotope.pkgd.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/bootstrap.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery-ui.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/appear.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.counterup.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/waypoints.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/owl.carousel.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/showHide.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.nicescroll.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.easing.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/scrolling-nav.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/plugins.js"></script> <!-- Google Map js --> <script src="https://maps.googlea...i/js"></script> <script> function initialize() { var mapOptions = { zoom: 14, scrollwheel: false, center: new google.maps.LatLng(41.092586000000000000, -75.592688599999970000) }; var map = new google.maps.Map(document.getElementById('googleMap'), mapOptions); var marker = new google.maps.Marker({ position: map.getCenter(), animation:google.maps.Animation.BOUNCE, icon: 'img/map-marker.png', map: map }); } google.maps.event.addDomListener(window, 'load', initialize); </script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/main.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair//js/showHide.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $('.show_hide').showHide({ speed: 1000, // speed you want the toggle to happen easing: '', // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI changeText: 1, // if you dont want the button text to change, set this to 0 showText: 'View',// the button text to show when a div is closed hideText: 'Close' // the button text to show when a div is open }); }); </script> <script> jQuery(document).ready(function( $ ) { $('.counter').counterUp({ delay: 10, time: 1000 }); }); </script> <script> //Hide Overflow of Body on DOM Ready // $(document).ready(function(){ $("body").css("overflow", "hidden"); }); // Show Overflow of Body when Everything has Loaded $(window).load(function(){ $("body").css("overflow", "visible"); var nice=$('html').niceScroll({ cursorborder:"5", cursorcolor:"#00AFF0", cursorwidth:"3px", boxzoom:true, autohidemode:true }); }); </script> </body> </html> Allready thank you. Rick Edited September 3, 2016 by ncd200 Quote
flyalaska Posted September 2, 2016 Report Posted September 2, 2016 (edited) You most likely have your jquery in layout.php and in core_htmlhead.php. Remove it from layout.php and keep it in htmlhead.php. <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/vendor/jquery-1.11.2.min.js"></script> BTW, when I go to your link. It says that the domain is suspended. Edited September 2, 2016 by flyalaska Quote
ncd200 Posted September 2, 2016 Author Report Posted September 2, 2016 ok. very strange, when i click the link, it is working. I shall try it now about the fix option. Quote
ncd200 Posted September 2, 2016 Author Report Posted September 2, 2016 Ok, I have tried to remove it from the layout, that did not work, also I have removed it from the htmlhead, also that did not work. Any other options? Quote
flyalaska Posted September 2, 2016 Report Posted September 2, 2016 Ok, I have tried to remove it from the layout, that did not work, also I have removed it from the htmlhead, also that did not work. Any other options? So you have it in both files? That would be causing the conflict. Quote
ncd200 Posted September 2, 2016 Author Report Posted September 2, 2016 (edited) Yes, I've had it in both files, No removed it from the layout. Now it is: <!doctype html> <head> <script type="text/javascript" src="//cdn.jsdelivr.net/cookie-bar/1/cookiebar-latest.min.js?tracking=1&thirdparty=1&showNoConsent=1&privacyPage=http%3A%2F%2Fbudgetair-va.com%2Findex.php%2Fpages%2Fcookie"></script> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title><?php echo $page_title; ?></title> <?php echo $page_htmlhead; ?> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="apple-touch-icon.png"> <!--[if lt IE 9]> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/html5shiv.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/respond.min.js"></script> <![endif]--> <!-- Place favicon.ico in the root directory --> <link href='https://fonts.google...ato:400,300,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/normalize.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/main.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/bootstrap.min.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/font-awesome.min.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/owl.carousel.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/responsive.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/style.css"> </head> <body > <?php echo $page_htmlreq; ?> <!-- start preloader --> <div id="loader-wrapper"> <div class="logo"></div> <div id="loader"> </div> </div> <!-- end preloader --> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.c...y.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <!-- Start Header Section --> <header class="main_menu_sec navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-12"> <div class="lft_hd"> <a href="index.html"><img src="<?php echo SITE_URL?>/lib/skins/budgetair/img/logo.png" alt=""/></a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-12"> <div class="rgt_hd"> <div class="main_menu"> <nav id="nav_menu"> <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div id="navbar"> <ul> <li><a class="page-scroll" href="<?php echo SITE_URL?>">Home</a></li> <li><a href="#">Our Another Page <i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="<?php echo url('/schedules'); ?>">Schedules</a></li> <li><a class="page-scroll" href="#tstm_sec">Our Testimonial</a></li> <li><a class="page-scroll" href="#lts_sec">Our Latest Blog</a></li> <li><a class="page-scroll" href="#pricing_sec">Pricing</a></li> <li><a class="page-scroll" href="#clt_sec">Our Happy Client</a></li> </ul> </li> <li><a href="#">Static Page<i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="blog.html">Blog Page</a></li> <li><a class="page-scroll" href="single.html">Single Blog Page</a></li> </ul> </li> <li><a class="page-scroll" href="#abt_sec">About</a></li> <li><a class="page-scroll" href="#skill_sec">Our Skill</a></li> <li><a class="page-scroll" href="#pr_sec">Our Service</a></li> <li><a class="page-scroll" href="#protfolio_sec">Our Portfolio</a></li> <li><a class="page-scroll" href="#ctn_sec">Contact Us</a></li> </ul> </div> </nav> </div> </div> </div> </div> </div> </header> <!-- End Header Section --> <br> <br> <br> <br> <br> <?php echo $page_content;?> <!-- start content Section --> <!-- End content map Section --> <!-- start footer Section --> <footer id="ft_sec"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="ft"> <ul> <li><a href=""><i class="fa fa-facebook"></i></a></li> <li><a href=""><i class="fa fa-twitter"></i></a></li> <li><a href=""><i class="fa fa-dribbble"></i></a></li> <li><a href=""><i class="fa fa-rss"></i></a></li> <li><a href=""><i class="fa fa-flickr"></i></a></li> <li><a href=""><i class="fa fa-pinterest"></i></a></li> <li><a href=""><i class="fa fa-linkedin"></i></a></li> <li><a href=""><i class="fa fa-skype"></i></a></li> <li><a href=""><i class="fa fa-google"></i></a></li> </ul> </div> <ul class="copy_right"> <li>© 2016-<?php echo date("Y") ?> BudgetAir - All rights reserved.</li> <li>BudgetAir V.A. 'budgetair-va.com' does not operate any real aviation services and is a non-commercial organization. Any apperant advertisements and/or announcements are no effective or true offers. More information about 'virtual airlines' can be found <a href="https://en.wikipedia..._airline_(hobby)">here</a></li> </ul> </div> </div> </div> </footer> <!-- End footer Section --> <script type="text/javascript" src="http://code.jquery.c...n.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/isotope.pkgd.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/bootstrap.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery-ui.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/appear.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.counterup.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/waypoints.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/owl.carousel.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/showHide.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.nicescroll.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.easing.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/scrolling-nav.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/plugins.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/vendor/jquery-1.11.2.min.js"></script> <!-- Google Map js --> <script src="https://maps.googlea...i/js"></script> <script> function initialize() { var mapOptions = { zoom: 14, scrollwheel: false, center: new google.maps.LatLng(41.092586000000000000, -75.592688599999970000) }; var map = new google.maps.Map(document.getElementById('googleMap'), mapOptions); var marker = new google.maps.Marker({ position: map.getCenter(), animation:google.maps.Animation.BOUNCE, icon: 'img/map-marker.png', map: map }); } google.maps.event.addDomListener(window, 'load', initialize); </script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/main.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair//js/showHide.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $('.show_hide').showHide({ speed: 1000, // speed you want the toggle to happen easing: '', // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI changeText: 1, // if you dont want the button text to change, set this to 0 showText: 'View',// the button text to show when a div is closed hideText: 'Close' // the button text to show when a div is open }); }); </script> <script> jQuery(document).ready(function( $ ) { $('.counter').counterUp({ delay: 10, time: 1000 }); }); </script> <script> //Hide Overflow of Body on DOM Ready // $(document).ready(function(){ $("body").css("overflow", "hidden"); }); // Show Overflow of Body when Everything has Loaded $(window).load(function(){ $("body").css("overflow", "visible"); var nice=$('html').niceScroll({ cursorborder:"5", cursorcolor:"#00AFF0", cursorwidth:"3px", boxzoom:true, autohidemode:true }); }); </script> </body> </html> And still got the error Edited September 2, 2016 by ncd200 Quote
flyalaska Posted September 2, 2016 Report Posted September 2, 2016 I still cant access your site. Still pending. You must of just bought the domain. Quote
ncd200 Posted September 2, 2016 Author Report Posted September 2, 2016 Well the domain is allready older then a week., Maybe this helps. Click HERE Quote
flyalaska Posted September 2, 2016 Report Posted September 2, 2016 same, and tried it on multiple browsers. Quote
ncd200 Posted September 3, 2016 Author Report Posted September 3, 2016 I think i have found the problem. I forgot to do the ICANN verification. so it takes 24 hours for the site to be back online. Quote
ncd200 Posted September 3, 2016 Author Report Posted September 3, 2016 The site is accessable again. Quote
flyalaska Posted September 3, 2016 Report Posted September 3, 2016 (edited) You have three of the same jquery, just with different versions. That is what is most likely causing the issue. <script type="text/javascript" src="http://budgetair-va.com/lib/js/jquery-1.3.1.min.js"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script> Edited September 3, 2016 by flyalaska Quote
ncd200 Posted September 3, 2016 Author Report Posted September 3, 2016 ok, if i delete jquiry lines from the layout, the site wont work anymore. So I have removed those 3 lines from the htmlhead. The site works only still the error. Any other options? Quote
flyalaska Posted September 3, 2016 Report Posted September 3, 2016 (edited) This is how I do it when I make skins and how I have it on my own site. Remove the duplicates from layout.php have these two in core_htmlhead.php You want no x.x.x/jquery.min.js or x.x.x/jquery-ui.min.js in layout.php. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> Put core_htmlhead.php in your skins folder. I did it like that, that got rid of the no routes passed issue I was having at the time. Edited September 3, 2016 by flyalaska Quote
ncd200 Posted September 3, 2016 Author Report Posted September 3, 2016 This is now my layout.php, <!doctype html> <head> <script type="text/javascript" src="//cdn.jsdelivr.net/cookie-bar/1/cookiebar-latest.min.js?tracking=1&thirdparty=1&showNoConsent=1&privacyPage=http%3A%2F%2Fbudgetair-va.com%2Findex.php%2Fpages%2Fcookie"></script> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title><?php echo $page_title; ?></title> <?php echo $page_htmlhead; ?> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="apple-touch-icon.png"> <!--[if lt IE 9]> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/html5shiv.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/respond.min.js"></script> <![endif]--> <!-- Place favicon.ico in the root directory --> <link href='https://fonts.googleapis.com/css?family=Lato:400,300,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/normalize.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/main.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/bootstrap.min.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/font-awesome.min.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/owl.carousel.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/responsive.css"> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/budgetair/css/style.css"> </head> <body > <?php echo $page_htmlreq; ?> <!-- start preloader --> <div id="loader-wrapper"> <div class="logo"></div> <div id="loader"> </div> </div> <!-- end preloader --> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <!-- Start Header Section --> <header class="main_menu_sec navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-3 col-sm-12"> <div class="lft_hd"> <a href="index.html"><img src="<?php echo SITE_URL?>/lib/skins/budgetair/img/logo.png" alt=""/></a> </div> </div> <div class="col-lg-9 col-md-9 col-sm-12"> <div class="rgt_hd"> <div class="main_menu"> <nav id="nav_menu"> <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div id="navbar"> <ul> <li><a class="page-scroll" href="<?php echo SITE_URL?>">Home</a></li> <li><a href="#">About us <i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="<?php echo url('/pages/about'); ?>">About us</a></li> <li><a class="page-scroll" href="<?php echo url('/staff'); ?>">Your staff</a></li> <li><a class="page-scroll" href="<?php echo url('/pilots');?>">Crew roster</a></li> <li><a class="page-scroll" href="<?php echo url('/rank');?>">Rank scheme</a></li> <li><a class="page-scroll" href="<?php echo url('/airlinemap');?>">Destinations</a></li> </ul> </li> <?php if(Auth::LoggedIn() == true){ ?> <li><a href="#">Operations<i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="<?php echo SITE_URL?>/index.php/logout">">Logout</a></li> <li><a class="page-scroll" href="<?php echo url('/schedules'); ?>">Schedules</a></li> <li><a class="page-scroll" href="<?php echo url('/pireps/mine');?>">Logbook(<?php echo $ab->count ;?> pending)</a></li> </ul> </li> <? } ?> <?php if(Auth::LoggedIn() == false){ ?> <li><a class="page-scroll" href="<?php echo SITE_URL?>/index.php/Login">Sign in</a></li> <? } ?> <?php if(Auth::LoggedIn() == true){ ?> <li><a href="<?php echo url('/profile');?>">Crew center</a></li> <? } ?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) {?> <li><a href="#">Management <i class="fa fa-angle-down"></i></a> <ul> <li><a class="page-scroll" href="<?php echo SITE_URL ?>/admin">Management system</a></li> <li><a class="page-scroll" href="<?php echo SITE_URL ?>/admin/index.php/pirepadmin/viewpending">Pending pireps</a></li> <li><a class="page-scroll" href="<?php echo SITE_URL ?>/admin/index.php/pilotadmin/pendingpilots">Pending Pilots (<?php echo count(PilotData::GetPendingPilots())?>)</a></li> </ul> </li> <?php } }?> </ul> </div> </nav> </div> </div> </div> </div> </div> </header> <!-- End Header Section --> <br> <br> <br> <br> <br> <?php echo $page_content;?> <!-- start content Section --> <!-- End content map Section --> <!-- start footer Section --> <footer id="ft_sec"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="ft"> <ul> <li><a href=""><i class="fa fa-facebook"></i></a></li> <li><a href=""><i class="fa fa-twitter"></i></a></li> <li><a href=""><i class="fa fa-dribbble"></i></a></li> <li><a href=""><i class="fa fa-rss"></i></a></li> <li><a href=""><i class="fa fa-flickr"></i></a></li> <li><a href=""><i class="fa fa-pinterest"></i></a></li> <li><a href=""><i class="fa fa-linkedin"></i></a></li> <li><a href=""><i class="fa fa-skype"></i></a></li> <li><a href=""><i class="fa fa-google"></i></a></li> </ul> </div> <ul class="copy_right"> <li>© 2016-<?php echo date("Y") ?> BudgetAir - All rights reserved.</li> <li>BudgetAir V.A. 'budgetair-va.com' does not operate any real aviation services and is a non-commercial organization. Any apperant advertisements and/or announcements are no effective or true offers. More information about 'virtual airlines' can be found <a href="https://en.wikipedia.org/wiki/Virtual_airline_(hobby)">here</a></li> </ul> </div> </div> </div> </footer> <!-- End footer Section --> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/isotope.pkgd.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/bootstrap.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery-ui.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/appear.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.counterup.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/waypoints.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/owl.carousel.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/showHide.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.nicescroll.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/jquery.easing.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/scrolling-nav.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/plugins.js"></script> <!-- Google Map js --> <script src="https://maps.googleapis.com/maps/api/js"></script> <script> function initialize() { var mapOptions = { zoom: 14, scrollwheel: false, center: new google.maps.LatLng(41.092586000000000000, -75.592688599999970000) }; var map = new google.maps.Map(document.getElementById('googleMap'), mapOptions); var marker = new google.maps.Marker({ position: map.getCenter(), animation:google.maps.Animation.BOUNCE, icon: 'img/map-marker.png', map: map }); } google.maps.event.addDomListener(window, 'load', initialize); </script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/main.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/budgetair/js/showHide.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $('.show_hide').showHide({ speed: 1000, // speed you want the toggle to happen easing: '', // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI changeText: 1, // if you dont want the button text to change, set this to 0 showText: 'View',// the button text to show when a div is closed hideText: 'Close' // the button text to show when a div is open }); }); </script> <script> jQuery(document).ready(function( $ ) { $('.counter').counterUp({ delay: 10, time: 1000 }); }); </script> <script> //Hide Overflow of Body on DOM Ready // $(document).ready(function(){ $("body").css("overflow", "hidden"); }); // Show Overflow of Body when Everything has Loaded $(window).load(function(){ $("body").css("overflow", "visible"); var nice=$('html').niceScroll({ cursorborder:"5", cursorcolor:"#00AFF0", cursorwidth:"3px", boxzoom:true, autohidemode:true }); }); </script> </body> </html> and this is now my core_htmlhead that is inside the skin folder. <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?><?php /** * STOP! HAMMER TIME! * * ====> READ THIS !!!!! * * I really really, REALLY suggest you don't edit this file. * Why? This is the "main header" file where I put changes for updates. * And you don't want to have to manually go through and figure those out. * * That equals headache for you, and headache for me to figure out what went wrong. * * BUT BUT WAIT, you say... I want to include more javascript, css, etc...! * Well - in your skin's header.tpl file, this file is included as: * * Template::Show('core_htmlhead.tpl'); * * Just add your stuff under that line there. That way, it's in the proper * spot, and this file stays intact for the system (and me) to be able to * make clean updates whenever needed. Less bugs = happy users (and happy me) * * THANKS! */ ?> <script type="text/javascript"> var baseurl = "<?php echo SITE_URL;?>"; </script> <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>" /> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDZbnheWksi7vMS6Aq5h6_vN9xO8BXvSXg&callback=initMap"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.form.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> <?php echo $MODULE_HEAD_INC; Also now there are errors. T see the error your self, I've created a test acount. Email : test@test.com PW: test123 Quote
flyalaska Posted September 3, 2016 Report Posted September 3, 2016 I can see before adding to bid, that there is an error. The links for the schedules shouldn't be stacked on top like that. I did notice when looking at your source, that you have <script type="text/javascript" src="http://budgetair-va.com/lib/js/jquery-1.3.1.min.js"> without the closing </script> Should be <script type="text/javascript" src="http://budgetair-va.com/lib/js/jquery-1.3.1.min.js"></script> Maybe that is the issue. Quote
ncd200 Posted September 3, 2016 Author Report Posted September 3, 2016 But I cant ind those lines in the layout or the htmlhead. I have tried to add it to the htmlhead, but also that wont work. Quote
ncd200 Posted September 3, 2016 Author Report Posted September 3, 2016 with all thanks to flyalaska, It is fixed. So flyalaska, thank you very much for the help. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.