cariPosisi($batas);
$tabledcpost = new PoTable('post');
$dcposts = $tabledcpost->findAllLimitByAnd(id_post, id_category, active, "$iddcat", "Y", "DESC", "$posisi,$batas");
foreach($dcposts as $dcpost){
$tabledccom = new PoTable('comment');
$totaldccom = $tabledccom->numRowByAnd(id_post, $dcpost->id_post, active, 'Y');
$tableuser = new PoTable('users');
$currentUser = $tableuser->findBy(id_user, $dcpost->editor);
$currentUser = $currentUser->current();
?>