function ordering() { if ($this->perm->can_create == 'y') { $mode = @$_GET['mode']; $table_name = 'acm_hilights'; $id = @$_GET['id']; $step = 1; $ext_condition = ''; $ext_condition = @$_GET['search'] != '' ? " AND title LIKE '%" . $_GET['search'] . "%' " : ""; ordering_data($mode, $table_name, $id, $ext_condition, $step); $action = "UPDATE"; save_logs($this->menu_id, $action, $id, $action . ' Hilights '); } redirect('admin/hilights/index?search=' . @$_GET['search']); }
function ordering() { if ($this->perm->can_create == 'y') { $mode = @$_GET['mode']; $table_name = 'acm_network'; $id = @$_GET['id']; $step = 1; $ext_condition = ''; $ext_condition = @$_GET['search'] != '' ? " AND title LIKE '%" . $_GET['search'] . "%' " : ""; ordering_data($mode, $table_name, $id, $ext_condition, $step); } redirect('admin/networks/index?search=' . @$_GET['search']); }
function ordering() { if ($this->perm->can_create == 'y') { $mode = @$_GET['mode']; $table_name = 'acm_heritage_images'; $id = @$_GET['id']; $step = 1; $ext_condition = ' and heritage_id = ' . $_GET['heritage_id'] . " "; ordering_data($mode, $table_name, $id, $ext_condition, $step); } redirect($_SERVER['HTTP_REFERER']); }