Вход Регистрация
Файл: Luxe-Shop v6.0/application/views/admin/templatesadm/premium/security.php
Строк: 38
<head>
       <nav class="top-nav" style="
    margin-top: -22px;
">
        <div class="container">
          <div class="nav-wrapper"><a class="page-title">Блокировка по IP (<? echo count($ips)?>)</a></div>
        </div>
      </nav>
      </head>
<div class="container">
  <div class="row">

    <div class="col s12 m9 l10">


<? if(isset($error)) {
        echo 
$error;
    }
    elseif(isset(
$ok)) {
        echo 
'<div class="alert alert-success">Данные успешно сохранены!</div>';
    }
    
?>
<? 
echo validation_errors(); ?>
<? 
echo form_open_multipart(); ?>




<? echo anchor('admin/security/edit','<i class="glyphicon glyphicon-plus"></i> Заблокировать IP Адрес',array('class'=>'pull-right btn btn-small btn-primary')); ?>
<table class="striped centered">
    <thead>
        <th>IP адрес</th>
        <th>Дата добавления</th>
        <th>Удалить</th>
    </thead>
    <tbody>
<? if(count($ips)): foreach($ips as $page): ?>
        <tr>
            <td><? echo anchor($page->id$page->ip); ?></td>
            <td><center>
            <a href="/admin/security/edit/<? echo $page->id?>" class="  light-blue lighten-2 waves-effect waves-light btn"><i class=" mdi-editor-mode-edit"></i></a></center></td>
            
            <td><center><a href="/admin/security/delete/<? echo $page->id?>" class=" red darken-1 waves-effect waves-light btn"><i class=" mdi-action-delete"></i></a></center></td></center></td>
        </tr>
<? endforeach; ?>
<? 
else: ?>
    <tr>
        <td colspan="3">Записи отсутствуют</td>
    </tr>
<? endif; ?>
    </tbody>
</table>
<? echo form_close(); ?></div></div></div>
Онлайн: 0
Реклама