Ultra Draft

New Orleans Ultra Draft

Event: King Cake 2025 (Other Events)
Sport: Softball
CoedSocialDraft
Event Director
Venue
La Salle Park
Metairie, LA
Dates
Feb 21, 2025 - Feb 23, 2025
Days
Hours
Minutes
Seconds
Join Ultra Draft

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
57 284
PEAK MEMORY: 12.03 MiB
MEMORY USAGE AFTER: 10.58 MiB

Debug Information


Request Variables

var = ultra

varb = new-orleans

varc = king-cake

vard = hall-of-fame

vara =

vare =

view_var = ultra

view_varb = new-orleans

view_varc = king-cake

view_vard = hall-of-fame

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 19218a66072ad9ce28f9463199262b6c

Login Type:

BASE:: ultra

FULL LINK:: ultra/new-orleans/king-cake/hall-of-fame

Page ID: 57

Page ID:: 57

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 = 19218a66072ad9ce28f9463199262b6c
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/new-orleans/king-cake/hall-of-fame/
QUERY_STRING = var=ultra&varb=new-orleans&varc=king-cake&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=new-orleans&varc=king-cake&vard=hall-of-fame
REDIRECT_URL = /ultra/new-orleans/king-cake/hall-of-fame/
REMOTE_PORT = 51830
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.22.248.177
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/ultra/new-orleans/king-cake/hall-of-fame
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/ultra/new-orleans/king-cake/hall-of-fame/
SCRIPT_URL = /ultra/new-orleans/king-cake/hall-of-fame/
UNIQUE_ID = ZzPXSpaSGK0lUDVWk9ACTgAAAME
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/new-orleans/king-cake/hall-of-fame/
REDIRECT_SCRIPT_URL = /ultra/new-orleans/king-cake/hall-of-fame/
REDIRECT_UNIQUE_ID = ZzPXSpaSGK0lUDVWk9ACTgAAAME
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1731450698.3186
REQUEST_TIME = 1731450698


SQL Queries


Total Queries: 187
Total Execution Time: 131.6421ms
Avg Execution Time:0.70396844919786ms

QUERY(1.6961ms) - 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-12', '22:31:38', 'GET', '/ultra/new-orleans/king-cake/hall-of-fame/', '3.22.248.177', 'https://netstuffersdev1.com/ultra/new-orleans/king-cake/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheEp2dmdZT0FnV2RYU2FJWUxjS2pOajJySUZpNjRNSVE1L2ptSnpGeTY1UGZya3NaV2FtdFozSzRFSUZoYXFzWURDcHArSTk2U3YxWjY0c2krbGRTalM=','0','','1731450698') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1581ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/new-orleans/king-cake/hall-of-fame/'

QUERY(0.2761ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/new-orleans/king-cake/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.17ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1631ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.6418ms) - 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` = 'new-orleans' LIMIT 0,1

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

QUERY(0.6449ms) - 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` = '57' and `league_seasons`.`url` = 'king-cake' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.2441ms) - 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`=57 && `season_id`=284 LIMIT 0,1

QUERY(0.2601ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=57 && `season_id`=284 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.3481ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='57' && `season_id`='284' LIMIT 0,1

QUERY(0.2079ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='57' && (`season_id`='284' || `season_id`=0)

QUERY(0.2439ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='57' && (`season_id`='284' || `season_id`=0)

QUERY(0.191ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=57 && `season_id`=0) || `season_id`='284'

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

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

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

QUERY(0.2651ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='57' || `season_id`='284' ORDER BY `season_id` DESC

QUERY(0.2019ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='57' && `season_id`='284'

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

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

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

QUERY(0.1919ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=57&&`season_id`=284 LIMIT 0,1

QUERY(0.3359ms) - SELECT `game_id` FROM `games` WHERE `league_id`=57&&`season_id`=284&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.195ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='57' && `season_id`='284'

QUERY(0.2451ms) - 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`='57' && `league_seasons`.`season_id`='284'

QUERY(0.1411ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=57 && `season_id`=284 LIMIT 0,1

QUERY(0.1841ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=57 && `season_id`=284

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

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

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

QUERY(0.1431ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/Indianapolis'

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

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

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

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

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

QUERY(0.1562ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1559ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='new-orleans'

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

QUERY(0.1879ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.134ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1469ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1531ms) - SELECT * FROM `league_notices` WHERE `league_id`=57 && `season_id`=284

QUERY(0.7861ms) - SELECT SQL_CACHE `standings_id` FROM `standings` WHERE `season_id`=284 LIMIT 0,1

QUERY(0.247ms) - SELECT SQL_CACHE `standings_override` FROM `league_schedule_options` WHERE `season_id`=284 LIMIT 0,1

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.144ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1218ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.1099ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.2ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='57' && `season_id`='284'

QUERY(0.807ms) - 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`='57' && `league_teams`.`season_id`='284') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '57' and `standings`.`season_id` = '284' 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.159ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='57' && `season_id`='284'

QUERY(0.7441ms) - 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`='57' && `league_teams`.`season_id`='284') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '57' and `standings`.`season_id` = '284' 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.1581ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=57 && `season_id`=284

QUERY(1.6422ms) - 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`=57 ORDER BY `season_id` DESC

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

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

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

QUERY(0.6299ms) - 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` = '57' and `league_seasons`.`season_id` = '172' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.196ms) - 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`=57 && `season_id`=172 LIMIT 0,1

QUERY(0.2799ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=57 && `season_id`=172 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2451ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='57' && `season_id`='172' LIMIT 0,1

QUERY(0.196ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='57' && (`season_id`='172' || `season_id`=0)

QUERY(0.304ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='57' && (`season_id`='172' || `season_id`=0)

QUERY(0.1891ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=57 && `season_id`=0) || `season_id`='172'

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

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

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

QUERY(0.252ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='57' || `season_id`='172' ORDER BY `season_id` DESC

QUERY(0.18ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='57' && `season_id`='172'

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

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

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

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

QUERY(0.3781ms) - SELECT `game_id` FROM `games` WHERE `league_id`=57&&`season_id`=172&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.3321ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='57' && `season_id`='172'

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`='57' && `league_seasons`.`season_id`='172'

QUERY(0.1559ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=57 && `season_id`=172 LIMIT 0,1

QUERY(0.134ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=57 && `season_id`=172

QUERY(1.6189ms) - 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 ('57','172','9',0,0,'173','14','5','3','14','21',0,0,'3',0,'17','1','144',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='57',`season_id`='172',`articles`='9',`participants`=0,`conferences`=0,`players`='173',`coaches`='14',`subs`='5',`rules`='3',`teams`='14',`games`='21',`groups`=0,`divisions`=0,`seasons`='3',`sponsors`=0,`products`='17',`prizes`='1',`triumphs`='144',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1791ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='57' && `season_id`='172'

QUERY(15.732ms) - 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`='57' && `league_teams`.`season_id`='172') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '57' and `standings`.`season_id` = '172' 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.2019ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.133ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(1.6549ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='172' && `ranking`='1'

QUERY(6.7232ms) - 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`='172' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2708ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='172' && `ranking`='2'

QUERY(2.3839ms) - 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`='172' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2141ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='172' && `ranking`='3'

QUERY(1.3621ms) - 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`='172' && `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`='1'

QUERY(0.205ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='172' && `ranking`='4'

QUERY(1.06ms) - 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`='172' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.1688ms) - 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`='57' && `season_id`='172' && `ranking`='5'

QUERY(0.999ms) - 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`='172' && `finish_rank`=5 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.18ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='172' && `ranking`='6'

QUERY(0.634ms) - 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`='172' && `finish_rank`=6 ORDER BY `date` DESC

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

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

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

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.5779ms) - 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` = '57' and `league_seasons`.`season_id` = '83' ORDER BY `league_dates`.`start_date` ASC

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.1261ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=980 LIMIT 0,1

QUERY(0.1562ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=57 && `season_id`=83 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`=57 && `season_id`=83 LIMIT 0,1

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

QUERY(0.2401ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='57' && `season_id`='83' LIMIT 0,1

QUERY(0.2689ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='57' && (`season_id`='83' || `season_id`=0)

QUERY(0.201ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='57' && (`season_id`='83' || `season_id`=0)

QUERY(0.1688ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=57 && `season_id`=0) || `season_id`='83'

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

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

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

QUERY(0.2172ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='57' || `season_id`='83' ORDER BY `season_id` DESC

QUERY(0.1779ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='57' && `season_id`='83'

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

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

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

QUERY(0.164ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=57&&`season_id`=83 LIMIT 0,1

QUERY(0.1729ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=57&&`season_id`=83 LIMIT 0,1

QUERY(0.4191ms) - SELECT `game_id` FROM `games` WHERE `league_id`=57&&`season_id`=83&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.3271ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='57' && `season_id`='83'

QUERY(0.3211ms) - 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`='57' && `league_seasons`.`season_id`='83'

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

QUERY(0.114ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=57 && `season_id`=83

QUERY(1.3709ms) - 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 ('57','83','8',0,0,'207','19','9','3','18','45','1',0,'3','6','11','1','144',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='57',`season_id`='83',`articles`='8',`participants`=0,`conferences`=0,`players`='207',`coaches`='19',`subs`='9',`rules`='3',`teams`='18',`games`='45',`groups`='1',`divisions`=0,`seasons`='3',`sponsors`='6',`products`='11',`prizes`='1',`triumphs`='144',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.2029ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='57' && `season_id`='83'

QUERY(17.396ms) - 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`='57' && `league_teams`.`season_id`='83') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '57' and `standings`.`season_id` = '83' 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.1559ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1302ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.371ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='83' && `ranking`='1'

QUERY(2.939ms) - 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`='83' && `finish_rank`=1 ORDER BY `date` DESC

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

QUERY(0.2842ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='83' && `ranking`='2'

QUERY(2.3181ms) - 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`='83' && `finish_rank`=2 ORDER BY `date` DESC

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

QUERY(0.2511ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='83' && `ranking`='3'

QUERY(1.4091ms) - 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`='83' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.196ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='83' && `ranking`='4'

QUERY(0.9918ms) - 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`='83' && `finish_rank`=4 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`='1'

QUERY(0.212ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='57' && `season_id`='83' && `ranking`='5'

QUERY(0.9181ms) - 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`='83' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1981ms) - 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`='57' && `season_id`='83' && `ranking`='6'

QUERY(0.751ms) - 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`='83' && `finish_rank`=6 ORDER BY `date` DESC

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

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