'.N;
$unreadnotifs=false;
$res=mysqli_query($link,'SELECT * FROM Notifications ORDER BY Microtime DESC')
or muoribene(mysqli_error($link),true);
while ($row=mysqli_fetch_assoc($res)) {
$notifs[]=$row;
if ($row['Seen']==0) {
$unreadnotifs=true;
$notifclass='notifunseen';
} else {
$notifclass='notifseen';
}
$i++;
if ($i<=$chunksize) {
if ($i==1) $lastmicrotime=$row['Microtime'];
$notif_divs.='
'.gmdate('d/m/y H:i:s',round($row['Microtime'])).': '.$row['Notification'].'
'.N;
}
}
$notif_divs.='
'.N;
$notif_divs.='