League

Gastonia Slowpitch

Sport: Softball
CoedSocialDraft
Event Director
League Joe
Venue
Auburn Softball Complex
Auburn, AL
Join League

Deprecated: Automatic conversion of false to array is deprecated in /home/leaguejo_dev/public_html/templates/lj/modules/league/hall-of-fame.php on line 27

Spring 2024 - Final Results

Fall 2023 - Final Results

Summer 2023 - Final Results

79
PEAK MEMORY: 3.74 MiB
MEMORY USAGE AFTER: 2.48 MiB

Debug Information


Request Variables

var = league

varb = gastonia-slowpitch

varc = hall-of-fame

vara =

vard =

vare =

view_var = league

view_varb = gastonia-slowpitch

view_varc = hall-of-fame

view_vard =

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: b37521229e340719e94ca16342c3f585

Login Type:

BASE:: league

FULL LINK:: league/gastonia-slowpitch/hall-of-fame

Page ID: 27

Page ID:: 27

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

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

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

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

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = b37521229e340719e94ca16342c3f585
fullstate =


Cookie Variables

care_did = 9c47bd2c-205a-4c44-8c63-9875cffe08fe
fikker-XKnS-tWlJ = F7FoTAvUNJjc6qrSZyMS8khuLCb9VOxL


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/gastonia-slowpitch/hall-of-fame/
QUERY_STRING = var=league&varb=gastonia-slowpitch&varc=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=gastonia-slowpitch&varc=hall-of-fame
REDIRECT_URL = /league/gastonia-slowpitch/hall-of-fame/
REMOTE_PORT = 1810
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 = 18.189.182.160
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/league/gastonia-slowpitch/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = care_did=9c47bd2c-205a-4c44-8c63-9875cffe08fe; fikker-XKnS-tWlJ=F7FoTAvUNJjc6qrSZyMS8khuLCb9VOxL
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/league/gastonia-slowpitch/hall-of-fame/
SCRIPT_URL = /league/gastonia-slowpitch/hall-of-fame/
UNIQUE_ID = ZzV0X-W3msYo4ELo2n0ajAAAAMw
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/gastonia-slowpitch/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/gastonia-slowpitch/hall-of-fame/
REDIRECT_UNIQUE_ID = ZzV0X-W3msYo4ELo2n0ajAAAAMw
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1731556447.4529
REQUEST_TIME = 1731556447


SQL Queries


Total Queries: 371
Total Execution Time: 187.9191ms
Avg Execution Time:0.5065204851752ms

QUERY(1.6081ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-11-14', '03:54:07', 'GET', '/league/gastonia-slowpitch/hall-of-fame/', '18.189.182.160', 'https://netstuffersdev1.com/league/gastonia-slowpitch/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheHNvNmhwWlVrNkptdFFmN1BjaW1EaHEzMnVwRHhyRmRoL1RsUWdjMDVLWTNYWHZ0RFhDc1FpT2RNcGVYTisvNVN0YWlyejMzS2h5VkdrdmM1WjhnNEI=','0','','1731556447') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1459ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/gastonia-slowpitch/hall-of-fame/'

QUERY(0.227ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/gastonia-slowpitch/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1481ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1061ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.5369ms) - 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`,`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`.`url` = 'gastonia-slowpitch' LIMIT 0,1

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

QUERY(0.453ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`url` = 'hall-of-fame' ORDER BY `league_dates`.`start_date` ASC

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

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

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

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

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

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

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

QUERY(0.114ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.5059ms) - 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`,`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`.`url` = 'gastonia-slowpitch' LIMIT 0,1

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

QUERY(0.4392ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`url` = 'hall-of-fame' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.201ms) - SELECT `company`.*,`img_url` FROM `company` INNER JOIN `photo` ON `photo`.`photo_id`=`company`.`logo_onwhite` WHERE `company_id`=1

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

QUERY(0.1149ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0999ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1259ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.133ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='' LIMIT 0,1

QUERY(0.2501ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`=79 ORDER BY `hall_of_fame` DESC LIMIT 0,1

QUERY(2.0642ms) - SELECT DISTINCT(`triumphs_awarded`.`season_id`),`name` FROM `triumphs_awarded` INNER JOIN `league_seasons` ON `triumphs_awarded`.`season_id`=`league_seasons`.`season_id` WHERE `triumphs_awarded`.`league_id`=79 ORDER BY `season_id` DESC LIMIT 0,1

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

QUERY(0.1109ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1111ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1061ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.092ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.1559ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`=''

QUERY(0.577ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '1' and `standings`.`league_id` = '79' and `standings`.`season_id` = NULL ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.129ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`=''

QUERY(0.5031ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '1' and `standings`.`league_id` = '79' and `standings`.`season_id` = NULL ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(2.166ms) - SELECT DISTINCT(`triumphs_awarded`.`season_id`),`name` FROM `triumphs_awarded` INNER JOIN `league_seasons` ON `triumphs_awarded`.`season_id`=`league_seasons`.`season_id` WHERE `triumphs_awarded`.`league_id`=79 ORDER BY `season_id` DESC

QUERY(0.1278ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=249 LIMIT 0,1

QUERY(0.4818ms) - 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`,`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` = '79' LIMIT 0,1

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

QUERY(0.479ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`season_id` = '249' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.2ms) - 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`=79 && `season_id`=249 LIMIT 0,1

QUERY(0.211ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=249 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2289ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='249' LIMIT 0,1

QUERY(0.1528ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='249' || `season_id`=0)

QUERY(0.2041ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='249' || `season_id`=0)

QUERY(0.1729ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='249'

QUERY(2.7831ms) - 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`='79' && `season_id`='249' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4051ms) - 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`='79' && `season_id`='249' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(1.5268ms) - 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`='79' && `season_id`='249' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.236ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='249' ORDER BY `season_id` DESC

QUERY(0.1781ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='249'

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

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

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

QUERY(0.1979ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=249 LIMIT 0,1

QUERY(0.607ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=249&&`playoff`=1 LIMIT 0,1

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

QUERY(0.3531ms) - 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`='79' && `league_teams`.`season_id`='249' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.4301ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='249'

QUERY(0.2041ms) - 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`='79' && `league_seasons`.`season_id`='249'

QUERY(0.1171ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=249 LIMIT 0,1

QUERY(0.1171ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=249

QUERY(1.0931ms) - 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 ('79','249',0,0,0,'85','7','21','9','7','57',0,0,'8',0,0,0,'159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='249',`articles`=0,`participants`=0,`conferences`=0,`players`='85',`coaches`='7',`subs`='21',`rules`='9',`teams`='7',`games`='57',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.15ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='249'

QUERY(5.6369ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='249') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '249' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.396ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='1'

QUERY(3.8781ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.263ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='2'

QUERY(2.2118ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2131ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='3'

QUERY(1.1709ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1941ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='4'

QUERY(0.9022ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2258ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='5'

QUERY(0.649ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1731ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='6'

QUERY(0.5629ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.1302ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=247 LIMIT 0,1

QUERY(0.478ms) - 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`,`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` = '79' LIMIT 0,1

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

QUERY(0.52ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`season_id` = '247' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.1791ms) - 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`=79 && `season_id`=247 LIMIT 0,1

QUERY(0.1891ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=247 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2179ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='247' LIMIT 0,1

QUERY(0.1781ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='247' || `season_id`=0)

QUERY(0.181ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='247' || `season_id`=0)

QUERY(0.144ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='247'

QUERY(0.562ms) - 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`='79' && `season_id`='247' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4029ms) - 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`='79' && `season_id`='247' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.468ms) - 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`='79' && `season_id`='247' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2291ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='247' ORDER BY `season_id` DESC

QUERY(0.1559ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='247'

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

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

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

QUERY(0.1462ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=247 LIMIT 0,1

QUERY(0.4952ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=247&&`playoff`=1 LIMIT 0,1

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

QUERY(0.3169ms) - 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`='79' && `league_teams`.`season_id`='247' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.4051ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='247'

QUERY(0.169ms) - 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`='79' && `league_seasons`.`season_id`='247'

QUERY(0.113ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=247 LIMIT 0,1

QUERY(0.1152ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=247

QUERY(1.1649ms) - 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 ('79','247',0,0,0,'38','3','12','9','3','24',0,0,'8',0,0,0,'159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='247',`articles`=0,`participants`=0,`conferences`=0,`players`='38',`coaches`='3',`subs`='12',`rules`='9',`teams`='3',`games`='24',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1311ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='247'

QUERY(2.8141ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='247') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '247' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.1118ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2759ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='1'

QUERY(2.9421ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2391ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='2'

QUERY(2.1889ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2139ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='3'

QUERY(1.1301ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.2019ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='4'

QUERY(0.8962ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1762ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='5'

QUERY(0.6449ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1769ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='6'

QUERY(0.5219ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.1109ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=203 LIMIT 0,1

QUERY(0.514ms) - 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`,`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` = '79' LIMIT 0,1

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

QUERY(0.495ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`season_id` = '203' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.149ms) - 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`=79 && `season_id`=203 LIMIT 0,1

QUERY(0.1791ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=203 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.21ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='203' LIMIT 0,1

QUERY(0.1531ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='203' || `season_id`=0)

QUERY(0.211ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='203' || `season_id`=0)

QUERY(0.2279ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='203'

QUERY(2.769ms) - 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`='79' && `season_id`='203' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3719ms) - 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`='79' && `season_id`='203' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.0339ms) - 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`='79' && `season_id`='203' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2041ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='203' ORDER BY `season_id` DESC

QUERY(0.155ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='203'

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

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

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

QUERY(0.159ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=203 LIMIT 0,1

QUERY(0.3588ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=203&&`playoff`=1 LIMIT 0,1

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

QUERY(0.3409ms) - 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`='79' && `league_teams`.`season_id`='203' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.3848ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='203'

QUERY(0.19ms) - 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`='79' && `league_seasons`.`season_id`='203'

QUERY(0.118ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=203 LIMIT 0,1

QUERY(0.1118ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=203

QUERY(0.9379ms) - 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 ('79','203','1',0,0,'95','8','10','9','8','64',0,0,'8',0,'10','1','159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='203',`articles`='1',`participants`=0,`conferences`=0,`players`='95',`coaches`='8',`subs`='10',`rules`='9',`teams`='8',`games`='64',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`='10',`prizes`='1',`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1299ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='203'

QUERY(6.4409ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='203') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '203' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.273ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='1'

QUERY(2.7931ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.263ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='2'

QUERY(2.0781ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2279ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='3'

QUERY(1.1289ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.206ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='4'

QUERY(0.8729ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1659ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='5'

QUERY(0.6909ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1841ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='6'

QUERY(0.536ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.119ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=201 LIMIT 0,1

QUERY(0.459ms) - 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`,`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` = '79' LIMIT 0,1

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

QUERY(0.53ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`season_id` = '201' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.17ms) - 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`=79 && `season_id`=201 LIMIT 0,1

QUERY(0.2091ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=201 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.1462ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='201' || `season_id`=0)

QUERY(0.1969ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='201' || `season_id`=0)

QUERY(0.15ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='201'

QUERY(0.586ms) - 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`='79' && `season_id`='201' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3841ms) - 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`='79' && `season_id`='201' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.234ms) - 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`='79' && `season_id`='201' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.231ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='201' ORDER BY `season_id` DESC

QUERY(0.1659ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='201'

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

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

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

QUERY(0.155ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=201 LIMIT 0,1

QUERY(0.4301ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=201&&`playoff`=1 LIMIT 0,1

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

QUERY(0.4342ms) - 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`='79' && `league_teams`.`season_id`='201' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.3629ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='201'

QUERY(0.1981ms) - 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`='79' && `league_seasons`.`season_id`='201'

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

QUERY(0.1111ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=201

QUERY(1.2391ms) - 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 ('79','201','1',0,0,'49','4','13','9','4','28',0,0,'8',0,'10','1','159',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='201',`articles`='1',`participants`=0,`conferences`=0,`players`='49',`coaches`='4',`subs`='13',`rules`='9',`teams`='4',`games`='28',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`='10',`prizes`='1',`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1628ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='201'

QUERY(3.4509ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='201') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '201' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.1321ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2608ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='1'

QUERY(2.9879ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.304ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='2'

QUERY(2.1389ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.195ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='3'

QUERY(1.1151ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.2038ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='4'

QUERY(0.869ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.16ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='5'

QUERY(0.6669ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1521ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='6'

QUERY(0.531ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.108ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=156 LIMIT 0,1

QUERY(0.4649ms) - 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`,`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` = '79' LIMIT 0,1

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

QUERY(0.5178ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`season_id` = '156' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.1621ms) - 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`=79 && `season_id`=156 LIMIT 0,1

QUERY(0.17ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=156 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1998ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='156' LIMIT 0,1

QUERY(0.1409ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='156' || `season_id`=0)

QUERY(0.17ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='156' || `season_id`=0)

QUERY(0.149ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='156'

QUERY(2.6739ms) - 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`='79' && `season_id`='156' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3572ms) - 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`='79' && `season_id`='156' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.3761ms) - 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`='79' && `season_id`='156' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.191ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='156' ORDER BY `season_id` DESC

QUERY(0.1619ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='156'

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

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

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

QUERY(0.1771ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=156 LIMIT 0,1

QUERY(0.4818ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=156&&`playoff`=1 LIMIT 0,1

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

QUERY(0.3691ms) - 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`='79' && `league_teams`.`season_id`='156' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.319ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='156'

QUERY(0.181ms) - 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`='79' && `league_seasons`.`season_id`='156'

QUERY(0.123ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=156 LIMIT 0,1

QUERY(0.1111ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=156

QUERY(1.034ms) - 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 ('79','156',0,0,0,'109','7','12','9','7','49',0,0,'8',0,0,'1','159',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='156',`articles`=0,`participants`=0,`conferences`=0,`players`='109',`coaches`='7',`subs`='12',`rules`='9',`teams`='7',`games`='49',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1369ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='156'

QUERY(5.6031ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='156') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '156' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.1311ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.277ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='1'

QUERY(2.8529ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2501ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='2'

QUERY(2.1791ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.1979ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='3'

QUERY(0.968ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.191ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='4'

QUERY(0.8559ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1931ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='5'

QUERY(0.632ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.1781ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='6'

QUERY(0.5569ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.145ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=117 LIMIT 0,1

QUERY(0.4721ms) - 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`,`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` = '79' LIMIT 0,1

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

QUERY(0.4771ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '79' and `league_seasons`.`season_id` = '117' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.149ms) - 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`=79 && `season_id`=117 LIMIT 0,1

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

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

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

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

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

QUERY(2.6798ms) - 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`='79' && `season_id`='117' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3762ms) - 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`='79' && `season_id`='117' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.4459ms) - 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`='79' && `season_id`='117' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

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

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

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

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

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

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

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

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

QUERY(0.3679ms) - 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`='79' && `league_teams`.`season_id`='117' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

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

QUERY(0.253ms) - 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`='79' && `league_seasons`.`season_id`='117'

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

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

QUERY(1.0169ms) - 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 ('79','117','5',0,0,'113','10','11','9','8','79',0,0,'8',0,0,0,'159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='117',`articles`='5',`participants`=0,`conferences`=0,`players`='113',`coaches`='10',`subs`='11',`rules`='9',`teams`='8',`games`='79',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

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

QUERY(0.1428ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='117'

QUERY(6.398ms) - 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`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`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`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='117') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '117' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

QUERY(0.144ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.268ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='1'

QUERY(2.8231ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.246ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='2'

QUERY(2.157ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.1979ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='3'

QUERY(1.102ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.2019ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='4'

QUERY(0.946ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.1938ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='5'

QUERY(0.6351ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=5 ORDER BY `date` DESC

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

QUERY(0.2031ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='6'

QUERY(0.562ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=6 ORDER BY `date` DESC

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

QUERY(0.252ms) - SELECT SQL_CACHE `code` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:27:%' || (`global`=1 && `exclude` NOT LIKE '%:27:%') ) ORDER BY `id` ASC