'.htmlspecialchars($row["title"], ENT_QUOTES, 'UTF-8').' | ');
//Creation date
printf(''.date('Y-m-d',$row["created"]).' | ');
//Expire date
if($row["expire"]==0) printf('Never | ');
else{
$expire = ($row["expire"]-time())/3600;
if($expire>24){
printf(''.round($expire/24).' days from now | ');
} else if($expire>=1)
printf(''.round($expire).' hours from now | ');
else printf(''.round($expire*60).' minutes from now | ');
}
//Paste url
printf(''.htmlspecialchars($row["uid"], ENT_QUOTES, 'UTF-8').' | ');
//Actions
printf('');
//delete paste
printf('');
//edit paste
printf('');
printf(' |
');
}
printf('