PEAK MEMORY: 9.96 MiB
MEMORY USAGE AFTER: 7.04 MiB

Debug Information


Request Variables

var = profile

varb = mamabear56

varc = teams

vara =

vard =

vare =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: fe3879e8b132493c67fd0b6d8c91b3c7

Login Type:

BASE:: profile

FULL LINK:: profile/mamabear56/teams

Page ID: 11

Page ID:: 11

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] => 7 ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Admin Login Level: :

USER CACHE: User cache reset

Footer: : Loading page footer code


Session Variables

securetoken = fe3879e8b132493c67fd0b6d8c91b3c7
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /profile/mamabear56/teams/
QUERY_STRING = var=profile&varb=mamabear56&varc=teams
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=profile&varb=mamabear56&varc=teams
REDIRECT_URL = /profile/mamabear56/teams/
REMOTE_PORT = 9022
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.144.98.43
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/profile/mamabear56/teams
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/profile/mamabear56/teams/
SCRIPT_URL = /profile/mamabear56/teams/
UNIQUE_ID = Z26kuyahBlEYsO0wJl9QLAAAANA
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/profile/mamabear56/teams/
REDIRECT_SCRIPT_URL = /profile/mamabear56/teams/
REDIRECT_UNIQUE_ID = Z26kuyahBlEYsO0wJl9QLAAAANA
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1735304379.4282
REQUEST_TIME = 1735304379


SQL Queries


Total Queries: 82
Total Execution Time: 188.7348ms
Avg Execution Time:2.301643902439ms

QUERY(1.3719ms) - 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-27', '12:59:39', 'GET', '/profile/mamabear56/teams/', '3.144.98.43', 'https://netstuffersdev1.com/profile/mamabear56/teams' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd0Rlb25ic3QySFU0UFB3R2pjem1YTjM1Vy9pMHFJOWlXK0Y1bm93bmlIZm9PUmUxVStkK2c4aGplS09ncmoyVkFNSlNIYmJnY2hKaHhyTHhKd3U4c0g=','0','','1735304379') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.159ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/profile/mamabear56/teams/'

QUERY(0.2658ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='profile/mamabear56/teams' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1421ms) - SELECT * FROM userprofiles_config

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

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

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

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

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

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

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

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

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

QUERY(0.1531ms) - SELECT * FROM userprofiles_config

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

QUERY(0.1349ms) - SELECT * FROM userprofiles_config

QUERY(0.433ms) - SELECT SQL_CACHE `users`.*,`cart_customers`.`customer_id` FROM `users` LEFT JOIN `users_profile` ON `users_profile`.`user_id`=`users`.`id` LEFT JOIN `cart_customers` ON `cart_customers`.`user_id`=`users`.`id` WHERE `users`.`user_url`='mamabear56' LIMIT 0,1

QUERY(0.128ms) - SELECT `img_url`,`thumb_url` FROM `photo` WHERE `photo_id`=11404

QUERY(0.319ms) - SELECT SQL_CACHE * FROM `userprofiles_cache` WHERE `user_id`=1723 && `updated`>=(NOW() - INTERVAL 60 MINUTE)

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

QUERY(0.15ms) - SELECT SQL_CACHE * FROM league_config

QUERY(1.364ms) - UPDATE users SET `lastip`='3.144.98.43' WHERE `id`=1723

QUERY(0.3891ms) - SELECT COUNT(*) FROM `deadlines` INNER JOIN `users` ON (`deadlines`.`user_id` = `users`.`id`) LEFT JOIN `leagues` ON (`deadlines`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams` ON (`deadlines`.`team_id` = `teams`.`team_id`) LEFT JOIN `games` ON (`deadlines`.`game_id` = `games`.`game_id`) LEFT JOIN `apparel_orders` ON (`deadlines`.`order_id` = `apparel_orders`.`id`) LEFT JOIN `league_seasons` ON (`deadlines`.`season_id` = `league_seasons`.`season_id`) LEFT JOIN `prospects` ON (`deadlines`.`prospect_id` = `prospects`.`id`) WHERE `deadlines`.`user_id` = '1723' and `deadlines`.`deleted` = '0' and `deadlines`.`deleted` = '0'

QUERY(0.2429ms) - SELECT SQL_CACHE count(`company_player_id`) FROM `company_players` WHERE `player_id`=1723 && `company_id`>1 && `banned`=0

QUERY(0.175ms) - SELECT SQL_CACHE count(`awarded_id`) FROM `triumphs_awarded` WHERE `player_id`='1723' LIMIT 0,1

QUERY(0.1822ms) - SELECT SQL_CACHE count(`awarded_id`) FROM `triumphs_awarded` WHERE `player_id`='1723' && `finish_rank`=1 LIMIT 0,1

QUERY(0.1969ms) - SELECT SQL_CACHE count(`awarded_id`) FROM `triumphs_awarded` WHERE `player_id`='1723' && `finish_rank`=2 LIMIT 0,1

QUERY(0.3231ms) - SELECT SQL_CACHE count(`teams`.`team_id`) FROM `teams` INNER JOIN `teams_players` ON `teams`.`team_id`=`teams_players`.`team_id` WHERE `teams_players`.`player_id`='1723'

QUERY(0.3769ms) - SELECT COUNT(`coach`) FROM `league_players` WHERE `player_id`=1723 && (`coach`=1||`access`=4) && `deleted`=0 LIMIT 0,1

QUERY(9.7969ms) - SELECT COUNT(`team_player_id`) FROM `teams_players` INNER JOIN `teams` ON `teams`.`team_id`=`teams_players`.`team_id` INNER JOIN `teams_levels` ON `teams_players`.`access`=`teams_levels`.`level_id` WHERE (`owner_id`=1723 || (`player_id`=1723 && `score`>=70)) && `deleted`=0 LIMIT 0,1

QUERY(0.1719ms) - SELECT `avatar_id` FROM `users` WHERE `id`=1723

QUERY(0.2351ms) - SELECT COUNT(`report_id`) FROM `teams_players_scouting_reports` WHERE `player_id`=1723 && `public_text`!=''

QUERY(0.5722ms) - SELECT COUNT(`league_players_id`) FROM `league_players` INNER JOIN `league_seasons` ON `league_seasons`.`season_id`=`league_players`.`season_id` INNER JOIN `leagues` ON `leagues`.`league_id`=`league_seasons`.`league_id` && `leagues`.`tournament`=0 WHERE `player_id`=1723 && `deleted`=0 &&`league_players`.`paid`=1 && `league_players`.`quit`=0

QUERY(0.458ms) - SELECT COUNT(`league_players_id`) FROM `league_players` INNER JOIN `league_seasons` ON `league_seasons`.`season_id`=`league_players`.`season_id` INNER JOIN `leagues` ON `leagues`.`league_id`=`league_seasons`.`league_id` && `leagues`.`tournament`=1 WHERE `player_id`=1723 && `deleted`=0 &&`league_players`.`paid`=1 && `league_players`.`quit`=0

QUERY(0.432ms) - SELECT COUNT(`league_players_id`) FROM `league_players` INNER JOIN `league_seasons` ON `league_seasons`.`season_id`=`league_players`.`season_id` INNER JOIN `leagues` ON `leagues`.`league_id`=`league_seasons`.`league_id` && `leagues`.`ultra`=1 WHERE `player_id`=1723 && `deleted`=0 &&`league_players`.`paid`=1 && `league_players`.`quit`=0

QUERY(5.9741ms) - SELECT AVG(`salary`) FROM `draft_scouting_reports` WHERE `player_id`=1723

QUERY(0.442ms) - SELECT SUM(`points`) FROM `users_points` INNER JOIN `users_points_periods` ON `users_points`.`period_id`=`users_points_periods`.`id` WHERE `users_points_periods`.`active`=1 && `user_id`=1723 && `spent`=0

QUERY(0.242ms) - SELECT SUM(`amount`) FROM `users_balance` WHERE `user_id`=1723 && `spent`=0

QUERY(0.19ms) - SELECT SUM(balance) FROM `users_overdue_balances` WHERE `player_id`=1723 && `paid`=0

QUERY(0.2201ms) - SELECT AVG(`score`) FROM `users_trust` WHERE `user_id`=1723

QUERY(0.1402ms) - SELECT COUNT(`user_id`) FROM `commish` WHERE `user_id`=1723 && `active`=1

QUERY(0.21ms) - SELECT `event` FROM `email_errors` WHERE `receiver_id`=1723 && `resolved`=0

QUERY(0.1361ms) - SELECT `birthdate` FROM `users` WHERE `id`=1723

QUERY(0.176ms) - UPDATE `users` SET `age`=52 WHERE `id`=1723

QUERY(0.169ms) - SELECT value,text FROM userprofile_fields_initialvalues WHERE field_id = 4

QUERY(7.6849ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '4' && user_id='1723'

QUERY(0.3791ms) - SELECT `name_url`,`sports`.`name` FROM `sports` INNER JOIN `leagues` ON `sports`.`sport_id`=`leagues`.`sport_id` INNER JOIN `league_players` ON `leagues`.`league_id`=`league_players`.`league_id` && `league_players`.`player_id`=1723 GROUP BY `sports`.`sport_id`

QUERY(1.2171ms) - INSERT INTO `userprofiles_cache` (`user_id`,`clan_recruiter`,`team_recruiter`,`totalinvites`,`totaloffers`,`age`,`report_id`,`highlights`,`articles`,`venues`,`accomplishments`,`classifieds`,`tracked`,`freeagents`,`groups`,`teams`,`completion`,`unread_offers`,`personal_team`,`reviews`,`coach`,`ships`,`silvers`,`sports`,`active_leagues`,`active_tournaments`,`total_leagues`,`total_ultras`,`avg_salary`,`points_balance`,`cash_balance`,`trust`,`overdue`,`companies`,`flags`,`commish`,`deadlines`,`updated`) VALUES ('1723',0,0,0,0,52,0,0,0,0,'1',0,0,0,0,'4',0,0,0,0,'26',0,0,'Softball',0,0,0,'4','10.375','65',50,'89',0,'0','',0,0,NOW()) ON DUPLICATE KEY UPDATE `user_id`='1723',`clan_recruiter`=0,`team_recruiter`=0,`totalinvites`=0,`totaloffers`=0,`age`=52,`report_id`=0,`highlights`=0,`articles`=0,`venues`=0,`accomplishments`='1',`classifieds`=0,`tracked`=0,`freeagents`=0,`groups`=0,`teams`='4',`completion`=0,`unread_offers`=0,`personal_team`=0,`reviews`=0,`coach`='26',`ships`=0,`silvers`=0,`sports`='Softball',`active_leagues`=0,`active_tournaments`=0,`total_leagues`=0,`total_ultras`='4',`avg_salary`='10.375',`points_balance`='65',`cash_balance`=50,`trust`='89',`overdue`=0,`companies`='0',`flags`='',`commish`=0,`deadlines`=0,`updated`=NOW()

QUERY(0.1421ms) - SELECT `season_unfinished` FROM `userprofiles_cache` WHERE `user_id`=1723

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

QUERY(0.1349ms) - SELECT * FROM userprofiles_config

QUERY(0.15ms) - SELECT value,text FROM userprofile_fields_initialvalues WHERE field_id = 5

QUERY(6.5949ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '5' && user_id='1723'

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

QUERY(0.1271ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1309ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0989ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(1.0819ms) - SELECT SQL_CACHE `teams`.`team_id`,`teams`.`fullname`,`teams`.`fullmascot`,`teams`.`logo_id`,`teams`.`wins_all`,`teams`.`losses_all`,`teams`.`league_id`,`teams`.`owner_id`,`teams`.`url`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`>`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`>`home_points`))) AS `wins`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`<`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`<`home_points`))) AS `losses`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`=`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`=`home_points`)) && (`home_points`!=0 && `away_points`!=0)) AS `ties`,`users`.`id` AS `user_id`,`users`.`username`,`users`.`user_url`,`users`.`confirmed`,`users`.`first_name`,`users`.`last_name`,`photo`.`thumb_url`,`leagues`.`name` AS `league_name`,`leagues`.`url` AS `league_url`,`leagues`.`tournament`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`closed`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon` FROM `teams` LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) LEFT JOIN `leagues` ON (`league_teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`league_teams`.`season_id` = `league_seasons`.`season_id`) INNER JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) INNER JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) WHERE `teams_players`.`player_id` = '1723' and `teams`.`approved` = '1' and `teams`.`active` = '1' and `league_seasons`.`closed` = '0' ORDER BY `league_seasons`.`season_id` DESC

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

QUERY(0.114ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.103ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(68.347ms) - SELECT SQL_CACHE `teams`.`team_id`,`teams`.`fullname`,`teams`.`fullmascot`,`teams`.`logo_id`,`teams`.`wins_all`,`teams`.`losses_all`,`teams`.`league_id`,`teams`.`owner_id`,`teams`.`url`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`>`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`>`home_points`))) AS `wins`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`<`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`<`home_points`))) AS `losses`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`=`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`=`home_points`)) && (`home_points`!=0 && `away_points`!=0)) AS `ties`,`users`.`id` AS `user_id`,`users`.`username`,`users`.`user_url`,`users`.`confirmed`,`users`.`first_name`,`users`.`last_name`,`photo`.`thumb_url`,`leagues`.`name` AS `league_name`,`leagues`.`url` AS `league_url`,`leagues`.`tournament`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`closed`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon` FROM `teams` LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) LEFT JOIN `leagues` ON (`league_teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`league_teams`.`season_id` = `league_seasons`.`season_id`) INNER JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) INNER JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) WHERE `teams_players`.`player_id` = '1723' and `teams`.`approved` = '1' and `teams`.`active` = '1' ORDER BY `league_seasons`.`season_id` DESC

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

QUERY(0.1419ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1161ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0911ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(1.153ms) - SELECT SQL_CACHE `teams`.`team_id`,`teams`.`fullname`,`teams`.`fullmascot`,`teams`.`logo_id`,`teams`.`wins_all`,`teams`.`losses_all`,`teams`.`league_id`,`teams`.`owner_id`,`teams`.`url`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`>`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`>`home_points`))) AS `wins`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`<`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`<`home_points`))) AS `losses`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`=`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`=`home_points`)) && (`home_points`!=0 && `away_points`!=0)) AS `ties`,`users`.`id` AS `user_id`,`users`.`username`,`users`.`user_url`,`users`.`confirmed`,`users`.`first_name`,`users`.`last_name`,`photo`.`thumb_url`,`leagues`.`name` AS `league_name`,`leagues`.`url` AS `league_url`,`leagues`.`tournament`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`closed`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon` FROM `teams` LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) LEFT JOIN `leagues` ON (`league_teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`league_teams`.`season_id` = `league_seasons`.`season_id`) INNER JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) INNER JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) WHERE `teams_players`.`player_id` = '1723' and `teams`.`approved` = '1' and `teams`.`active` = '1' and `league_seasons`.`closed` = '0' ORDER BY `league_seasons`.`season_id` DESC

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

QUERY(0.1059ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.088ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(67.5879ms) - SELECT SQL_CACHE `teams`.`team_id`,`teams`.`fullname`,`teams`.`fullmascot`,`teams`.`logo_id`,`teams`.`wins_all`,`teams`.`losses_all`,`teams`.`league_id`,`teams`.`owner_id`,`teams`.`url`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`>`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`>`home_points`))) AS `wins`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`<`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`<`home_points`))) AS `losses`,(SELECT count(`game_id`) FROM `games` WHERE `scrimmage`=0 && ((`home_team_id`=`teams`.`team_id` && `home_points`=`away_points`) || (`away_team_id`=`teams`.`team_id` && `away_points`=`home_points`)) && (`home_points`!=0 && `away_points`!=0)) AS `ties`,`users`.`id` AS `user_id`,`users`.`username`,`users`.`user_url`,`users`.`confirmed`,`users`.`first_name`,`users`.`last_name`,`photo`.`thumb_url`,`leagues`.`name` AS `league_name`,`leagues`.`url` AS `league_url`,`leagues`.`tournament`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`closed`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon` FROM `teams` LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) LEFT JOIN `leagues` ON (`league_teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`league_teams`.`season_id` = `league_seasons`.`season_id`) INNER JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) INNER JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) WHERE `teams_players`.`player_id` = '1723' and `teams`.`approved` = '1' and `teams`.`active` = '1' ORDER BY `league_seasons`.`season_id` DESC

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