pageLimit = 50; if (!empty($filter_keyword)) { $sql = " {$filter_type} (`name` LIKE '%$filter_keyword%' OR `headline` LIKE '%$filter_keyword%' OR `description` LIKE '%$filter_keyword%' "; $user_ads = $db->where($sql)->orderBy('id', 'DESC')->objectbuilder()->paginate(T_USR_ADS, $page); } else { $user_ads = $db->objectbuilder()->orderBy('id', 'DESC')->paginate(T_USR_ADS, $page); } if (($page > $db->totalPages) && !empty($_GET['page-id'])) { header("Location: " . PT_LoadAdminLinkSettings('manage-user-ads')); exit(); } ?>
Website | Title | User | Published | Placement | Results | Action |
---|