Beispiel #1
0
$maxTR = $userprefs['maxTR'];
$minL = $userprefs['minL'];
$maxL = $userprefs['maxL'];
//extract grading system used for this workout (use userprefs)
$boulderGradingID = $userprefs['boulderGradingSystemID'];
$routeGradingID = $userprefs['routeGradingSystemID'];
$main_gymid = $workoutInfo["gymid"];
$countryCode = $climbingAreaService->getClimbingAreaProperties($main_gymid)["countryCode"];
$date_workout = $workoutInfo['date_workout'];
list($year, $month, $day) = explode('-', date('Y-m-d', strtotime($date_workout)));
$month = $month - 1;
//months start at 0 = January
//separate gyms by state
$gymOptions = '<option value="">Select a Gym...</option>';
include 'genGymOptions.php';
$workoutSegments = $workoutLoggingService->getWorkoutSegments($workout_id_prev);
?>
<!DOCTYPE HTML>
<html>
	<head>
		<title>Gym Climbing Tracker</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- Latest compiled and minified CSS -->
		<link rel="icon" href="images/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
		<link rel="stylesheet" type="text/css" href="css/datepicker.css">
		<link rel="stylesheet" type="text/css" href="style.php/mycss.scss">
		
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>