{assign var="pgLayout" value="none"}<html>
<head>
	<link rel="stylesheet" href="{$skinFolder}/styles/base.css" />
</head>
<body style="margin:0px;background-image:none;">
{include_php file="shared_handle:compareStars"}
<h3 class="underline">&nbsp; How You Compare</h3>
Your current weight: {$userStats.weight} as of {$userStats.dateOfEntry|date_format2:"n/j/Y"}<br />
<br />
{foreach from=$stars item="star"}
	{math assign="pct" equation="x / y * 100" x=$userStats.weight y=$star.weight}
	&nbsp; You weigh <b>{$pct|number_format:2}%</b> as much as <b>{$star.name}</b> ({$star.weight} lbs.)<br />
{foreachelse}
	No stars to compare with!
{/foreach}
</body>
</html>