Lfells

Lfells

, IN

Softball Skills Profile

Softball Skill Ratings

C+

Hitting

C+

Slugging

C+

Outfield Defense

B

Infield Defense

A

Speed

B

Arm Strength

Coach Review History

Date Coach Team HittingSluggingOutfieldInfieldArmSpeed
06/27/17rmhobson
LeagueJoe Draft League - Spring 2017
Chile Chile Bang Bang

Contact Player

You must be registered with League Joe in order to send messages through our system. Please sign up for an account here, it's free!


Login

Sign in with your username or email address
Min 8 characters with mix of letters and numbers

Forgot password? Click Here

No Account? Register Here.

Competitions Player is In

Teams Player is In

PEAK MEMORY: 2.36 MiB
MEMORY USAGE AFTER: 1.74 MiB

Debug Information


Request Variables

var = profile

varb = lfells

varc = skills

vara =

vard =

vare =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 94f1a1f0d8319e1477a20d23227b9897

Login Type:

BASE:: profile

FULL LINK:: profile/lfells/skills

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 = 94f1a1f0d8319e1477a20d23227b9897
fullstate =


Cookie Variables

care_did = ea838580-c4a2-435a-b145-a33ce97e38e0


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /profile/lfells/skills/
QUERY_STRING = var=profile&varb=lfells&varc=skills
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=profile&varb=lfells&varc=skills
REDIRECT_URL = /profile/lfells/skills/
REMOTE_PORT = 29239
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 = 18.226.150.246
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/lfells/skills
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = care_did=ea838580-c4a2-435a-b145-a33ce97e38e0
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/lfells/skills/
SCRIPT_URL = /profile/lfells/skills/
UNIQUE_ID = ZzYq89QhVZudc4l18XvJSAAAARA
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/profile/lfells/skills/
REDIRECT_SCRIPT_URL = /profile/lfells/skills/
REDIRECT_UNIQUE_ID = ZzYq89QhVZudc4l18XvJSAAAARA
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1731603187.091
REQUEST_TIME = 1731603187


SQL Queries


Total Queries: 95
Total Execution Time: 63.4179ms
Avg Execution Time:0.66755684210526ms

QUERY(1.1921ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-11-14', '16:53:07', 'GET', '/profile/lfells/skills/', '18.226.150.246', 'https://netstuffersdev1.com/profile/lfells/skills' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheXdFTGowcEVPYVRtOEZuZ1JrWHRNdHZvVGp0MElJT2g2NHZyYkUzY2g2bjJ1d2NQWXhtVnovcGxWNFVLOTNFNUhJWTQ5RjB5Tjd1OEQ2ajM4bytuLzE=','0','','1731603187') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1512ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/profile/lfells/skills/'

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

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

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

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

QUERY(0.1791ms) - SELECT * FROM userprofiles_config

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

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

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

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

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

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

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

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

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

QUERY(0.1349ms) - SELECT * FROM userprofiles_config

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

QUERY(0.133ms) - SELECT * FROM userprofiles_config

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

QUERY(0.1311ms) - SELECT `img_url`,`thumb_url` FROM `photo` WHERE `photo_id`=500

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

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

QUERY(0.1171ms) - SELECT SQL_CACHE * FROM league_config

QUERY(1.4298ms) - UPDATE users SET `lastip`='18.226.150.246' WHERE `id`=158

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

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

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

QUERY(0.277ms) - 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`='158'

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

QUERY(0.1178ms) - SELECT `avatar_id` FROM `users` WHERE `id`=158

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

QUERY(0.3951ms) - 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`=158 && `deleted`=0

QUERY(0.3541ms) - 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`=158 && `deleted`=0

QUERY(5.513ms) - SELECT AVG(`salary`) FROM `draft_scouting_reports` WHERE `player_id`=158

QUERY(0.2441ms) - 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`=158 && `spent`=0

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

QUERY(0.1478ms) - SELECT id FROM `users_overdue_balances` WHERE `player_id`=158 && `paid`=0

QUERY(0.1268ms) - SELECT AVG(`score`) FROM `users_trust` WHERE `user_id`=158

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

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

QUERY(0.1149ms) - SELECT `birthdate` FROM `users` WHERE `id`=158

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

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

QUERY(0.3798ms) - 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`=158 GROUP BY `sports`.`sport_id`

QUERY(1.3211ms) - 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`,`total_leagues`,`total_ultras`,`avg_salary`,`points_balance`,`cash_balance`,`trust`,`overdue`,`flags`,`commish`,`updated`) VALUES ('158',0,0,0,0,0,0,0,0,0,'1',0,0,0,0,'2',0,0,0,'1',0,'1',0,'Softball, Flag Football',0,'4',0,'11',0,0.5,0,0,'',0,NOW()) ON DUPLICATE KEY UPDATE `user_id`='158',`clan_recruiter`=0,`team_recruiter`=0,`totalinvites`=0,`totaloffers`=0,`age`=0,`report_id`=0,`highlights`=0,`articles`=0,`venues`=0,`accomplishments`='1',`classifieds`=0,`tracked`=0,`freeagents`=0,`groups`=0,`teams`='2',`completion`=0,`unread_offers`=0,`personal_team`=0,`reviews`='1',`coach`=0,`ships`='1',`silvers`=0,`sports`='Softball, Flag Football',`active_leagues`=0,`total_leagues`='4',`total_ultras`=0,`avg_salary`='11',`points_balance`=0,`cash_balance`=0.5,`trust`=0,`overdue`=0,`flags`='',`commish`=0,`updated`=NOW()

QUERY(0.139ms) - SELECT `season_unfinished` FROM `userprofiles_cache` WHERE `user_id`=158

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

QUERY(0.139ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1092ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1009ms) - SELECT SQL_CACHE * FROM sports_config

QUERY(0.1321ms) - SELECT * FROM `users_profile` WHERE `user_id`=158

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

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

QUERY(0.2761ms) - SELECT `sport_id` FROM `attribute` a INNER JOIN `user_attributes` u ON a.attribute_id=u.attribute_id && u.user_id=158 ORDER BY `sport_id` ASC

QUERY(0.149ms) - SELECT * FROM `sports` WHERE `sport_id`=1

QUERY(0.1459ms) - SELECT COUNT(*) FROM `sports` LEFT JOIN `photo` ON (`sports`.`logo_id` = `photo`.`photo_id`) WHERE `sports`.`sport_id` = '1'

QUERY(0.1891ms) - SELECT SQL_CACHE `sports`.*,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt` FROM `sports` LEFT JOIN `photo` ON (`sports`.`logo_id` = `photo`.`photo_id`) WHERE `sports`.`sport_id` = '1'

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.3591ms) - SELECT SQL_CACHE `attribute`.`attribute_id`,`attribute`.`name`,`attribute`.`description`,`attribute`.`url`,`attribute`.`icon`,`attribute`.`min`,`attribute`.`max`,`user_attributes`.`value` FROM `attribute` LEFT JOIN `user_attributes` ON (`attribute`.`attribute_id` = `user_attributes`.`attribute_id`) WHERE `attribute`.`sport_id` = '1' and `attribute`.`active` = '1' and `user_attributes`.`user_id` = '158' ORDER BY `attribute`.`fieldorder` asc

QUERY(0.2439ms) - SELECT `img_url`,`acronym`,`value` FROM `sports_governing_bodies` sb LEFT JOIN `photo` ON `photo`.`photo_id`=sb.`logo_id` INNER JOIN `sports_governing_links` sg ON sg.`body_id`=sb.`body_id` WHERE `player_id`=158 && sg.`sport_id`=1

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

QUERY(0.103ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.0889ms) - SELECT SQL_CACHE * FROM sports_config

QUERY(0.211ms) - SELECT SQL_CACHE `sports_positions_link`.`position_id`,`injury`,`name`,`name_url`,`abbr`,`locked` FROM `sports_positions_link` INNER JOIN `sports_positions` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `user_id`=158 && `sports_positions_link`.`sport_id`=1 && `primary`=1 && (`season_id`=0 || `season_id`=0) ORDER BY `season_id`=0 DESC LIMIT 0,1

QUERY(0.241ms) - SELECT SQL_CACHE `sports_positions_link`.`position_id`,`injury`,`name`,`name_url`,`abbr`,`locked` FROM `sports_positions_link` INNER JOIN `sports_positions` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `user_id`=158 && `sports_positions_link`.`sport_id`=1 && `primary`=2 && (`season_id`=0 || `season_id`=0) ORDER BY `season_id`=0 DESC LIMIT 0,1

QUERY(0.1941ms) - SELECT SQL_CACHE `sports_positions_link`.`position_id`,`injury`,`name`,`name_url`,`abbr`,`locked` FROM `sports_positions_link` INNER JOIN `sports_positions` ON `sports_positions`.`position_id`=`sports_positions_link`.`position_id` WHERE `user_id`=158 && `sports_positions_link`.`sport_id`=1 && `primary`=3 && (`season_id`=0 || `season_id`=0) ORDER BY `season_id`=0 DESC LIMIT 0,1

QUERY(0.6461ms) - SELECT SQL_CACHE `draft_adjustments`.`adjustment_id`,`draft_adjustments`.`draft_id`,`draft_adjustments`.`name`,`draft_adjustments`.`url`,`draft_adjustments`.`description`,`draft_adjustments`.`type`,`draft_adjustments`.`section_id`,`draft_adjustment_sections`.`order`,`draft_adjustment_sections`.`name` AS `sectionname`,`draft_adjustment_sections`.`section_id`,`draft_adjustment_links`.`value` FROM `draft_adjustments` INNER JOIN `draft_adjustment_sections` ON (`draft_adjustments`.`section_id` = `draft_adjustment_sections`.`section_id`) INNER JOIN `draft` ON (`draft_adjustments`.`draft_id` = `draft`.`draft_id`) INNER JOIN draft_adjustment_links ON (user_id = 158 AND `draft_adjustments`.`adjustment_id` = `draft_adjustment_links`.`adjustment_id`) WHERE `draft`.`sport_id` = '1' ORDER BY `draft_adjustment_sections`.`order` ASC,`draft_adjustment_links`.`adjustment_id` ASC

QUERY(0.2701ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 6 && `value`=1

QUERY(0.2899ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 9 && `value`=3

QUERY(0.2561ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 10 && `value`=0

QUERY(0.267ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 29 && `value`=4

QUERY(0.2501ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 7 && `value`=3

QUERY(0.2711ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 11 && `value`=1

QUERY(0.242ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 12 && `value`=1

QUERY(0.242ms) - SELECT text FROM draft_adjustment_initialvalues WHERE adjustment_id = 13 && `value`=2

QUERY(0.5851ms) - SELECT SQL_CACHE `teams_players_scouting_reports`.*,`users`.`username`,`photo`.`img_url`,`teams`.`team_id`,`teams`.`fullname` AS `team_name`,`teams`.`url` AS `team_url`,`leagues`.`name` AS `league_name`,`league_seasons`.`name` AS `season_name` FROM `teams_players_scouting_reports` INNER JOIN `users` ON (`teams_players_scouting_reports`.`submitter_id` = `users`.`id`) INNER JOIN `photo` ON (`users`.`avatar_id` = `photo`.`photo_id`) LEFT JOIN `teams` ON (`teams_players_scouting_reports`.`team_id` = `teams`.`team_id`) LEFT JOIN `leagues` ON (`teams_players_scouting_reports`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`teams_players_scouting_reports`.`season_id` = `league_seasons`.`season_id`) WHERE `teams_players_scouting_reports`.`confirmed` = '1' and `teams_players_scouting_reports`.`player_id` = '158' and `teams_players_scouting_reports`.`sport_id` = '1' ORDER BY `teams_players_scouting_reports`.`created` DESC

QUERY(0.1681ms) - SELECT * FROM `users_socialmedia` WHERE `user_id`=158

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

QUERY(0.108ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0899ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(15.9621ms) - 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` = '158' and `teams`.`approved` = '1' and `teams`.`active` = '1' ORDER BY `wins` DESC,`teams`.`fullname` ASC

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