{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>
<u>Your current weight:</u> <b>{$userStats.weight}</b> as of <b>{$userStats.dateOfEntry|date_format2:"n/j/Y"}</b><br />
<br />
{foreach from=$stars item="star"}
	{math assign="pct" equation="x / y" x=$userStats.weight y=$star.weight}
	&nbsp; You weigh as much as <b>{$pct|number_format:2}</b> <b>{$star.name}(s)</b> ({$star.weight} lbs.)<br />
{foreachelse}
	&nbsp; No stars to compare with!
{/foreach}
</body>
</html>