New Orleans Ultra Draft
King Cake 2025
Metairie, LA
Registration Info
Rowlett Slowpitch
Spring 2025
Rowlett, TX
Registration Info
Suncoast Senior Draft
40+ Seniors March 2025
Sebring, FL
Registration Info
Myrtle Beach
 Spring 2025
Myrtle Beach, SC
Registration Info
Euless Draft League
Spring 2025 Session
Euless, TX
Registration Info
Bay Minette Draft League
Spring 2025 Session
Bay minette, AL
Registration Info
Pensacola Slowpitch Draft League
Spring 2025
Pensacola, FL
Registration Info
Gin & Juice Draft Tourney
Seniors Family Draft - Spring 2025
Myrtle Beach, SC
Registration Info
Gin & Juice Draft Tourney
Showcase Draft - Spring 2025
Myrtle Beach, SC
Registration Info
Cincinnati Slowpitch
Spring 2025
Cincinnati, OH
Registration Info
Gin & Juice Draft Tourney
Myrtle Beach - Spring 2025
Myrtle Beach, SC
Registration Info
2024 Miken/Easton/Worth Series
Dalton SuperDrafts 2025
Dalton, GA
Registration Info
Chase for the Chaos Cup
Pensacola 2025
Pensacola, FL
Registration Info

Upcoming and Active Leagues

NameDatesLocationGenderCompany

Upcoming and Active Tournaments

NameDatesLocationGenderCompany

2024 Miken/Easton/Worth Series
Dalton SuperDrafts 2025

Softball
Dalton, GA Coed
PEAK MEMORY: 11.27 MiB
MEMORY USAGE AFTER: 7.59 MiB

Debug Information


Request Variables

varg =

varf =

vare =

vard =

varc =

varb =

vara =

var =

action =

view_var =

view_varb =

view_varc =

view_vard =

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 776cbe2967b930dca2c9d16ba97ed50f

Login Type:

BASE::

FULL LINK::

Page ID: 5

Page ID:: 5

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

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

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

Element ID: Array ( [0] => [1] => Array ( [0] => 3 ) [2] => [3] => Array ( [0] => 10 [1] => 21 ) [4] => Array ( [0] => 2 ) [5] => [6] => [7] => [8] => [9] => [10] => [11] => [12] => [13] => [14] => [15] => )

Admin Login Level: :

Admin Login Level: :

Admin Login Level: :

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = 776cbe2967b930dca2c9d16ba97ed50f
fullstate =
refer_params = https://netstuffersdev1.com/robots.txt/


Cookie Variables

PHPSESSID = 8daravi7lp490864g5ht45iekj


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /
QUERY_STRING =
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REMOTE_PORT = 5442
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.137.200.45
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 = PHPSESSID=8daravi7lp490864g5ht45iekj
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/
SCRIPT_URL = /
UNIQUE_ID = Z4rmA9i4hgiO0BqwtUKTiwAAAMg
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1737156099.5939
REQUEST_TIME = 1737156099


SQL Queries


Total Queries: 40
Total Execution Time: 13.2148ms
Avg Execution Time:0.33037ms

QUERY(1.442ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2025-01-17', '23:21:39', 'GET', '/', '3.137.200.45', '' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhekUwanJGQlFMa3JuMytnS2VVVStjeGh0OVVlMjBLMUZGRFFFeUFITGRuSzZwTXRsZThjR1NkQjMxUXJsdUJmUDR4TlhpREZGKzdkMFZHZlMyZFVmWEV2aVU5WG82T1BybGdxMzFDbVNGdmhqdFh0ZFh0dGhUVkpVbU9RaFk5RDR6NUYrTy9lcHgxczQvaUNMTXQ0RjNWR2o5dHordHJWU2d3aElTRW8zQjQzRjd5NGVGQml3bEpWZkJPR2RXdDZRTmVKc2tKRk1BRDBIbnllNE1FSmFBeQ==','0','','1737156099') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.144ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/'

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

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

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

QUERY(0.092ms) - SELECT * FROM userprofiles_config

QUERY(0.1621ms) - 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`='5' && `domain`='1'

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

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

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

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

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

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

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

QUERY(0.2089ms) - SELECT * FROM tickers_config

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

QUERY(0.0858ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.643ms) - SELECT COUNT(*) FROM `leagues` INNER JOIN `league_seasons` ON (`leagues`.`league_id` = `league_seasons`.`league_id`) INNER JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `season_photo` ON (`league_seasons`.`logo_id` = `season_photo`.`photo_id`) INNER JOIN `company` ON (`leagues`.`company_id` = `company`.`company_id`) INNER JOIN `photo` AS `company_photo` ON (`company`.`logo_onwhite` = `company_photo`.`photo_id`) LEFT JOIN `league_cache` ON (`league_seasons`.`season_id` = `league_cache`.`season_id`) INNER JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_dates`.`start_date` >= '2025-01-14 23:21:39' and `league_seasons`.`featured` = '1' and ( `league_seasons`.`public` = '1' and `league_seasons`.`active` = '1' and `league_seasons`.`listed` = '1')

QUERY(1.442ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`ultra`,`leagues`.`featured`,`leagues`.`league_id`,`leagues`.`name`,`leagues`.`name` AS league_name,`leagues`.`url`,`leagues`.`url` AS league_url,`leagues`.`games_per_round`,`leagues`.`approved`,`leagues`.`sport_id`,`leagues`.`gallery_id`,`leagues`.`max_teams`,`leagues`.`min_teams`,`leagues`.`max_players`,`leagues`.`owner_id`,`league_seasons`.`season_id`,`league_seasons`.`season_id` AS `sid`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`day_of_week`,`league_seasons`.`cancelled`,`league_seasons`.`public`,`league_seasons`.`soldout`,`league_seasons`.`gender`,`league_seasons`.`style`,`league_seasons`.`active`,`venues`.`venue_id`,`venues`.`name` AS `venue`,`venues`.`url` AS `venueurl`,`venues`.`city`,`venues`.`city` AS `venue_city`,`venues`.`state`,`venues`.`state` AS `venue_state`,`venues`.`fullstate`,`photo`.`img_url`,`photo`.`thumb_url`,`sports`.`name` AS `sport`,`sports`.`icon`,`sports`.`name_url` AS `sport_url`,`season_photo`.`img_url` AS `season_img_url`,`season_photo`.`thumb_url` AS `season_thumb_url`,`company`.`name` AS `company_name`,`company`.`url` AS `company_url`,`company_photo`.`img_url` AS `company_img_url`,`league_cache`.`reg_is_open`,`league_cache`.`teams`,`league_cache`.`players`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date` FROM `leagues` INNER JOIN `league_seasons` ON (`leagues`.`league_id` = `league_seasons`.`league_id`) INNER JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `season_photo` ON (`league_seasons`.`logo_id` = `season_photo`.`photo_id`) INNER JOIN `company` ON (`leagues`.`company_id` = `company`.`company_id`) INNER JOIN `photo` AS `company_photo` ON (`company`.`logo_onwhite` = `company_photo`.`photo_id`) LEFT JOIN `league_cache` ON (`league_seasons`.`season_id` = `league_cache`.`season_id`) INNER JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_dates`.`start_date` >= '2025-01-14 23:21:39' and `league_seasons`.`featured` = '1' and ( `league_seasons`.`public` = '1' and `league_seasons`.`active` = '1' and `league_seasons`.`listed` = '1') GROUP BY `league_seasons`.`season_id` ORDER BY `league_dates`.`start_date` asc LIMIT 0,32

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

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

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0989ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.638ms) - SELECT COUNT(*) FROM `leagues` INNER JOIN `league_seasons` ON (`leagues`.`league_id` = `league_seasons`.`league_id`) INNER JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `season_photo` ON (`league_seasons`.`logo_id` = `season_photo`.`photo_id`) INNER JOIN `company` ON (`leagues`.`company_id` = `company`.`company_id`) INNER JOIN `photo` AS `company_photo` ON (`company`.`logo_onwhite` = `company_photo`.`photo_id`) LEFT JOIN `league_cache` ON (`league_seasons`.`season_id` = `league_cache`.`season_id`) INNER JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_dates`.`end_date` >= '2025-01-14 23:21:39' and `leagues`.`tournament` = '0' and ( `league_seasons`.`public` = '1' and `league_seasons`.`cancelled` = '0' and `league_seasons`.`active` = '1' and `league_seasons`.`listed` = '1')

QUERY(1.193ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`ultra`,`leagues`.`featured`,`leagues`.`league_id`,`leagues`.`name`,`leagues`.`name` AS league_name,`leagues`.`url`,`leagues`.`url` AS league_url,`leagues`.`games_per_round`,`leagues`.`approved`,`leagues`.`sport_id`,`leagues`.`gallery_id`,`leagues`.`max_teams`,`leagues`.`min_teams`,`leagues`.`max_players`,`leagues`.`owner_id`,`league_seasons`.`season_id`,`league_seasons`.`season_id` AS `sid`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`day_of_week`,`league_seasons`.`cancelled`,`league_seasons`.`public`,`league_seasons`.`soldout`,`league_seasons`.`gender`,`league_seasons`.`style`,`league_seasons`.`active`,`venues`.`venue_id`,`venues`.`name` AS `venue`,`venues`.`url` AS `venueurl`,`venues`.`city`,`venues`.`city` AS `venue_city`,`venues`.`state`,`venues`.`state` AS `venue_state`,`venues`.`fullstate`,`photo`.`img_url`,`photo`.`thumb_url`,`sports`.`name` AS `sport`,`sports`.`icon`,`sports`.`name_url` AS `sport_url`,`season_photo`.`img_url` AS `season_img_url`,`season_photo`.`thumb_url` AS `season_thumb_url`,`company`.`name` AS `company_name`,`company`.`url` AS `company_url`,`company_photo`.`img_url` AS `company_img_url`,`league_cache`.`reg_is_open`,`league_cache`.`teams`,`league_cache`.`players`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date` FROM `leagues` INNER JOIN `league_seasons` ON (`leagues`.`league_id` = `league_seasons`.`league_id`) INNER JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `season_photo` ON (`league_seasons`.`logo_id` = `season_photo`.`photo_id`) INNER JOIN `company` ON (`leagues`.`company_id` = `company`.`company_id`) INNER JOIN `photo` AS `company_photo` ON (`company`.`logo_onwhite` = `company_photo`.`photo_id`) LEFT JOIN `league_cache` ON (`league_seasons`.`season_id` = `league_cache`.`season_id`) INNER JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_dates`.`end_date` >= '2025-01-14 23:21:39' and `leagues`.`tournament` = '0' and ( `league_seasons`.`public` = '1' and `league_seasons`.`cancelled` = '0' and `league_seasons`.`active` = '1' and `league_seasons`.`listed` = '1') GROUP BY `league_seasons`.`season_id` ORDER BY `league_dates`.`start_date` asc LIMIT 0,1000

QUERY(0.4408ms) - SELECT COUNT(*) FROM `leagues` INNER JOIN `league_seasons` ON (`leagues`.`league_id` = `league_seasons`.`league_id`) INNER JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `season_photo` ON (`league_seasons`.`logo_id` = `season_photo`.`photo_id`) INNER JOIN `company` ON (`leagues`.`company_id` = `company`.`company_id`) INNER JOIN `photo` AS `company_photo` ON (`company`.`logo_onwhite` = `company_photo`.`photo_id`) LEFT JOIN `league_cache` ON (`league_seasons`.`season_id` = `league_cache`.`season_id`) INNER JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_dates`.`end_date` >= '2025-01-14 23:21:39' and `leagues`.`tournament` = '1' and ( `league_seasons`.`public` = '1' and `league_seasons`.`cancelled` = '0' and `league_seasons`.`active` = '1' and `league_seasons`.`listed` = '1')

QUERY(1.41ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`ultra`,`leagues`.`featured`,`leagues`.`league_id`,`leagues`.`name`,`leagues`.`name` AS league_name,`leagues`.`url`,`leagues`.`url` AS league_url,`leagues`.`games_per_round`,`leagues`.`approved`,`leagues`.`sport_id`,`leagues`.`gallery_id`,`leagues`.`max_teams`,`leagues`.`min_teams`,`leagues`.`max_players`,`leagues`.`owner_id`,`league_seasons`.`season_id`,`league_seasons`.`season_id` AS `sid`,`league_seasons`.`name` AS `season_name`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`day_of_week`,`league_seasons`.`cancelled`,`league_seasons`.`public`,`league_seasons`.`soldout`,`league_seasons`.`gender`,`league_seasons`.`style`,`league_seasons`.`active`,`venues`.`venue_id`,`venues`.`name` AS `venue`,`venues`.`url` AS `venueurl`,`venues`.`city`,`venues`.`city` AS `venue_city`,`venues`.`state`,`venues`.`state` AS `venue_state`,`venues`.`fullstate`,`photo`.`img_url`,`photo`.`thumb_url`,`sports`.`name` AS `sport`,`sports`.`icon`,`sports`.`name_url` AS `sport_url`,`season_photo`.`img_url` AS `season_img_url`,`season_photo`.`thumb_url` AS `season_thumb_url`,`company`.`name` AS `company_name`,`company`.`url` AS `company_url`,`company_photo`.`img_url` AS `company_img_url`,`league_cache`.`reg_is_open`,`league_cache`.`teams`,`league_cache`.`players`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date` FROM `leagues` INNER JOIN `league_seasons` ON (`leagues`.`league_id` = `league_seasons`.`league_id`) INNER JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `season_photo` ON (`league_seasons`.`logo_id` = `season_photo`.`photo_id`) INNER JOIN `company` ON (`leagues`.`company_id` = `company`.`company_id`) INNER JOIN `photo` AS `company_photo` ON (`company`.`logo_onwhite` = `company_photo`.`photo_id`) LEFT JOIN `league_cache` ON (`league_seasons`.`season_id` = `league_cache`.`season_id`) INNER JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_dates`.`end_date` >= '2025-01-14 23:21:39' and `leagues`.`tournament` = '1' and ( `league_seasons`.`public` = '1' and `league_seasons`.`cancelled` = '0' and `league_seasons`.`active` = '1' and `league_seasons`.`listed` = '1') GROUP BY `league_seasons`.`season_id` ORDER BY `league_dates`.`start_date` asc LIMIT 0,1000

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

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

QUERY(0.2439ms) - SELECT SQL_CACHE * FROM company_config

QUERY(0.607ms) - SELECT SQL_CACHE `company`.*,`ponwhite`.`img_url` AS `logo_onwhite`,`photo`.`img_url` AS `logo` FROM `company` LEFT JOIN `photo` AS `ponwhite` ON (`company`.`logo_id` = `ponwhite`.`photo_id`) LEFT JOIN `photo` ON (`company`.`logo_id` = `photo`.`photo_id`) WHERE `company`.`url` = 'leaguejoe'

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

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

QUERY(0.248ms) - SELECT * FROM columnmod WHERE `exclude` NOT LIKE '%:5:%' && (`linking`='/' || `include` LIKE '%:5:%'|| (`global`='1' && `exclude` NOT LIKE '%:5:%') ) && (`domain`=0 || `domain`=1) ORDER BY `order`

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