Coach Rich

Coach Rich

McDonough, GA

August 2024

Member Since

About Me

Enjoy coaching softball, riding my motorcycles and traveling.

About Me

Enjoy coaching softball, riding my motorcycles and traveling.

PEAK MEMORY: 8.75 MiB
MEMORY USAGE AFTER: 4.71 MiB

Debug Information


Request Variables

var = profile

varb = coach-rich

vara =

varc =

vard =

vare =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 1f0f457eed6c254de58bd7c746c0826b

Login Type:

BASE:: profile

FULL LINK:: profile/coach-rich

Page ID: 11

Page ID:: 11

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] => 7 ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Admin Login Level: :

USER CACHE: User cache reset

Footer: : Loading page footer code


Session Variables

securetoken = 1f0f457eed6c254de58bd7c746c0826b
fullstate =


Cookie Variables

USER_CITY = sh


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /profile/coach-rich/
QUERY_STRING = var=profile&varb=coach-rich
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=profile&varb=coach-rich
REDIRECT_URL = /profile/coach-rich/
REMOTE_PORT = 45673
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.142.53.184
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/profile/coach-rich
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = USER_CITY=sh
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/profile/coach-rich/
SCRIPT_URL = /profile/coach-rich/
UNIQUE_ID = Z1CtJnlzYabDAGJ8cpgGnwAAAgA
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/profile/coach-rich/
REDIRECT_SCRIPT_URL = /profile/coach-rich/
REDIRECT_UNIQUE_ID = Z1CtJnlzYabDAGJ8cpgGnwAAAgA
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1733340454.0471
REQUEST_TIME = 1733340454


SQL Queries


Total Queries: 98
Total Execution Time: 66.4339ms
Avg Execution Time:0.67789693877551ms

QUERY(1.7939ms) - 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-04', '19:27:34', 'GET', '/profile/coach-rich/', '3.142.53.184', 'https://netstuffersdev1.com/profile/coach-rich' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhelliR0d5SkdRNHQzK0k1RTRDRFVSOVFNeUdJcStxYnp6OHhLVnFyV2JjVGVXNnBHVHMvTHlESGp5V0tqMS9pMkdUMDRpUTg3SHRSSWxlVDIxSXF3UEQ=','0','','1733340454') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1612ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/profile/coach-rich/'

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

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

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

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

QUERY(0.14ms) - SELECT * FROM userprofiles_config

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

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

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

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

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

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

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

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

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

QUERY(0.14ms) - SELECT * FROM userprofiles_config

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

QUERY(0.1299ms) - SELECT * FROM userprofiles_config

QUERY(0.3929ms) - 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`='coach-rich' LIMIT 0,1

QUERY(0.123ms) - SELECT `img_url`,`thumb_url` FROM `photo` WHERE `photo_id`=14277

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

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM league_config

QUERY(1.3051ms) - UPDATE users SET `lastip`='3.142.53.184' WHERE `id`=11513

QUERY(0.3662ms) - SELECT COUNT(*) FROM `deadlines` INNER JOIN `users` ON (`deadlines`.`user_id` = `users`.`id`) LEFT JOIN `leagues` ON (`deadlines`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams` ON (`deadlines`.`team_id` = `teams`.`team_id`) LEFT JOIN `games` ON (`deadlines`.`game_id` = `games`.`game_id`) LEFT JOIN `apparel_orders` ON (`deadlines`.`order_id` = `apparel_orders`.`id`) LEFT JOIN `league_seasons` ON (`deadlines`.`season_id` = `league_seasons`.`season_id`) WHERE `deadlines`.`user_id` = '11513' and `deadlines`.`deleted` = '0' and `deadlines`.`deleted` = '0'

QUERY(0.2539ms) - SELECT SQL_CACHE count(`company_player_id`) FROM `company_players` WHERE `player_id`=11513 && `company_id`>1 && `banned`=0

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

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

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

QUERY(0.2561ms) - 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`='11513'

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

QUERY(0.1662ms) - SELECT `avatar_id` FROM `users` WHERE `id`=11513

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

QUERY(0.3669ms) - 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`=11513 && `deleted`=0 &&`league_players`.`paid`=1 && `league_players`.`quit`=0

QUERY(0.349ms) - 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`=11513 && `deleted`=0 &&`league_players`.`paid`=1 && `league_players`.`quit`=0

QUERY(5.8489ms) - SELECT AVG(`salary`) FROM `draft_scouting_reports` WHERE `player_id`=11513

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

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

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

QUERY(0.1788ms) - SELECT AVG(`score`) FROM `users_trust` WHERE `user_id`=11513

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

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

QUERY(0.1199ms) - SELECT `birthdate` FROM `users` WHERE `id`=11513

QUERY(0.1409ms) - UPDATE `users` SET `age`=65 WHERE `id`=11513

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

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

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

QUERY(1.0419ms) - 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`,`companies`,`flags`,`commish`,`deadlines`,`updated`) VALUES ('11513',0,0,0,0,65,0,0,0,0,0,0,0,0,0,'1',0,0,0,0,'1',0,0,'Softball, Flag Football, Kickball, Bowling',0,0,'1',0,0,0.5,0,0,'0','',0,0,NOW()) ON DUPLICATE KEY UPDATE `user_id`='11513',`clan_recruiter`=0,`team_recruiter`=0,`totalinvites`=0,`totaloffers`=0,`age`=65,`report_id`=0,`highlights`=0,`articles`=0,`venues`=0,`accomplishments`=0,`classifieds`=0,`tracked`=0,`freeagents`=0,`groups`=0,`teams`='1',`completion`=0,`unread_offers`=0,`personal_team`=0,`reviews`=0,`coach`='1',`ships`=0,`silvers`=0,`sports`='Softball, Flag Football, Kickball, Bowling',`active_leagues`=0,`total_leagues`=0,`total_ultras`='1',`avg_salary`=0,`points_balance`=0,`cash_balance`=0.5,`trust`=0,`overdue`=0,`companies`='0',`flags`='',`commish`=0,`deadlines`=0,`updated`=NOW()

QUERY(0.118ms) - SELECT `season_unfinished` FROM `userprofiles_cache` WHERE `user_id`=11513

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

QUERY(0.165ms) - SELECT * FROM userprofiles_config

QUERY(0.144ms) - SELECT value,text FROM userprofile_fields_initialvalues WHERE field_id = 5

QUERY(6.427ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '5' && user_id='11513'

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

QUERY(0.1271ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1109ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1109ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.0949ms) - SELECT SQL_CACHE * FROM triumphs_config

QUERY(0.1419ms) - SELECT * FROM `users_profile` WHERE `user_id`=11513

QUERY(0.1359ms) - SELECT value,text FROM userprofile_fields_initialvalues WHERE field_id = 5

QUERY(6.4421ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '5' && user_id='11513'

QUERY(5.3749ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '7' && user_id='11513'

QUERY(0.3331ms) - SELECT `sport_id` FROM `attribute` a INNER JOIN `user_attributes` u ON a.attribute_id=u.attribute_id && u.user_id=11513 ORDER BY `sport_id` ASC

QUERY(0.1521ms) - SELECT * FROM `sports` WHERE `sport_id`=1

QUERY(0.1781ms) - SELECT * FROM `users_socialmedia` WHERE `user_id`=11513

QUERY(0.14ms) - SELECT * FROM `users_socialmedia` WHERE `user_id`=11513

QUERY(0.2172ms) - SELECT COUNT(*) FROM `teams_players_scouting_reports` WHERE `teams_players_scouting_reports`.`confirmed` = '1' and `teams_players_scouting_reports`.`player_id` = '11513'

QUERY(0.2069ms) - SELECT SQL_CACHE `teams_players_scouting_reports`.`report_id`,SUM(`teams_players_scouting_reports`.`competitiveness`) AS competitiveness,SUM(`teams_players_scouting_reports`.`attendance`) AS attendance,SUM(`teams_players_scouting_reports`.`social`) AS social FROM `teams_players_scouting_reports` WHERE `teams_players_scouting_reports`.`confirmed` = '1' and `teams_players_scouting_reports`.`player_id` = '11513'

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

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.5291ms) - SELECT SQL_CACHE `triumphs_awarded`.*,`triumphs`.`name` AS `triumph`,`users`.`username`,`users`.`user_url`,`sports`.`name` AS `sport_name`,`teams`.`fullname` AS `team_name`,`teams`.`url` AS `team_url`,`leagues`.`name` AS `league_name`,`league_seasons`.`name` AS `season_name`,`photo`.`img_url` AS `logo`,`p2`.`img_url` AS `picture` FROM `triumphs_awarded` LEFT JOIN `triumphs` ON (`triumphs_awarded`.`triumph_id` = `triumphs`.`triumph_id`) LEFT JOIN `users` ON (`triumphs_awarded`.`player_id` = `users`.`id`) LEFT JOIN `sports` ON (`triumphs_awarded`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `teams` ON (`triumphs_awarded`.`team_id` = `teams`.`team_id`) LEFT JOIN `leagues` ON (`triumphs_awarded`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`triumphs_awarded`.`season_id` = `league_seasons`.`season_id`) LEFT JOIN `photo` ON (`triumphs_awarded`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `photo` AS `p2` ON (`triumphs_awarded`.`picture_id` = `p2`.`photo_id`) WHERE `triumphs_awarded`.`player_id` = '11513' GROUP BY awarded_id ORDER BY `triumphs_awarded`.`awarded_id` DESC LIMIT 0,6

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

QUERY(0.144ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1781ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1092ms) - SELECT SQL_CACHE * FROM triumphs_config

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

QUERY(0.092ms) - SELECT SQL_CACHE * FROM triumphs_config

QUERY(0.144ms) - SELECT * FROM `users_profile` WHERE `user_id`=11513

QUERY(0.139ms) - SELECT value,text FROM userprofile_fields_initialvalues WHERE field_id = 5

QUERY(6.4249ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '5' && user_id='11513'

QUERY(6.4089ms) - SELECT fieldvalue FROM userprofile_profiledata WHERE field_id = '7' && user_id='11513'

QUERY(0.2971ms) - SELECT `sport_id` FROM `attribute` a INNER JOIN `user_attributes` u ON a.attribute_id=u.attribute_id && u.user_id=11513 ORDER BY `sport_id` ASC

QUERY(0.1671ms) - SELECT * FROM `sports` WHERE `sport_id`=1

QUERY(0.1249ms) - SELECT * FROM `users_socialmedia` WHERE `user_id`=11513

QUERY(0.1462ms) - SELECT * FROM `users_socialmedia` WHERE `user_id`=11513

QUERY(0.1841ms) - SELECT COUNT(*) FROM `teams_players_scouting_reports` WHERE `teams_players_scouting_reports`.`confirmed` = '1' and `teams_players_scouting_reports`.`player_id` = '11513'

QUERY(0.2029ms) - SELECT SQL_CACHE `teams_players_scouting_reports`.`report_id`,SUM(`teams_players_scouting_reports`.`competitiveness`) AS competitiveness,SUM(`teams_players_scouting_reports`.`attendance`) AS attendance,SUM(`teams_players_scouting_reports`.`social`) AS social FROM `teams_players_scouting_reports` WHERE `teams_players_scouting_reports`.`confirmed` = '1' and `teams_players_scouting_reports`.`player_id` = '11513'

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

QUERY(0.164ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.5119ms) - SELECT SQL_CACHE `triumphs_awarded`.*,`triumphs`.`name` AS `triumph`,`users`.`username`,`users`.`user_url`,`sports`.`name` AS `sport_name`,`teams`.`fullname` AS `team_name`,`teams`.`url` AS `team_url`,`leagues`.`name` AS `league_name`,`league_seasons`.`name` AS `season_name`,`photo`.`img_url` AS `logo`,`p2`.`img_url` AS `picture` FROM `triumphs_awarded` LEFT JOIN `triumphs` ON (`triumphs_awarded`.`triumph_id` = `triumphs`.`triumph_id`) LEFT JOIN `users` ON (`triumphs_awarded`.`player_id` = `users`.`id`) LEFT JOIN `sports` ON (`triumphs_awarded`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `teams` ON (`triumphs_awarded`.`team_id` = `teams`.`team_id`) LEFT JOIN `leagues` ON (`triumphs_awarded`.`league_id` = `leagues`.`league_id`) LEFT JOIN `league_seasons` ON (`triumphs_awarded`.`season_id` = `league_seasons`.`season_id`) LEFT JOIN `photo` ON (`triumphs_awarded`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `photo` AS `p2` ON (`triumphs_awarded`.`picture_id` = `p2`.`photo_id`) WHERE `triumphs_awarded`.`player_id` = '11513' GROUP BY awarded_id ORDER BY `triumphs_awarded`.`awarded_id` DESC LIMIT 0,6

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