Ultra Draft

Gin & Juice Draft Tourney

Event: Myrtle Beach - Spring 2025 (Other Events)
Sport: Softball
CoedSocialDraft
Event Director
Venue
Grand Park Market Common
Myrtle Beach, SC
Dates
Apr 05, 2025 - Apr 06, 2025
Days
Hours
Minutes
Seconds
Join Ultra Draft

Deprecated: Automatic conversion of false to array is deprecated in /home/leaguejo_dev/public_html/templates/lj/modules/league/hall-of-fame.php on line 27
91 320
PEAK MEMORY: 10.81 MiB
MEMORY USAGE AFTER: 9.16 MiB

Debug Information


Request Variables

var = ultra

varb = gin-juice-draft-tourney

varc = myrtle-spring-2025

vard = hall-of-fame

vara =

vare =

view_var = ultra

view_varb = gin-juice-draft-tourney

view_varc = myrtle-spring-2025

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: 43c32fbcae971cf24a7c6f4bcb28dd4e

Login Type:

BASE:: ultra

FULL LINK:: ultra/gin-juice-draft-tourney/myrtle-spring-2025/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] => [11] => [12] => [13] => [14] => [15] => )

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

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

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = 43c32fbcae971cf24a7c6f4bcb28dd4e
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/
QUERY_STRING = var=ultra&varb=gin-juice-draft-tourney&varc=myrtle-spring-2025&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=gin-juice-draft-tourney&varc=myrtle-spring-2025&vard=hall-of-fame
REDIRECT_URL = /ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/
REMOTE_PORT = 4136
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.15.151.109
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/gin-juice-draft-tourney/myrtle-spring-2025/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/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/
SCRIPT_URL = /ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/
UNIQUE_ID = Z4szBhxhbHikhtngI99TMAAAAJE
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/
REDIRECT_SCRIPT_URL = /ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/
REDIRECT_UNIQUE_ID = Z4szBhxhbHikhtngI99TMAAAAJE
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1737175814.8024
REQUEST_TIME = 1737175814


SQL Queries


Total Queries: 243
Total Execution Time: 75.4679ms
Avg Execution Time:0.31056748971193ms

QUERY(0.9658ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2025-01-18', '04:50:14', 'GET', '/ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/', '3.15.151.109', 'https://netstuffersdev1.com/ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd3RJRnY5ZVZjeGUrb1M4VnM4cC9PSmhYbkJreGhYOElxN0hKL04zczJyd093bmVORCtzNXRQWDYwWVZQZEhVM2ExQndmRzVqRFhSVTJaaGthVCsvSXo=','0','','1737175814') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.097ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame/'

QUERY(0.2072ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/gin-juice-draft-tourney/myrtle-spring-2025/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.103ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1309ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.3562ms) - 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` = 'gin-juice-draft-tourney' LIMIT 0,1

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

QUERY(0.294ms) - 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` = '91' and `league_seasons`.`url` = 'myrtle-spring-2025' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1032ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=320

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

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

QUERY(0.159ms) - 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`=91 && `season_id`=320 LIMIT 0,1

QUERY(0.155ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=91 && `season_id`=320 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1361ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='91' && `season_id`='320' LIMIT 0,1

QUERY(0.14ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='91' && (`season_id`='320' || `season_id`=0)

QUERY(0.134ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='91' && (`season_id`='320' || `season_id`=0)

QUERY(0.1118ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=91 && `season_id`=0) || `season_id`='320'

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

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

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

QUERY(0.1419ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='91' || `season_id`='320' ORDER BY `season_id` DESC

QUERY(0.1681ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='91' && `season_id`='320'

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

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

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

QUERY(0.1631ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=91&&`season_id`=320 LIMIT 0,1

QUERY(0.16ms) - SELECT `game_id` FROM `games` WHERE `league_id`=91&&`season_id`=320&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.1631ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='91' && `season_id`='320'

QUERY(0.1822ms) - 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`='91' && `league_seasons`.`season_id`='320'

QUERY(0.083ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=320 LIMIT 0,1

QUERY(0.1011ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=320

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

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

QUERY(0.164ms) - 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.1149ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/New_York'

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

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

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

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

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

QUERY(0.082ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.123ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='gin-juice-draft-tourney'

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

QUERY(0.087ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1001ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0999ms) - SELECT * FROM `league_notices` WHERE `league_id`=91 && `season_id`=320

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

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

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

QUERY(0.108ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1092ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0899ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1659ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.0811ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.1309ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='91' && `season_id`='320'

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

QUERY(0.3169ms) - 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`='91' && `league_teams`.`season_id`='320') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '91' and `standings`.`season_id` = '320' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.129ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=91 && `season_id`=320

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

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

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

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

QUERY(0.324ms) - 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` = '91' and `league_seasons`.`season_id` = '255' 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.1681ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=255

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

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

QUERY(0.1199ms) - 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`=91 && `season_id`=255 LIMIT 0,1

QUERY(0.1431ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=91 && `season_id`=255 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.119ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='91' && `season_id`='255' LIMIT 0,1

QUERY(0.1009ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='91' && (`season_id`='255' || `season_id`=0)

QUERY(0.1462ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='91' && (`season_id`='255' || `season_id`=0)

QUERY(0.1352ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=91 && `season_id`=0) || `season_id`='255'

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

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

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

QUERY(0.149ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='91' || `season_id`='255' ORDER BY `season_id` DESC

QUERY(0.1349ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='91' && `season_id`='255'

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

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

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

QUERY(0.1149ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=91&&`season_id`=255 LIMIT 0,1

QUERY(0.1361ms) - SELECT `game_id` FROM `games` WHERE `league_id`=91&&`season_id`=255&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.129ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='91' && `season_id`='255'

QUERY(0.1161ms) - 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`='91' && `league_seasons`.`season_id`='255'

QUERY(0.104ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=255 LIMIT 0,1

QUERY(0.1092ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=255

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

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

QUERY(0.088ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='91' && `season_id`='255'

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

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1988ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='255' && `ranking`='1'

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

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

QUERY(0.165ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='255' && `ranking`='2'

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

QUERY(0.0989ms) - 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`='91' && `season_id`='255' && `ranking`='3'

QUERY(0.5081ms) - 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`='255' && `finish_rank`=3 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.1349ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='255' && `ranking`='4'

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

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

QUERY(0.1211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='255' && `ranking`='5'

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

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

QUERY(0.108ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='255' && `ranking`='6'

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

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

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

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

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

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

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

QUERY(0.15ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=171

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

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

QUERY(0.113ms) - 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`=91 && `season_id`=171 LIMIT 0,1

QUERY(0.15ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=91 && `season_id`=171 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.118ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='91' && `season_id`='171' LIMIT 0,1

QUERY(0.138ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='91' && (`season_id`='171' || `season_id`=0)

QUERY(0.1862ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='91' && (`season_id`='171' || `season_id`=0)

QUERY(0.1218ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=91 && `season_id`=0) || `season_id`='171'

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

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

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

QUERY(0.1261ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='91' || `season_id`='171' ORDER BY `season_id` DESC

QUERY(0.1101ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='91' && `season_id`='171'

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

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

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

QUERY(0.108ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=91&&`season_id`=171 LIMIT 0,1

QUERY(0.1311ms) - SELECT `game_id` FROM `games` WHERE `league_id`=91&&`season_id`=171&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.1829ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='91' && `season_id`='171'

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`='91' && `league_seasons`.`season_id`='171'

QUERY(0.077ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=171 LIMIT 0,1

QUERY(0.0989ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=171

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

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

QUERY(0.1211ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='91' && `season_id`='171'

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

QUERY(0.102ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1969ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='171' && `ranking`='1'

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

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

QUERY(0.176ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='171' && `ranking`='2'

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

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

QUERY(0.1299ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='171' && `ranking`='3'

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

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

QUERY(0.1898ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='171' && `ranking`='4'

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

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

QUERY(0.1211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='171' && `ranking`='5'

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

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

QUERY(0.1421ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='171' && `ranking`='6'

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

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

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

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

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

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

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

QUERY(0.1099ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=142

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

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

QUERY(0.1171ms) - 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`=91 && `season_id`=142 LIMIT 0,1

QUERY(0.1471ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=91 && `season_id`=142 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1271ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='91' && `season_id`='142' LIMIT 0,1

QUERY(0.1261ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='91' && (`season_id`='142' || `season_id`=0)

QUERY(0.129ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='91' && (`season_id`='142' || `season_id`=0)

QUERY(0.1411ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=91 && `season_id`=0) || `season_id`='142'

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

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

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

QUERY(0.149ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='91' || `season_id`='142' ORDER BY `season_id` DESC

QUERY(0.1159ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='91' && `season_id`='142'

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

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

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

QUERY(0.1059ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=91&&`season_id`=142 LIMIT 0,1

QUERY(0.1249ms) - SELECT `game_id` FROM `games` WHERE `league_id`=91&&`season_id`=142&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.123ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='91' && `season_id`='142'

QUERY(0.1311ms) - 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`='91' && `league_seasons`.`season_id`='142'

QUERY(0.0889ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=142 LIMIT 0,1

QUERY(0.0899ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=142

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

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

QUERY(0.107ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='91' && `season_id`='142'

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

QUERY(0.098ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1822ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='142' && `ranking`='1'

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

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

QUERY(0.272ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='142' && `ranking`='2'

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

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

QUERY(0.1481ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='142' && `ranking`='3'

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`='142' && `finish_rank`=3 ORDER BY `date` DESC

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

QUERY(0.1352ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='142' && `ranking`='4'

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

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

QUERY(0.1271ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='142' && `ranking`='5'

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

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

QUERY(0.119ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='91' && `season_id`='142' && `ranking`='6'

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

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

QUERY(0.149ms) - 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