Jump to content

ncd200

Members
  • Posts

    163
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ncd200

  1. when trying to search a flight I recieve the following error.

    How do I solve this?

    Quote

    Parse error: syntax error, unexpected '$route' (T_VARIABLE) in /home/silverwingsva/crew.silverwingsva.eu/core/templates/fbsv/schedule_results.php on line 118

     

  2. Hello,

    Today I have created my test template on an old domain with phpvms 5.5.

    The template worked but when i installed it on a new phpvms installation on my other domain the template wont work.

    The php version on bot domains are at 5.5 and also simpilot 5.5 versions are installed on both domains.

    Also the crystal template work like it should.

     

    Any ideas what could be wrong.

     

    The link is http://www.silverwingsva.eu

     

    Rick

    -->>Solved, it was asking for a module not yet installed<--

  3. Thank you for your answer. 

    I can link my acars data to you. That is no problem.

    Currently I am in the position that I can convert bootstrap 3 templates from html to phpvms. But I do use the tutorial given on this forum for it. I do modified css scripts so it can be used in a better way.

    PM me about the acars. Than we can get that working.

     

  4. Can anyone tell me if the templates I have created for the 5.5 version will work in the new upcoming phpvms3?

    Is there also a release date set. I want to wait opening my va till we have moved over to this version?

    Also I can help testing the system on a clean and empty space.

     

    Kindly regards.

    Rick 

  5. Hello,

    I want to manual submit pilot ranks So I have changed off the rank_auto_calculate to off.

    No I am wondering if there is a script that will warn all admins when a pilot is reaching the hours needed for promotion.

    Any help would be appreciated.

     

    Rick

  6. logo.png

    BudgetAir is a virtual airline focused on creating a fun & relaxed atmosphere for enthusiasts of Flight Simulation software in which they can enjoy their hobby.

    Many virtual airlines will be direct replicas of real world airlines, flag carriers and the like. They will be tied to the aircraft fleet, hubs and schedules of their real world counterparts.  Our operations here at the BudgetAir are based on real world scenarios but as we exist only here in the virtual world we are free to use, extend and explore the whole world, creating a fleet that serves the diverse preferences of our pilots, schedules that encompass the very best in available scenery and destinations that bring a mixture of both the serene and the challenging landing at the world`s largest and smallest airports.

    With a fleet already growing we pride ourselves in that our virtual airline is a dynamic organization, continually growing its service, hubs and new businesses bringing yet more opportunities and challenges for our community to enjoy.

    As a Management Team we will provide you with tools such as operational flight plans to go in all the various aircraft type Flight Management Computers, our ACARS pilot reporting system and a host of other tailor made downloads to make your flights with us "as real as it gets".


    The choice of when you fly, which flight you want to undertake and even how long you want to "pause" it due to real world interruptions, is entirely yours. This is a hobby and we want you to enjoy it your way so pause times or fly "from where you land" rules will never exist in BudgetAir!


    We pride ourselves in welcoming member pilots of every level and diverse flight simulator choice. Most of our pilots use Microsoft FSX or Prepar3D. Our crews are made up of "old hands" with thousands of hours FS experience to literal newcomers taking their first steps in this fascinating hobby. They all have real world aviation experience, and wants to help each other and simply enjoying the BudgetAir community.

    Visit us  here

     

    Rick Winkelman

    budgetair-va.com

     

  7. Hey Simpilot,

    I was wondering if it's possible to show the average landingrate for the year 2010 and for this year, 2011 ?

    All the best wishes by the way!!

    Regards

    Lucas

    When I want to show the airline average landing rate it only shows the text NaN.

    I use phpvms 5.5.

    Aoed anyobe know how to fix this?

    Rick

  8. I've had a system different then phpvms in the past which could do that.

    It was the same way as adding an airport. just press enter and it will find your requested route.

    I must search for it if I still has it somewhere.

    I will report back when found it.

    Rick

  9. in your skin folder you have a file called:" core_navigation.php" (or tpl if you are using an older version of phpvms.)

    Inside the core_navigation that line of text must be in the part where you want it to show.

    If you still wont know how to do it, I can do it for you. then you must send me a PM.

    Rick

  10. Hello,

    Again I cant find a module released here for free for the events.

    It is still present here on the forum, only it is not availabable anymore on the repository from github.

    Anyone still has the link?

    rick

  11. 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

×
×
  • Create New...