Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. Hi nabeel the version that we are using is 2.0.874 Thanks In advance
  2. 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
  3. 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>
  4. 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
  5. 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>
  6. 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
  7. I had my php at php4 and you have to change it to php5
  8. Never mind found the solution
  9. 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...