EOD;
if (strpos($show, 'standings') !== false) $html .= <<
$standings $calendarSvg $label_AddToCalendar
| $label_Team |
$label_GP |
$label_W |
$label_L |
$label_T |
EOD;
if ($sport == 'football') {
$html .= <<$label_Perc
$label_PDiff |
EOD;
} else {
$html .= <<$label_F
$label_A |
$label_GD |
EOD;
}
$html .= <<$label_Pts
| $pleaseWait |
$legend
EOD;
if (strpos($show, 'schedule') !== false) $html .= <<$games $calendarSvg $label_AddToCalendar
| $label_Location |
$label_Date |
EOD;
if ($showStaff) $html .= <<$label_Officials
EOD;
$html .= <<$label_Home
$label_Away |
| $pleaseWait |
EOD;
$html .= <<
EOD;
return $html;
}
add_shortcode('amilia_store_standings', 'amilia_store_standings_shortcode_handler');
?>