Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/slider.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">
<div class="full_w">
<div class="h_title">Zarządzaj</div>
<h2>Slider</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 foreach( $adverts as $advert ) : ?>
<tr>
<td class="title" ><?php echo $advert->title; ?> </td>
<td>
<a href="/admin/slider/edit/<?php echo $advert->id; ?>"><img src="./static/images/edit.png" alt="Edytuj" title="Edytuj"/></a>
<a href="/admin/slider/delete/<?php echo $advert->id; ?>"><img src="./static/images/medialni_402.jpg" alt="Usuń" title="Usuń"/></a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="entry"><a href="/admin/slider/edit" class="button add">Dodaj nowy</a></div>
</div>
</div>
</div>
</div>