Location: PHPKode > projects > Backend code/CMS for blizzle.com > v1.x/blizlets/completed.php
<?
$completed = 73;
$total = 96;
$percentage = round(($completed/$total)*100,1);
$negativepercentage = 100 - $percentage;

$bHtml = "Site Completion:<br><table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td align=right bgcolor=navy width=$percentage%><font color=white>$percentage%</font></td><td bgcolor=silver width=$negativepercentage%>&nbsp;</td></tr></table><a href=\"todo.txt\">Read todo.txt for more</a>";

createBlizlet('Status',$bHtml);

?>
Return current item: Backend code/CMS for blizzle.com