Jump to content

mobitu

Members
  • Posts

    34
  • Joined

  • Last visited

    Never

Everything posted by mobitu

  1. mobitu

    wow READ ALERT!

    I have emailed you !!!
  2. hello again, could you pls explain how to create this module... I think first i have to create a module and put somehow: case 'stats': Template::Set('toproutes', StatsData::TopRoutes(1)); Template::Set('topaircraft', StatsData::AircraftUsage(5)); Template::Show('stats_operations.tpl'); and then add to stats_operations.tpl <?php if(!$toproutes) { echo 'No Top Routes Exist'; return; } foreach($toproutes as $report) { ?> <tr> <td align="center"><?php echo $report->code; ?><?php echo $report->flightnum; ?></td> <td align="center"><?php echo $report->depicao; ?></td> <td align="center"><?php echo $report->arricao; ?></td> <td align="center"><?php echo $report->distance; ?></td> </tr> <?php } ?> for top routes for example. I think i have all mess up ! sorry :-[
  3. mobitu

    Awards

    Hi Roger ! yess i added the description in admin panel, the fact is that in iE it shows but in Firefox it doesnt.
  4. mobitu

    Awards

    mmmm... i reply myself... I just found that somehow in Firefox doesnt work... With IE it shows perfect the descriptcion. How to show in firefox?
  5. mobitu

    Awards

    Hello, i have problems with awards... I see in pilot_public_profile.tpl the award and everyting right but when i put the mouse cursor over the award, the image doesnt say the description of the award just like it suposse to do in <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" /> in admin panel i have written a despcripcion of the award and everything is right i think does anyone has the same problem? thanks all
  6. mmmm, it does not work for me... :- i get <?php StatsData::AircraftUsage(5); ?> and it does not work... did i made anything wrong?
  7. Hi again, is there a way to put in a stats page the top routes flown and the top aircraft uesd by the pilots?
  8. that was it !!! i just done it and works perfect !!! thanks again man
  9. Thanks again Simpilot !!! Great work just one thing... in: <?php VastatsData::totalmilesflown(); ?> I get 0. any ideas?
  10. Welldone !!! it now works just perfect !!! just one little sugesttion... in messages sent... is there a way to delete this messages? because there is no link with delete in this feature made. thanks simpilot !!!
  11. Good work simpilot !!! I also have everything right but a send a mail, it says AIRmail sent! but nothing happends... I replaced the mail.php you just gave but happends the same, any ideas?
  12. Thanks Nabeel, could you be more accurate on how to do it? if you could give me some more tips i would try it thanks
  13. Hello, I want to get in pilot_public_profile to show the bids a pilots have... for example... por user 1 to to show in his public profile just his flight bids and not all the bids for all pilots. I get this code: <p><?php MainController::Run('FrontBids', 'RecentFrontPage',5); ?></p> but if i put this in public_profile i get the information for all pilots in the company. Can i get the recent bids individually for each pilot in his profile? thanks again
  14. sorry lol but it also does not work fo me
  15. Yess, with this now, pilot_public_profile.tpl is working perfect. EDDF and also says FRANKFURT AIRPORT but... in profile_main.tpl I have the code: <td><strong><strong>Current Location: <?php $lastreport = PIREPData::GetLastReports($pilotid, 001); if(!$lastreport) { $location = $userinfo->hub; } else { $location = $lastreport->arricao; } ?> <?php $airport_info = OperationsData::GetAirportInfo($location); $airportname = $airport_info->name; ?> </strong> </strong></td> <td align="left"> <?php echo $report->arricao; ?> - <?php echo $pireps[0]->arrname;?> </td> </tr> with this the system only says Current Location: EDDF - No Airport name --------------------------------------------------- Somehow i dont want you to disturb at all... if you have any ideas would be great and if not, with the airport code will be enough Thanks guyssss
  16. i got it working in both sites but just with the code ( for example EDDF ). I still can not get it working with the aiport name with the tips you gave. Any other ideas? sorry !!!
  17. Thanks Nabeel, i have it working right in profile_main.tpl but just 2 things... 1º with: <?php echo $report->arricao; ?> just says the airport code ( EDDF ) how can also say the name of the Airport ( for example... FRANKFURT AIRPORT ) 2º <?php echo $report->arricao; ?> doesnt work for me in pilot_public_profile.tpl any ideas? thanksssss
  18. any idea about it Nabeel? thankssss
  19. if i send a pirep for example lebl -> eddf the system understand i am in eddf. time ago o had it working in my local site but for sometime the current location for all pilots is MY current location thats it if i arrive in eddf for all pilots appear " current location: eddf"
  20. Hello everybody, i have a problem with the current location of my pilots. They all make flights but the current location they have, is MY current location always. All have my current location Does anyone know how to fix that ??? thankssss
  21. Hi Nabeel ! thanks for the update but i get the same errors as with rev721 any ideas how to solve it? :
  22. once i make the update in install/update and if i try to force it i get that errors... then in all pages in the left margin i get that error: ezDB (vezDB_VERSION) Debug.. Query [6] -- [sELECT p.*, s.*, b.bidid as bidid, a.name as aircraft, a.registration FROM phpvms_schedules s, phpvms_bids b, phpvms_aircraft a, phpvms_pilots p WHERE b.routeid = s.id AND s.aircraft=a.id AND p.pilotid = b.pilotid ORDER BY b.bidid DESC LIMIT 5] Query Result.. (row) int 1 pilotid string 6 firstname string 7 lastname string 16 email string 3 code string 2 location string 4 hub string 32 password string 32 salt string 14 bgimage date 10 lastlogin int 1 totalflights real 4 totalhours real 7 totalpay real 1 transferhours string 14 rank int 1 confirmed int 1 retired datetime 19 joindate datetime 19 lastpirep int 1 id string 3 code string 4 flightnum int 1 leg string 4 depicao string 4 arricao blob 0 route blob 1 aircraft real 7 distance string 5 deptime string 5 arrtime real 3 flighttime string 7 daysofweek int 1 maxload real 2 price string 1 flighttype int 1 timesflown blob 0 notes int 1 enabled int 2 bidid int 2 bidid string 8 aircraft string 6 registration
  23. I tried to update to rev721 and i get the following errors: Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 275 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 284 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 291 Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 275 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 284 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 291 Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 275 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 284 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /homepages/23/d281046487/htdocs/core/classes/ezDB_MySQL.class.php on line 291 any idea ???
×
×
  • Create New...