Team Brian

Softball

Friday Night Lights Draft Tourney
Aug 16

Aug 16

Team Roster

Player

Hitting
Slugging
Outfield Defense
Infield Defense
Speed
Arm Strength
Alexb
| P, 2B, OF

B
B
B
B
C
C
jwbruno85
| OF, 1B

C
C
C
C
C
C
D
| 3B, C, OF

C
D
C
C
C
C
Hayley
| 1B, RF, 2B

C
C
C
C
C
C
DaveJ
| SS, 3B, P

B
C
C
C
C
C
rraulston
| 1B, 2B, RC

B
C
B
B
C
B
jess11
| RF, 2B, LF

D
D
D
D
D
D
Smitty
| P, OF, SS

C+
C+
B
B
B
C+
Bvander86
| LC, RC, 3B

C
D+
C+
C
C
C+

A
B
C
B
C
D
    1226
    Array
    (
        [team_id] => 1226
        [sport_id] => 1
        [league_id] => 0
        [division_id] => 
        [wins] => 0
        [losses] => 0
        [wins_all] => 0
        [losses_all] => 0
        [fullname] => Team Brian
        [shortname] => 
        [abbr] => 
        [fullmascot] => 
        [shortmascot] => 
        [url] => team-brian-softball-1723929962
        [logo_id] => 113
        [court_id] => 0
        [color_id] => 
        [max_roster_size] => 15
        [gallery_id] => 0
        [approved] => 1
        [active] => 1
        [current_roster_size] => 10
        [owner_id] => 9
        [public] => 1
        [chat_room_id] => 0
        [personal] => 0
        [deleted] => 0
        [invite_code] => 
        [featured_bg] => 0
        [color_id_2] => 
        [color_id_3] => 
        [description] => 
        [shirt_color] => 
        [jersey_img] => 0
        [jersey_img_away] => 0
        [leagues] => 1
        [thumb] => /files/gallery/misc/thumbs/blues_recjoe1436998459.png
        [large] => /files/gallery/misc/blues_recjoe1436998459.png
        [alt] => -113 113
        [name] => Team Brian
        [sport_name] => Softball
        [sport_icon] => fa-regular fa-baseball-bat-ball
        [sport_url] => softball
        [gameimage] => 
        [roster] => 1
        [earnings] => -
        [group_type] => teams
        [teamorg] => 
        [link] => /team/team-brian-softball-1723929962/
        [image] => Array
            (
                [id] => team-brian-softball-1723929962
                [thumb] => /files/gallery/misc/thumbs/blues_recjoe1436998459.png
                [large] => /files/gallery/misc/blues_recjoe1436998459.png
                [alt] => -113 113
                [link] => /team/team-brian-softball-1723929962/
            )
    
        [label] => team
        [game] => All Games
        [tools] => Array
            (
                [score] => 
                [homelink] => /team/team-brian-softball-1723929962/
                [homelink_type] => teams
            )
    
        [settings] => Array
            (
                [team_id] => 1226
                [merch_enabled] => 0
                [store_published] => 0
                [created] => 2024-08-17 17:26:02
                [updated] => 0000-00-00 00:00:00
            )
    
        [perm_team_level] => 0
        [perm_team_name] => Guest
        [perm_team_score] => 0
        [score] => 0
        [products] => 65
        [games] => 0
        [sponsors] => 0
        [reports] => 0
        [updated] => 2024-11-13 22:54:18
    )
    
    PEAK MEMORY: 2.83 MiB
    MEMORY USAGE AFTER: 2.11 MiB

    Debug Information


    Request Variables

    var = team

    varb = team-brian-softball-1723929962

    vara =

    varc =

    vard =

    vare =

    Debug Messages

    Site ID: 1

    Sub Domain:

    Domain: netstuffersdev1.com

    Site name: LeagueJoe

    Template: lj

    SECURETOKEN: 2677b8f7159976b72f2fff2abdf35032

    Login Type:

    BASE:: team

    FULL LINK:: team/team-brian-softball-1723929962

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

    USER CACHE: User cache reset

    Footer: : Loading page footer code


    Session Variables

    securetoken = 2677b8f7159976b72f2fff2abdf35032
    fullstate =


    Cookie Variables


    Server Variables

    USER = leaguejo_dev
    HOME = /home/leaguejo_dev
    SCRIPT_NAME = /index.php
    REQUEST_URI = /team/team-brian-softball-1723929962/
    QUERY_STRING = var=team&varb=team-brian-softball-1723929962
    REQUEST_METHOD = GET
    SERVER_PROTOCOL = HTTP/1.1
    GATEWAY_INTERFACE = CGI/1.1
    REDIRECT_QUERY_STRING = var=team&varb=team-brian-softball-1723929962
    REDIRECT_URL = /team/team-brian-softball-1723929962/
    REMOTE_PORT = 16740
    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.118.146.183
    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/team-brian-softball-1723929962
    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/team/team-brian-softball-1723929962/
    SCRIPT_URL = /team/team-brian-softball-1723929962/
    UNIQUE_ID = ZzV0aokxELEFnraSU9Iv@wAAAVE
    REDIRECT_STATUS = 200
    REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
    REDIRECT_HTTPS = on
    REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/team/team-brian-softball-1723929962/
    REDIRECT_SCRIPT_URL = /team/team-brian-softball-1723929962/
    REDIRECT_UNIQUE_ID = ZzV0aokxELEFnraSU9Iv@wAAAVE
    FCGI_ROLE = RESPONDER
    PHP_SELF = /index.php
    REQUEST_TIME_FLOAT = 1731556458.4969
    REQUEST_TIME = 1731556458


    SQL Queries


    Total Queries: 162
    Total Execution Time: 96.4241ms
    Avg Execution Time:0.59521049382716ms

    QUERY(1.5841ms) - 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', '03:54:18', 'GET', '/team/team-brian-softball-1723929962/', '18.118.146.183', 'https://netstuffersdev1.com/team/team-brian-softball-1723929962' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheUhyOWRiMHMzQ1hUU2FGSzViUkZ2NjZiU3pZZmc1emF4NnNiUXRHcE82cUZPK3hoT01QaEFvRVFkLzBkSGpPdENha0YvWm9JMGZ6cFRGQ2poWmkrUzM=','0','','1731556458') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

    QUERY(0.2449ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/team/team-brian-softball-1723929962/'

    QUERY(0.3412ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='team/team-brian-softball-1723929962' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

    QUERY(0.2041ms) - SELECT * FROM userprofiles_config

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

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

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

    QUERY(0.129ms) - SELECT SQL_CACHE * FROM teams_config

    QUERY(0.608ms) - 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` = 'team-brian-softball-1723929962'

    QUERY(0.7219ms) - 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` = 'team-brian-softball-1723929962' GROUP BY `teams`.`team_id`

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

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

    QUERY(0.164ms) - SELECT * FROM `teams_settings` WHERE `team_id`=1226

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

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

    QUERY(0.2038ms) - SELECT COUNT(`item_id`) FROM `cart_items` WHERE `cart_id`=0

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

    QUERY(0.1581ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=1226

    QUERY(2.111ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=1226

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

    QUERY(0.2491ms) - 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.1309ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='UTC'

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

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

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

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

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

    QUERY(0.133ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1349ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1152ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.14ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.1171ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.4971ms) - 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` = 'team-brian-softball-1723929962'

    QUERY(0.7761ms) - 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` = 'team-brian-softball-1723929962' GROUP BY `teams`.`team_id`

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

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

    QUERY(0.1562ms) - SELECT * FROM `teams_settings` WHERE `team_id`=1226

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

    QUERY(0.145ms) - SELECT `season_id` FROM `league_teams` WHERE `team_id`=1226

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

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

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

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

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

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

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

    QUERY(0.1628ms) - 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`=145 && `season_id`=302 LIMIT 0,1

    QUERY(0.1869ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=145 && `season_id`=302 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

    QUERY(0.2241ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='145' && `season_id`='302' LIMIT 0,1

    QUERY(0.144ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='145' && (`season_id`='302' || `season_id`=0)

    QUERY(0.186ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='145' && (`season_id`='302' || `season_id`=0)

    QUERY(0.15ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=145 && `season_id`=0) || `season_id`='302'

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

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

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

    QUERY(0.2229ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='145' || `season_id`='302' ORDER BY `season_id` DESC

    QUERY(0.165ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='145' && `season_id`='302'

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

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

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

    QUERY(0.1521ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=145&&`season_id`=302 LIMIT 0,1

    QUERY(0.283ms) - SELECT `game_id` FROM `games` WHERE `league_id`=145&&`season_id`=302&&`playoff`=1 LIMIT 0,1

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

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

    QUERY(0.2079ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='145' && `season_id`='302'

    QUERY(0.175ms) - 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`='145' && `league_seasons`.`season_id`='302'

    QUERY(0.107ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=145 && `season_id`=302 LIMIT 0,1

    QUERY(0.1159ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=145 && `season_id`=302

    QUERY(1.1621ms) - 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 ('145','302','2',0,0,'57','5','3',0,'5',0,0,0,'2',0,0,0,'9',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='145',`season_id`='302',`articles`='2',`participants`=0,`conferences`=0,`players`='57',`coaches`='5',`subs`='3',`rules`=0,`teams`='5',`games`=0,`groups`=0,`divisions`=0,`seasons`='2',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='9',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

    QUERY(0.124ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=1226

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

    QUERY(0.114ms) - SELECT SQL_CACHE * FROM league_config

    QUERY(0.1459ms) - SELECT `league_id`,`season_id` FROM `league_teams` WHERE `team_id`=1226

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

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

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

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

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

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

    QUERY(0.206ms) - 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`=145 && `season_id`=302 LIMIT 0,1

    QUERY(0.212ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=145 && `season_id`=302 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

    QUERY(0.1271ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1409ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.114ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.1619ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.1111ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.1609ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=1226

    QUERY(0.1819ms) - SELECT * FROM `team_strength` WHERE `team_id`=1226 && `season_id`=302

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

    QUERY(0.174ms) - SELECT SQL_CACHE * FROM sports_config

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

    QUERY(0.1299ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.144ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.1531ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='145' && `season_id`='302'

    QUERY(1.0531ms) - 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` = '0' and `league_teams`.`league_id` = '145' and `league_teams`.`season_id` = '302' ORDER BY `teams`.`fullname` desc

    QUERY(0.1678ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=1224 && `league_id`='145' && `season_id`='302'

    QUERY(0.1671ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=1223 && `league_id`='145' && `season_id`='302'

    QUERY(0.1638ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=1222 && `league_id`='145' && `season_id`='302'

    QUERY(0.138ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=1226 && `league_id`='145' && `season_id`='302'

    QUERY(0.17ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=1225 && `league_id`='145' && `season_id`='302'

    QUERY(4.961ms) - 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`,`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`,(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`=302 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`=302 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`=302 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`=302 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`) INNER JOIN `league_players` ON (`users`.`id` = `league_players`.`player_id`) WHERE `league_players`.`season_id` = '302' and `teams_players`.`team_id` = '1226' and `teams_players`.`quit` = '0' ORDER BY `users`.`last_name` ASC LIMIT 0,500

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

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

    QUERY(0.387ms) - 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`=1226 && (`coach`=1 || `access`=4 || `access`=5 || `access`=6) ORDER BY `access` DESC

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

    QUERY(0.144ms) - SELECT * FROM userprofiles_config

    QUERY(0.3998ms) - 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.1249ms) - SELECT `img_url`,`thumb_url` FROM `photo` WHERE `photo_id`=5790

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

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

    QUERY(0.118ms) - SELECT SQL_CACHE * FROM league_config

    QUERY(1.641ms) - UPDATE users SET `lastip`='18.118.146.183' WHERE `id`=9

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

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

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

    QUERY(0.5178ms) - 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`='9'

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

    QUERY(0.1462ms) - SELECT `avatar_id` FROM `users` WHERE `id`=9

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

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

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

    QUERY(5.7709ms) - SELECT AVG(`salary`) FROM `draft_scouting_reports` WHERE `player_id`=9

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

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

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

    QUERY(0.2189ms) - SELECT AVG(`score`) FROM `users_trust` WHERE `user_id`=9

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

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

    QUERY(0.138ms) - SELECT `birthdate` FROM `users` WHERE `id`=9

    QUERY(0.2048ms) - UPDATE `users` SET `age`=39 WHERE `id`=9

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

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

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

    QUERY(1.3158ms) - 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 ('9',0,0,0,0,39,0,0,0,0,'8',0,0,0,0,'58',0,0,0,'2','15','1','5','Softball, Flag Football, Soccer, Dodgeball, Kickball, Bowling,Basketball,Volleyball,Cornhole,Social Games,Boxing,Pickleball,Fantasy Football,Golf',0,'42','18','12',0,357.5,'81','1','',0,NOW()) ON DUPLICATE KEY UPDATE `user_id`='9',`clan_recruiter`=0,`team_recruiter`=0,`totalinvites`=0,`totaloffers`=0,`age`=39,`report_id`=0,`highlights`=0,`articles`=0,`venues`=0,`accomplishments`='8',`classifieds`=0,`tracked`=0,`freeagents`=0,`groups`=0,`teams`='58',`completion`=0,`unread_offers`=0,`personal_team`=0,`reviews`='2',`coach`='15',`ships`='1',`silvers`='5',`sports`='Softball, Flag Football, Soccer, Dodgeball, Kickball, Bowling,Basketball,Volleyball,Cornhole,Social Games,Boxing,Pickleball,Fantasy Football,Golf',`active_leagues`=0,`total_leagues`='42',`total_ultras`='18',`avg_salary`='12',`points_balance`=0,`cash_balance`=357.5,`trust`='81',`overdue`='1',`flags`='',`commish`=0,`updated`=NOW()

    QUERY(0.129ms) - SELECT `season_unfinished` FROM `userprofiles_cache` WHERE `user_id`=9

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

    QUERY(0.0989ms) - SELECT SQL_CACHE * FROM draft_config

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

    QUERY(0.4339ms) - 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`=302 || `season_id`=0) ORDER BY `season_id`=302 DESC LIMIT 0,1

    QUERY(0.381ms) - 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`=302 || `season_id`=0) ORDER BY `season_id`=302 DESC LIMIT 0,1

    QUERY(0.3591ms) - 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`=302 || `season_id`=0) ORDER BY `season_id`=302 DESC LIMIT 0,1

    QUERY(0.1571ms) - SELECT * FROM `photo` WHERE `photo_id`=0

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