This event has completed. This information has been preserved for archival purposes.
Ultra Draft

Gin & Juice Draft Tourney

Event: Raleigh - Fall 2024 (Other Events)
Sport: Softball
CoedSocialDraft
Join as Alternate

Optional Add Ons

Gin & Juice Extra Player Jersey

Your last chance to snag a sweet jersey from your favorite team from Gin & Juice Family Draft weekend!

Jersey Styles

$35.00

$45.00

Customer Info

Please enter your information for this order.


91 255
PEAK MEMORY: 7.28 MiB
MEMORY USAGE AFTER: 5.51 MiB

Debug Information


Request Variables

var = ultra

varb = gin-juice-draft-tourney

varc = raleigh-fall-24

vard = payment

vare = addon

vara =

view_var = ultra

view_varb = gin-juice-draft-tourney

view_varc = raleigh-fall-24

view_vard = payment

view_vare = addon

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: f8e12f4c4fabdad5d38115dc09067ce5

Login Type:

BASE:: ultra

FULL LINK:: ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon

Page ID: 57

Page ID:: 57

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 = f8e12f4c4fabdad5d38115dc09067ce5
fullstate =


Cookie Variables

handl_url = https://microchipusa.com/fpgas/XC7VX690T-2FFG1761C
handl_url_base = https://microchipusa.com/fpgas/XC7VX690T-2FFG1761C
handl_landing_page = https://microchipusa.com/fpgas/XC7VX690T-2FFG1761C
HandLtestDomainNameServer = HandLtestDomainValueServer
handl_ip = 3.133.108.224
user_agent = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/
QUERY_STRING = var=ultra&varb=gin-juice-draft-tourney&varc=raleigh-fall-24&vard=payment&vare=addon
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=ultra&varb=gin-juice-draft-tourney&varc=raleigh-fall-24&vard=payment&vare=addon
REDIRECT_URL = /ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/
REMOTE_PORT = 2037
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.133.108.224
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/ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = handl_url=https%3A%2F%2Fmicrochipusa.com%2Ffpgas%2FXC7VX690T-2FFG1761C; handl_url_base=https%3A%2F%2Fmicrochipusa.com%2Ffpgas%2FXC7VX690T-2FFG1761C; handl_landing_page=https%3A%2F%2Fmicrochipusa.com%2Ffpgas%2FXC7VX690T-2FFG1761C; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_ip=3.133.108.224; 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
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/ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/
SCRIPT_URL = /ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/
UNIQUE_ID = Z0GgkmlRf-o7Jbtasntn2wAAANY
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/
REDIRECT_SCRIPT_URL = /ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/
REDIRECT_UNIQUE_ID = Z0GgkmlRf-o7Jbtasntn2wAAANY
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732354194.9048
REQUEST_TIME = 1732354194


SQL Queries


Total Queries: 85
Total Execution Time: 29.8494ms
Avg Execution Time:0.35116941176471ms

QUERY(1.425ms) - 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', '09:29:54', 'GET', '/ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/', '3.133.108.224', 'https://netstuffersdev1.com/ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd0pKZFZIS2xRK1U4SlJ1eE9WMHBuN01CQnhIRElHRHNCSks1ZjZyM1VDaWovZkxweXltdm9lbnJmemd4d0tTU1A2VUxZNENDK3lXVlVESjFCL0NuQmM=','0','','1732354194') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.16ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon/'

QUERY(0.2489ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='ultra/gin-juice-draft-tourney/raleigh-fall-24/payment/addon' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.18ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1509ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.5381ms) - 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` = 'gin-juice-draft-tourney' LIMIT 0,1

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

QUERY(0.555ms) - 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` = '91' and `league_seasons`.`url` = 'raleigh-fall-24' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.175ms) - 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`=91 && `season_id`=255 LIMIT 0,1

QUERY(0.227ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=91 && `season_id`=255 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2451ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='91' && `season_id`='255' LIMIT 0,1

QUERY(0.2549ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='91' && (`season_id`='255' || `season_id`=0)

QUERY(0.2551ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='91' && (`season_id`='255' || `season_id`=0)

QUERY(0.165ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=91 && `season_id`=0) || `season_id`='255'

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

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

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

QUERY(0.21ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='91' || `season_id`='255' ORDER BY `season_id` DESC

QUERY(0.1779ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='91' && `season_id`='255'

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

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

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

QUERY(0.1552ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=91&&`season_id`=255 LIMIT 0,1

QUERY(0.2508ms) - SELECT `game_id` FROM `games` WHERE `league_id`=91&&`season_id`=255&&`playoff`=1 LIMIT 0,1

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

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

QUERY(0.237ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='91' && `season_id`='255'

QUERY(0.2182ms) - 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`='91' && `league_seasons`.`season_id`='255'

QUERY(0.1249ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=255 LIMIT 0,1

QUERY(0.128ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=91 && `season_id`=255

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

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

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

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

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

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

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

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

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

QUERY(0.145ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1631ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='gin-juice-draft-tourney'

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.133ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1278ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.15ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='91' && `season_id`='255' LIMIT 0,1

QUERY(0.1559ms) - SELECT * FROM `league_notices` WHERE `league_id`=91 && `season_id`=255

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

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

QUERY(0.2229ms) - SELECT SQL_CACHE `img_url`,`name`,`moreinfo` FROM `league_sponsors` LEFT JOIN `photo` ON `photo_id`=`logo_id` WHERE `league_id`=91 && `season_id`=255

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

QUERY(0.138ms) - SELECT SQL_CACHE * FROM company_config

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

QUERY(0.1261ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM payments_config

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

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.145ms) - SELECT `fee` FROM `league_seasons` WHERE `season_id`='255'

QUERY(0.2382ms) - SELECT * FROM `league_custom_content` WHERE `season_id`=255

QUERY(0.1462ms) - SELECT allow_vouch,allow_promo FROM `league_vouch_settings` WHERE `season_id`=255

QUERY(0.335ms) - SELECT * FROM `league_merch` WHERE `season_id`=255

QUERY(0.231ms) - SELECT * FROM `league_custom_content` WHERE `season_id`=255

QUERY(0.3939ms) - SELECT COUNT(*) FROM `products` INNER JOIN `photo` ON (`products`.`photo_id` = `photo`.`photo_id`) INNER JOIN `league_seasons` ON (`products`.`season_id` = `league_seasons`.`season_id`) WHERE `products`.`season_id` = '255' and `products`.`active` = '1' and `products`.`deleted` = '0'

QUERY(0.4289ms) - SELECT SQL_CACHE `products`.`product_id`,`products`.`name`,`products`.`price`,`products`.`oldprice`,`products`.`photo_id`,`products`.`config`,`products`.`description`,`products`.`sort`,`products`.`url`,`products`.`soldout`,`products`.`active`,`products`.`localsales`,`products`.`config_json`,`photo`.`img_url`,`league_seasons`.`url` AS `season_url` FROM `products` INNER JOIN `photo` ON (`products`.`photo_id` = `photo`.`photo_id`) INNER JOIN `league_seasons` ON (`products`.`season_id` = `league_seasons`.`season_id`) WHERE `products`.`season_id` = '255' and `products`.`active` = '1' and `products`.`deleted` = '0' ORDER BY `products`.`sort` ASC LIMIT 0,100

QUERY(0.1359ms) - SELECT `season_id` FROM `league_seasons` WHERE `url`='raleigh-fall-24' LIMIT 0,1

QUERY(0.2561ms) - SELECT `photo_id`,`img_url` FROM `photo` INNER JOIN `league_merch` ON `photo`.`photo_id`=`league_merch`.`souvenir_jersey_photo` WHERE `season_id`=255

QUERY(2.475ms) - SELECT `img_url`,`fullname`,`teams`.`url` FROM `teams` INNER JOIN `league_teams` ON `teams`.`team_id`=`league_teams`.`team_id` INNER JOIN `league_seasons` ON `league_teams`.`season_id`=`league_seasons`.`season_id` && `league_seasons`.`season_id`=255 INNER JOIN `photo` ON `teams`.`jersey_img`=`photo`.`photo_id` WHERE `jersey_img` > 0 ORDER BY `fullname` ASC

QUERY(0.9139ms) - SELECT `img_url`,`fullname`,`teams`.`url` FROM `teams` INNER JOIN `league_teams` ON `teams`.`team_id`=`league_teams`.`team_id` INNER JOIN `league_seasons` ON `league_teams`.`season_id`=`league_seasons`.`season_id` && `league_seasons`.`season_id`=255 INNER JOIN `photo` ON `teams`.`jersey_img_away`=`photo`.`photo_id` WHERE `jersey_img_away` > 0 ORDER BY `fullname` ASC

QUERY(0.2398ms) - SELECT * FROM `company_policies` WHERE `policy_type`='refund' && `competition_type`='ultra' && (`company_id`=1 || `company_id`=1) ORDER BY `company_id` DESC, `competition_type`='global' DESC LIMIT 0,1

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