if (sizeof($ltype) == 0) { $content .= "<div class='warning'>You did not select any of the Local Storm \n\tReport types above, so none are listed below...<br /><br /></div>"; } if (sizeof($wtype) == 0) { $content .= "<div class='warning'>You did not select any of the Warning \n\ttypes above, so none are listed below...<br /><br /></div>"; } $dstat = date("m/d/Y H:i", $sts); $dstat1 = date("m/d/Y H:i", $ets); $aw = sprintf("%s", $cow->computeWarningsVerified()); $pv = sprintf("%.1f", $cow->computeWarningsVerifiedPercent()); $sr = sprintf("%.1f", $cow->computeSizeReduction()); $asz = sprintf("%.0f", $cow->computeAverageSize()); $av = sprintf("%.0f", $cow->computeAreaVerify()); $ae = $cow->computeWarnedEvents(); $b = $cow->computeUnwarnedEvents(); $tdq = $cow->computeTDQEvents(); $wtable = ""; reset($cow->warnings); $wsz = sizeof($cow->warnings); while (list($k, $warn) = each($cow->warnings)) { $wtable .= printWARN($cow, $warn); } $ltable = ""; reset($cow->lsrs); $lsz = sizeof($cow->lsrs); while (list($k, $lsr) = each($cow->lsrs)) { if ($lsr["warned"]) { continue; } $ltable .= printLSR($lsr); }