Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/page.php |
<div id="page">
<!-- start message-blue -->
<?php if (isset($message_ok)):?>
<div id="message-blue">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="blue-left"><?php echo $message_ok; ?> </td>
<td class="blue-right"><a class="close-blue"><?php echo HTML::image('static/images/table/icon_close_blue.gif');?></a></td>
</tr>
</table>
</div>
<!-- end message-blue -->
<?php endif;?>
<!-- start message-red -->
<?php if (isset($message)):?>
<div id="message-red">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="red-left">
<?php echo $message;?>
</td>
<td class="red-right"><a class="close-red"><?php echo HTML::image('static_back/images/table/icon_close_red.gif');?></a></td>
</tr>
</table>
</div>
<?php endif;?>
<div id="content">
<div class="full_w">
<div class="h_title">Zarządzaj</div>
<h2>Podstrony</h2>
<div class="entry">
<div class="sep"></div>
</div>
<table>
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Tytuł</th>
<th scope="col" style="width: 65px;">Zmień</th>
</tr>
</thead>
<tbody>
<?php $n=0; foreach( $pages as $page ) : $n++; ?>
<tr>
<td class="align-center"><?php echo $page->id; ?></td>
<td><?php echo $page->title; ?></td>
<td>
<a href="/admin/page/edit/<?php echo $page->id; ?>" class="table-icon edit" title="Edit"></a>
<a href="/admin/page/delete/<?php echo $page->id; ?>" class="table-icon delete" title="Delete"></a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<h2>Moduły</h2>
<div class="entry">
<div class="sep"></div>
</div>
<table>
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Tytuł</th>
<th scope="col" style="width: 65px;">Zmień</th>
</tr>
</thead>
<tbody>
<?php $n=0; foreach( $partial as $page ) : $n++; ?>
<tr>
<td class="align-center"><?php echo $page->id; ?></td>
<td><?php echo $page->title; ?></td>
<td>
<a href="/admin/page/edit/<?php echo $page->id; ?>" class="table-icon edit" title="Edit"></a>
<a href="/admin/page/delete/<?php echo $page->id; ?>" class="table-icon delete" title="Delete"></a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="entry">
<div class="pagination">
<span class="active">1</span>
</div>
<div class="sep"></div>
<a class="button add" href="/admin/page/edit">Dodaj podstronę</a> <a class="button" href="/admin/category">Kategorie</a>
</div>
</div>
</div>
</div>