SOLD OUT

This event has reached capacity.

Join as Alternate
League

Pensacola Slowpitch Draft League

Season: Fall 2023 (Other Seasons)
Sport: Softball
CoedSocialDraft
Event Director
Venue
Exchange Park Softball Complex
Pensacola, FL
Day of the Week
THU

SOLD OUT

This event has reached capacity.

Join as Alternate
Join as Alternate

Standings

Tap and drag left and right to view full table
PlaceTeamWLTGBPFPADIFFStreakCoach
1 12 2 00.0204 102+102L1Nate1508
2 9 4 13.0167 162+5W31221heard
3 8 5 14.0175 144+31W1Amack12
4 7 6 15.0164 156+8L1MCobb75
5 7 7 05.0147 162-15W1Julia DeMola
6 6 8 06.0195 145+50W2Pgambrell2
7 3 10 19.0112 213-101L1Brett
8
626
2 12 010.0106 186-80L11Jordan
90 157
PEAK MEMORY: 3.09 MiB
MEMORY USAGE AFTER: 1.6 MiB

Debug Information


Request Variables

var = league

varb = pensacola-slowpitch-softball

varc = fall-2023-fl

vard = standings

group = all

vara =

vare =

view_var = league

view_varb = pensacola-slowpitch-softball

view_varc = fall-2023-fl

view_vard = standings

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: c9d9a99cddcbbdc7c00a0f6c8eee8be1

Login Type:

BASE:: league

FULL LINK:: league/pensacola-slowpitch-softball/fall-2023-fl/standings

Page ID: 27

Page ID:: 27

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

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

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

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

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = c9d9a99cddcbbdc7c00a0f6c8eee8be1
fullstate =


Cookie Variables

user_agent = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
handl_ip = 3.147.13.220
handl_landing_page = https://microchipusa.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fwww.microchipusa.com%2Ffpgas%2FM1AGLE3000V5-FG484I%2F
laikanxia_google_v = 1
HandLtestDomainNameServer = HandLtestDomainValueServer
handl_url = https://microchipusa.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fwww.microchipusa.com%2Ffpgas%2FM1AGLE3000V5-FG484I%2F
handl_url_base = https://microchipusa.com/wp-json/oembed/1.0/embed
laikanxia_cookie_id = 241123205311374


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/pensacola-slowpitch-softball/fall-2023-fl/standings/?group=all
QUERY_STRING = var=league&varb=pensacola-slowpitch-softball&varc=fall-2023-fl&vard=standings&group=all
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=pensacola-slowpitch-softball&varc=fall-2023-fl&vard=standings&group=all
REDIRECT_URL = /league/pensacola-slowpitch-softball/fall-2023-fl/standings/
REMOTE_PORT = 12379
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.147.13.220
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_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_ip=3.147.13.220; handl_landing_page=https%3A%2F%2Fmicrochipusa.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fwww.microchipusa.com%252Ffpgas%252FM1AGLE3000V5-FG484I%252F; laikanxia_google_v=1; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_url=https%3A%2F%2Fmicrochipusa.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fwww.microchipusa.com%252Ffpgas%252FM1AGLE3000V5-FG484I%252F; handl_url_base=https%3A%2F%2Fmicrochipusa.com%2Fwp-json%2Foembed%2F1.0%2Fembed; laikanxia_cookie_id=241123205311374
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/league/pensacola-slowpitch-softball/fall-2023-fl/standings/
SCRIPT_URL = /league/pensacola-slowpitch-softball/fall-2023-fl/standings/
UNIQUE_ID = Z0HQUJrL-2oZDfehm@ZYpwAAAIg
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/pensacola-slowpitch-softball/fall-2023-fl/standings/
REDIRECT_SCRIPT_URL = /league/pensacola-slowpitch-softball/fall-2023-fl/standings/
REDIRECT_UNIQUE_ID = Z0HQUJrL-2oZDfehm@ZYpwAAAIg
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732366416.566
REQUEST_TIME = 1732366416


SQL Queries


Total Queries: 78
Total Execution Time: 32.3427ms
Avg Execution Time:0.41465ms

QUERY(1.575ms) - 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-23', '12:53:36', 'GET', '/league/pensacola-slowpitch-softball/fall-2023-fl/standings/', '3.147.13.220', '' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd0ZKaysrY2IvYVZkWnQrcU9QS0JNaWRKMlhaS3pweC80dFhQR0dIcHFsZG9NWVMwSkNvSGlvcUR3SmZQSVZLek5jYmNxK2FSV0xLVXo1VGhXaDY5UlQ=','0','','1732366416') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1531ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/pensacola-slowpitch-softball/fall-2023-fl/standings/'

QUERY(0.278ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/pensacola-slowpitch-softball/fall-2023-fl/standings' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.1519ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.195ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.6351ms) - 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`.`url` = 'pensacola-slowpitch-softball' LIMIT 0,1

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.5682ms) - 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` = '90' and `league_seasons`.`url` = 'fall-2023-fl' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.2019ms) - 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`=90 && `season_id`=157 LIMIT 0,1

QUERY(0.242ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=90 && `season_id`=157 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2801ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='90' && `season_id`='157' LIMIT 0,1

QUERY(0.1791ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='90' && (`season_id`='157' || `season_id`=0)

QUERY(0.2141ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='90' && (`season_id`='157' || `season_id`=0)

QUERY(0.169ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=90 && `season_id`=0) || `season_id`='157'

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

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

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

QUERY(0.221ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='90' || `season_id`='157' ORDER BY `season_id` DESC

QUERY(0.169ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='90' && `season_id`='157'

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

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

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

QUERY(0.217ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=90&&`season_id`=157 LIMIT 0,1

QUERY(0.535ms) - SELECT `game_id` FROM `games` WHERE `league_id`=90&&`season_id`=157&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.3769ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='90' && `season_id`='157'

QUERY(0.232ms) - 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`='90' && `league_seasons`.`season_id`='157'

QUERY(0.1519ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=90 && `season_id`=157 LIMIT 0,1

QUERY(0.123ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=90 && `season_id`=157

QUERY(1.2109ms) - 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 ('90','157','13',0,0,'101','8','34','6','8','60',0,0,'5',0,0,'1',0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='90',`season_id`='157',`articles`='13',`participants`=0,`conferences`=0,`players`='101',`coaches`='8',`subs`='34',`rules`='6',`teams`='8',`games`='60',`groups`=0,`divisions`=0,`seasons`='5',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

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

QUERY(0.1409ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/Indianapolis'

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

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

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

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

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

QUERY(0.14ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.2398ms) - SELECT `company`.*,`img_url` FROM `company` INNER JOIN `photo` ON `photo`.`photo_id`=`company`.`logo_onwhite` WHERE `company_id`=1

QUERY(0.2189ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='pensacola-slowpitch-softball'

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

QUERY(0.128ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.109ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1302ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1471ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='90' && `season_id`='157' LIMIT 0,1

QUERY(0.1969ms) - SELECT * FROM `league_notices` WHERE `league_id`=90 && `season_id`=157

QUERY(0.5732ms) - SELECT SQL_CACHE `standings_id` FROM `standings` WHERE `season_id`=157 LIMIT 0,1

QUERY(0.1981ms) - SELECT SQL_CACHE `standings_override` FROM `league_schedule_options` WHERE `season_id`=157 LIMIT 0,1

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

QUERY(0.109ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1159ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2551ms) - SELECT `standing_id` FROM `standings_composite` WHERE `season_id`=157 LIMIT 0,1

QUERY(0.5901ms) - SELECT * FROM `league_schedule_options` WHERE `season_id`=157

QUERY(0.2091ms) - SELECT `standing_id` FROM `standings_composite` WHERE `season_id`=157

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

QUERY(0.1309ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1488ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='90' && `season_id`='157'

QUERY(6.5949ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='90' && `league_teams`.`season_id`='157') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '90' and `standings`.`season_id` = '157' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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