VIPs Only

Bowling


Warning: Attempt to read property "num_rows" on bool in /home/leaguejo_dev/public_html/templates/lj/modules/teams/admin/pricing.php on line 123

Pricing Tiers

Create special pricing tiers for players, staff members, and others.

Note: All profit share percentages are calculated AFTER discounts are considered, and a minimum price per item must be achieved to receive profit share. Be mindful of your discounting!

Players & Staff Members

Enable Promo Codes

Allow for promo codes and discounts

By enabling Promo Codes, you can offer discounts to players, staff, and family members. Any commission and/or profit share is determined based on the final sale price of each item, therefore each discount reduces your total fundraise. Certain items have minimum sales prices and any discounts below the sales minimum will exclude that item from your sales commissions. We recommend you work closely with your sales rep to adjust discounts to be effective for your campaign, while maximizing your store earnings.

Ship to Coach

Enable ship to coach option?

By enabling "Ship to Coach", you will allow certain players to select the primary address for the team as a shipping option. Doing so will remove their shipping fee to save them some money, but the coach/representative at the address will be responsible for distribution of the gear. League Joe is not responsible for costs incurred by team representatives failing to properly distribute the gear.

For players to access Coach Ship, they must use a code which can be set below. You may choose to add additional discounts if you wish, or set the code discount to "0" to only enable the coach ship option.

Players & Staff

Automatic discounts for those on the roster

Non-Rostered

Discount codes for non-rostered individuals. Be careful - they will share them!

257
Array
(
    [team_id] => 257
    [sport_id] => 8
    [league_id] => 0
    [division_id] => 
    [wins] => 0
    [losses] => 0
    [wins_all] => 0
    [losses_all] => 0
    [fullname] => VIPs Only
    [shortname] => VIPs Only
    [abbr] => 
    [fullmascot] => 
    [shortmascot] => 
    [url] => vips-only
    [logo_id] => 892
    [court_id] => 0
    [color_id] => 0
    [max_roster_size] => 15
    [gallery_id] => 609
    [approved] => 1
    [active] => 1
    [current_roster_size] => 5
    [owner_id] => 0
    [public] => 1
    [chat_room_id] => 0
    [personal] => 0
    [deleted] => 0
    [invite_code] => 
    [featured_bg] => 6542
    [color_id_2] => 
    [color_id_3] => 
    [description] => 
    [shirt_color] => 
    [jersey_img] => 0
    [jersey_img_away] => 0
    [city] => 
    [state] => 
    [created] => 2025-01-02 13:16:54
    [updated] => 0000-00-00 00:00:00
    [leagues] => Beer and Besties Bowling - Winter 2022
    [thumb] => /files/gallery/misc/thumbs/sorry-guys-vip-only_recjoe1637194889.gif
    [large] => /files/gallery/misc/sorry-guys-vip-only_recjoe1637194889.gif
    [alt] => VIPs Only  Logo
    [name] => VIPs Only
    [sport_name] => Bowling
    [sport_icon] => fa-regular fa-bowling-ball-pin
    [sport_url] => bowling
    [gameimage] => 
    [roster] => 1
    [coaches] => 1
    [leaders] => 
    [ownteam] => 1
    [group_type] => teams
    [link] => /team/vips-only/
    [image] => Array
        (
            [id] => vips-only
            [thumb] => /files/gallery/misc/thumbs/sorry-guys-vip-only_recjoe1637194889.gif
            [large] => /files/gallery/misc/sorry-guys-vip-only_recjoe1637194889.gif
            [alt] => VIPs Only  Logo
            [link] => /team/vips-only/
        )

    [label] => team
    [tools] => Array
        (
            [score] => 
            [homelink] => /team/vips-only/
            [homelink_type] => teams
        )

    [featured_bg_img] => https://leaguejoe.com/files/gallery/misc/default-green_recjoe1704996203.webp
    [settings] => 
    [merch_settings] => 
    [perm_team_level] => 0
    [perm_team_name] => Guest
    [perm_team_score] => 0
    [score] => 0
    [games] => 0
    [sponsors] => 0
    [reports] => 4
)
PEAK MEMORY: 5.02 MiB
MEMORY USAGE AFTER: 4 MiB

Debug Information


Request Variables

var = team

varb = vips-only

varc = admin

vard = pricing

vara =

vare =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: eaabb672d767b8dc6376d269a5feda4b

Login Type:

BASE:: team

FULL LINK:: team/vips-only/admin/pricing

Page ID: 49

Page ID:: 49

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

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

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

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

Admin Login Level: :

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = eaabb672d767b8dc6376d269a5feda4b
fullstate =


Cookie Variables

care_did = 7f174505-81c2-4d01-a64d-cf6d1f1315cc


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /team/vips-only/admin/pricing/
QUERY_STRING = var=team&varb=vips-only&varc=admin&vard=pricing
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=team&varb=vips-only&varc=admin&vard=pricing
REDIRECT_URL = /team/vips-only/admin/pricing/
REMOTE_PORT = 59601
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 = 13.59.83.202
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/team/vips-only/admin/pricing
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = care_did=7f174505-81c2-4d01-a64d-cf6d1f1315cc
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/team/vips-only/admin/pricing/
SCRIPT_URL = /team/vips-only/admin/pricing/
UNIQUE_ID = Z4B69W1Kn0X0fwc8F-sk8wAAAJg
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/team/vips-only/admin/pricing/
REDIRECT_SCRIPT_URL = /team/vips-only/admin/pricing/
REDIRECT_UNIQUE_ID = Z4B69W1Kn0X0fwc8F-sk8wAAAJg
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1736473333.4405
REQUEST_TIME = 1736473333


SQL Queries


Total Queries: 89
Total Execution Time: 15.0806ms
Avg Execution Time:0.16944494382022ms

QUERY(1.236ms) - 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-10', '01:42:13', 'GET', '/team/vips-only/admin/pricing/', '13.59.83.202', 'https://netstuffersdev1.com/team/vips-only/admin/pricing' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheEM4ODJTMkpCL1FNQkIyQm01Zzkxc210dzJWM0dtSjRKVDJwcEl6NWpIemVSY00rRUYxRGZVY2hwUWtMeStEdVhnZXF1MGxzR3k3RUN3bkF5RDlQUDk=','0','','1736473333') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

QUERY(0.1709ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/team/vips-only/admin/pricing/'

QUERY(0.268ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='team/vips-only/admin/pricing' ORDER BY `domain`='1' DESC,`domain` ASC

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

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

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

QUERY(0.109ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.443ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.308ms) - SELECT COUNT(*) FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'vips-only'

QUERY(0.433ms) - SELECT SQL_CACHE `teams`.*,(SELECT COUNT(`team_id`) FROM `league_teams` WHERE `league_teams`.`team_id`=`teams`.`team_id`) AS `leagues`,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt`,`leagues`.`name`,`teams_players`.`player_id`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`gamephoto`.`img_url` AS `gameimage`,`teams_privacy`.`public`,`teams_privacy`.`roster` FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'vips-only' GROUP BY `teams`.`team_id`

QUERY(0.253ms) - SELECT SQL_CACHE tp.access,u.username,u.user_url,tl.name AS level FROM `teams_players` tp INNER JOIN `users` u ON tp.player_id=u.id INNER JOIN `teams_levels` tl ON tp.access=tl.level_id INNER JOIN `teams_levels` ON tp.`access`=`teams_levels`.`level_id` WHERE tp.`team_id`='257' && `teams_levels`.`score`>=40 GROUP BY u.id

QUERY(0.3669ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`name`,`leagues`.`url`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`name` AS `season_name` FROM `league_teams` INNER JOIN `leagues` ON `league_teams`.`league_id`=`leagues`.`league_id` INNER JOIN `league_seasons` ON `league_teams`.`season_id`=`league_seasons`.`season_id` WHERE `team_id`='257' GROUP BY `league_teams`.`team_id` LIMIT 0,3

QUERY(0.1249ms) - SELECT `team_id`, `league_id` FROM `league_teams` WHERE `league_id` = 0 AND `season_id` = 0 AND `team_id` = 257 LIMIT 1

QUERY(0.0899ms) - SELECT SQL_CACHE `img_url` FROM `photo` WHERE `photo_id`=6542 LIMIT 0,1

QUERY(0.087ms) - SELECT * FROM `teams_settings` WHERE `team_id`=257

QUERY(0.1261ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=257

QUERY(0.108ms) - SELECT SQL_CACHE * FROM `teams_cache` WHERE `team_id`=257 && `updated`>=(NOW() - INTERVAL 60 MINUTE) LIMIT 0,1

QUERY(0.0961ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=257 LIMIT 0,1

QUERY(0.165ms) - SELECT COUNT(`game_id`) FROM `games` WHERE (`home_team_id`=257||`away_team_id`=257) && `cancelled`=0

QUERY(0.1171ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=257

QUERY(0.653ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=257

QUERY(0.124ms) - INSERT INTO `teams_cache` (`team_id`,`products`,`sponsors`,`reports`) VALUES ('257',0,0,4) ON DUPLICATE KEY UPDATE `team_id`='257',`products`=0,`sponsors`=0,`reports`=4

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

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

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

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

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

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

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

QUERY(0.0989ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1299ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.083ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.087ms) - SELECT * FROM userprofiles_config

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

QUERY(0.082ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.2282ms) - SELECT COUNT(*) FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'vips-only'

QUERY(0.32ms) - SELECT SQL_CACHE `teams`.*,(SELECT COUNT(`team_id`) FROM `league_teams` WHERE `league_teams`.`team_id`=`teams`.`team_id`) AS `leagues`,`photo`.`thumb_url` AS `thumb`,`photo`.`img_url` AS `large`,`photo`.`title` AS `alt`,`leagues`.`name`,`teams_players`.`player_id`,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`gamephoto`.`img_url` AS `gameimage`,`teams_privacy`.`public`,`teams_privacy`.`roster` FROM `teams` LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `leagues` ON (`teams`.`league_id` = `leagues`.`league_id`) LEFT JOIN `teams_players` ON (`teams`.`team_id` = `teams_players`.`team_id`) LEFT JOIN `sports` ON (`teams`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` AS `gamephoto` ON (`sports`.`logo_id` = `gamephoto`.`photo_id`) INNER JOIN `teams_privacy` ON (`teams`.`team_id` = `teams_privacy`.`team_id`) WHERE `teams`.`url` = 'vips-only' GROUP BY `teams`.`team_id`

QUERY(0.263ms) - SELECT SQL_CACHE tp.access,u.username,u.user_url,tl.name AS level FROM `teams_players` tp INNER JOIN `users` u ON tp.player_id=u.id INNER JOIN `teams_levels` tl ON tp.access=tl.level_id INNER JOIN `teams_levels` ON tp.`access`=`teams_levels`.`level_id` WHERE tp.`team_id`='257' && `teams_levels`.`score`>=40 GROUP BY u.id

QUERY(0.247ms) - SELECT SQL_CACHE `leagues`.`tournament`,`leagues`.`name`,`leagues`.`url`,`league_seasons`.`url` AS `season_url`,`league_seasons`.`name` AS `season_name` FROM `league_teams` INNER JOIN `leagues` ON `league_teams`.`league_id`=`leagues`.`league_id` INNER JOIN `league_seasons` ON `league_teams`.`season_id`=`league_seasons`.`season_id` WHERE `team_id`='257' GROUP BY `league_teams`.`team_id` LIMIT 0,3

QUERY(0.128ms) - SELECT `team_id`, `league_id` FROM `league_teams` WHERE `league_id` = 0 AND `season_id` = 0 AND `team_id` = 257 LIMIT 1

QUERY(0.0899ms) - SELECT SQL_CACHE `img_url` FROM `photo` WHERE `photo_id`=6542 LIMIT 0,1

QUERY(0.0839ms) - SELECT * FROM `teams_settings` WHERE `team_id`=257

QUERY(0.0758ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=257

QUERY(0.1059ms) - SELECT SQL_CACHE * FROM `teams_cache` WHERE `team_id`=257 && `updated`>=(NOW() - INTERVAL 60 MINUTE) LIMIT 0,1

QUERY(0.073ms) - SELECT * FROM `teams_merch_settings` WHERE `team_id`=257 LIMIT 0,1

QUERY(0.1431ms) - SELECT COUNT(`game_id`) FROM `games` WHERE (`home_team_id`=257||`away_team_id`=257) && `cancelled`=0

QUERY(0.093ms) - SELECT COUNT(`sponsor_id`) FROM `teams_sponsors` WHERE `team_id`=257

QUERY(0.6599ms) - SELECT COUNT(`player_id`) FROM `teams_players_scouting_reports` WHERE `team_id`=257

QUERY(0.1812ms) - INSERT INTO `teams_cache` (`team_id`,`products`,`sponsors`,`reports`) VALUES ('257',0,0,4) ON DUPLICATE KEY UPDATE `team_id`='257',`products`=0,`sponsors`=0,`reports`=4

QUERY(0.0951ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=257

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

QUERY(0.0849ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.104ms) - SELECT `league_id`,`season_id` FROM `league_teams` WHERE `team_id`=257

QUERY(0.277ms) - 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`.`league_id` = '53' LIMIT 0,1

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

QUERY(0.237ms) - 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` = '53' and `league_seasons`.`season_id` = '77' ORDER BY `league_dates`.`start_date` ASC

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

QUERY(0.1478ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=77

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

QUERY(0.1009ms) - 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`=53 && `season_id`=77 LIMIT 0,1

QUERY(0.16ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=53 && `season_id`=77 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.2141ms) - SELECT count(player_id) AS `player`,`coach`,`access`,`team_player_id` AS `tpi` FROM `teams_players` WHERE `team_id`='257' && `player_id`='' && `quit`=0 ORDER BY `season_id` DESC

QUERY(0.082ms) - SELECT `name` FROM `teams_levels` WHERE `level_id`=6 LIMIT 0,1

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

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

QUERY(0.0789ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0629ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0651ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.082ms) - SELECT * FROM userprofiles_config

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

QUERY(0.0911ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.078ms) - SELECT * FROM `teams_privacy` WHERE `team_id`=257

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

QUERY(0.078ms) - SELECT SQL_CACHE * FROM payments_config

QUERY(0.118ms) - SELECT * FROM `teams_settings` INNER JOIN `teams_merch_settings` ON `teams_merch_settings`.`team_id`=`teams_settings`.`team_id` WHERE `teams_settings`.`team_id`=257

QUERY(0.2618ms) - SELECT SQL_CACHE `payments_promo_codes`.*,`payments_promo_codes_links`.`total_uses`,`payments_promo_codes_links`.`promo_code_link_id`,`teams`.`fullname` FROM `payments_promo_codes` LEFT JOIN `payments_promo_codes_links` ON (`payments_promo_codes`.`promo_code_id` = `payments_promo_codes_links`.`promo_code_id`) INNER JOIN `teams` ON (`payments_promo_codes`.`limit_to_team` = `teams`.`team_id`) WHERE `payments_promo_codes`.`limit_to_team` = '257' and `payments_promo_codes`.`auto_trigger` = 'roster' and `payments_promo_codes`.`active` = '1' ORDER BY `payments_promo_codes`.`total_uses`

QUERY(0.2ms) - SELECT SQL_CACHE `payments_promo_codes`.*,`payments_promo_codes_links`.`total_uses`,`payments_promo_codes_links`.`promo_code_link_id`,`teams`.`fullname` FROM `payments_promo_codes` LEFT JOIN `payments_promo_codes_links` ON (`payments_promo_codes`.`promo_code_id` = `payments_promo_codes_links`.`promo_code_id`) INNER JOIN `teams` ON (`payments_promo_codes`.`limit_to_team` = `teams`.`team_id`) WHERE `payments_promo_codes`.`limit_to_team` = '257' and `payments_promo_codes`.`auto_trigger` IS NULL and `payments_promo_codes`.`active` = '1' ORDER BY `payments_promo_codes`.`total_uses`

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