} $pospercent = $pos / $total * 100; $neupercent = $neu / $total * 100; $negpercent = $neg / $total * 100; $Tpl->setVar("username", $username); $Tpl->setVar("pos", $pos); $Tpl->setVar("neu", $neu); $Tpl->setVar("neg", $neg); $Tpl->setVar("pospercent", round($pospercent, 2)); $Tpl->setVar("neupercent", round($neupercent, 2)); $Tpl->setVar("negpercent", round($negpercent, 2)); $Tpl->setVar("pos1", $pos1); $Tpl->setVar("neu1", $neu1); $Tpl->setVar("neg1", $neg1); $Tpl->setVar("pos2", $pos2); $Tpl->setVar("neu2", $neu2); $Tpl->setVar("neg2", $neg2); $Tpl->setVar("pos3", $pos3); $Tpl->setVar("neu3", $neu3); $Tpl->setVar("neg3", $neg3); } //Show Page @1-BE2A4A0B $Header->Show("Header"); $comments->Show(); $Footer->Show("Footer"); $Tpl->PParse("main", false); //End Show Page //Unload Page @1-AB7622EF $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload"); unset($Tpl); //End Unload Page