Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/friend_search.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>Znajomi</h1></div>
				
					<form action="/account/friend_search" method="post">
						<fieldset class="register">
							<input type="text" name="keyword" value="Poszukaj swojego znajomego..." onclick="this.value=''"/>
							<input type="submit" value="Znajdź" />
						</fieldset>
					</form>
					
					<div class="main_content">

					
					<?php if( empty($list) ) : ?>
						<p><?php echo __t('Brak wyników wyszukiwania.'); ?></p>
					<?php else: ?>
					
					
					<?php $n=1; foreach( $list as $user ) : $n++; ?>
					
					
					<table>
						
						<tr>
							<td width="650" class="thumb">
								<img src="/uploads/user/<?php echo $user->logo; ?>" alt=""/>
								<a href="/profile/<?php echo $user->id; ?>" class="title"><?php echo $user->firstname; ?> <?php echo $user->lastname; ?></a>

							</td>
							<td width="200"><a href="/account/friend/add-to-friend/<?php echo $user->id; ?>" class="button">+ Dodaj znajomego</a></td>
					
							
					</table>
						
					
			
					<?php endforeach; ?>
					<?php endif; ?>
					
					</div>
				
				</div>
				
				<?php echo aurora::partial('user_sider_right', $user); ?>

			</div>