Manage Rants
getOne("SELECT count(DISTINCT id) FROM rant") / $perpage );
$rants = $mtdb->getAll("SELECT r.id,UNIX_TIMESTAMP(r.published) AS published,c.name,r.title,r.body, r.status FROM rant r,contributor c WHERE c.id=r.author GROUP BY id ORDER BY id DESC LIMIT $start,$perpage");
pagination( $page, $total );
?>
| Rant # |
Author |
Title |
Status |
Published On |
Excerpt |
|
|
|
>
| id; ?> |
name; ?> |
title; ?> |
status; ?> |
published)); ?> |
body,185); ?> |
id . '">View'; ?> |
Edit |
Delete |