SOLD OUT

This event has reached capacity.

Ultra Draft

2024 Miken/Easton/Worth Series
Powered by Easton/Miken/Worth

Event: Jacksonville 2024 (Other Events)
Sport: Softball
CoedSocialDraft
Event Director
Sports Drafts LLC
Contact / Learn More
Venue
Drew Park
Jacksonville, FL
Dates
Mar 02, 2024 - Mar 03, 2024

SOLD OUT

This event has reached capacity.


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

Anchorage 2024 - Final Results

Perris, CA 2024 - Final Results

Jacksonville 2024 - Final Results

104 173
PEAK MEMORY: 6.62 MiB
MEMORY USAGE AFTER: 5.36 MiB

Debug Information


Request Variables

var = ultra

varb = miken-easton-worth-series

varc = jacksonville-2024

vard = hall-of-fame

vara =

vare =

view_var = ultra

view_varb = miken-easton-worth-series

view_varc = jacksonville-2024

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: c4f18e8cad2b2ca1bdf6fe08af5c19dc

Login Type:

BASE:: ultra

FULL LINK:: ultra/miken-easton-worth-series/jacksonville-2024/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 = c4f18e8cad2b2ca1bdf6fe08af5c19dc
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/
QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=jacksonville-2024&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=miken-easton-worth-series&varc=jacksonville-2024&vard=hall-of-fame
REDIRECT_URL = /ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/
REMOTE_PORT = 37162
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.17.78.184
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/miken-easton-worth-series/jacksonville-2024/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/miken-easton-worth-series/jacksonville-2024/hall-of-fame/
SCRIPT_URL = /ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/
UNIQUE_ID = Z23DrSmhCPeZ-cHuX5d7dAAAAQw
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/
REDIRECT_SCRIPT_URL = /ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/
REDIRECT_UNIQUE_ID = Z23DrSmhCPeZ-cHuX5d7dAAAAQw
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1735246765.8804
REQUEST_TIME = 1735246765


SQL Queries


Total Queries: 462
Total Execution Time: 266.5116ms
Avg Execution Time:0.57686493506494ms

QUERY(1.1101ms) - 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-12-26', '20:59:25', 'GET', '/ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/', '3.17.78.184', 'https://netstuffersdev1.com/ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheklKK2prYU9MN21hbU1GYUZqcWZJcDY2UkxDZ3gwL3pKU2l6eXJlQU15VkVVM1ZPdFc3UGRWaVRKZ2FiOHRDdXQxcDRyT2dwbkZqK0xaYVBDc1U4NkY=','0','','1735246765') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1419ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame/'

QUERY(0.2332ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/miken-easton-worth-series/jacksonville-2024/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1249ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.133ms) - SELECT SQL_CACHE * FROM league_config

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

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.5ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`url` = 'jacksonville-2024' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1469ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=173

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

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

QUERY(0.2179ms) - 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`=104 && `season_id`=173 LIMIT 0,1

QUERY(0.2019ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=173 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

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

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

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

QUERY(0.108ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.129ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='miken-easton-worth-series'

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

QUERY(0.0999ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1049ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1361ms) - SELECT * FROM `league_notices` WHERE `league_id`=104 && `season_id`=173

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

QUERY(0.1001ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.109ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1149ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0889ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.0811ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.1302ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='173'

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

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

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

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

QUERY(0.5288ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' 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.5ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '185' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1411ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=185

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

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

QUERY(0.1512ms) - 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`=104 && `season_id`=185 LIMIT 0,1

QUERY(0.1831ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=185 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.118ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='185'

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

QUERY(0.1111ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2651ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='1'

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

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

QUERY(0.2298ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='2'

QUERY(2.3341ms) - 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`='185' && `finish_rank`=2 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`='1'

QUERY(0.1938ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='3'

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

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

QUERY(0.2022ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='4'

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

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

QUERY(0.1619ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='5'

QUERY(0.7501ms) - 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`='185' && `finish_rank`=5 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`='1'

QUERY(0.1791ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='185' && `ranking`='6'

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

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

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

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

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

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

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

QUERY(0.1161ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=183

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

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

QUERY(0.1609ms) - 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`=104 && `season_id`=183 LIMIT 0,1

QUERY(0.1762ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=183 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.124ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='183'

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

QUERY(0.104ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2511ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='1'

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

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

QUERY(0.222ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='2'

QUERY(2.3329ms) - 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`='183' && `finish_rank`=2 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`='1'

QUERY(0.1929ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='3'

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

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

QUERY(0.1819ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='4'

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

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

QUERY(0.159ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='5'

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

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

QUERY(0.1709ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='183' && `ranking`='6'

QUERY(0.5999ms) - 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`='183' && `finish_rank`=6 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.1109ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=182 LIMIT 0,1

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

QUERY(0.1361ms) - 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`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '182' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1621ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=182

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

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

QUERY(0.1478ms) - 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`=104 && `season_id`=182 LIMIT 0,1

QUERY(0.1769ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=182 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2069ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='182' LIMIT 0,1

QUERY(0.1509ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='182' || `season_id`=0)

QUERY(0.1891ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='182' || `season_id`=0)

QUERY(0.14ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='182'

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

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

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

QUERY(0.1981ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='182' ORDER BY `season_id` DESC

QUERY(0.1531ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='182'

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

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

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

QUERY(0.1249ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=182 LIMIT 0,1

QUERY(0.139ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=182 LIMIT 0,1

QUERY(0.1991ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=182&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.1681ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='182'

QUERY(0.1831ms) - 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`='104' && `league_seasons`.`season_id`='182'

QUERY(0.1161ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=182 LIMIT 0,1

QUERY(0.119ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=182

QUERY(1.2162ms) - 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 ('104','182','2',0,0,'91','6','3','6','6',0,0,'1','17',0,'7','1','338','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='182',`articles`='2',`participants`=0,`conferences`=0,`players`='91',`coaches`='6',`subs`='3',`rules`='6',`teams`='6',`games`=0,`groups`=0,`divisions`='1',`seasons`='17',`sponsors`=0,`products`='7',`prizes`='1',`triumphs`='338',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1352ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='182'

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2551ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='1'

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

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

QUERY(0.253ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='2'

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

QUERY(0.129ms) - 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`='104' && `season_id`='182' && `ranking`='3'

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

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

QUERY(0.174ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='4'

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

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

QUERY(0.18ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='5'

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

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

QUERY(0.159ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='182' && `ranking`='6'

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

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

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

QUERY(0.4969ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' 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.473ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '180' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.123ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=180

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

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

QUERY(0.165ms) - 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`=104 && `season_id`=180 LIMIT 0,1

QUERY(0.1779ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=180 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.216ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='180' LIMIT 0,1

QUERY(0.1521ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='180' || `season_id`=0)

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

QUERY(0.1419ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='180'

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

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

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

QUERY(0.216ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='180' ORDER BY `season_id` DESC

QUERY(0.1552ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='180'

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

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

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

QUERY(0.1481ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=180 LIMIT 0,1

QUERY(0.1738ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=180&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.1891ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='180'

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`='104' && `league_seasons`.`season_id`='180'

QUERY(0.1199ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=180 LIMIT 0,1

QUERY(0.113ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=180

QUERY(1.0409ms) - 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 ('104','180','1',0,0,'195','12','6','6','12',0,0,0,'17',0,0,'1','338','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='180',`articles`='1',`participants`=0,`conferences`=0,`players`='195',`coaches`='12',`subs`='6',`rules`='6',`teams`='12',`games`=0,`groups`=0,`divisions`=0,`seasons`='17',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='338',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.1199ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='180'

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

QUERY(0.1259ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.258ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='1'

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

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

QUERY(0.268ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='2'

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

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

QUERY(0.216ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='3'

QUERY(1.2331ms) - 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`='180' && `finish_rank`=3 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.1881ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='4'

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

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

QUERY(0.1969ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='5'

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

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

QUERY(0.165ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='180' && `ranking`='6'

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

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

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

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

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.5291ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '179' ORDER BY `league_dates`.`start_date` ASC

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.1469ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=179

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

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

QUERY(0.175ms) - 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`=104 && `season_id`=179 LIMIT 0,1

QUERY(0.1969ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=179 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2089ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='179' LIMIT 0,1

QUERY(0.1988ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='179' || `season_id`=0)

QUERY(0.2048ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='179' || `season_id`=0)

QUERY(0.176ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='179'

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

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

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

QUERY(0.2251ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='179' ORDER BY `season_id` DESC

QUERY(0.1569ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='179'

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

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

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

QUERY(0.16ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=179 LIMIT 0,1

QUERY(0.1891ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=179&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.175ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='179'

QUERY(0.1779ms) - 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`='104' && `league_seasons`.`season_id`='179'

QUERY(0.1261ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=179 LIMIT 0,1

QUERY(0.1221ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=179

QUERY(1.076ms) - 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 ('104','179','2',0,0,'170','10','9','6','10',0,0,0,'17',0,0,'1','338','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='179',`articles`='2',`participants`=0,`conferences`=0,`players`='170',`coaches`='10',`subs`='9',`rules`='6',`teams`='10',`games`=0,`groups`=0,`divisions`=0,`seasons`='17',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='338',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.134ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='179'

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

QUERY(0.1178ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2558ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='1'

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

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

QUERY(0.2389ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='2'

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

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

QUERY(0.1869ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='3'

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

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

QUERY(0.1829ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='4'

QUERY(0.802ms) - 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`='179' && `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.1509ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='5'

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

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

QUERY(0.1631ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='179' && `ranking`='6'

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

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

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

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

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

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

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

QUERY(0.1271ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=178

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

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

QUERY(0.1481ms) - 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`=104 && `season_id`=178 LIMIT 0,1

QUERY(0.181ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=178 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.1271ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='178'

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

QUERY(0.1791ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.314ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='1'

QUERY(3.2341ms) - 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`='178' && `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.2289ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='2'

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

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

QUERY(0.201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='3'

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

QUERY(0.124ms) - 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`='104' && `season_id`='178' && `ranking`='4'

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

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

QUERY(0.1638ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='5'

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

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

QUERY(0.164ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='178' && `ranking`='6'

QUERY(0.5031ms) - 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`='178' && `finish_rank`=6 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.1171ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=176 LIMIT 0,1

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

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

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

QUERY(0.123ms) - 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 COUNT(order_id) FROM products_purchased WHERE season_id=176

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

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

QUERY(0.1569ms) - 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`=104 && `season_id`=176 LIMIT 0,1

QUERY(0.1831ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=176 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1938ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='176' LIMIT 0,1

QUERY(0.1521ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='176' || `season_id`=0)

QUERY(0.1822ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='176' || `season_id`=0)

QUERY(0.14ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='176'

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

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

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

QUERY(0.195ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='176' ORDER BY `season_id` DESC

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

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

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

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

QUERY(0.1299ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=176 LIMIT 0,1

QUERY(0.1519ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=176 LIMIT 0,1

QUERY(0.165ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=176&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.149ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='176'

QUERY(0.1678ms) - 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`='104' && `league_seasons`.`season_id`='176'

QUERY(0.0999ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=176 LIMIT 0,1

QUERY(0.103ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=176

QUERY(1.2548ms) - 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 ('104','176','4',0,0,'288','16','4','6','17',0,0,'1','17',0,0,'1','338','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='176',`articles`='4',`participants`=0,`conferences`=0,`players`='288',`coaches`='16',`subs`='4',`rules`='6',`teams`='17',`games`=0,`groups`=0,`divisions`='1',`seasons`='17',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='338',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

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

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

QUERY(0.1061ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.278ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='1'

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

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

QUERY(0.222ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='2'

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

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

QUERY(0.1969ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='3'

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

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

QUERY(0.19ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='4'

QUERY(0.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`='176' && `finish_rank`=4 ORDER BY `date` DESC

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

QUERY(0.2279ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='5'

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

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

QUERY(0.1869ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='176' && `ranking`='6'

QUERY(0.5729ms) - 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`='176' && `finish_rank`=6 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.1159ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=175 LIMIT 0,1

QUERY(0.519ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '104' 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.509ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '104' and `league_seasons`.`season_id` = '175' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1471ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=175

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

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

QUERY(0.1731ms) - 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`=104 && `season_id`=175 LIMIT 0,1

QUERY(0.195ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=175 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.236ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='104' && `season_id`='175' LIMIT 0,1

QUERY(0.174ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='104' && (`season_id`='175' || `season_id`=0)

QUERY(0.1829ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='104' && (`season_id`='175' || `season_id`=0)

QUERY(0.1578ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=104 && `season_id`=0) || `season_id`='175'

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

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

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

QUERY(0.2079ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='104' || `season_id`='175' ORDER BY `season_id` DESC

QUERY(0.1421ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='104' && `season_id`='175'

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

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

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

QUERY(0.16ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=104&&`season_id`=175 LIMIT 0,1

QUERY(0.144ms) - SELECT SQL_CACHE `division_id` FROM `league_divisions` WHERE `league_id`=104&&`season_id`=175 LIMIT 0,1

QUERY(0.186ms) - SELECT `game_id` FROM `games` WHERE `league_id`=104&&`season_id`=175&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.1709ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='104' && `season_id`='175'

QUERY(0.1771ms) - 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`='104' && `league_seasons`.`season_id`='175'

QUERY(0.1049ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=175 LIMIT 0,1

QUERY(0.1211ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=104 && `season_id`=175

QUERY(1.0152ms) - 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 ('104','175','3',0,0,'238','19','4','6','19',0,0,'1','17',0,0,'1','338','1',0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='104',`season_id`='175',`articles`='3',`participants`=0,`conferences`=0,`players`='238',`coaches`='19',`subs`='4',`rules`='6',`teams`='19',`games`=0,`groups`=0,`divisions`='1',`seasons`='17',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='338',`hotels`='1',`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.149ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='175'

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

QUERY(0.1149ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2961ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='1'

QUERY(2.9521ms) - 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`='175' && `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.226ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='2'

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

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

QUERY(0.2ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='3'

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

QUERY(0.1419ms) - 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`='104' && `season_id`='175' && `ranking`='4'

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

QUERY(0.1328ms) - 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`='104' && `season_id`='175' && `ranking`='5'

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

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

QUERY(0.1681ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='175' && `ranking`='6'

QUERY(0.5021ms) - 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`='175' && `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.1111ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=173 LIMIT 0,1

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

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

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

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

QUERY(0.133ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=173

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

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

QUERY(0.1662ms) - 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`=104 && `season_id`=173 LIMIT 0,1

QUERY(0.2429ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=104 && `season_id`=173 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.1221ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='104' && `season_id`='173'

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

QUERY(0.1118ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2611ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='1'

QUERY(2.8419ms) - 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`='173' && `finish_rank`=1 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`='1'

QUERY(0.2279ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='2'

QUERY(2.136ms) - 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`='173' && `finish_rank`=2 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.191ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='3'

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

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

QUERY(0.165ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='4'

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

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

QUERY(0.1581ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='104' && `season_id`='173' && `ranking`='5'

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

QUERY(0.1161ms) - 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`='104' && `season_id`='173' && `ranking`='6'

QUERY(0.505ms) - 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`='173' && `finish_rank`=6 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.2189ms) - SELECT SQL_CACHE `code`,`name` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:57:%' || (`global`=1 && `exclude` NOT LIKE '%:57:%') ) ORDER BY `sort` ASC