<?PHP 
$weakAllW=$devicedataW + $serverdataW + $webdataW + $spacedataW + $backupdataW + $updatedataW + $installdataW;

//$weakAllW=7;	// **************************TEST

$warningdataR1="";
$warningdataR2=$warningXs;
$warningdataR3="<br><div class='font13 txt-grey3'><i class='fa fa-clock-o'></i> ".$timestampZ."</div>";
$warningdataR6="";
$warningdataR7=($weakAllW / $checkStatusW) * 100;
$warningdataR7=number_format($warningdataR7, 0, '.', '.');
$warningdataR8=$weakAllW."/".$checkStatusW;

if($weakAllW == 0){
$warningdataR7=100;
$warningdataR9="badgeT";
}else{
$warningdataR7=$warningdataR7;
$warningdataR9="badgeW";
}

echo "
<tr>
<td class='txtVM'>".$warningdataR2.": ".$warningdataR3." ".$warningdataR6."</td>
<td class='txtVM'>
<div class='progress pg-dash'>
<span class='progress-bar $warningdataR9 pg-animate' style='width:".$warningdataR7."%'>
<span class='pg-text'>".$warningdataR8."</span>
</span>
</div>
</td>
<td class='txtVM txtC blendBadge'><span class='badge $warningdataR9 margin-t3-'>".$warningdataR7."%</span></td>
</tr>
";
?>
