
ercio
Members-
Posts
100 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ercio
-
I would like to change the tail icon in here http://i.imgur.com/3Ns0pjU.png is not picking up the correct one I belive it is because the icon from airline I looking for is not installed .
-
http://i.imgur.com/hkU1q5v.png do you do this code? i would like to have on my VA Email me at ercio_f@hotmail.com Thank you
-
i would like to know too!!
-
Warning! stay away from Jordan barber
ercio replied to Ashj24uk's topic in Virtual Airlines Discussion
I had this problem with Luis Moraes !!! We should open a black list! -
thanks man! it works I really recommend this guy services ! fast response Good price! http://php-mods.eu/ . thank you again! SERVETAS
-
it gaves me an X look www.virtualvarig.com thank you man again
-
I got this error Warning: Invalid argument supplied for foreach() in /home/ercio/public_html/lib/skins/lance/frontpage_recentpilots.tpl on line 3 <ul style="margin-top:10px; margin-left:3px;width:100%;" class="list-group"> <?php foreach($allpilot_list as $allpilot) { ?> <li class="list-group-item"><img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><font color="#2f2f2f"><?php echo $pilot->firstname.' '.$pilot->lastname ?></font></a></li> <?php } ?> </ul>
-
other guy fix the Hub and Country at register here: http://forum.phpvms.net/topic/22846-lance-skin-some-errors-help/ and pilot not showing on pilot tab. the other error i fixed installing it again and not download the airport data base i will add one by one. still have error on recent pilot , error line 3 .
-
Hi George are you from PHPvms or Lance? I try to register and I still cant. I deleted this part on the bottom, because I don't want this and still cant register: <?php //Put this in a seperate template. Shows the Custom Fields for registration Template::Show('registration_customfields.tpl'); ?><p><dt>reCaptcha</dt> <dd> <?php if(isset($captcha_error)){echo '<p class="error">'.$captcha_error.'</p>';} ?> <div class="g-recaptcha" data-sitekey="<?php echo $sitekey;?>"></div> <script type="text/javascript" src="[url="
-
I just started using Lance skin www.virtualvarig.com and get some errors 1 - pilot tab not showing any pilots. I added 1 hub , 2 airports 1 aircraft ad one route. 2 - cant register anyone , because no HUB or location can be choose. PILOTLIST <?php if(!$pilot_list) { echo 'There are no pilots!'; return; } ?> <style> .borders{ margin-left: 100px; margin-right:100px; } </style> <div class="borders"> <h3><?php echo $title?></h3> <table class="table"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> </tr> </thead> <tbody> <?php foreach($pilot_list as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ // To skip a retired pilot, uncomment the next line: //if($pilot->retired == 1) { continue; } ?> <tr> <td width="1%" nowrap><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td> <?php } ?> </tbody> </table> </div> pilot-list REGISTER FORM [indent=1]<style> .bg{ background-color: #ffffff; margin-left: 200px; margin-right: 200px; border-bottom-color: aqua; } a{ color:#212121; } </style> <div class="bg"> <h3>Registration</h3> <p>Welcome to the registration form for <?php echo SITE_NAME; ?>. After you register, you will be notified by a staff member about your membership.</p> <form method="post" action="<?php echo url('/registration');?>"> <dl> <dt>First Name: *</dt> <dd><input type="text" name="firstname" value="<?php echo Vars::POST('firstname');?>" /> <?php if($firstname_error == true) echo '<p class="error">Please enter your first name</p>'; ?> </dd> <dt>Last Name: *</dt> <dd><input type="text" name="lastname" value="<?php echo Vars::POST('lastname');?>" /> <?php if($lastname_error == true) echo '<p class="error">Please enter your last name</p>'; ?> </dd> <dt>Email Address: *</dt> <dd><input type="text" name="email" value="<?php echo Vars::POST('email');?>" /> <?php if($email_error == true) echo '<p class="error">Please enter your email address</p>'; ?> </dd> <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <?php foreach($airline_list as $airline) { echo '<option value="'.$airline->code.'">'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </dd> <dt>Hub: *</dt> <dd> <select name="hub" id="hub"> <?php foreach($hub_list as $hub) { echo '<option value="'.$hub->icao.'">'.$hub->icao.' - ' . $hub->name .'</option>'; } ?> </select> </dd> <dt>Location: *</dt> <dd><select name="location"> <?php foreach($country_list as $countryCode=>$countryName) { if(Vars::POST('location') == $countryCode) { $sel = 'selected="selected"'; } else { $sel = ''; } echo '<option value="'.$countryCode.'" '.$sel.'>'.$countryName.'</option>'; } ?> </select> <?php if($location_error == true) { echo '<p class="error">Please enter your location</p>'; } ?> </dd> <dt>Password: *</dt> <dd><input id="password" type="password" name="password1" value="" /></dd> <dt>Enter your password again: *</dt> <dd><input type="password" name="password2" value="" /> <?php if($password_error != '') echo '<p class="error">'.$password_error.'</p>'; ?> </dd> <?php //Put this in a seperate template. Shows the Custom Fields for registration Template::Show('registration_customfields.tpl'); ?> <dt>reCaptcha</dt> <dd> <?php if(isset($captcha_error)){echo '<p class="error">'.$captcha_error.'</p>';} ?> <div class="g-recaptcha" data-sitekey="<?php echo $sitekey;?>"></div> <script type="text/javascript" src="[url="https://www.google.com/recaptcha/api.js?hl=<?php"]https://www.google.c...api.js?hl=<?php[/url] echo $lang;?>"> </script> </dd> <dt></dt> <dd><p>By clicking register, you're agreeing to the <li><a href="<?php echo url('/Ruleregs'); ?>">terms and conditions</a></li></p></dd> <dt></dt> <dd><input type="submit" name="submit" value="Register!" /></dd> </dl> </form> </div>[/indent]
-
I get errors no recent pilots, cant register no one because no hub or location can be choose. no pilots on on host. www.virtualvarig.com
-
Thank you Simpilot , I am about to use a few of your free module and get one or 2 paid ones really good!
-
looks good! www.virtualvarig.com few questions and errors a see , once try to register a pilot , the is no HUB to select or COUNTRY after installed the table phpvms_airports from this forum got this error from schedule: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 82 bytes) in /home/ercio/public_html/core/classes/ezdb/ezdb_mysql.class.php on line 273 and no airport showing in the admsite how do I change the photo on pilot center thank you again
-
fixed by downloading the version on gittub . can be closed!
-
Hi I installed PHPvms and could handler all errors but administrative tab, I saw I have to go to sme table at phpmyadmin but when I try I get : Access Denied Unable to establish a PHP session. If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings I am kind new ,need step by step how to fix it Thank you
-
I change to false auto pilot retirement, than I change the days to 120 also to check which it changes correctly. but still going to retirement. last time I did it today pirep
-
i just change and still get marked as retired in few days . I change the days to see if is changing it change the days but still get retirement
-
when I try to open that its says the file is not UTF-8 and can not be edited
-
when I want to choose my flight I only can search by Dep icao , I would like to have aircraft and arrival icao also , and if possible all 3 combined , or all 3 by itself to work. <?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 { public function index() { $this->view(); } public function view() { if(isset($this->post->action) && $this->post->action == 'findflight') { $this->FindFlight(); return; } $this->showSchedules(); } public function detail($routeid='') { $this->details($routeid); } 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'); } 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'); } 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'); } public function bids() { if(!Auth::LoggedIn()) return; $this->set('bids', SchedulesData::GetBids(Auth::$userinfo->pilotid)); $this->render('schedule_bids.tpl'); } public function addbid($routeid = '') { 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::$userinfo->pilotid); # They've got somethin goin on if(count($bids) > 0) { echo 'Bid exists!'; return; } } $ret = SchedulesData::AddBid(Auth::$userinfo->pilotid, $routeid); CodonEvent::Dispatch('bid_added', 'Schedules', $routeid); if($ret == true) { echo 'Bid added'; } else { echo 'Already in bids!'; } } public function removebid() { if(!Auth::LoggedIn()) return; SchedulesData::RemoveBid($this->post->id); } public function showSchedules() { $depapts = OperationsData::GetAllAirports(); $equip = OperationsData::GetAllAircraftSearchList(true); $this->set('depairports', $depapts); $this->set('equipment', $equip); $this->render('schedule_searchform.tpl'); # Show the routes. Remote this to not show them. $this->set('allroutes', SchedulesData::GetSchedules()); $this->render('schedule_list.tpl'); } public function findFlight() { if($this->post->depicao != '') { $params = array('s.depicao' => $this->post->depicao); } if($this->post->arricao != '') { $params = array('s.arricao' => $this->post->arricao); } if($this->post->equipment != '') { $params = array('a.name' => $this->post->equipment); } if($this->post->distance != '') { if($this->post->type == 'greater') $value = '> '; else $value = '< '; $value .= $this->post->distance; $params = array('s.distance' => $value); } $params['s.enabled'] = 1; $this->set('allroutes', SchedulesData::findSchedules($params)); $this->render('schedule_results.tpl'); } public function statsdaysdata($routeid) { $routeinfo = SchedulesData::findSchedules(array('s.id'=>$routeid)); $routeinfo = $routeinfo[0]; // Last 30 days stats $data = PIREPData::getIntervalDataByDays( array( 'p.code' => $routeinfo->code, 'p.flightnum' => $routeinfo->flightnum, ), 30); $this->create_line_graph('Schedule Flown Counts', $data); } 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); } }
-
My pilot is marked as retirement in 80 days how do I change it?
-
I cant find the attached files! how to download?
-
need some services estimates , are you ADA? email me ercio_f@hotmail.com facebook ercio furquim
-
Hi my VA www.vrgvirtual.com the direct flight map is not working , need to add some menu and delete onother. give me a estimate . facebook ercio furquim , email ercio_f@hotmail.com Thank you