The Bourbon Brigade

Softball

New Orleans Ultra Draft
February 2023

February 2023
Overall Team Skill Ratings

B

Hitting

C+

Slugging

C+

Outfield Defense

B

Infield Defense

C+

Speed

C+

Arm Strength
  • Strong pitching depth
  • Strong infield depth
  • Strong outfield depth

Team Roster

Player

Hitting
Slugging
Outfield Defense
Infield Defense
Speed
Arm Strength
One Eye
| P, SS, 1B

B+
B
A
B+
B
A
Lay Lay
| 1B, C, 2B

C
D
C
B
D
C
rDakota125
| OF, 2B

B+
C
A
B
B
B
jessica.jones0680
| 3B, 2B, RF

C
D
C+
B+
B+
C+
Chriscantrell
| 3B, 2B

B
B
N
A
C
B
Pdc35
| 1B, C, RF

C+
C
C
C
D
C
dcodozor
| 2B, OF
Coach

C+
C+
C+
C+
C+
C+
Rudyd85
| P, 1B

C
D
C
C
C
C
dlfamily69
| P, 3B, 1B

B+
B+
B
B
C
B
gierboliniluis
| 3B, P, 1B

B+
B
C
B+
C
B
Dgoubler3
| P, 1B, C

B
C
D
C+
D
C
amac
| 2B, RF, C

C+
D
D+
C
C+
D
B Noriega
| SS, 3B, OF

B
C+
B+
A
B+
A
    344
    Array
    (
        [team_id] => 344
        [sport_id] => 1
        [league_id] => 0
        [division_id] => 
        [wins] => 0
        [losses] => 0
        [wins_all] => 0
        [losses_all] => 0
        [fullname] => The Bourbon Brigade
        [shortname] => 
        [abbr] => 
        [fullmascot] => 
        [shortmascot] => 
        [url] => bourbon-brigade
        [logo_id] => 1249
        [court_id] => 0
        [color_id] => 
        [max_roster_size] => 15
        [gallery_id] => 1354
        [approved] => 1
        [active] => 1
        [current_roster_size] => 13
        [owner_id] => 103
        [public] => 1
        [chat_room_id] => 0
        [personal] => 0
        [deleted] => 0
        [invite_code] => 
        [featured_bg] => 2612
        [color_id_2] => 
        [color_id_3] => 
        [description] => 
        [shirt_color] => 
        [jersey_img] => 0
        [jersey_img_away] => 0
        [leagues] => 1
        [thumb] => /files/gallery/misc/thumbs/bourbonbrigade_recjoe1673578323.png
        [large] => /files/gallery/misc/bourbonbrigade_recjoe1673578323.png
        [alt] => League
        [name] => The Bourbon Brigade
        [sport_name] => Softball
        [sport_icon] => fa-regular fa-baseball-bat-ball
        [sport_url] => softball
        [gameimage] => 
        [roster] => 1
        [earnings] => -
        [group_type] => teams
        [teamorg] => 
        [link] => /team/bourbon-brigade/
        [image] => Array
            (
                [id] => bourbon-brigade
                [thumb] => /files/gallery/misc/thumbs/bourbonbrigade_recjoe1673578323.png
                [large] => /files/gallery/misc/bourbonbrigade_recjoe1673578323.png
                [alt] => League
                [link] => /team/bourbon-brigade/
            )
    
        [label] => team
        [game] => All Games
        [tools] => Array
            (
                [score] => 
                [homelink] => /team/bourbon-brigade/
                [homelink_type] => teams
            )
    
        [featured_bg_img] => https://leaguejoe.com/files/gallery/misc/bourbonbrigade_recjoe1676914205.png
        [settings] => 
        [perm_team_level] => 0
        [perm_team_name] => Guest
        [perm_team_score] => 0
        [score] => 0
        [games] => 5
        [sponsors] => 0
        [reports] => 8
    )
    
    PEAK MEMORY: 2.85 MiB
    MEMORY USAGE AFTER: 2.12 MiB

    Debug Information


    Request Variables

    var = team

    varb = bourbon-brigade

    vara =

    varc =

    vard =

    vare =

    Debug Messages

    Site ID: 1

    Sub Domain:

    Domain: netstuffersdev1.com

    Site name: LeagueJoe

    Template: lj

    SECURETOKEN: 8cff251de947bd6c5ea3a69e37987a9f

    Login Type:

    BASE:: team

    FULL LINK:: team/bourbon-brigade

    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 = 8cff251de947bd6c5ea3a69e37987a9f
    fullstate =


    Cookie Variables

    fly_ab_uid = d5793ebc-2418-4d0c-a209-a154ceb1f2ca
    fly_device = desktop
    fly_geo = {"countryCode":"us","region":"oh","dma":"535"}


    Server Variables

    USER = leaguejo_dev
    HOME = /home/leaguejo_dev
    SCRIPT_NAME = /index.php
    REQUEST_URI = /team/bourbon-brigade/
    QUERY_STRING = var=team&varb=bourbon-brigade
    REQUEST_METHOD = GET
    SERVER_PROTOCOL = HTTP/1.1
    GATEWAY_INTERFACE = CGI/1.1
    REDIRECT_QUERY_STRING = var=team&varb=bourbon-brigade
    REDIRECT_URL = /team/bourbon-brigade/
    REMOTE_PORT = 32158
    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.138.181.90
    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/bourbon-brigade
    HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
    HTTP_COOKIE = fly_ab_uid=d5793ebc-2418-4d0c-a209-a154ceb1f2ca; fly_device=desktop; fly_geo={"countryCode":"us","region":"oh","dma":"535"}
    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/bourbon-brigade/
    SCRIPT_URL = /team/bourbon-brigade/
    UNIQUE_ID = Z0Jx@74h2csvWJMbGMu9XQAAAA0
    REDIRECT_STATUS = 200
    REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
    REDIRECT_HTTPS = on
    REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/team/bourbon-brigade/
    REDIRECT_SCRIPT_URL = /team/bourbon-brigade/
    REDIRECT_UNIQUE_ID = Z0Jx@74h2csvWJMbGMu9XQAAAA0
    FCGI_ROLE = RESPONDER
    PHP_SELF = /index.php
    REQUEST_TIME_FLOAT = 1732407803.7049
    REQUEST_TIME = 1732407803


    SQL Queries


    Total Queries: 162
    Total Execution Time: 88.089ms
    Avg Execution Time:0.54375925925926ms

    QUERY(1.4741ms) - 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-24', '00:23:23', 'GET', '/team/bourbon-brigade/', '3.138.181.90', 'https://netstuffersdev1.com/team/bourbon-brigade' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd1Eyc3I5NDFHbzNkZkZGTWFHZGthNVZWMEZVY2VlNHI5ZnFDajdUczltUm41cUNzcG5SWlpSSGw3b3Mrb1pjWXQ4c2Z5dVNhWmo1Q0dXUDREd1N3L3g=','0','','1732407803') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

    QUERY(0.1879ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/team/bourbon-brigade/'

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

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

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

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

    QUERY(0.1521ms) - SELECT * FROM userprofiles_config

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

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

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

    QUERY(0.124ms) - SELECT SQL_CACHE * FROM teams_config

    QUERY(0.448ms) - 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` = 'bourbon-brigade'

    QUERY(0.8171ms) - 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` = 'bourbon-brigade' GROUP BY `teams`.`team_id`

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

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

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

    QUERY(0.1271ms) - SELECT * FROM `teams_settings` WHERE `team_id`=344

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

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

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

    QUERY(0.185ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=344

    QUERY(2.1422ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=344

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

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

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

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

    QUERY(0.1922ms) - 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`='5'

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

    QUERY(0.1099ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.128ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1228ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.1512ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.1249ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.4261ms) - 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` = 'bourbon-brigade'

    QUERY(0.7589ms) - 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` = 'bourbon-brigade' GROUP BY `teams`.`team_id`

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

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

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

    QUERY(0.1421ms) - SELECT * FROM `teams_settings` WHERE `team_id`=344

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

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

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

    QUERY(0.1719ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=344

    QUERY(2.362ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=344

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

    QUERY(0.17ms) - SELECT `season_id` FROM `league_teams` WHERE `team_id`=344

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

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

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

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

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

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

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

    QUERY(0.216ms) - 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`=57 && `season_id`=83 LIMIT 0,1

    QUERY(0.248ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=57 && `season_id`=83 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

    QUERY(0.1659ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=344

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

    QUERY(0.1271ms) - SELECT SQL_CACHE * FROM league_config

    QUERY(0.17ms) - SELECT `league_id`,`season_id` FROM `league_teams` WHERE `team_id`=344

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

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

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

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

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

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

    QUERY(0.176ms) - 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`=57 && `season_id`=83 LIMIT 0,1

    QUERY(0.2279ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=57 && `season_id`=83 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

    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.1431ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.144ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1359ms) - SELECT SQL_CACHE * FROM league_config

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

    QUERY(0.144ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.0949ms) - SELECT SQL_CACHE * FROM draft_config

    QUERY(0.1252ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=344

    QUERY(0.21ms) - SELECT * FROM `team_strength` WHERE `team_id`=344 && `season_id`=83

    QUERY(0.2141ms) - SELECT * FROM `team_strength` WHERE `team_id`=344 && `season_id`=83

    QUERY(0.3002ms) - SELECT SQL_CACHE `attribute`.`attribute_id`,`attribute`.`name`,`attribute`.`description`,`attribute`.`url`,`attribute`.`icon`,`attribute`.`min`,`attribute`.`max` FROM `attribute` WHERE `attribute`.`sport_id` = '1' and `attribute`.`active` = '1' ORDER BY `attribute`.`fieldorder` asc

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

    QUERY(0.123ms) - SELECT SQL_CACHE * FROM sports_config

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

    QUERY(0.119ms) - SELECT SQL_CACHE * FROM teams_config

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

    QUERY(0.1011ms) - 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.1719ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='57' && `season_id`='83'

    QUERY(1.6809ms) - 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` = '57' and `league_teams`.`season_id` = '83' ORDER BY `teams`.`fullname` desc

    QUERY(0.1931ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=351 && `league_id`='57' && `season_id`='83'

    QUERY(0.15ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=340 && `league_id`='57' && `season_id`='83'

    QUERY(0.1588ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=350 && `league_id`='57' && `season_id`='83'

    QUERY(0.1581ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=344 && `league_id`='57' && `season_id`='83'

    QUERY(0.1819ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=353 && `league_id`='57' && `season_id`='83'

    QUERY(0.1719ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=346 && `league_id`='57' && `season_id`='83'

    QUERY(0.1991ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=345 && `league_id`='57' && `season_id`='83'

    QUERY(0.165ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=352 && `league_id`='57' && `season_id`='83'

    QUERY(0.155ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=349 && `league_id`='57' && `season_id`='83'

    QUERY(0.1638ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=338 && `league_id`='57' && `season_id`='83'

    QUERY(0.165ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=356 && `league_id`='57' && `season_id`='83'

    QUERY(0.154ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=342 && `league_id`='57' && `season_id`='83'

    QUERY(0.1531ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=347 && `league_id`='57' && `season_id`='83'

    QUERY(0.1771ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=348 && `league_id`='57' && `season_id`='83'

    QUERY(0.15ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=354 && `league_id`='57' && `season_id`='83'

    QUERY(0.16ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=343 && `league_id`='57' && `season_id`='83'

    QUERY(0.16ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=341 && `league_id`='57' && `season_id`='83'

    QUERY(0.1538ms) - SELECT SQL_CACHE `wins`,`losses`,`ties` FROM `standings` WHERE `team_id`=337 && `league_id`='57' && `season_id`='83'

    QUERY(4.5531ms) - 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`=83 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`=83 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`=83 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`=83 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` = '83' and `teams_players`.`team_id` = '344' and `teams_players`.`quit` = '0' ORDER BY `users`.`last_name` ASC LIMIT 0,500

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

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

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

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

    QUERY(0.1459ms) - SELECT * FROM userprofiles_config

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

    QUERY(0.1419ms) - SELECT `img_url`,`thumb_url` FROM `photo` WHERE `photo_id`=170

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

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

    QUERY(0.139ms) - SELECT SQL_CACHE * FROM league_config

    QUERY(1.101ms) - UPDATE users SET `lastip`='3.138.181.90' WHERE `id`=103

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

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

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

    QUERY(0.438ms) - 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`='103'

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

    QUERY(0.1509ms) - SELECT `avatar_id` FROM `users` WHERE `id`=103

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

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

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

    QUERY(5.7559ms) - SELECT AVG(`salary`) FROM `draft_scouting_reports` WHERE `player_id`=103

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

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

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

    QUERY(0.201ms) - SELECT AVG(`score`) FROM `users_trust` WHERE `user_id`=103

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

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

    QUERY(0.1688ms) - SELECT `birthdate` FROM `users` WHERE `id`=103

    QUERY(0.2079ms) - UPDATE `users` SET `age`=63 WHERE `id`=103

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

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

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

    QUERY(1.2689ms) - 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 ('103',0,0,0,0,63,0,0,0,0,'8',0,0,0,0,'52',0,0,0,'7','8','4','2','Softball, Kickball, Bowling, Volleyball',0,'39','13','8','50',0.5,'94',0,'',0,NOW()) ON DUPLICATE KEY UPDATE `user_id`='103',`clan_recruiter`=0,`team_recruiter`=0,`totalinvites`=0,`totaloffers`=0,`age`=63,`report_id`=0,`highlights`=0,`articles`=0,`venues`=0,`accomplishments`='8',`classifieds`=0,`tracked`=0,`freeagents`=0,`groups`=0,`teams`='52',`completion`=0,`unread_offers`=0,`personal_team`=0,`reviews`='7',`coach`='8',`ships`='4',`silvers`='2',`sports`='Softball, Kickball, Bowling, Volleyball',`active_leagues`=0,`total_leagues`='39',`total_ultras`='13',`avg_salary`='8',`points_balance`='50',`cash_balance`=0.5,`trust`='94',`overdue`=0,`flags`='',`commish`=0,`updated`=NOW()

    QUERY(0.1709ms) - SELECT `season_unfinished` FROM `userprofiles_cache` WHERE `user_id`=103

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

    QUERY(0.1209ms) - SELECT SQL_CACHE * FROM draft_config

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

    QUERY(0.5069ms) - 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`=103 && `sports_positions_link`.`sport_id`=1 && `primary`=1 && (`season_id`=83 || `season_id`=0) ORDER BY `season_id`=83 DESC LIMIT 0,1

    QUERY(0.459ms) - 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`=103 && `sports_positions_link`.`sport_id`=1 && `primary`=2 && (`season_id`=83 || `season_id`=0) ORDER BY `season_id`=83 DESC LIMIT 0,1

    QUERY(0.391ms) - 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`=103 && `sports_positions_link`.`sport_id`=1 && `primary`=3 && (`season_id`=83 || `season_id`=0) ORDER BY `season_id`=83 DESC LIMIT 0,1

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

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