- every match ever: https://sportapi.mlssoccer.com/api/matches?competition=98&excludeSecondaryTeams=true&excludeVenue=false
- Player match log: https://stats-api.mlssoccer.com/v1/players/matches?&player_opta_id=231969&page=0&page_size=30&include=*&order_by=-match_date
- active club list https://stats-api.mlssoccer.com/v1/clubs?&competition_opta_id=98&season_opta_id=2022&order_by=club_name
- rosters https://sportapi.mlssoccer.com/api/players/byClub/11091?culture=en-us
- player career stats: https://stats-api.mlssoccer.com/v1/players/seasons?&player_opta_id=231969&include=*&competition_opta_id=98&order_by=-season_opta_id
- form: https://sportapi.mlssoccer.com/api/previousMatches/1581?culture=en-us&secondClub=9668&matchDate=2021-12-11T20:00:00Z&maxItems=3&formGuideMatchesCount=5
- match overview: https://sportapi.mlssoccer.com/api/matches/2245774
- daily schedule: https://sportapi.mlssoccer.com/api/matches?culture=en-us&dateFrom=2021-12-10&dateTo=2021-12-12&competition=98&excludeSecondaryTeams=true&excludeVen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function base_render_before($sender) { | |
if(!val('UserRoles', $sender->Data)) { | |
$user = val('User', Gdn::controller()); | |
if (!$user && Gdn::session()->isValid()) { | |
$user = Gdn::session()->User; | |
} | |
$userRoles = []; | |
if ($user) { | |
$userID = val('UserID', $user); | |
$userRolesData = Gdn::userModel()->getRoles($userID); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!--Need gtag.js code and jquery already in page --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-1"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).load(function () { | |
if($("[id^='hs_form_target_module']").html() == "") { | |
$( ".hs_cos_wrapper.form-title" ).append( "<h6>If you are seeing this message you may have Adblock or Ghostery enabled. Please consider whitelisting our site to download the content.</h6>" ); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).load(function() { | |
$('textarea').keypress(function(){ | |
if(this.value.length > 255){ | |
return false; | |
} | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="Column ContentColumn" id="Content"> | |
{if $BodyID =='vanilla_categories_index'} | |
<div class="SearchBox"> | |
<form method="get" action="/search"> | |
<input type="text" id="Form_Search" name="Search" placeholder="{t c="Search"}" class="InputBox js-search"> | |
<input type="submit" id="Form_Go" value="Go" class="Button"> | |
</form> | |
</div> | |
{/if} | |
{asset name="Content"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div.NavBar div.Row div.MeWrap { | |
margin-top:-10px; | |
} | |
div.NavBar { | |
height:100px !important; | |
} | |
div#Frame { | |
margin-top:80px !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> | |
<link href="rotate.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" src="rotate.js"></script> | |
<script type="text/javascript"> | |
$(window).load(function() { | |
startRotator("#rotator"); | |
}) | |
</script> |