pageLimit = 50; $link = ''; if (!empty($filter_keyword)) { $link .= '&query='.$filter_keyword; $sql = "(`title` LIKE '%$filter_keyword%' OR `desc` LIKE '%$filter_keyword%')"; $db->where($sql); } $sort_link = $link; $sort_array = array('DESC_i' => array('id' , 'DESC'), 'ASC_i' => array('id' , 'ASC')); if (!empty($_GET['sort']) && in_array($_GET['sort'], array_keys($sort_array))) { $link .= "&sort=".Secure($_GET['sort']); $db->orderBy($sort_array[$_GET['sort']][0],$sort_array[$_GET['sort']][1]); } else{ $_GET['sort'] = 'DESC_i'; $db->orderBy('id', 'DESC'); } $posts = $db->objectbuilder()->paginate(T_PRODUCTS, $page); if (($page > $db->totalPages) && !empty($_GET['page-id'])) { header("Location: " . LoadAdminLinkSettings('manage-products')); exit(); } ?>

Products

Manage Products
product = GetProduct($value->id); echo LoadAdminPage('manage-products/list'); } ?>
ID '" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#000000" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up cursor-p"> '" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#000000" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down cursor-p"> Link Author Posted Action
totalPages; ?>