validasi($_GET['search'],'xss'); $p = new Paging; $batas = 5; $posisi = $p->cariPosisi($batas); $tablesearch = new PoTable('post'); $searchposts = $tablesearch->findSearchPost($kata, "$posisi,$batas"); $numsearchposts = $tablesearch->numRowSearchPost($kata); if ($numsearchposts > 0){ ?> numRowByAnd(id_post, $searchpost->id_post, active, 'Y'); $tablecatds = new PoTable('category'); $currentCatds = $tablecatds->findBy(id_category, $searchpost->id_category); $currentCatds = $currentCatds->current(); $tableuser = new PoTable('users'); $currentUser = $tableuser->findBy(id_user, $searchpost->editor); $currentUser = $currentUser->current(); ?>
    validasi($_GET['page'],'sql'); $jmldata = $tablesearch->numRowSearchPost($kata); $jmlhalaman = $p->jumlahHalaman($jmldata, $batas); $linkHalaman = $p->navHalaman($getpage, $jmlhalaman, $website_url, "search-result", $kata); echo "$linkHalaman"; ?>

Your keyword entered not found, please try again.