total_count / $page_size); if($data->total_count % $page_size > 0) $total_pages++; $start = $page * $page_size; $end = $start + $page_size; if($end > $data->total_count) $end = $data->total_count; function getActionDisplayString($action, $method) { $actions = array(0 => "CREATE", 1 => "MODIFY", 2 => "DELETE"); $methods = array(0 => "LME_UNKNOWN", 3 => "LME_OFF", 4 => "LME_ON"); return $actions[$action] . "_" . $methods[$method]; } ?>
css("style"); js("common"); ?> if(count($data->log_data) == 0) { ?> No data found. } else { ?>| = $row->time_stamp ?> | = $row->name ?> | = getActionDisplayString($row->action, $row->method) ?> | = $row->user ?> |