Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral


About RuiMiguel

  • Rank
    Advanced Member

Profile Information

  • Gender
  • Location

Recent Profile Visitors

2071 profile views
  1. [SOLVED] Php 5.5.2 Google map strange problem

    Hi see this
  2. 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; }
  3. 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
  4. 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
  5. Listing schedules

    hello see this

    I know ,but laravel it's not easy thanks

    php 7

    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
  9. [Free] FlightAware Schedule Puller

    that's how I solved the mistake
  10. [Free] FlightAware Schedule Puller

    this error is because on two lines after <? missing php line 66 and 148
  11. Flown routes map

    Yes, I share. <?php MainController::Run('Pireps', 'routesmap'); ?>
  12. Flown routes map

    hello, thanks for your help but I think I've already found the solution. thanks
  13. Flown routes map

    Hello I have a little problem, I want to show the Flown_routes_map in the main profile. Unfortunately this shows all the routes. I'm using this code <?php MainController::Run('RouteMap', 'index'); ?> Can someone help me? Thanks
  14. [SOLVED] Route Map on BID layout

    for it to work I had to put the key script in route_map
  15. [SOLVED] Route Map on BID layout

    In pirep view report