League

St. Louis League Joe

Season: Spring 2025
Sport: Softball
CoedSocialDraft
Event Director
Venue
BMAC (Bridgeton)
Bridgeton, MO
Day of the Week
SUN
Join League
Registration Details
DatesPlayer CostScheduleTimeslotsCost Includes
Apr 06 - Jun 01, 2025
Draft Date & Registration Deadline: Monday, Mar 31
$99.00
per player
2 Games p/Day
8 Total Weeks - Play on Sundays
6, 7, 8
rotating

Custom dye sublimated jersey ($45 retail value)

Description

revstlouisspringbaseprev1_recjoe1739206040.png

League Joe is Coming to St. Louis! Are Y'all Ready?

We're bringing the fun of the DRAFT LEAGUE experience to St. Louis at BMAC! This is league is open to ALL AGESALL EXPERIENCE LEVELS, and anyone who believes slowpitch softball should be FUN!


What is a DRAFT league? It's a league where all players enter a pool and are selected by coaches before the season begins. All players are ranked based on their experience level, and each team drafts according to a salary cap. This creates even competition, fun head-to-head matchups, and unparalleled social fun as the entire league participates in after parties as a single entity.

We will be looking for interested players to serve as coaches for the first season, and we'll have an inaugural draft party to draft everyone to their new teams and get the league started ASAP within the next couple weeks. Contact us with any questions!

Players will receive a Jersey for this season. 

Registration

You may register for this league as an individual or as a couple. You must have a LeagueJoe account to participate in this league.

Join this League

Schedule Overview

All teams will play two games every Sunday, with times rotating between 6, 7, and 8pm starts.  If we get 8 teams, we will use the 9pm timeslot.

Some weekdays may be adjusted due to tournaments.

Seasons last eight weeks, with the final week being a playoff to determine the league champion!

Coaches Wanted

We are looking for coaches for this event! Want to join us?

Apply to Coach

Event Operator

Ruleset

United States Specialty Sports Association
United States Specialty Sports Association
PEAK MEMORY: 7.78 MiB
MEMORY USAGE AFTER: 6.81 MiB

Debug Information


Request Variables

var = league

varb = st-louis-lj

varc = spring-2025-sun

vara =

vard =

vare =

view_var = league

view_varb = st-louis-lj

view_varc = spring-2025-sun

view_vard =

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: League Joe

Template: lj

SECURETOKEN: 67a0e747a82bac949a31316fdb69a89a

Login Type:

BASE:: league

FULL LINK:: league/st-louis-lj/spring-2025-sun

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] => [11] => [12] => [13] => [14] => [15] => 1 )

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

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

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = 67a0e747a82bac949a31316fdb69a89a
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/st-louis-lj/spring-2025-sun/
QUERY_STRING = var=league&varb=st-louis-lj&varc=spring-2025-sun
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=st-louis-lj&varc=spring-2025-sun
REDIRECT_URL = /league/st-louis-lj/spring-2025-sun/
REMOTE_PORT = 32189
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.144.163.15
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/league/st-louis-lj/spring-2025-sun
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/league/st-louis-lj/spring-2025-sun/
SCRIPT_URL = /league/st-louis-lj/spring-2025-sun/
UNIQUE_ID = Z7lGQsEXi84PBQN@oiQGiQAAANE
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/st-louis-lj/spring-2025-sun/
REDIRECT_SCRIPT_URL = /league/st-louis-lj/spring-2025-sun/
REDIRECT_UNIQUE_ID = Z7lGQsEXi84PBQN@oiQGiQAAANE
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1740195394.695
REQUEST_TIME = 1740195394


SQL Queries


Total Queries: 82
Total Execution Time: 13.3824ms
Avg Execution Time:0.1632ms

QUERY(1.0319ms) - 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-02-22', '03:36:34', 'GET', '/league/st-louis-lj/spring-2025-sun/', '3.144.163.15', 'https://netstuffersdev1.com/league/st-louis-lj/spring-2025-sun' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd3NjTXlNakYzVHIvS3oySWQ3SHRZWWs1VnBYQURmM0V6Yi9Pc1JyWkpDVXdzdDN4Zk91eHEyeEZnS0xmWHQzQnNlSkNLblljZlVrMjlWWUZsemlQNWs=','0','','1740195394') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.0999ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/st-louis-lj/spring-2025-sun/'

QUERY(0.1271ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/st-louis-lj/spring-2025-sun' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.0989ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.088ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.2561ms) - 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`.`url` = 'st-louis-lj' LIMIT 0,1

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

QUERY(0.241ms) - 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` = '152' and `league_seasons`.`url` = 'spring-2025-sun' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1118ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=319

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

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

QUERY(0.107ms) - SELECT SQL_CACHE `redo_draft`,`allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=152 && `season_id`=319 LIMIT 0,1

QUERY(0.139ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=152 && `season_id`=319 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.1311ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='152' && `season_id`='319' LIMIT 0,1

QUERY(0.1009ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='152' && (`season_id`='319' || `season_id`=0)

QUERY(0.1209ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='152' && (`season_id`='319' || `season_id`=0)

QUERY(0.093ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=152 && `season_id`=0) || `season_id`='319'

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

QUERY(0.3269ms) - 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`='152' && `season_id`='319' && (`league_players`.`paid`=1||`league_players`.`moretime`=1) &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.248ms) - 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`='152' && `season_id`='319' && `league_players`.`paid`=0 && `league_players`.`moretime`=1 &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.2539ms) - 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`='152' && `season_id`='319' && `league_players`.`paid`=1 && `league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

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

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

QUERY(0.133ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='152' || `season_id`='319' ORDER BY `season_id` DESC

QUERY(0.093ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='152' && `season_id`='319'

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

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

QUERY(0.0839ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=152&&`season_id`=319 LIMIT 0,1

QUERY(0.118ms) - SELECT `game_id` FROM `games` WHERE `league_id`=152&&`season_id`=319&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.0961ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='152' && `season_id`='319'

QUERY(0.098ms) - 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`='152' && `league_seasons`.`season_id`='319'

QUERY(0.0801ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=152 && `season_id`=319 LIMIT 0,1

QUERY(0.0761ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=152 && `season_id`=319

QUERY(0.869ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`registered`,`players`,`moretime`,`paid`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('152','319',0,0,0,'44','18','3','3',0,'4',0,0,0,0,0,'1',0,'8',0,0,0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='152',`season_id`='319',`articles`=0,`participants`=0,`conferences`=0,`registered`='44',`players`='18',`moretime`='3',`paid`='3',`coaches`=0,`subs`='4',`rules`=0,`teams`=0,`games`=0,`groups`=0,`divisions`=0,`seasons`='1',`sponsors`=0,`products`='8',`prizes`=0,`triumphs`=0,`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

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

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

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

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

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

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

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

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

QUERY(0.0789ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0949ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='st-louis-lj'

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

QUERY(0.073ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0699ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.0751ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.092ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='152' && `season_id`='319' LIMIT 0,1

QUERY(0.0739ms) - SELECT * FROM `league_notices` WHERE `league_id`=152 && `season_id`=319

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

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

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

QUERY(0.1011ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1118ms) - SELECT * FROM `league_schedule_options` WHERE `league_id`=152 && `season_id`=319

QUERY(0.1128ms) - SELECT * FROM `league_hotel_settings` WHERE `league_id`=152 && `season_id`=319

QUERY(0.0949ms) - SELECT `game_term`,`game_terms` FROM `sports` WHERE `sport_id`=1

QUERY(0.0811ms) - SELECT `comeswith` FROM `league_custom_content` WHERE `league_id`=152 && `season_id`=319

QUERY(0.1771ms) - SELECT `package_id` FROM `league_players` WHERE `player_id`=0 && `season_id`=319

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

QUERY(0.1121ms) - SELECT `fee` FROM `league_seasons` WHERE `season_id`='319'

QUERY(0.205ms) - SELECT COUNT(*) FROM `article` INNER JOIN `article_text` ON (`article`.`article_id` = `article_text`.`article_id`) INNER JOIN `users` ON (`article`.`user_id` = `users`.`id`) INNER JOIN `league_updates` ON (`article`.`article_id` = `league_updates`.`article_id`) INNER JOIN `photo` ON (`users`.`avatar_id` = `photo`.`photo_id`) WHERE `league_updates`.`league_id` = '152' and `league_updates`.`season_id` = '319'

QUERY(0.6912ms) - SELECT SQL_CACHE `article`.`title`,`article`.`title_url`,`article`.`user_id`,`article`.`article_id`,`article`.`time_stamp`,`article`.`total_comment`,`article_text`.`text`,`users`.`username`,`users`.`user_url`,`league_updates`.`sent`,`photo`.`img_url` FROM `article` INNER JOIN `article_text` ON (`article`.`article_id` = `article_text`.`article_id`) INNER JOIN `users` ON (`article`.`user_id` = `users`.`id`) INNER JOIN `league_updates` ON (`article`.`article_id` = `league_updates`.`article_id`) INNER JOIN `photo` ON (`users`.`avatar_id` = `photo`.`photo_id`) WHERE `league_updates`.`league_id` = '152' and `league_updates`.`season_id` = '319' ORDER BY `article`.`time_stamp` desc LIMIT 0,3

QUERY(0.0901ms) - SELECT `open_call` FROM `league_coach_settings` WHERE `league_id`=152 && `season_id`=319

QUERY(0.093ms) - SELECT `allow_vouch` FROM `league_vouch_settings` WHERE `league_id`=152 && `season_id`=319

QUERY(0.097ms) - SELECT `allow_cards` FROM `league_tradingcard_settings` WHERE `league_id`=152 && `season_id`=319

QUERY(0.134ms) - SELECT `venues`.*,`photo`.`img_url` FROM `venues` LEFT JOIN `photo` ON `venues`.`logo_id`=`photo`.`photo_id` WHERE `venue_id`=26

QUERY(0.1111ms) - SELECT s.*,`photo`.`img_url` FROM `sports_governing_bodies` s INNER JOIN `photo` ON `photo`.`photo_id`=s.`logo_id` WHERE `body_id`=1

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