Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/award.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">
<?php echo aurora::partial('admin_sider', $user); ?>
<div class="main">
<div class="head"><h1>Artykuły</h1></div>
<form action="/admin/article_search" method="post">
<fieldset class="register">
<input type="text" name="keyword" value="Poszukaj artykułu..." onclick="this.value=''"/>
<input type="submit" value="Znajdź" />
</fieldset>
</form>
<div class="main_content">
<?php $n=0; foreach( $articles as $article ) : $n++; ?>
<table>
<tr>
<td class="title" width="220"><a href="/admin/award/edit/<?php echo $article->id; ?>" style="color: inherit;"><?php echo $article->title; ?></a></td><td width="300">Punkty: <?php echo $article->points; ?></td>
<td>
<a href="/admin/award/delete/<?php echo $article->id; ?>"><img src="./static/images/medialni_402.jpg" alt="Usuń" title="Usuń"/></a>
</td>
</tr>
</table>
<?php endforeach; ?>
<a href="/admin/award/edit" class="button">Dodaj</a>
</div>
</div>
</div>
</div>