5) { $td_ = ""; $_td = ""; } else { $td_ = ""; $_td = ""; } $c = 0; foreach ($fields as $field) { if ($c==5) break; $text = $field ? explode('=',$field,2)[1] : "-"; $tag = ($c<4) ? "" : " data='".str_replace(['alert','warning','normal'],['0','1','2'],$text)."'"; echo (!$c++) ? "".str_replace('*',$text,$td_).date($dynamix['notify']['date'].' '.$dynamix['notify']['time'],$text)."$_td" : ""._($text).""; } echo ""; if ($extra) { $text = explode('=',$field,2)[1]; echo "$text"; $row++; } } if ($rows==0) echo "
"._("No notifications present")."
"; echo "\0$rows"; ?>