Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/szukaj/list_7.php |
<div class="sider">
<?php echo View::Factory('_partials/menu_sider'); ?>
</div>
<div class="right-side-content">
<!-- 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/template/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/template/images/table/icon_close_red.gif');?></a></td>
</tr>
</table>
</div>
<?php endif;?>
<?php echo Message::render(); ?>
<form>
<fieldset class="sort-by">
<label for="f1">sortuj wg:</label>
<select name="zone" class="mark">
<option>ocena</option>
</select>
<select name="city" class="desc">
<option>majeląco</option>
</select>
</fieldset>
</form>
<?php foreach( $users as $user ) : ?>
<div class="item-box <?php if( $user->highlight == 1 ) : echo 'pink'; endif; ?>">
<a href="obiekt/item/<?php echo $user->id; ?>"><img src="<?php echo Model_User_Image::get_thumb($user->id); ?>" class="thumb-img" alt=""/></a>
<h2><?php echo $user->firstname; ?>
<span class="star-rate">
<?php
$i=1;
$ocena = '';
for( $i; $i<=floor($user->mark);$i++ ) {
$ocena .= '<img src="template/images/znany_trener_tp_34_big.png" alt=""/>';
}
$max = 6-$i;
for( $j=1;$j<=$max;$j++ ) {
$ocena .= '<img src="template/images/znany_trener_tp_34_bigGray.png" alt=""/>';
}
echo $ocena;
?>
(<?php echo Model_User_Comment::get_count($user->id); ?> opinie)</span></h2>
<p>
Dyscypliny:<br/>
<?php echo $user->discipline; ?>
<br/>
<span class="contact-box-info">
<strong>tel.:</strong> <?php echo $user->phone; ?><br/>
<strong>e-mail:</strong> <?php echo $user->email; ?><br/>
<strong>www:</strong> <?php echo $user->www; ?>
<span class="more-box">
<a href="obiekt/item/<?php echo $user->id; ?>" class="button-red">zobacz więcej</a><br/>
<?php echo Model_Zone::get_zone_title($user->zone_id); ?> | <?php echo Model_City::get_city_title($user->city_id); ?>
</span>
</span>
</p>
</div>
<?php endforeach; ?>
</div>