This event has completed. This information has been preserved for archival purposes.
League

Thursday Slowpitch

Season: Men's Rec B - Spring 2024 (Other Seasons)
Sport: Softball
MenSocial
Event Director
Midwest Sports Complex
Contact / Learn More
Venue
Midwest Sports Complex
Indianapolis, IN
Day of the Week
THU
This event has completed. This information has been preserved for archival purposes.
Join as Alternate
124 218
PEAK MEMORY: 10.84 MiB
MEMORY USAGE AFTER: 8.46 MiB

Debug Information


Request Variables

var = league

varb = thursday-slowpitch

varc = mens-rec-b-spring-2024

vard = roster

vara =

vare =

view_var = league

view_varb = thursday-slowpitch

view_varc = mens-rec-b-spring-2024

view_vard = roster

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: ba23e7c18f1cc9ac348cfa248cfd0648

Login Type:

BASE:: league

FULL LINK:: league/thursday-slowpitch/mens-rec-b-spring-2024/roster

Page ID: 27

Page ID:: 27

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

Active Blocks: Array ( [0] => [1] => [2] => 1 [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => [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 = ba23e7c18f1cc9ac348cfa248cfd0648
fullstate =


Cookie Variables

care_did = 86b1de3c-1f26-4a18-a667-7e4a729a1433


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/thursday-slowpitch/mens-rec-b-spring-2024/roster/
QUERY_STRING = var=league&varb=thursday-slowpitch&varc=mens-rec-b-spring-2024&vard=roster
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=thursday-slowpitch&varc=mens-rec-b-spring-2024&vard=roster
REDIRECT_URL = /league/thursday-slowpitch/mens-rec-b-spring-2024/roster/
REMOTE_PORT = 36630
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.14.248.199
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/league/thursday-slowpitch/mens-rec-b-spring-2024/roster
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = care_did=86b1de3c-1f26-4a18-a667-7e4a729a1433
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/league/thursday-slowpitch/mens-rec-b-spring-2024/roster/
SCRIPT_URL = /league/thursday-slowpitch/mens-rec-b-spring-2024/roster/
UNIQUE_ID = Z5Az8aJ3rFANlHazgy4DKAAAAIE
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/thursday-slowpitch/mens-rec-b-spring-2024/roster/
REDIRECT_SCRIPT_URL = /league/thursday-slowpitch/mens-rec-b-spring-2024/roster/
REDIRECT_UNIQUE_ID = Z5Az8aJ3rFANlHazgy4DKAAAAIE
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1737503729.5447
REQUEST_TIME = 1737503729


SQL Queries


Total Queries: 76
Total Execution Time: 15.7587ms
Avg Execution Time:0.20735131578947ms

QUERY(1.2398ms) - 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-21', '23:55:29', 'GET', '/league/thursday-slowpitch/mens-rec-b-spring-2024/roster/', '3.14.248.199', 'https://netstuffersdev1.com/league/thursday-slowpitch/mens-rec-b-spring-2024/roster' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd2srOGtoa2lmL2hXZXNOZnp6WFdXKzRHTlVWd2FpSTVKaGpLQ3BPRFFhOWdNOHlwVXhGWlF4Q3M5SG9JSTFzUkNqUFlyRFlIM1dLNmVScGQ2d2U4cCs=','0','','1737503729') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.118ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/thursday-slowpitch/mens-rec-b-spring-2024/roster/'

QUERY(0.1631ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/thursday-slowpitch/mens-rec-b-spring-2024/roster' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.17ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.128ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.3541ms) - 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` = 'thursday-slowpitch' LIMIT 0,1

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

QUERY(0.3028ms) - 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` = '124' and `league_seasons`.`url` = 'mens-rec-b-spring-2024' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.175ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=218

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

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

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=124 && `season_id`=218 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.138ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='124' && `season_id`='218' LIMIT 0,1

QUERY(0.1049ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='124' && (`season_id`='218' || `season_id`=0)

QUERY(0.1559ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='124' && (`season_id`='218' || `season_id`=0)

QUERY(0.1159ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=124 && `season_id`=0) || `season_id`='218'

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

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

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

QUERY(0.1209ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='124' || `season_id`='218' ORDER BY `season_id` DESC

QUERY(0.113ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='124' && `season_id`='218'

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

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

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

QUERY(0.119ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=124&&`season_id`=218 LIMIT 0,1

QUERY(0.2551ms) - SELECT `game_id` FROM `games` WHERE `league_id`=124&&`season_id`=218&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.2449ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='124' && `season_id`='218'

QUERY(0.145ms) - 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`='124' && `league_seasons`.`season_id`='218'

QUERY(0.097ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=124 && `season_id`=218 LIMIT 0,1

QUERY(0.082ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=124 && `season_id`=218

QUERY(0.731ms) - 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 ('124','218',0,0,0,'9','5',0,'1','12','66',0,0,'7',0,0,0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='124',`season_id`='218',`articles`=0,`participants`=0,`conferences`=0,`players`='9',`coaches`='5',`subs`=0,`rules`='1',`teams`='12',`games`='66',`groups`=0,`divisions`=0,`seasons`='7',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`=0,`hotels`=0,`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`=218 LIMIT 0,1

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

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

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

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

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

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

QUERY(0.114ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.109ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='thursday-slowpitch'

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

QUERY(0.0939ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0789ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.088ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.118ms) - SELECT * FROM `league_notices` WHERE `league_id`=124 && `season_id`=218

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

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

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

QUERY(0.104ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0751ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.0999ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.067ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.102ms) - SELECT SQL_CACHE * FROM sports_config

QUERY(0.1111ms) - SELECT `position_id`,UPPER(`abbr`) AS `abbr` FROM `sports_positions` WHERE `sport_id`=1

QUERY(0.1941ms) - SELECT SQL_CACHE `teams`.`team_id`,`teams`.`fullname`,`teams`.`url`,`league_teams`.`season_id` FROM `teams` INNER JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) WHERE `league_teams`.`league_id` = '124' and `league_teams`.`season_id` = '218'

QUERY(2.7761ms) - SELECT SQL_CACHE `users`.`rookie`,`users`.`id`,`users`.`username`,`users`.`city_address`,`users`.`state_address`,`users`.`first_name`,`users`.`last_name`,`users`.`avatar_id`,`users`.`gender`,`users`.`user_url`,`users`.`level`,`users`.`confirmed`,`users`.`phone_number`,`users`.`email`,`users`.`approved`,`users`.`noemail`,`users`.`problem_list`,`users`.`creation`,`users`.`skill_flag`,`userprofiles_cache`.`trust`,`userprofiles_cache`.`ships`,`userprofiles_cache`.`avg_salary`,`userprofiles_cache`.`silvers`,`userprofiles_cache`.`age`,`league_players`.`credits_applied`,`league_players`.`league_players_id`,`league_players`.`ready`,`league_players`.`season_id`,`league_players`.`created`,`league_players`.`package_id`,`league_players`.`closed`,`league_players`.`moretime`,`league_players`.`player_id`,`league_players`.`league_id`,`league_players`.`alternate`,`league_players`.`coach`,`league_players`.`paid`,`league_players`.`couple`,`league_players`.`couple_uname`,`league_players`.`access`,`league_players`.`nosalary`,`users_socialmedia`.`facebook`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=1 LIMIT 0,1) AS `outfield`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=2 LIMIT 0,1) AS `infield`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=3 LIMIT 0,1) AS `speed`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=4 LIMIT 0,1) AS `hitting`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=5 LIMIT 0,1) AS `slugging`,(SELECT `value` FROM `user_attributes` WHERE `user_attributes`.`user_id`=`users`.`id` && `user_attributes`.`attribute_id`=7 LIMIT 0,1) AS `arm`,(SELECT `salary` FROM `draft_scouting_reports` WHERE `draft_scouting_reports`.`player_id`=`league_players`.`player_id` && `draft_scouting_reports`.`season_id`=`league_players`.`season_id` ORDER BY `lock` DESC LIMIT 0,1) AS `salary`,(SELECT `injury` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=1 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=218 DESC LIMIT 0,1) AS `injury`,(SELECT `abbr` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=1 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=218 DESC LIMIT 0,1) AS `primary`,(SELECT `abbr` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=2 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=218 DESC LIMIT 0,1) AS `secondary`,(SELECT `abbr` FROM `sports_positions` INNER JOIN `sports_positions_link` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `sports_positions_link`.`user_id`=`users`.`id` && `sports_positions_link`.`primary`=3 && `sports_positions`.`sport_id`=1 ORDER BY `season_id`=218 DESC LIMIT 0,1) AS `tertiary`,(SELECT `thumb_url` FROM `photo` WHERE `photo_id`=`users`.`avatar_id` LIMIT 0,1) AS `avatar`,(SELECT `payment_id` FROM `payments` WHERE `league_players`.`player_id`=`payments`.`player_id` && `payments`.`season_id`=`league_players`.`season_id` LIMIT 0,1) AS `payment_id`,(SELECT `teams`.`team_id` FROM `teams` INNER JOIN `teams_players` ON `teams`.`team_id`=`teams_players`.`team_id` INNER JOIN `league_teams` ON `teams`.`team_id`=`league_teams`.`team_id` WHERE `league_teams`.`league_id`=124 && `league_teams`.`season_id`=218 && `teams_players`.`league_id`=124 && `teams_players`.`season_id`=218 &&`teams_players`.`player_id`=`users`.`id` && `teams_players`.`quit`=0 LIMIT 0,1) AS `team_id` FROM `users` INNER JOIN `userprofiles_cache` ON (`users`.`id` = `userprofiles_cache`.`user_id`) INNER JOIN `league_players` ON (`users`.`id` = `league_players`.`player_id`) LEFT JOIN `users_socialmedia` ON (`users`.`id` = `users_socialmedia`.`user_id`) WHERE `league_players`.`league_id` = '124' and `league_players`.`season_id` = '218' and `league_players`.`coach` = '1' and `league_players`.`deleted` = '0' GROUP BY `league_players`.`player_id` ORDER BY `users`.`last_name` ASC LIMIT 0,400

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