<?PHP 
if($devicedataR5 == "0"){
$devicedataR6="<div class='badge badgeD'>".$resultOld."</div>";
}else{
$devicedataR6="";
}

echo "
<tr class='pointer' onclick=\"window.location.href='$devicedataR1';\">
<td class='txtVM'>".$devicedataR2.": ".$devicedataR3." ".$devicedataR6."</td>
<td class='txtVM'>
<div class='progress pg-dash'>
<span class='progress-bar $devicedataR9 pg-animate' style='width:".$devicedataR7."%'>
<span class='pg-text'>".$devicedataR8."</span>
</span>
</div>
</td>
<td class='txtVM txtC blendBadge'><span class='badge $devicedataR9 margin-t3-'>".$devicedataR7."%</span></td>
</tr>
";
?>
