Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. Vangelis

    Acars Map

    it worked many thanks
  2. Vangelis

    Acars Map

    Hello guys I am trying to make some phpvms templates in order to share them with others 1 of the problems that i faced is the google map size i tried to read the google map api but no succes so i would apreciate any help my problem is that the google map is out of the center of the page to the right Example so if anybody can explain to me how can i resize the map it would be nice Thanks in advance
  3. If you didnt find a solution mail me at info@baggelis.com to see what i can do to help you Best regards Vangelis
  4. Did you find any solution ? if not e-mail me at info@baggelis.com and we could see what i can do for you Vangelis Boulasikis
  5. Hi i wondered if you found a solution if not try to e-mail me at info@baggelis.com
  6. That worked Thanks a lot for your help Vangelis Boulasikis
  7. Do u have a name for that module ? Thanks
  8. could you please help on how to do that or an example of this ? Thanks in advance Vangelis Boulasikis P.S Temporarly i stoped the problem by leaving only 1 hub but like that we can not gice the option to the new pilots to select their hub
  9. Hello guys I am trying to make the pilot roster to show only the pilots and i have managed this the only problem is that it keeps looping the pilot_list.tpl i have also tried to insert my own page into it like <?php echo "Hello World"; ?> and this keeps looping asswel so i am sure that the code is corect This is the code of the pilot_list.tpl <?php $roster = PilotData::getAllPilots(); ?> <?php if(!$roster) { echo 'There are no pilots!'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> <th>HUBs</th> </tr> </thead> <tbody> <?php foreach($roster as $pilot) { ?> <tr> <td width="1%" nowrap> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <center><?php echo $pilot->firstname.' '.$pilot->lastname?></center> </td> <center><td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td></center> <center><td><?php echo $pilot->totalflights?></td></center> <center><td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td></center> <center><td><?php echo $pilot->hub?></td></center> </tr> <?php } ?> </tbody> </table> any help would be gratefull Thanks in advance Vangelis Boulasikis http://aviation-global-airways.com
  10. Hi nabeel the version that we are using is 2.0.874 Thanks In advance
  11. Hello i have changed the Config::Set('MAP_TYPE', 'G_HYBRID_MAP'); to Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP'); but is seems to beeing stuck at ground map any solution ? Thanks in advance
  12. No solution guys we would apreciate some help and here is the code <div class="mc0203"> <?php $roster = PilotData::getAllPilots(); ?> <?php if(!$roster) { echo 'There are no pilots!</div>'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> <th>HUBs</th> </tr> </thead> <tbody> <?php foreach($roster as $pilot) { ?> <tr> <td width="1%" nowrap> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <center><?php echo $pilot->firstname.' '.$pilot->lastname?></center> </td> <center><td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td></center> <center><td><?php echo $pilot->totalflights?></td></center> <center><td><?php echo Util::AddTime($pilot->totalhours, $pilot->transferhours); ?></td></center> <center><td><?php echo $pilot->hub?></td></center> </tr> <?php } ?> </div> </tbody> </table>
  13. Thanks for the quick answer first time my version is Version 2.0.872 and to be honest the core copy is from my own test server so it could be that there is a version mixup but both of the phpvms settups are the same version
  14. First this is a corect start and finish of the code but i dont think that is will show any data would you like to tell us what exacly do you want so that we can help you ? as far i understud you want something similar to this http://www.aviation-global-airways.com/index.php/pages/board <center><h2>Recent Arrivals</h2> </center> <?php if(!$reports) { echo 'No reports have been filed';return; } ?> <table border="0.5" width="100%"> <td align=center><b>FL.Number</b></td> <td align=center><b>Pilot Name</b></td> <td align=center><b>From</b></td> <td align=center><b>To</b></td> <td align=center><b>Aircraft</b></td> <td align=center><b>Status</b></td> <td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->code $report->flightnum </td> <td bgcolor=#EBEEEF width=10% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->firstname $report->lastname</td> <td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->depicao</td> <td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->arricao</td> <td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>$report->aircraft</td> <td bgcolor=#EBEEEF width=5% height=5 align=left><font face=Verdana color=#7E7E7E size=1<td>Landed</td> </table>
  15. Hello guys We managed to setup the phpvms and a new template but once a day a problem ocures when someone is gonna view our site he might get an error Fatal error: Call to undefined method FinanceData::updateAllExpenses() in /home/dutchgl/domains/aviation-global-airways.com/public_html/core/bootstrap.inc.php on line 58 As a temporarly solution i found is to a have copy off core folder named copy_w then when the problem ocures i rename the core to core_b and core_w to core and then back again core to core_w and core_b to core and everything is working till the next day I would apreciate if somebody has an advice for that problem. Thanks in advance
  16. I had my php at php4 and you have to change it to php5
  17. Never mind found the solution
  18. Hello i just downloaded phpvms and as it seems i am not able to install i get this error Parse error: syntax error, unexpected ')', expecting '(' in /home/.paws/baggelis/baggelis.com/trunk/install/install.php on line 31 i would apreciate any help Thanks in advance
×
×
  • Create New...