Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/banip.php |
<div id="page">
<!-- start message-blue -->
<?php if (isset($message_ok)):?>
<div class="n_ok"><p><?php echo $message_ok;?></div>
<?php endif;?>
<!-- start message-red -->
<?php if (isset($message)):?>
<div class="n_error"><p><?php echo $message;?></div>
<?php endif;?>
<div id="content">
<div class="main">
<form action="/admin/banip" method="post">
<fieldset class="register">
<input type="text" name="ban_ip" value="" onclick="this.value=''"/>
<input type="submit" value="Dodaj" />
</fieldset>
</form>
<div class="full_w">
<div class="h_title">Zarządzaj</div>
<h2>Ban IP</h2>
<div class="entry">
<div class="sep"></div>
</div>
<table>
<thead>
<tr>
<th scope="col">Tytuł</th>
<th scope="col" style="width: 65px;">Zmień</th>
</tr>
</thead>
<tbody>
<?php $n=0; foreach( $bans as $ban ) : $n++; ?>
<tr>
<td class="title" ><?php echo $ban->ip; ?></td>
<td>
<a href="/admin/banip/delete/<?php echo $ban->id; ?>"><img src="./static/images/medialni_402.jpg" alt="Usuń" title="Usuń"/></a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>