Jump to content

RuiMiguel

Members
  • Content Count

    109
  • Joined

  • Last visited

Everything posted by RuiMiguel

  1. http://jetairlinesvirtual.com/index.php/acars
  2. the chrome latest version http://jetairlinesvirtual.com/
  3. Hello, I have a problem on the map does not show the flights. I looked for the error with debugging and gave this error "initMap is not a function" Can someone help me solve this? Thanks
  4. see this image http://prntscr.com/iliwho
  5. You already have api flightaware? if you already have it in the puller.php file on this lines $apiUserId = "yourFlightAwareUserId"; $apiKey = "yourFlightAwareApiKey";
  6. Hello, Can anyone tell me how to put a map google in the event module of the David Clark? Thanks
  7. RuiMiguel

    Code

    i have this in profile main it works function getTotalScore() { $query = "SELECT SUM(`final_score`) AS score FROM ".TABLE_PREFIX."pireps WHERE pilotid = ".Auth::$userinfo->pilotid." AND accepted = 1"; $result = DB::get_row($query); if (!$result) return 0; return ($result->score == '') ? 0 : $result->score; }
  8. RuiMiguel

    Code

    yes I have a final score in the database on pireps this code is on the pilots_list Can you explain to me how I get the variable for $pilotid thanks
  9. RuiMiguel

    Code

    Hello I need help for this code: <?php function getTotalScore() { $query = "SELECT SUM(`final_score`) AS final_score FROM ".TABLE_PREFIX."pireps WHERE pilotid = ".$pilotid." AND accepted = 1"; $result = DB::get_row($query); if (!$result) return 0; return ($result->score == '') ? 0 : $result->score; } ?> <?php echo getTotalScore(); ?> the result is 0 Can someone help me? Thanks Rui Miguel
  10. I know ,but laravel it's not easy thanks
  11. hello; i have this error Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RSSFeed has a deprecated constructor in xxxxxx\core\common\RSSFeed.class.php on line 20 Can you help me solve this? Thanks
  12. this error is because on two lines after <? missing php line 66 and 148
  13. Yes, I share. <?php MainController::Run('Pireps', 'routesmap'); ?>
×
×
  • Create New...