Jump to content

smurphy

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by smurphy

  1. schedule_results.tpl/.php file <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> <?php if(!$schedule_list) { echo '<p align="center">No routes have been found!</p>'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Flight Info</th> <th>Options</th> </tr> </thead> <tbody> <?php foreach($schedule_list as $schedule) { ?> <tr> <td> <a href="<?php echo url('/schedules/details/'.$schedule->id);?>"><?php echo $schedule->code . $schedule->flightnum?> <?php echo '('.$schedule->depicao.' - '.$schedule->arricao.')'?> </a> <br /> <strong>Departure: </strong><?php echo $schedule->deptime;?> <strong>Arrival: </strong><?php echo $schedule->arrtime;?><br /> <strong>Equipment: </strong><?php echo $schedule->aircraft; ?> (<?php echo $schedule->registration;?>) <strong>Distance: </strong><?php echo $schedule->distance . Config::Get('UNITS');?> <br /> <strong>Days Flown: </strong><?php echo Util::GetDaysCompact($schedule->daysofweek); ?><br /> <?php echo ($schedule->route=='') ? '' : '<strong>Route: </strong>'.$schedule->route.'<br />' ?> <?php echo ($schedule->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($schedule->notes).'<br />' ?> <?php # Note: this will only show if the above code to # skip the schedule is commented out if($schedule->bidid != 0) { echo 'This route has been bid on'; } ?> </td> <td nowrap> <a href="<?php echo url('/schedules/details/'.$schedule->id);?>">View Details</a><br /> <a href="<?php echo url('/schedules/brief/'.$schedule->id);?>">Pilot Brief</a><br /> <?php # Don't allow overlapping bids and a bid exists if(Config::Get('DISABLE_SCHED_ON_BID') == true && $schedule->bidid != 0) { ?> <a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo actionurl('/schedules/addbid/?id='.$schedule->id);?>">Add to Bid</a> <?php } else { if(Auth::LoggedIn()) { ?> <a id="<?php echo $schedule->id; ?>" class="addbid" href="<?php echo url('/schedules/addbid');?>">Add to Bid</a> <?php } } ?> </td> </tr> <?php /* END OF ONE TABLE ROW */ } ?> </tbody> </table> <hr>
  2. i not using any module for the schedule
  3. ok any idea where i can find the module please and help where to put it please
  4. having trouble with Schedules have clicking on add bid i get error was encountered and idea to solve this
  5. no idea what the issue was as i restore from saved backup from the hosting provider which sorted it
  6. i have manged to sort it by Site Backups and Restore
  7. i only thing as changed on the site me adding SimBrief which im still doing
  8. i have not contact them at all bout it yet i have check mysql all the data is there with the information for the Schedules & Pilots List
  9. Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery.min.js:48:120 SyntaxError: missing ) in parenthetical
  10. checked my local.config.php nothing has changed <?php /** * This is the phpVMS Main Configuration File * * This file won't be modified/touched by future versions * of phpVMS, you can change your settings here * * There may also be additional settings in app.config.php * To change it, copy the line into this file here, for the * settings to take effect * */ Config::Set('DEBUG_MODE', false); Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE); define('DBASE_USER', 'removed by servetas'); define('DBASE_PASS', 'removed by servetas'); define('DBASE_NAME', 'removed by servetas'); define('DBASE_SERVER', 'removed by servetas'); define('DBASE_TYPE', 'mysql'); define('TABLE_PREFIX', 'phpvms_'); define('SITE_URL', 'http://www.virtualbmi.co.uk'); # Page encoding options Config::Set('PAGE_ENCODING', 'ISO-8859-1'); # Clean URLs - set this to true, and then uncomment # the lines indicated in the .htaccess file Config::Set('URL_REWRITE', true); # Maintenance mode - this disables the site to non-admins Config::Set('MAINTENANCE_MODE', false); Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.'); /* Whether you have the /admin/maintenance.php script added into cron. If you do, set this to true. This saves many DB calls since phpVMS will have to 'fake' a cron-job */ Config::Set('USE_CRON', false); Config::Set('CHECK_RELEASE_VERSION', true); Config::Set('CHECK_BETA_VERSION', false); # See more details about these in the docs Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID Config::Set('UNITS', 'nm'); # Your units: nm, mi or km Config::Set('LOAD_FACTOR', '82'); # %age load factor Config::Set('CARGO_UNITS', 'lbs'); # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 40); # Automatically confirm pilots? Config::Set('PILOT_AUTO_CONFIRM', false); # Automatically calculate ranks? Config::Set('RANKS_AUTOCALCULATE', true); Config::Set('FUEL_GET_LIVE_PRICE', true); Config::Set('FUEL_DEFAULT_PRICE', '0..82'); Config::Set('FUEL_SURCHARGE', '1.0'); /* This is the unit of money. For non-dollars, use : Dollars ($), enter "$" Euro (�), enter "€" Yen (�), enter "¥" Pounds (�), enter "£ For example, to set EUROS: Config::Set('MONEY_UNIT', '£'); */ Config::Set('MONEY_UNIT', '£'); # For how many hours a pilot can edit their submitted PIREP (custom fields only) Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48'); # If someone places a bid, whether to disable that or not Config::Set('DISABLE_SCHED_ON_BID', true); Config::Set('DISABLE_BIDS_ON_BID', false); # If you want to count transfer hours in rank calculations Config::Set('TRANSFER_HOURS_IN_RANKS', false); # The StatsData::UserOnline() function - how many minutes to check Config::Set('USERS_ONLINE_TIME', 10); # Google Map Options Config::Set('MAP_WIDTH', '1100px'); Config::Set('MAP_HEIGHT', '500px'); # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP'); Config::Set('MAP_LINE_COLOR', '#ff0000'); Config::Set('MAP_CENTER_LAT', '52.187405'); Config::Set('MAP_CENTER_LNG', '-0.878906'); Config::Set('MAP_ZOOM_LEVEL', 139); # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 5); Config::Set('ACARS_DEBUG', false); # This is your airline's twitter account, if it exists Config::Set('TWITTER_AIRLINE_ACCOUNT', ''); Config::Set('TWITTER_ENABLE_PUSH', false); Config::Set('TWITTER_CONSUMER_KEY', ''); Config::Set('TWITTER_CONSUMER_SECRET', ''); Config::Set('TWITTER_OAUTH_TOKEN', ''); Config::Set('TWITTER_OAUTH_SECRET', ''); Config::Set('PHPVMS_API_SERVER', 'http://apidev.phpvms.net'); Config::Set('VACENTRAL_ENABLED', true); Config::Set('VACENTRAL_API_SERVER', 'http://api.vacentral.net'); Config::Set('VACENTRAL_API_KEY', '3b9c4e77b37bf3c1959be7e220003b25'); Config::Set('VACENTRAL_DEBUG_MODE', false); Config::Set('VACENTRAL_DEBUG_DETAIL', 2); /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', '6LfyewUTAAAAADrPyFFV3lXIhKzwjm7p1MlrJmfP'); Config::Set('RECAPTCHA_PRIVATE_KEY', '6LfyewUTAAAAAPmG7_ccIZ6V_cPfpwn6eF15MyJm');
  11. getting blank pages when i view them any idea how resolve the problem
  12. Accepting Pilot and Staff applications We have several management and staff vacancies available, if you think you have what we are looking for, if you have current or past experience with the phpVMS system, then we want to hear. email the CEO, ceo@virtualbmi.co.uk http://www.virtualbmi.co.uk
  13. thanks is there a way i can disable
  14. the live map page is repeating the column name instead of the data I've tried the stock unmodified file and it is the same
  15. you can ask sava has it helped me doing mine www.savamarkovic.com
  16. Welcome to BMI virtual virtualbmi Welcome to BMI Virtual Airlines! Our Virtual Airline is based in London, Manchester and Birmingham UK. We are a flight simulator based virtual airline for online flight simulation. We use an advanced PIREP system that has an online flight tracker, realistic fleet scheduling and dispatch center
×
×
  • Create New...