Test Team D

Softball

Monday Spring League

Monday Spring League

Team Roster

Player

Hitting
Slugging
Outfield Defense
Infield Defense
Speed
Arm Strength
Smitty
| P, OF, SS

C+
C+
B
B
B
C+
    697
    Array
    (
        [team_id] => 697
        [sport_id] => 1
        [league_id] => 0
        [division_id] => 
        [wins] => 0
        [losses] => 0
        [wins_all] => 0
        [losses_all] => 0
        [fullname] => Test Team D
        [shortname] => 
        [abbr] => 
        [fullmascot] => 
        [shortmascot] => 
        [url] => test-team-d
        [logo_id] => 103
        [court_id] => 0
        [color_id] => 
        [max_roster_size] => 15
        [gallery_id] => 6918
        [approved] => 1
        [active] => 1
        [current_roster_size] => 1
        [owner_id] => 9
        [public] => 1
        [chat_room_id] => 0
        [personal] => 0
        [deleted] => 0
        [invite_code] => 
        [featured_bg] => 6542
        [color_id_2] => 
        [color_id_3] => 
        [description] => 
        [shirt_color] => 
        [jersey_img] => 0
        [jersey_img_away] => 0
        [leagues] => 1
        [thumb] => /files/gallery/misc/thumbs/black-red_recjoe1436998457.png
        [large] => /files/gallery/misc/black-red_recjoe1436998457.png
        [alt] => -103 103
        [name] => Test Team D
        [sport_name] => Softball
        [sport_icon] => fa-regular fa-baseball-bat-ball
        [sport_url] => softball
        [gameimage] => 
        [roster] => 1
        [earnings] => -
        [group_type] => teams
        [teamorg] => 
        [link] => /team/test-team-d/
        [image] => Array
            (
                [id] => test-team-d
                [thumb] => /files/gallery/misc/thumbs/black-red_recjoe1436998457.png
                [large] => /files/gallery/misc/black-red_recjoe1436998457.png
                [alt] => -103 103
                [link] => /team/test-team-d/
            )
    
        [label] => team
        [game] => All Games
        [tools] => Array
            (
                [score] => 
                [homelink] => /team/test-team-d/
                [homelink_type] => teams
            )
    
        [featured_bg_img] => https://leaguejoe.com/files/gallery/misc/default-green_recjoe1704996203.webp
        [settings] => 
        [perm_team_level] => 0
        [perm_team_name] => Guest
        [perm_team_score] => 0
        [score] => 0
        [games] => 0
        [sponsors] => 0
        [reports] => 0
    )
    
    PEAK MEMORY: 2.79 MiB
    MEMORY USAGE AFTER: 2.07 MiB

    Debug Information


    Request Variables

    var = team

    varb = test-team-d

    vara =

    varc =

    vard =

    vare =

    Debug Messages

    Site ID: 1

    Sub Domain:

    Domain: netstuffersdev1.com

    Site name: LeagueJoe

    Template: lj

    SECURETOKEN: 4414755950e1a78aa56a70b59f9b6118

    Login Type:

    BASE:: team

    FULL LINK:: team/test-team-d

    Page ID: 49

    Page ID:: 49

    Page Template:: lj

    Template Layout:: default

    Headers: : Loading page header code

    Active Blocks: Array ( [0] => [1] => 1 [2] => [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => 1 )

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

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

    Admin Login Level: :

    Admin Login Level: :

    Footer: : Loading page footer code


    Session Variables

    securetoken = 4414755950e1a78aa56a70b59f9b6118
    fullstate =


    Cookie Variables

    fikker-61vm-nk2N = MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E


    Server Variables

    USER = leaguejo_dev
    HOME = /home/leaguejo_dev
    SCRIPT_NAME = /index.php
    REQUEST_URI = /team/test-team-d/
    QUERY_STRING = var=team&varb=test-team-d
    REQUEST_METHOD = GET
    SERVER_PROTOCOL = HTTP/1.1
    GATEWAY_INTERFACE = CGI/1.1
    REDIRECT_QUERY_STRING = var=team&varb=test-team-d
    REDIRECT_URL = /team/test-team-d/
    REMOTE_PORT = 60854
    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.139.82.229
    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/team/test-team-d
    HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
    HTTP_COOKIE = fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E
    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/team/test-team-d/
    SCRIPT_URL = /team/test-team-d/
    UNIQUE_ID = ZzWFmkvL5Rx8NqexdVHxBAAAAYo
    REDIRECT_STATUS = 200
    REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
    REDIRECT_HTTPS = on
    REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/team/test-team-d/
    REDIRECT_SCRIPT_URL = /team/test-team-d/
    REDIRECT_UNIQUE_ID = ZzWFmkvL5Rx8NqexdVHxBAAAAYo
    FCGI_ROLE = RESPONDER
    PHP_SELF = /index.php
    REQUEST_TIME_FLOAT = 1731560858.5588
    REQUEST_TIME = 1731560858


    SQL Queries


    Total Queries: 103
    Total Execution Time: 30.9552ms
    Avg Execution Time:0.3005359223301ms

    QUERY(1.704ms) - 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', '05:07:38', 'GET', '/team/test-team-d/', '3.139.82.229', 'https://netstuffersdev1.com/team/test-team-d' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheHRHUXJtSnZsalFoaWx6L1VkVTNtaVUzY0o5Q0VkWUZHN25NaWUrSTM4VW50ME9FU2g0eWllWlVTb3J2OUJpc3VvWnk4SU1QSnRQRXdoK2h0NnJXNkE=','0','','1731560858') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

    QUERY(0.1919ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/team/test-team-d/'

    QUERY(0.2809ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='team/test-team-d' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

    QUERY(0.1531ms) - SELECT * FROM userprofiles_config

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

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

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

    QUERY(0.133ms) - SELECT SQL_CACHE * FROM teams_config

    QUERY(0.5291ms) - SELECT COUNT(*) FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'test-team-d'

    QUERY(0.736ms) - SELECT SQL_CACHE `teams`.*,(SELECT COUNT(`team_id`) FROM `league_teams` WHERE `league_teams`.`team_id`=`teams`.`team_id`) AS `leagues`,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt`,`leagues`.`name`,`teams_players`.`player_id`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`gamephoto`.`img_url` AS `gameimage`,`teams_privacy`.`public`,`teams_privacy`.`roster` FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'test-team-d' GROUP BY `teams`.`team_id`

    QUERY(0.216ms) - SELECT `team_id`, `league_id` FROM `league_teams` WHERE `league_id` = 0 AND `season_id` = 0 AND `team_id` = 697 LIMIT 1

    QUERY(0.124ms) - SELECT SQL_CACHE `img_url` FROM `photo` WHERE `photo_id`=6542 LIMIT 0,1

    QUERY(0.262ms) - SELECT COUNT(`player_id`) FROM `teams_players` WHERE `team_id`=697 && quit=0

    QUERY(0.185ms) - SELECT * FROM `teams_settings` WHERE `team_id`=697

    QUERY(0.2141ms) - SELECT SQL_CACHE * FROM `teams_cache` WHERE `team_id`=697 && `updated`>=(NOW() - INTERVAL 60 MINUTE) LIMIT 0,1

    QUERY(0.1941ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=697 LIMIT 0,1

    QUERY(0.284ms) - SELECT COUNT(`game_id`) FROM `games` WHERE (`home_team_id`=697||`away_team_id`=697) && `cancelled`=0

    QUERY(0.1709ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=697

    QUERY(2.326ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=697

    QUERY(0.1552ms) - INSERT INTO `teams_cache` (`team_id`,`products`,`sponsors`,`reports`) VALUES ('697',0,0,0) ON DUPLICATE KEY UPDATE `team_id`='697',`products`=0,`sponsors`=0,`reports`=0

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

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

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

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

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

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

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

    QUERY(0.1671ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1199ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1209ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.1349ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.1121ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.422ms) - SELECT COUNT(*) FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'test-team-d'

    QUERY(0.6962ms) - SELECT SQL_CACHE `teams`.*,(SELECT COUNT(`team_id`) FROM `league_teams` WHERE `league_teams`.`team_id`=`teams`.`team_id`) AS `leagues`,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt`,`leagues`.`name`,`teams_players`.`player_id`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`gamephoto`.`img_url` AS `gameimage`,`teams_privacy`.`public`,`teams_privacy`.`roster` FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'test-team-d' GROUP BY `teams`.`team_id`

    QUERY(0.303ms) - SELECT `team_id`, `league_id` FROM `league_teams` WHERE `league_id` = 0 AND `season_id` = 0 AND `team_id` = 697 LIMIT 1

    QUERY(0.138ms) - SELECT SQL_CACHE `img_url` FROM `photo` WHERE `photo_id`=6542 LIMIT 0,1

    QUERY(0.2339ms) - SELECT COUNT(`player_id`) FROM `teams_players` WHERE `team_id`=697 && quit=0

    QUERY(0.138ms) - SELECT * FROM `teams_settings` WHERE `team_id`=697

    QUERY(0.154ms) - SELECT SQL_CACHE * FROM `teams_cache` WHERE `team_id`=697 && `updated`>=(NOW() - INTERVAL 60 MINUTE) LIMIT 0,1

    QUERY(0.1419ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=697 LIMIT 0,1

    QUERY(0.273ms) - SELECT COUNT(`game_id`) FROM `games` WHERE (`home_team_id`=697||`away_team_id`=697) && `cancelled`=0

    QUERY(0.14ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=697

    QUERY(2.1169ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=697

    QUERY(0.155ms) - INSERT INTO `teams_cache` (`team_id`,`products`,`sponsors`,`reports`) VALUES ('697',0,0,0) ON DUPLICATE KEY UPDATE `team_id`='697',`products`=0,`sponsors`=0,`reports`=0

    QUERY(0.155ms) - SELECT `season_id` FROM `league_teams` WHERE `team_id`=697

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

    QUERY(0.5281ms) - 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`,`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`) LIMIT 0,1

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

    QUERY(0.5131ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '1' and `league_seasons`.`season_id` = '197' ORDER BY `league_dates`.`start_date` ASC

    QUERY(0.1171ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=697

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

    QUERY(0.1318ms) - SELECT SQL_CACHE * FROM league_config

    QUERY(0.1619ms) - SELECT `league_id`,`season_id` FROM `league_teams` WHERE `team_id`=697

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

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

    QUERY(0.5131ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = '122' and `league_seasons`.`season_id` = '197' ORDER BY `league_dates`.`start_date` ASC

    QUERY(0.32ms) - SELECT count(player_id) AS `player`,`coach`,`access`,`team_player_id` AS `tpi` FROM `teams_players` WHERE `team_id`='697' && `player_id`='' && `quit`=0 ORDER BY `season_id` DESC

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

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

    QUERY(0.1428ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.133ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1161ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.133ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.103ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.133ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=697

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

    QUERY(0.108ms) - SELECT SQL_CACHE * FROM sports_config

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

    QUERY(0.1159ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1171ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.1411ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='1' && `season_id`='0'

    QUERY(0.5851ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,`teams`.`owner_id`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,`league_teams`.`league_teams_id`,`league_teams`.`league_id`,`league_teams`.`season_id`,`league_teams`.`ready`,`users`.`user_url`,`users`.`username`,`users`.`first_name`,`users`.`last_name`,`photo`.`thumb_url` FROM `teams` INNER JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `league_teams`.`deleted` != '1' and `teams`.`personal` = '1' and `league_teams`.`league_id` = '1' and `league_teams`.`season_id` = '0' ORDER BY `teams`.`fullname` desc

    QUERY(2.2151ms) - SELECT SQL_CACHE `users`.`rookie`,`users`.`id`,`users`.`username`,`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`,`teams_players`.`player_id`,`teams_players`.`alternate`,`teams_players`.`coach`,`teams_players`.`paid`,`teams_players`.`couple`,`teams_players`.`couple_uname`,`teams_players`.`first_name` AS `manual_first_name`,`teams_players`.`last_name` AS `manual_last_name`,`teams_players`.`email` AS `manual_email`,(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 `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`=0 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`=0 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`=0 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`=0 DESC LIMIT 0,1) AS `tertiary`,(SELECT `thumb_url` FROM `photo` WHERE `photo_id`=`users`.`avatar_id`) AS `avatar` FROM `users` INNER JOIN `teams_players` ON (`users`.`id` = `teams_players`.`player_id`) WHERE `teams_players`.`team_id` = '697' and `teams_players`.`quit` = '0' ORDER BY `users`.`last_name` ASC LIMIT 0,500

    QUERY(0.2401ms) - SELECT * FROM `attribute` WHERE `sport_id`=1 ORDER BY `fieldorder` ASC

    QUERY(0.1781ms) - SELECT `name`,`abbr` FROM `sports_positions` WHERE `sport_id`=1

    QUERY(0.5159ms) - SELECT `player_id` AS coach_id,`team_id`,`users`.`username`,`users`.`user_url`,`img_url` FROM `teams_players` INNER JOIN `users` ON `player_id`=`id` INNER JOIN `photo` ON `photo_id`=`avatar_id` WHERE `teams_players`.`team_id`=697 && (`coach`=1 || `access`=4 || `access`=5 || `access`=6) ORDER BY `access` DESC

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

    QUERY(0.134ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.1302ms) - SELECT `img_url`,`thumb_url` FROM `photo` WHERE `photo_id`=5790

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

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

    QUERY(0.102ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.2871ms) - SELECT * FROM `users_sizing` WHERE `user_id`=9 && (`sport_id`=1 || `sport_id`=0) ORDER BY `season_id` DESC, `sport_id` DESC

    QUERY(0.2201ms) - 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`=9 && `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.212ms) - 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`=9 && `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.221ms) - 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`=9 && `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.1581ms) - SELECT * FROM `photo` WHERE `photo_id`=0

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