Jump to content

LanceDesigns

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by LanceDesigns

  1. You dont have five pilots yet. And, the problem can be caused by you having a free host
  2. You probably dont have5 pilots yet. Link me to your site
  3. View Blog post here: http://lancedesign.org/en/lance-designs/lance-free-phpvms-skin-released/
  4. View Blog post here: http://lancedesign.org/en/lance-designs/lance-free-phpvms-skin-released/
  5. Enjoy the template? Like us on Facebook https://www.facebook...LanceDesign.org Lance Designs has officially released their best phpVMS skin titled "lance"! Lance features a 100% custom coded interface built utilizing the bootflat UI kit. It features a full drop-down menu which compatible with phpVMS. Feel free to check out the demo and download and install it! If you have any questions, feel free to comment! VIEW PHOTOS HERE: http://s1341.photobucket.com/user/Chris_Gartrell/library/ Features: Fully customized pages modern nav-bar featuring drop-down menus Completed Pilots Center Full frontpage Slideshow Easy Installation Easily customizable Different Color options to be released soon LIVE PREVIEW: http://lancedesign.org/demo/index.php Login: demo@demo.com Password: demo11 Download: http://lancedesign.o...nload/lance.zip How to Install 1. UNZIP LANCE.ZIP 2. UPLOAD "lance†TO PUBLIC_HTML/LIB/SKINS/ 3. GO TO PHPVMS ADMIN CENTER 4. AT THE BOTTOM, CLICK “GENERAL SETTINGS†5. WHERE IT SAYS “CURRENT SKINâ€, SELECT “lance†6. CHECK YOUR HOMEPAGE, THE SITE SHOULD BE ACTIVE Thank you all for downloading! Because it is a one man team on this project, there might be errors. Please comment below if you encounter any problems
  6. Enjoy the template? Like us on Facebook https://www.facebook.com/LanceDesign.org Lance Designs has officially released their best phpVMS skin titled "lance"! Lance features a 100% custom coded interface built utilizing the bootflat UI kit. It features a full drop-down menu which compatible with phpVMS. Feel free to check out the demo and download and install it! If you have any questions, feel free to comment! Features: Fully customized pages modern nav-bar featuring drop-down menus Completed Pilots Center Full frontpage Slideshow Easy Installation Easily customizable Different Color options to be released soon LIVE PREVIEW: http://lancedesign.org/demo/index.php Login: demo@demo.com Password: demo11 Download: http://lancedesign.org/download/lance.zip How to Install 1. UNZIP LANCE.ZIP 2. UPLOAD "lance†TO PUBLIC_HTML/LIB/SKINS/ 3. GO TO PHPVMS ADMIN CENTER 4. AT THE BOTTOM, CLICK “GENERAL SETTINGS†5. WHERE IT SAYS “CURRENT SKINâ€, SELECT “lance†6. CHECK YOUR HOMEPAGE, THE SITE SHOULD BE ACTIVE Thank you all for downloading! Because it is a one man team on this project, there might be errors. Please comment below if you encounter any problems
  7. Thank you all! Vangelis and Levicosta201, would you mind me shooting you over a PM and getting your email so we can talk more? I wouldnt want to clog up the forums. Thank you!
  8. http://lancedesign.org/cloud.php
  9. Hello All, I was wondering how I should go about integrating the PHPvms login system with a C# program. Yes, I have googled and I am not exactly sure what to do. No, I do not want to hear people telling me to abandon my project because I am not a master at C#. Any help would be greatly appreciated!
  10. Thank god I only used the grid system and the buttons
  11. I can release another version that has dropdown menus if you like!
  12. Lance Designs just released a free phpVMS template called "Flight" Well here it is, Lance Design's first FREE PHPvms template! This template comes with a fully customized front page, live stats board, recent flights board, and live acars map. Take advantage of having this brand new (2015) template for use in your virtual airline. Included is the frontpage_main.tpl, layout.tpl, and even a free about/staff page named about.tpl Live Preview: http://lancedesign.org/flight/index.html Download: http://lancedesign.weebly.com/blog/flight-free-phpvms-template-by-lance-designs Thank you and I hope you all enjoy! -Chris Gartrell
  13. Lance Designs just released a free phpVMS template called "Flight" Well here it is, Lance Design's first FREE PHPvms template! This template comes with a fully customized front page, live stats board, recent flights board, and live acars map. Take advantage of having this brand new (2015) template for use in your virtual airline. Included is the frontpage_main.tpl, layout.tpl, and even a free about/staff page named about.tpl Live Preview: http://lancedesign.org/flight/index.html Download: http://lancedesign.weebly.com/blog/flight-free-phpvms-template-by-lance-designs Thank you and I hope you all enjoy! -Chris Gartrell
  14. Hello Guys, I need to be able to run two phpvms installations at the same times. Basically, I want to have the PHPvms installation at crew.flyvawe.com to be connected with the installation at http://flyvawe.com/us/index.php . I already have the content connected, the problem arises with the skins. Whenever I access the admin panel from http://flyvawe.com/us/index.php, it automatically goes directly to crew.flyvawe.com/admin. I need to be able to run two different skins on the different sub domains. How can I do this? Any help would be appreciated! Thank you all!
  15. Chase, Thanks for Commenting on the post. I am actually not running that version PHPvms. I am running the extended version. Here is my Schedulesdata.class.php: http://pastebin.com/VDd72pWT
  16. If I do that, the search form does not appear. Is there a way I can limit the amount of schedules that are returned instead?
  17. Yea, Here it is: <?php /** * phpVMS - Virtual Airline Administration Software * Copyright © 2008 Nabeel Shahzad * For more information, visit www.phpvms.net * Forums: http://www.phpvms.net/forum * Documentation: http://www.phpvms.net/docs * * phpVMS is licenced under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * View license.txt in the root, or visit http://creativecommo...s/by-nc-sa/3.0/ * * @author Nabeel Shahzad * @copyright Copyright © 2008, Nabeel Shahzad * @link http://www.phpvms.net * @license http://creativecommo...s/by-nc-sa/3.0/ */ class Schedules extends CodonModule { /** * Schedules::index() * * @return */ public function index() { $this->view(); } /** * Schedules::view() * * @return */ public function view() { if (isset($this->post->action) && $this->post->action == 'findflight') { $this->FindFlight(); return; } $this->showSchedules(); } /** * Schedules::detail() * * @param string $routeid * @return */ public function detail($routeid = '') { $this->details($routeid); } /** * Schedules::details() * * @param string $routeid * @return */ public function details($routeid = '') { //$routeid = $this->get->id; if (!is_numeric($routeid)) { preg_match('/^([A-Za-z]{3})(\d*)/', $routeid, $matches); $code = $matches[1]; $flightnum = $matches[2]; $params = array('s.code' => $code, 's.flightnum' => $flightnum); } else { $params = array('s.id' => $routeid); } $schedule = SchedulesData::getScheduleDetailed($routeid); $this->set('schedule', $schedule); $this->render('schedule_details.tpl'); $this->render('route_map.tpl'); } /** * Schedules::brief() * * @param string $routeid * @return */ public function brief($routeid = '') { if ($routeid == '') { $this->set('message', 'You must be logged in to access this feature!'); $this->render('core_error.tpl'); return; } $schedule = SchedulesData::getScheduleDetailed($routeid); $this->set('schedule', $schedule); $this->render('schedule_briefing.tpl'); } /** * Schedules::boardingpass() * * @param mixed $routeid * @return */ public function boardingpass($routeid) { if ($routeid == '') { $this->set('message', 'You must be logged in to access this feature!'); $this->render('core_error.tpl'); return; } $schedule = SchedulesData::getScheduleDetailed($routeid); $this->set('schedule', $schedule); $this->render('schedule_boarding_pass.tpl'); } /** * Schedules::bids() * * @return */ public function bids() { if (!Auth::LoggedIn()) return; $this->set('bids', SchedulesData::GetBids(Auth::$pilot->pilotid)); $this->render('schedule_bids.tpl'); } /** * Schedules::addbid() * * @return */ public function addbid() { if (!Auth::LoggedIn()) return; $routeid = $this->get->id; if ($routeid == '') { echo 'No route passed'; return; } // See if this is a valid route $route = SchedulesData::findSchedules(array('s.id' => $routeid)); if (!is_array($route) && !isset($route[0])) { echo 'Invalid Route'; return; } CodonEvent::Dispatch('bid_preadd', 'Schedules', $routeid); /* Block any other bids if they've already made a bid */ if (Config::Get('DISABLE_BIDS_ON_BID') == true) { $bids = SchedulesData::getBids(Auth::$pilot->pilotid); # They've got somethin goin on if (count($bids) > 0) { echo 'Bid exists!'; return; } } $ret = SchedulesData::AddBid(Auth::$pilot->pilotid, $routeid); CodonEvent::Dispatch('bid_added', 'Schedules', $routeid); if ($ret == true) { echo 'Bid added'; } else { echo 'Already in bids!'; } } /** * Schedules::removebid() * * @return */ public function removebid() { if (!Auth::LoggedIn()) return; SchedulesData::RemoveBid($this->post->id); } /** * Schedules::showSchedules() * * @return */ public function showSchedules() { $depapts = OperationsData::GetAllAirports(); $equip = OperationsData::GetAllAircraftSearchList(true); $airlines = OperationsData::GetAllAirlines(); $this->set('airlines', $airlines); #deprecated $this->set('airline_list', $airlines); $this->set('depairports', $depapts); $this->set('equipment', $equip); # deprecated $this->set('aircraft_list', $equip); $this->render('schedule_searchform.tpl'); # Show the routes. Remote this to not show them. $schedules = SchedulesData::getSchedules(); # Do some filtering and whatnots, take it out of the template... $today = getdate(); $week_number = intval(($today['mday'] - 1) / 7) + 1; $current_day == date('w'); $var_name = 'week'.$week_number; # query once, save for later if(Config::get('SCHEDULES_ONLY_LAST_PIREP') === true && Auth::LoggedIn() == true) { $pirep_list = PIREPData::findPIREPS(array( 'p.pilotid' => Auth::$pilot->pilotid, 'p.accepted' => PIREP_ACCEPTED ), 1); // return only one } foreach($schedules as $key => $s) { # should we skip schedules based on day of week? if(Config::get('CHECK_SCHEDULE_DAY_OF_WEEK') === true) { if(isset($s->{$var_name}) && !empty($s->{$var_name})) { # check if today is in the active list for this week if(@substr_count($s->{$var_name}, $current_day) == 0) { unset($schedules[$key]); continue; } } else { if(substr_count($s->daysofweek, date('w')) == 0) { unset($schedules[$key]); continue; } } } # remove this schedule from the list if there's a bid on it if(Config::get('DISABLE_SCHED_ON_BID') === true && $route->bidid != 0) { unset($schedules[$key]); continue; } /* This means the aircraft rank level is higher than what the pilot's ranklevel, so just do "continue" and move onto the next route in the list */ if(Config::get('RESTRICT_AIRCRAFT_RANKS') === true && Auth::LoggedIn()) { if($route->aircraftlevel > Auth::$pilot->ranklevel) { unset($schedules[$key]); continue; } } if(Config::get('SCHEDULES_ONLY_LAST_PIREP') === true && Auth::LoggedIn() == true) { if(count($pirep_list) > 0) { # IF the arrival airport doesn't match the departure airport if($pirep_list[0]->arricao != $s->depicao) { unset($schedules[$key]); continue; } } } } // end foreach schedules $this->set('allroutes', $schedules); $this->set('schedule_list', $schedules); $this->render('schedule_list.tpl'); } /** * Schedules::findFlight() * * @return */ public function findFlight() { $params = array(); if($this->post->airlines != '') { $params['s.code'] = $this->post->airlines; } if ($this->post->depicao != '') { $params['s.depicao'] = $this->post->depicao; } if ($this->post->arricao != '') { $params['s.arricao'] = $this->post->arricao; } if ($this->post->equipment != '') { $params['a.name'] = $this->post->equipment; } if ($this->post->distance != '') { if ($this->post->type == 'greater') $value = '> '; else $value = '< '; $value .= $this->post->distance; $params['s.distance'] = $value; } $params['s.enabled'] = 1; $schedule_list = SchedulesData::findSchedules($params); $this->set('allroutes', $schedule_list); #deprecated $this->set('schedule_list', $schedule_list); $this->render('schedule_results.tpl'); } /** * Schedules::statsdaysdata() * * @param mixed $routeid * @return */ public function statsdaysdata($routeid) { $schedule = SchedulesData::findSchedules(array('s.id' => $routeid)); $schedule = $schedule[0]; // Last 30 days stats $data = PIREPData::getIntervalDataByDays(array( 'p.code' => $schedule->code, 'p.flightnum' => $schedule->flightnum, ), 30); $this->create_line_graph('Schedule Flown Counts', $data); } /** * Schedules::create_line_graph() * * @param mixed $title * @param mixed $data * @return */ protected function create_line_graph($title, $data) { if (!$data) { $data = array(); } $titles = array(); $bar_titles = array(); foreach ($data as $val) { $titles[] = $val->ym; $values[] = floatval($val->total); } OFCharts::add_data_set($titles, $values); echo OFCharts::create_line_graph($title); } }
  18. Thanks! Ill check it out right now. You like the look? EDIT: It still isnt working. Below is the code of Schedulesdata.class.php Can i change something here?
  19. Hey Guys! So I am developing my pilots center, and I had successfully modified the search form and results form. I tried using Simpilot's addon, but it is not compatible with the current PHPvms. Because I have over 8000 routes, it takes over 30 seconds for it to load. Is there a way where I can limit how many routes it loads at first so it can load faster? I tried pagination, but it still does the same thing (loads all at first then puts it in order). Attached is a photo of my schedules/view page. Is there a way where I can have a search form first, then display the schedules instead of having the schedules and search form?
  20. Hey Guys! So I am developing my pilots center, and I had successfully modified the search form and results form. I tried using Simpilot's addon, but it is not compatible with the current PHPvms. Because I have over 8000 routes, it takes over 30 seconds for it to load. Is there a way where I can limit how many routes it loads at first so it can load faster? I tried pagination, but it still does the same thing (loads all at first then puts it in order). Attached is a photo of my schedules/view page. Is there a way where I can have a search form first, then display the schedules instead of having the schedules and search form?
  21. Yes sir, I can! PM me if you are interested
  22. Hey, I can provide you with schedules that you need i have the cheapest prices
  23. New routes! AA - American Airline with codeshare AB- Air Berlin AC- Air Canada AD- Azul AE- Madarin Airlines AF- Air France AH- Air Algerie AI- Air India AK- Asian Express AM- Aeromexico AR- Aerolineas Argentinas AS- Alaska Airlines AT- Royal Air Morroco AV- Avianca AY- Finnair AZ- Alitalia B6- Jet Blue B2- Belarusian Airlines B7- Uni Air B9- Iran Air BA- British Airways (updated and revised) BC- Sky Mark Airlines BE- FlyBe BG- Biman Bangladesh Airlines BK- Okay Airways BM- BMI regional BR- EVA Airways BT- Air Baltic CA- Air China CI- China Airlines CM- Copa Airlines CX- Cathay Pacific CY- Cyprus CZ- China Southern DE- Condor DL- Delta Airlines DY- Norwegian Air EI- Aer Lingus Irish Airlines EK- Emirates EP- Iran Aseman Air EQ- Tame ET- Ethiopian EY- Ethiad F9- Frontier Airline FB- Bulgaria Air FD- Thai Air FI- Iceland Air FJ- Fiji Air FL- Air Tran FM- Shanghai FR- Ryan Air FV- Rossiya Airline FZ- Fly Dubai G3- Gol G4- Allegiant Air G5- China Express G8- Go Air G9- air Arabia GA- Garuda Indonesia GE- TNT GF- Gulf Air GL- Air Greenland GS- Tianjin HU- Hianan Airlines HV- Transavia IB- Iberia IG- Meridiana fly IR- Iran Air JL- japan Airlines JQ- JetStar Airways JT- Lion Air KZ- Air Astana KE- Korean Air KL- KLM Royal Dutch KQ- Kenya Airways LA- Lan LH- Lufthansa LS- Jet2 LX- Swiss Air Xiamen Airlines MH- Malaysia Airline MS- Egypt Air MU- China Eastern NH- ANA All Nippon Airways NK- Spirit Airline NZ- Air New Zealand OS- Austrian Airlines OZ- Asiana Airlines QF- Qantas Airways QR- Qatar Airways SA- South African Airways SK- SAS Scandinavian Airlines SQ- Singapore Airlines ST- Germania SU- Aeroflot SV- Saudi Arabia Airlines TA- Taca International TG- Thai Airways TK- Turkish Airlines TOM- Thomson Airways TP- TAP Portugal U2- Easy Jet UA- United Airlines US- US Airways W6- Wizzair WN- Southwest Airlines And over 10 more! If you are looking to start a VA, you WILL need schedules. Virtual Airline Schedules can provide you the schedules you need for the CHEAPEST price. NEW PRICES: $20 for one airline $35 for two airlines $50 for three airlines ***I did not list all of the airlines*** If you want schedules for an airline that is not listed, please message the page and I can get them for you! https://www.facebook.com/pages/Virtual-Airline-Schedules/884725154887047?ref_type=bookmark
×
×
  • Create New...