if(!empty($result)) {
echo T('There are locks:').' '.$this->html->render_item_table($result, 'lock');
$this->post_redirect_get('', 'There are locks!', true);
if(!empty($result)) {
echo T('There are locks:').' '.$this->html->render_item_table($result, 'lock');
$this->post_redirect_get('', 'There are locks!', true);