Dysfunctional Dynasty

Softball

Sailors Draft
Men

Men
Overall Team Skill Ratings

B

Hitting

C+

Slugging

B

Outfield Defense

B

Infield Defense

C+

Speed

B

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

Team Roster

Total Results: 12

Drag right/left to scroll table
NameHitting
Slugging
Outfield Defense
Infield Defense
Speed
Arm Strength
Majboi_22
| LF, OF, 3B

C

C

C

C

B

C

MCobb75
| OF, 2B, P

B

C+

B

C

B

B

Brett
| 3B, P, SS

A+

A+

B

A+

C+

A+

Chasecrosby08
| 2B, 1B

C

B

C

B

C

C

LegendarELarrE
| 1B, RC, LF

B

B

B

B

C

B

Earl
| OF, 2B

C+

C

C+

C

C

C

Hopkin14
| P, C, RC

C

D

C

C

C

C

ThickNCreamy
| 3B, OF
Coach

B

C

C

B

B

B

Steelkid
| 1B, 2B, OF

B

C

B

B

C

C

Kyle Wood
| P, SS, 3B

A

B

A

A

A

B

Worleybird850
| 1B, RF, RC

D

D

D

D

D

D

Cwynne18
| OF, 1B, SS

C

C

B

C

C

B

1388
Array
(
    [team_id] => 1388
    [sport_id] => 1
    [league_id] => 0
    [division_id] => 
    [wins] => 0
    [losses] => 0
    [wins_all] => 0
    [losses_all] => 0
    [fullname] => Dysfunctional Dynasty
    [shortname] => 
    [abbr] => 
    [fullmascot] => 
    [shortmascot] => 
    [url] => dysfunctional-dynasty-softball-1727186022
    [logo_id] => 113
    [court_id] => 0
    [color_id] => 
    [max_roster_size] => 15
    [gallery_id] => 0
    [approved] => 1
    [active] => 1
    [current_roster_size] => 12
    [owner_id] => 5362
    [public] => 1
    [chat_room_id] => 0
    [personal] => 0
    [deleted] => 0
    [invite_code] => F2NlBnh2
    [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] => Dysfunctional Dynasty
    [sport_name] => Softball
    [sport_icon] => fa-regular fa-baseball-bat-ball
    [sport_url] => softball
    [gameimage] => 
    [roster] => 1
    [earnings] => -
    [group_type] => teams
    [teamorg] => 
    [link] => /team/dysfunctional-dynasty-softball-1727186022/
    [image] => Array
        (
            [id] => dysfunctional-dynasty-softball-1727186022
            [thumb] => /files/gallery/misc/thumbs/blues_recjoe1436998459.png
            [large] => /files/gallery/misc/blues_recjoe1436998459.png
            [alt] => -113 113
            [link] => /team/dysfunctional-dynasty-softball-1727186022/
        )

    [label] => team
    [game] => All Games
    [tools] => Array
        (
            [score] => 
            [homelink] => /team/dysfunctional-dynasty-softball-1727186022/
            [homelink_type] => teams
        )

    [settings] => Array
        (
            [team_id] => 1388
            [merch_enabled] => 0
            [store_published] => 0
            [created] => 2024-09-24 09:53:42
            [updated] => 0000-00-00 00:00:00
        )

    [perm_team_level] => 0
    [perm_team_name] => Guest
    [perm_team_score] => 0
    [score] => 0
    [products] => 67
    [games] => 2
    [sponsors] => 0
    [reports] => 0
)
PEAK MEMORY: 4.43 MiB
MEMORY USAGE AFTER: 3.67 MiB

Debug Information


Request Variables

var = team

varb = dysfunctional-dynasty-softball-1727186022

varc = roster

vara =

vard =

vare =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 767284a5fb27b3e39d588715c5a424d2

Login Type:

BASE:: team

FULL LINK:: team/dysfunctional-dynasty-softball-1727186022/roster

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 = 767284a5fb27b3e39d588715c5a424d2
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /team/dysfunctional-dynasty-softball-1727186022/roster/
QUERY_STRING = var=team&varb=dysfunctional-dynasty-softball-1727186022&varc=roster
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=team&varb=dysfunctional-dynasty-softball-1727186022&varc=roster
REDIRECT_URL = /team/dysfunctional-dynasty-softball-1727186022/roster/
REMOTE_PORT = 36850
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 = 13.59.36.36
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/dysfunctional-dynasty-softball-1727186022/roster
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/dysfunctional-dynasty-softball-1727186022/roster/
SCRIPT_URL = /team/dysfunctional-dynasty-softball-1727186022/roster/
UNIQUE_ID = Z2xqifV10TosAEl3vG5WGQAAAIA
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/team/dysfunctional-dynasty-softball-1727186022/roster/
REDIRECT_SCRIPT_URL = /team/dysfunctional-dynasty-softball-1727186022/roster/
REDIRECT_UNIQUE_ID = Z2xqifV10TosAEl3vG5WGQAAAIA
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1735158409.7813
REQUEST_TIME = 1735158409


SQL Queries


Total Queries: 137
Total Execution Time: 39.2541ms
Avg Execution Time:0.28652627737226ms

QUERY(1.4739ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-12-25', '20:26:49', 'GET', '/team/dysfunctional-dynasty-softball-1727186022/roster/', '13.59.36.36', 'https://netstuffersdev1.com/team/dysfunctional-dynasty-softball-1727186022/roster' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd24zRXYyQ2s1WEpLV3Q5QnB5bEtPbXBlaHFHZWtGZ2g0cEtBT1J2c2trdW52SHpmcmdENGJ1YkkrYjRmdzI4WDdWVldRa2xuZS9SaERQRjlhclpiV00=','0','','1735158409') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1471ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/team/dysfunctional-dynasty-softball-1727186022/roster/'

QUERY(0.2329ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='team/dysfunctional-dynasty-softball-1727186022/roster' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1249ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.133ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.4361ms) - 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` = 'dysfunctional-dynasty-softball-1727186022'

QUERY(0.695ms) - 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` = 'dysfunctional-dynasty-softball-1727186022' GROUP BY `teams`.`team_id`

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

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

QUERY(0.1459ms) - SELECT * FROM `teams_settings` WHERE `team_id`=1388

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

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

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

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

QUERY(0.138ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=1388

QUERY(2.2061ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=1388

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

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

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

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

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

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

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

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

QUERY(0.1011ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1049ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1178ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1178ms) - SELECT * FROM userprofiles_config

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

QUERY(0.0889ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.3741ms) - 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` = 'dysfunctional-dynasty-softball-1727186022'

QUERY(0.6571ms) - 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` = 'dysfunctional-dynasty-softball-1727186022' GROUP BY `teams`.`team_id`

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

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

QUERY(0.1161ms) - SELECT * FROM `teams_settings` WHERE `team_id`=1388

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

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

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

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

QUERY(0.149ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=1388

QUERY(2.198ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=1388

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

QUERY(0.14ms) - SELECT `season_id` FROM `league_teams` WHERE `team_id`=1388

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

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`,`photo`.`thumb_url`,`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` = '148' LIMIT 0,1

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

QUERY(0.4759ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_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` = '148' and `league_seasons`.`season_id` = '310' ORDER BY `league_dates`.`start_date` ASC

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.1352ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=310

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

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

QUERY(0.191ms) - 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`=148 && `season_id`=310 LIMIT 0,1

QUERY(0.195ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=148 && `season_id`=310 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2091ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='148' && `season_id`='310' LIMIT 0,1

QUERY(0.154ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='148' && (`season_id`='310' || `season_id`=0)

QUERY(0.2ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='148' && (`season_id`='310' || `season_id`=0)

QUERY(0.1569ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=148 && `season_id`=0) || `season_id`='310'

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

QUERY(0.397ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='148' && `season_id`='310' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

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

QUERY(0.2ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='148' || `season_id`='310' ORDER BY `season_id` DESC

QUERY(0.144ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='148' && `season_id`='310'

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

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

QUERY(0.145ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=148&&`season_id`=310 LIMIT 0,1

QUERY(0.273ms) - SELECT `game_id` FROM `games` WHERE `league_id`=148&&`season_id`=310&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.217ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='148' && `season_id`='310'

QUERY(0.1869ms) - 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`='148' && `league_seasons`.`season_id`='310'

QUERY(0.1099ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=148 && `season_id`=310 LIMIT 0,1

QUERY(0.097ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=148 && `season_id`=310

QUERY(0.9911ms) - 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 ('148','310','3',0,0,'61','5','6','1','5','6',0,0,'1',0,'17',0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='148',`season_id`='310',`articles`='3',`participants`=0,`conferences`=0,`players`='61',`coaches`='5',`subs`='6',`rules`='1',`teams`='5',`games`='6',`groups`=0,`divisions`=0,`seasons`='1',`sponsors`=0,`products`='17',`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

QUERY(0.119ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=1388

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

QUERY(0.1001ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.139ms) - SELECT `league_id`,`season_id` FROM `league_teams` WHERE `team_id`=1388

QUERY(0.4551ms) - 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`,`photo`.`thumb_url`,`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` = '148' LIMIT 0,1

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

QUERY(0.4771ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_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` = '148' and `league_seasons`.`season_id` = '310' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1612ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=310

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

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

QUERY(0.1669ms) - 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`=148 && `season_id`=310 LIMIT 0,1

QUERY(0.191ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=148 && `season_id`=310 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(0.109ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.123ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1109ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1161ms) - SELECT * FROM userprofiles_config

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

QUERY(0.1001ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.1101ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=1388

QUERY(0.2282ms) - SELECT * FROM `team_strength` WHERE `team_id`=1388 && `season_id`=310

QUERY(0.1631ms) - SELECT * FROM `team_strength` WHERE `team_id`=1388 && `season_id`=310

QUERY(0.263ms) - 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.128ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.103ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.098ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.088ms) - SELECT SQL_CACHE * FROM sports_config

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

QUERY(0.2499ms) - SELECT SQL_CACHE `teams`.`team_id`,`teams`.`fullname`,`teams`.`url`,`league_teams`.`season_id` FROM `teams` INNER JOIN `league_teams` ON (`teams`.`team_id` = `league_teams`.`team_id`) WHERE `league_teams`.`league_id` = '148' and `league_teams`.`season_id` = '310'

QUERY(4.75ms) - SELECT SQL_CACHE `users`.`rookie`,`users`.`id`,`users`.`username`,`users`.`city_address`,`users`.`state_address`,`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`,`users`.`problem_list`,`users`.`creation`,`users`.`skill_flag`,`userprofiles_cache`.`trust`,`userprofiles_cache`.`ships`,`userprofiles_cache`.`avg_salary`,`userprofiles_cache`.`silvers`,`userprofiles_cache`.`age`,`league_players`.`credits_applied`,`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`,`users_socialmedia`.`facebook`,(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`=310 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`=310 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`=310 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`=310 DESC LIMIT 0,1) AS `tertiary`,(SELECT `thumb_url` FROM `photo` WHERE `photo_id`=`users`.`avatar_id` LIMIT 0,1) AS `avatar`,(SELECT `payment_id` FROM `payments` WHERE `league_players`.`player_id`=`payments`.`player_id` && `payments`.`season_id`=`league_players`.`season_id` LIMIT 0,1) AS `payment_id`,`teams_players`.`team_id` FROM `users` INNER JOIN `userprofiles_cache` ON (`users`.`id` = `userprofiles_cache`.`user_id`) INNER JOIN `league_players` ON (`users`.`id` = `league_players`.`player_id`) LEFT JOIN `users_socialmedia` ON (`users`.`id` = `users_socialmedia`.`user_id`) LEFT JOIN teams_players ON (`users`.`id` = `teams_players`.`player_id` AND `teams_players`.`quit`=0 && `teams_players`.`season_id` = 310) WHERE `teams_players`.`team_id` = '1388' and `league_players`.`league_id` = '148' and `league_players`.`season_id` = '310' and `league_players`.`deleted` = '0' GROUP BY `league_players`.`player_id` ORDER BY `users`.`last_name` ASC LIMIT 0,100

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

QUERY(0.2542ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=9938 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.2499ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=4192 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.2739ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=1963 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.2358ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=12108 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.2489ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=9989 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.237ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=5102 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.2391ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=12100 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.246ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=5362 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.236ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=4234 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.231ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=5552 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.246ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=8900 && `team_id`=1388 && `league_id`=148 && `season_id`=310

QUERY(0.248ms) - SELECT `adjustment_id_1`,`adjustment_1`,`adjustment_id_2`,`adjustment_2`,`adjustment_id_3`,`adjustment_3`,`adjustment_id_4`,`adjustment_4`,`adjustment_id_5`,`adjustment_5`,`adjustment_id_6`,`adjustment_6`,`adjustment_id_7`,`adjustment_7`,`adjustment_id_8`,`adjustment_8`,`adjustment_id_9`,`adjustment_9` FROM `teams_players_scouting_reports` WHERE `confirmed`=0 && `player_id`=11981 && `team_id`=1388 && `league_id`=148 && `season_id`=310

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