Bombardiers

Softball

mysqli_sql_exception Object
(
    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `date` ASC' at line 1
    [string:Exception:private] => 
    [code:protected] => 1064
    [file:protected] => /home/leaguejo_dev/public_html/classes/sql_class.php
    [line:protected] => 966
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 966
                    [function] => mysqli_query
                )

            [1] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/sql_class.php
                    [line] => 1014
                    [function] => iquery
                    [class] => sql
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/league/league_class.php
                    [line] => 10197
                    [function] => query
                    [class] => sql
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/league/league_class.php
                    [line] => 1229
                    [function] => displayLeagueRounds
                    [class] => league
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/teams/components/schedule.php
                    [line] => 10
                    [function] => showSchedule
                    [class] => league
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/modules/teams/teammain.php
                    [line] => 68
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/teams/components/schedule.php
                        )

                    [function] => require_once
                )

            [6] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/teams/teams_class.php
                    [line] => 886
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/modules/teams/teammain.php
                        )

                    [function] => include
                )

            [7] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/modules/teams/teams.php
                    [line] => 19
                    [function] => display
                    [class] => teams
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/module_class.php
                    [line] => 30
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/modules/teams/teams.php
                        )

                    [function] => include
                )

            [9] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/block_class.php
                    [line] => 125
                    [function] => blockdisplay
                    [class] => module
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/templates/lj/default/index.php
                    [line] => 113
                    [function] => display
                    [class] => block
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/classes/page_class.php
                    [line] => 139
                    [args] => Array
                        (
                            [0] => /home/leaguejo_dev/public_html/templates/lj/default/index.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /home/leaguejo_dev/public_html/index.php
                    [line] => 233
                    [function] => display
                    [class] => page
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [sqlstate:protected] => 42000
)

SELECT * FROM `league_seasons_holidays` WHERE `season_id`= ORDER BY `date` ASC
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `date` ASC' at line 1


Warning: Attempt to read property "num_rows" on null in /home/leaguejo_dev/public_html/modules/league/league_class.php on line 10198

Schedule

Week 1 (Pre-Season)
June 03, 2024

Time
Away
 
Home
Field
6:30pm
Heart Breakers
VS
Dream Makers
Field 1
7:30pm
Heart Breakers
VS
Dream Makers
Field 3

Week 2
June 10, 2024

Time
Away
 
Home
Field
6:30pm
Dream Makers
9  -  10
Dream Makers
Field 3
8:30pm
Dream Makers
17  -  5
Dream Makers
Field 4

Week 3
June 17, 2024

Time
Away
 
Home
Field
6:30pm
Dream Makers
9  -  2
Dream Makers
Field 4
7:30pm
Dream Makers
12  -  10
Dream Makers
Field 3

Week 4
June 24, 2024

Time
Away
 
Home
Field
7:30pm
Heart Breakers
11  -  10
Dream Makers
Field 4
8:30pm
Dream Makers
4  -  9
Dream Makers
Field 3

Week 5
POSITION ROUND - Same Seeds & Adjacent Seeds Play
July 01, 2024

Time
Away
 
Home
Field
6:30pm
Dream Makers
9  -  8
Heart Breakers
Field 2
7:30pm
Dream Makers
18  -  11
Dream Makers
Field 1

Week 6
July 08, 2024

Time
Away
 
Home
Field
7:30pm
Heart Breakers
18  -  2
Dream Makers
Field 3
8:30pm
Heart Breakers
1  -  15
Dream Makers
Field 2

Week 7
July 15, 2024

Time
Away
 
Home
Field
7:30pm
Heart Breakers
20  -  5
Dream Makers
Field 4
8:30pm
Heart Breakers
11  -  12
Dream Makers
Field 3
994
Array
(
    [team_id] => 994
    [sport_id] => 1
    [league_id] => 0
    [division_id] => 
    [wins] => 0
    [losses] => 0
    [wins_all] => 0
    [losses_all] => 0
    [fullname] => Bombardiers
    [shortname] => 
    [abbr] => 
    [fullmascot] => 
    [shortmascot] => 
    [url] => team-hayden-softball-1716009932
    [logo_id] => 9954
    [court_id] => 0
    [color_id] => #0056d6
    [max_roster_size] => 15
    [gallery_id] => 0
    [approved] => 1
    [active] => 1
    [current_roster_size] => 12
    [owner_id] => 6617
    [public] => 1
    [chat_room_id] => 0
    [personal] => 0
    [deleted] => 0
    [invite_code] => 
    [featured_bg] => 6542
    [color_id_2] => #707070
    [color_id_3] => #000000
    [description] => 
    [shirt_color] => 
    [jersey_img] => 0
    [jersey_img_away] => 0
    [city] => 
    [state] => 
    [created] => 2025-01-02 13:16:32
    [updated] => 0000-00-00 00:00:00
    [leagues] => Myrtle Beach - Summer 2024
    [thumb] => /files/gallery/misc/thumbs/img8230_recjoe1716170954.jpeg
    [large] => /files/gallery/misc/img8230_recjoe1716170954.jpeg
    [alt] => League
    [name] => Bombardiers
    [sport_name] => Softball
    [sport_icon] => fa-regular fa-baseball-bat-ball
    [sport_url] => softball
    [gameimage] => 
    [roster] => 1
    [coaches] => 1
    [leaders] => 
    [group_type] => teams
    [link] => /team/team-hayden-softball-1716009932/
    [image] => Array
        (
            [id] => team-hayden-softball-1716009932
            [thumb] => /files/gallery/misc/thumbs/img8230_recjoe1716170954.jpeg
            [large] => /files/gallery/misc/img8230_recjoe1716170954.jpeg
            [alt] => League
            [link] => /team/team-hayden-softball-1716009932/
        )

    [label] => team
    [tools] => Array
        (
            [score] => 
            [homelink] => /team/team-hayden-softball-1716009932/
            [homelink_type] => teams
        )

    [featured_bg_img] => https://leaguejoe.com/files/gallery/misc/default-green_recjoe1704996203.webp
    [settings] => 
    [merch_settings] => 
    [perm_team_level] => 0
    [perm_team_name] => Guest
    [perm_team_score] => 0
    [score] => 0
    [games] => 14
    [sponsors] => 0
    [reports] => 2
)
PEAK MEMORY: 12.13 MiB
MEMORY USAGE AFTER: 8.89 MiB

Debug Information


Request Variables

var = team

varb = team-hayden-softball-1716009932

varc = schedule

vara =

vard =

vare =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 0610e9f5a061298b8ce35cd9fe9f1bba

Login Type:

BASE:: team

FULL LINK:: team/team-hayden-softball-1716009932/schedule

Page ID: 49

Page ID:: 49

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

Active Blocks: Array ( [0] => [1] => 1 [2] => [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => 1 [11] => [12] => [13] => [14] => [15] => )

Block Types: Array ( [0] => [1] => Array ( [0] => module ) [2] => [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => Array ( [0] => module ) [11] => [12] => [13] => [14] => [15] => )

Element ID: Array ( [0] => [1] => Array ( [0] => 5 ) [2] => [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => Array ( [0] => 5 ) [11] => [12] => [13] => [14] => [15] => )

Admin Login Level: :

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = 0610e9f5a061298b8ce35cd9fe9f1bba
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /team/team-hayden-softball-1716009932/schedule/
QUERY_STRING = var=team&varb=team-hayden-softball-1716009932&varc=schedule
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=team&varb=team-hayden-softball-1716009932&varc=schedule
REDIRECT_URL = /team/team-hayden-softball-1716009932/schedule/
REMOTE_PORT = 27370
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 3.145.55.25
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/team/team-hayden-softball-1716009932/schedule
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/team/team-hayden-softball-1716009932/schedule/
SCRIPT_URL = /team/team-hayden-softball-1716009932/schedule/
UNIQUE_ID = Z3tyhrRl-7aakl-sHKHCxQAAAUs
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/team/team-hayden-softball-1716009932/schedule/
REDIRECT_SCRIPT_URL = /team/team-hayden-softball-1716009932/schedule/
REDIRECT_UNIQUE_ID = Z3tyhrRl-7aakl-sHKHCxQAAAUs
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1736143494.929
REQUEST_TIME = 1736143494


SQL Queries


Total Queries: 171
Total Execution Time: 72.5609ms
Avg Execution Time:0.42433274853801ms

QUERY(1.174ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2025-01-06', '06:04:54', 'GET', '/team/team-hayden-softball-1716009932/schedule/', '3.145.55.25', 'https://netstuffersdev1.com/team/team-hayden-softball-1716009932/schedule' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheDZ5TmxTUTAxOVI0MFJDZmpNckRNa0hrMlp0N3hqVzdTVG9aUFRuWHRZZXJXTURQRko4MU5DVGlqRlhGUjF2R21OTEtFekE4WU9IM3JoVG5vKzZjZEI=','0','','1736143494') ON DUPLICATE KEY UPDATE `ip`=`ip`

QUERY(1.703ms) - SELECT SQL_CACHE `end_timestamp` FROM `security_locks` WHERE ((`who`='3.145.55.25' && `which`='IP'))

QUERY(0.1571ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/team/team-hayden-softball-1716009932/schedule/'

QUERY(0.2489ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='team/team-hayden-softball-1716009932/schedule' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.2401ms) - SELECT SQL_CACHE `id`,`layout`,`light`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='team' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.149ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay`,`customize` FROM `pages` WHERE `id`='49'

QUERY(0.19ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.138ms) - SELECT * FROM userprofiles_config

QUERY(0.1979ms) - SELECT SQL_CACHE `name` FROM `states` WHERE `abbr`='' LIMIT 0,1

QUERY(0.165ms) - SELECT SQL_CACHE title,metakeys,metadescript,seomodule,seotitlefield,seodescfield,seotitletable,seodesctable,urllinkfield FROM pages WHERE `id`='49' && `domain`='1'

QUERY(0.2089ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.129ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.5138ms) - SELECT COUNT(*) FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'team-hayden-softball-1716009932'

QUERY(0.7792ms) - SELECT SQL_CACHE `teams`.*,(SELECT COUNT(`team_id`) FROM `league_teams` WHERE `league_teams`.`team_id`=`teams`.`team_id`) AS `leagues`,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt`,`leagues`.`name`,`teams_players`.`player_id`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`gamephoto`.`img_url` AS `gameimage`,`teams_privacy`.`public`,`teams_privacy`.`roster` FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'team-hayden-softball-1716009932' GROUP BY `teams`.`team_id`

QUERY(0.69ms) - SELECT SQL_CACHE tp.access,u.username,u.user_url,tl.name AS level FROM `teams_players` tp INNER JOIN `users` u ON tp.player_id=u.id INNER JOIN `teams_levels` tl ON tp.access=tl.level_id INNER JOIN `teams_levels` ON tp.`access`=`teams_levels`.`level_id` WHERE tp.`team_id`='994' && `teams_levels`.`score`>=40 GROUP BY u.id

QUERY(0.3881ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`name`,`leagues`.`url`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`name` AS `season_name` FROM `league_teams` INNER JOIN `leagues` ON `league_teams`.`league_id`=`leagues`.`league_id` INNER JOIN `league_seasons` ON `league_teams`.`season_id`=`league_seasons`.`season_id` WHERE `team_id`='994' GROUP BY `league_teams`.`team_id` LIMIT 0,3

QUERY(0.2491ms) - SELECT `team_id`, `league_id` FROM `league_teams` WHERE `league_id` = 0 AND `season_id` = 0 AND `team_id` = 994 LIMIT 1

QUERY(0.185ms) - SELECT SQL_CACHE `img_url` FROM `photo` WHERE `photo_id`=6542 LIMIT 0,1

QUERY(0.1409ms) - SELECT * FROM `teams_settings` WHERE `team_id`=994

QUERY(0.201ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=994

QUERY(0.21ms) - SELECT SQL_CACHE * FROM `teams_cache` WHERE `team_id`=994 && `updated`>=(NOW() - INTERVAL 60 MINUTE) LIMIT 0,1

QUERY(0.1869ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=994 LIMIT 0,1

QUERY(0.3741ms) - SELECT COUNT(`game_id`) FROM `games` WHERE (`home_team_id`=994||`away_team_id`=994) && `cancelled`=0

QUERY(0.1569ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=994

QUERY(2.404ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=994

QUERY(0.1459ms) - INSERT INTO `teams_cache` (`team_id`,`products`,`sponsors`,`reports`) VALUES ('994',0,0,2) ON DUPLICATE KEY UPDATE `team_id`='994',`products`=0,`sponsors`=0,`reports`=2

QUERY(0.2441ms) - SELECT SQL_CACHE `code` FROM `page_headers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:49:%' || (`global`=1 && `exclude` NOT LIKE '%:49:%') ) ORDER BY `sort` ASC

QUERY(0.1221ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='UTC'

QUERY(0.19ms) - SELECT count(`league_id`) FROM `league_players` WHERE `player_id`=''

QUERY(0.1829ms) - SELECT SQL_CACHE `block_id`,`element_id`,`function_id`,`type` FROM `blocks` WHERE `page_id`='49' ORDER BY `order` ASC

QUERY(0.1879ms) - SELECT `abbr`,`name` FROM `states` WHERE `active`=1 ORDER BY `name` ASC

QUERY(0.1259ms) - select SQL_CACHE codename,classname,scriptname from modules WHERE `id`='5'

QUERY(0.1471ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1571ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1268ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.107ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2999ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1879ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.1361ms) - SELECT * FROM userprofiles_config

QUERY(0.1581ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='draft'

QUERY(0.1142ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.4928ms) - SELECT COUNT(*) FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'team-hayden-softball-1716009932'

QUERY(0.736ms) - SELECT SQL_CACHE `teams`.*,(SELECT COUNT(`team_id`) FROM `league_teams` WHERE `league_teams`.`team_id`=`teams`.`team_id`) AS `leagues`,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt`,`leagues`.`name`,`teams_players`.`player_id`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`gamephoto`.`img_url` AS `gameimage`,`teams_privacy`.`public`,`teams_privacy`.`roster` FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'team-hayden-softball-1716009932' GROUP BY `teams`.`team_id`

QUERY(0.4499ms) - SELECT SQL_CACHE tp.access,u.username,u.user_url,tl.name AS level FROM `teams_players` tp INNER JOIN `users` u ON tp.player_id=u.id INNER JOIN `teams_levels` tl ON tp.access=tl.level_id INNER JOIN `teams_levels` ON tp.`access`=`teams_levels`.`level_id` WHERE tp.`team_id`='994' && `teams_levels`.`score`>=40 GROUP BY u.id

QUERY(0.344ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`name`,`leagues`.`url`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`name` AS `season_name` FROM `league_teams` INNER JOIN `leagues` ON `league_teams`.`league_id`=`leagues`.`league_id` INNER JOIN `league_seasons` ON `league_teams`.`season_id`=`league_seasons`.`season_id` WHERE `team_id`='994' GROUP BY `league_teams`.`team_id` LIMIT 0,3

QUERY(0.2029ms) - SELECT `team_id`, `league_id` FROM `league_teams` WHERE `league_id` = 0 AND `season_id` = 0 AND `team_id` = 994 LIMIT 1

QUERY(0.1299ms) - SELECT SQL_CACHE `img_url` FROM `photo` WHERE `photo_id`=6542 LIMIT 0,1

QUERY(0.1349ms) - SELECT * FROM `teams_settings` WHERE `team_id`=994

QUERY(0.1452ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=994

QUERY(0.1791ms) - SELECT SQL_CACHE * FROM `teams_cache` WHERE `team_id`=994 && `updated`>=(NOW() - INTERVAL 60 MINUTE) LIMIT 0,1

QUERY(0.1678ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=994 LIMIT 0,1

QUERY(0.4351ms) - SELECT COUNT(`game_id`) FROM `games` WHERE (`home_team_id`=994||`away_team_id`=994) && `cancelled`=0

QUERY(0.155ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=994

QUERY(2.2371ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=994

QUERY(0.159ms) - INSERT INTO `teams_cache` (`team_id`,`products`,`sponsors`,`reports`) VALUES ('994',0,0,2) ON DUPLICATE KEY UPDATE `team_id`='994',`products`=0,`sponsors`=0,`reports`=2

QUERY(0.1311ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=994

QUERY(0.139ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.144ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1559ms) - SELECT `league_id`,`season_id` FROM `league_teams` WHERE `team_id`=994

QUERY(0.555ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '117' LIMIT 0,1

QUERY(0.1512ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.607ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '117' and `league_seasons`.`season_id` = '242' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.169ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1431ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=242

QUERY(0.113ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=1026 LIMIT 0,1

QUERY(0.15ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=117 && `season_id`=242 LIMIT 0,1

QUERY(0.2141ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=117 && `season_id`=242 LIMIT 0,1

QUERY(0.1991ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=117 && `season_id`=242 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.221ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='117' && `season_id`='242' LIMIT 0,1

QUERY(0.16ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='117' && (`season_id`='242' || `season_id`=0)

QUERY(0.1869ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='117' && (`season_id`='242' || `season_id`=0)

QUERY(0.1309ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=117 && `season_id`=0) || `season_id`='242'

QUERY(2.923ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='117' && `season_id`='242' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4642ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='117' && `season_id`='242' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.3499ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='117' && `season_id`='242' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2201ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='117' || `season_id`='242' ORDER BY `season_id` DESC

QUERY(0.1872ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='117' && `season_id`='242'

QUERY(0.176ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='242'

QUERY(0.2739ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='117'

QUERY(1.925ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='117'

QUERY(0.175ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=117&&`season_id`=242 LIMIT 0,1

QUERY(0.679ms) - SELECT `game_id` FROM `games` WHERE `league_id`=117&&`season_id`=242&&`playoff`=1 LIMIT 0,1

QUERY(0.14ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=242 LIMIT 0,1

QUERY(0.4041ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='117' && `league_teams`.`season_id`='242' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.5748ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='117' && `season_id`='242'

QUERY(0.211ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='117' && `league_seasons`.`season_id`='242'

QUERY(0.128ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=117 && `season_id`=242 LIMIT 0,1

QUERY(0.1569ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=117 && `season_id`=242

QUERY(1.344ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('117','242','1',0,0,'179','11','16','1','12','96','1',0,'5',0,0,0,0,0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='117',`season_id`='242',`articles`='1',`participants`=0,`conferences`=0,`players`='179',`coaches`='11',`subs`='16',`rules`='1',`teams`='12',`games`='96',`groups`='1',`divisions`=0,`seasons`='5',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

QUERY(0.1769ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=242 LIMIT 0,1

QUERY(0.3459ms) - SELECT count(player_id) AS `player`,`coach`,`access`,`team_player_id` AS `tpi` FROM `teams_players` WHERE `team_id`='994' && `player_id`='' && `quit`=0 ORDER BY `season_id` DESC

QUERY(0.133ms) - select SQL_CACHE codename,classname,scriptname from modules WHERE `id`='5'

QUERY(0.1481ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1259ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.138ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1309ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.139ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.1559ms) - SELECT * FROM userprofiles_config

QUERY(0.1578ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='draft'

QUERY(0.108ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.1371ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=994

QUERY(0.1459ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1249ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.138ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.1562ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.133ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='draft'

QUERY(0.108ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(1.5152ms) - SELECT SQL_CACHE `games_rounds`.`round_id`,`games_rounds`.`description`,`games_rounds`.`round`,`games_rounds`.`preseason`,`games_rounds`.`playoff`,`games_rounds`.`rainout`,`games_rounds`.`round_date`,`games_rounds`.`season_id`,`games_rounds`.`cancellation`,`games_rounds`.`event_id`,`games_rounds`.`position_round`,`games_rounds`.`venue_id` AS round_venue,`games`.`game_id`,`games`.`url`,`games`.`home_team_id`,`games`.`away_team_id`,`games`.`home_points`,`games`.`away_points`,`games`.`start_date`,`games`.`start_datetime`,`games`.`field`,`games`.`venue_id`,`games`.`scrimmage`,`games`.`conflict`,`games`.`sport_id`,`games`.`cancelled`,`games`.`forfeited`,`games`.`time`,`games`.`rainout` AS `game_rainout` FROM `games_rounds` LEFT JOIN `games` ON (`games_rounds`.`round_id` = `games`.`round_id`) WHERE (`games`.`home_team_id` = '994' or `games`.`away_team_id` = '994') ORDER BY `games_rounds`.`round_date` asc,`games`.`time` asc,`games`.`field` asc,`games`.`start_datetime` asc

QUERY(0.134ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1359ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.144ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.124ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1528ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='events'

QUERY(0.1178ms) - SELECT SQL_CACHE * FROM events_config

QUERY(0.1562ms) - SELECT * FROM `league_seasons_holidays` WHERE `season_id`= ORDER BY `date` ASC

QUERY(2.2912ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '996' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.1249ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=322

QUERY(2.1019ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '994' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.113ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=323

QUERY(0.1359ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.104ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.172ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '993' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.149ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=322

QUERY(0.145ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.1202ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.346ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '998' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.1512ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=323

QUERY(0.134ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.104ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.3179ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '992' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.108ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=323

QUERY(0.138ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.108ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.197ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '971' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.1202ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=323

QUERY(0.164ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.113ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.1079ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '969' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.1321ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=323

QUERY(0.129ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.1249ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.1131ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '970' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.1259ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=322

QUERY(0.1299ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.0942ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.146ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '962' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.113ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=323

QUERY(0.1349ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.0939ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.145ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.109ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.1221ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.0961ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.1149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.1011ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.2242ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '997' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.107ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=322

QUERY(0.119ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.097ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.074ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '967' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.129ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=322

QUERY(0.1149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.103ms) - SELECT SQL_CACHE * FROM games_config

QUERY(2.0881ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) WHERE `teams`.`team_id` = '968' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`gamesplayed` desc,`standings`.`points_for` desc,`standings`.`points_against` asc

QUERY(0.1049ms) - SELECT `name` FROM `league_groups` WHERE `group_id`=322

QUERY(0.1428ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.103ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.3071ms) - SELECT SQL_CACHE `code`,`name` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:49:%' || (`global`=1 && `exclude` NOT LIKE '%:49:%') ) ORDER BY `sort` ASC