{assign var="pgLayout" value="none"}{include_php file="shared_handle:getStats"}<html>
<head>
	<link rel="stylesheet" href="{$skinFolder}/styles/base.css" />
	<style>
	.verticalText {ldelim}
		writing-mode: tb-rl;
		filter: flipv fliph;
	{rdelim}
	.tch {ldelim}
		border-right:1px solid black;
		border-bottom:1px solid black;
		background-color:#9CF;
	{rdelim}
	.tc {ldelim}
		border-right:1px dashed #CCC;
		border-bottom:1px dashed #CCC;
		background-color:#69C;
	{rdelim}
	</style>
</head>
<body style="margin:0px;background-image:none;">
{* display var=$userStats *}
{* display var=$compData *}
<table width="100%" height="232" border="0" cellpadding="0" cellspacing="0" align="left">
<tr height="64">
	{foreach name="headingLoop" from=$userStats.weeks item="week" key="num"}
	<td nowrap="nowrap" align="right" class="tch"><div class="verticalText">&nbsp;<b>Week {$num}</b>&nbsp;<br />{$week.weekOf}&nbsp;</div></td>
	{/foreach}
</tr>
<tr height="42">
	{foreach from=$userStats.weeks item="week"}
	<td valign="middle" align="right" class="tc">{$week.weight}</td>
	{/foreach}
</tr>
<tr height="42">
	{foreach from=$userStats.weeks item="week"}
	<td valign="middle" align="right" class="tc">{$week.calories|default:"0"}</td>
	{/foreach}
</tr>
<tr height="42">
	{foreach from=$userStats.weeks item="week"}
	<td valign="middle" align="right" class="tc">{$week.carbs|default:"0"}</td>
	{/foreach}
</tr>
<tr height="42">
	{foreach from=$userStats.weeks item="week"}
	<td valign="middle" align="right" class="tc">{$week.minutesExercise|default:"0"}</td>
	{/foreach}
</tr>
</table><a name="recent"></a>
</body>
</html>