Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/member.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;?>
<?php echo Message::render(); ?>
<div id="content">
<?php echo aurora::partial('user_sider', $user); ?>
<div class="main">
<img src="./static/images/medialni_467.jpg" class="ico_main" alt=""/><h1>Lista członków</h1></div>
<form action="/account/member_search/" method="post">
<fieldset class="register">
<input type="text" name="keyword" value="Poszukaj nowego członka..." onclick="this.value=''"/>
<input type="submit" value="Znajdź" />
</fieldset>
</form>
<div class="main_content">
<?php if( $friends->count() == 0 ) : ?>
<p><?php echo __t('Nie masz jeszcze dodanych członków...'); ?></p>
<?php else: ?>
<?php $n=1; foreach( $friends as $friend ) : $n++; ?>
<?php if(( $n % 2 ) == 0 ) : ?>
<table>
<tr>
<td width="258" class="thumb">
<img src="/uploads/user/<?php echo $friend->user->logo; ?>" alt=""/>
<a href="/profile/<?php echo $friend->user->id; ?>" class="title"><?php echo $friend->user->firstname; ?> <?php echo $friend->user->lastname; ?></a>
</td>
<td><a href="/account/member/delete/<?php echo $friend->user->id; ?>"><img src="./static/images/medialni_402.jpg" alt=""/></a></td>
<?php else : ?>
<td width="258" class="thumb">
<img src="/uploads/user/<?php echo $friend->user->logo; ?>" alt=""/>
<a href="/profile/<?php echo $friend->user->id; ?>" class="title"><?php echo $friend->user->firstname; ?> <?php echo $friend->user->lastname; ?></a>
</td>
<td><a href="/account/member/delete/<?php echo $friend->user->id; ?>"><img src="./static/images/medialni_402.jpg" alt=""/></a></td>
</tr>
</table>
<?php endif; ?>
<?php endforeach; ?>
<?php if(( $n % 2 ) == 0 ) : ?>
<td width="258" class="thumb"> </td>
<td> </td>
</tr>
</table>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<?php echo aurora::partial('user_sider_right', $user); ?>
</div>