Example #1
0
		<div class="jumbotron jumbotron-frontpage">
			<div class="container-fluid">
				<div class="row">
					<div class="col-xs-12 col-sm-6 col-md-6">
						<h4>Recent News</h4><hr>
						<h5>Follow on Twitter for the latest site updates and news</h5>
						
						<a class="twitter-timeline" href="https://twitter.com/TrackYourClimb" data-widget-id="515850954487263234">Tweets by @TrackYourClimb</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> 

					</div>
					<div class="col-xs-12 col-sm-6 col-md-6">
						<div class="col-md-12">
							<h4>Number of Climbs Logged:</h4> 
							<h2><?php 
        getNumClimbs($db);
        ?>
</h2>
						</div>
						<div class="col-md-12">
						<hr>
							<h4>Number of Climbers: <h4><h2><?php 
        echo $numUsers;
        ?>
</h2>
						</div>
						<div class="col-md-12">
						<hr>
							<h4>Number of Gyms:</h4> <h2><?php 
        echo $numGyms;
        ?>
Example #2
0
					
				</div>
				<hr>
				<div class="row">
					<div class="col-sm-3">
						<div class="col-sm-12 dashboard-stat">
							<?php 
echo getNumber($db, $userid);
?>
							<p class="dashboard-stat-text">Total <br>Workouts</p>
						</div>
					</div>
					<div class="col-sm-3">
						<div class="col-sm-12 dashboard-stat">
							<?php 
echo getNumClimbs($db, $userid);
?>
							<p class="dashboard-stat-text">Total <br>Climbs</p>
						</div>
					</div>
					<div class="col-sm-3">
						<div class="col-sm-12 dashboard-stat">
							<?php 
echo getClimbingFrequency($db, $userid);
?>
							<p class="dashboard-stat-text">Workouts <br>Last 30 Days</p>
						</div>
					</div>
					<div class="col-sm-3">
						<div class="col-sm-12 dashboard-stat">
							<?php