EduSuckr Statistics
| performed | completed | lasts | count | log |
getLastPerformedSuck("post") as $lps) {
$lasts="";
$completed="not completed";
if ($lps['completed']!='0000-00-00 00:00:00') {
$completed = $lps['completed'];
$lasts = strtotime($lps['completed'])-strtotime($lps['performed']);
}
echo 'Posts | '.$lps['performed'].' | '.$completed.' | '.$lasts.' | '.$lps['count'].' | view |
';
}
foreach ($statistics->getLastPerformedSuck("comment") as $lps) {
$lasts="";
$completed="not completed";
if ($lps['completed']!='0000-00-00 00:00:00') {
$completed = $lps['completed'];
$lasts = strtotime($lps['completed'])-strtotime($lps['performed']);
}
echo 'Comments | '.$lps['performed'].' | '.$completed.' | '.$lasts.' | '.$lps['count'].' | view |
';
}
?>