Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/admin/user_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;?>
		
			
			<div id="content">

				
				<div class="main">
				
					<div class="head"><h1>Artykuły</h1></div>
					
					<form action="/admin/user_search" method="post">
						<fieldset class="register">
							<input type="text" name="keyword" value="Poszukaj użytkownika..." 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=0; foreach( $list as $user ) : $n++; ?>
					<?php 
						$layout = aurora::getProfileName( $user->profile_id );
						
						
						if( $user->status==0 ) $title = "<em>".$user->username."</em>"; else $title = "<strong>".$user->username."</strong>"; 
						
					?>
					<table>
					
						<tr>
							<td class="title" width="300">
							
							<a href="/profile/<?php echo $user->id; ?>" target="_blank"><?php echo $title; ?></a><br/><?php echo $user->firstname; ?> <?php echo $user->lastname; ?><br/><?php echo $user->email; ?></td><td width="300"><?php echo $layout; ?></td>
							<td>
								<?php if( $user->highlight == 0 ) : ?><a href="/admin/user/highlight/<?php echo $user->id; ?>"><img src="./static/images/star.png" alt="Wyróżnij VIP" title="Wyróżnij VIP"/></a><?php endif; ?>
								<?php if( $user->highlight == 1 ) : ?><a href="/admin/user/dehighlight/<?php echo $user->id; ?>"><img src="./static/images/destar.png" alt="Zabierz wyróżnienie" title="Zabierz wyróżnienie"/></a><?php endif; ?>
								<?php if( $user->status == 0 ) : ?><a href="/admin/user/accept/<?php echo $user->id; ?>"><img src="./static/images/accept.gif" alt="Akceptuj" title="Akceptuj"/></a><?php endif; ?>
								<?php if( $user->status == 1 ) : ?><a href="/admin/user/ban/<?php echo $user->id; ?>"><img src="./static/images/ban.png" alt="Banuj" title="Banuj"/></a><?php endif; ?>
								
								<a href="/admin/user/delete/<?php echo $user->id; ?>"><img src="./static/images/medialni_402.jpg" alt="Usuń" title="Usuń"/></a>
							</td>
						</tr>
						
					</table>
					
					<?php endforeach; ?>
					<?php endif; ?>
					<br style="clear: both;"/><br style="clear: both;"/>
					
						
					</div>
				
				</div>
				
				

			</div>
			
		</div>