Вход Регистрация
Файл: Luxe-Shop v6.0/application/views/templates/cobra/item/item.php
Строк: 84
<? if(count($items)): foreach($items as $item): ?>
<div class="panel-body">
        <img style="width: 414px;height: 200px;margin-right:5px;padding-left: 15px;" src="<? echo $item->iconurl?>">
    <i style="float:right">
        <ul style="list-style-type: none;width: 275px;margin-left: 15px;">

                                <li><center style="font-size: 16px;text-align: left;background: #F5F5F5;padding: 10px;border-radius: 5px;"><b style="font-weight: 900;">Купить:</b> <? echo $item->name?></center></li>
            <li style="background: <? echo config_item('head_color_background'); ?>;padding: 10px;font-size: 23px;text-align: center;">    <a data-toggle="modal" data-target="#setWayForMoney" style="display:inline;cursor:pointer;" onclick="BuyButtonClick(<? echo $item->id;?>) type="button" style="color: white;text-decoration: none;" class="btn-block btnbuyin" >Оплатить</a>
                </li></ul>        
                

                
        </i>
 </div>
 <div class="panel-footer" style="width: 713px;float: right;margin-right: 13px;margin-top: 36px;">
   
  
        <div class="row">
          <div style="background: <? echo config_item('head_color_background'); ?>;color: #fff;padding: 8px; width: 77px;margin-top: -44px;position: absolute;"> Описание </div>
              <div class="col-lg-3" style="margin-top: 20.4px;">
                                <li style="list-style-type: none;"><? echo $item->descr?></li>
<? if(== config_item('reviews')):?>

  <table class="table table-bordered" style="background-color: white;width: 711px;margin-left: -19px;margin-top: 65px;margin-bottom: -14px;"><tbody>
<tr title=""><td style="width: 100px;">Отзывы</td><td>Посмотреть на <a href="/reviews">все отзывы</a></td></tr><tr title=""><td><span>Дата:</span></td><td><span>Отзыв: <img src="http://www.wmcentre.net/i/gd.gif" alt=""> - положительный <img src="http://www.wmcentre.net/i/bd.gif" alt=""> - отрицательный</span></td>
</tr>
                                                <? 
                        $query 
mysql_query("SELECT * FROM `jobs` WHERE `domen` = 'domen'");
                        
$query mysql_query("SELECT * FROM `review`  WHERE `item_id` = '".$item->id."' ORDER BY `id` DESC limit 30");
while(
$arr mysql_fetch_array($query)) {
if(
== $arr['review']) {
$style 'style="background: rgb(196, 242, 186);margin-top:15px;padding: 10px;"';
}
else {
$style 'style="background: rgb(242, 186, 186);margin-top:15px;padding: 10px;"';
}
echo 
'<tr title="">';
echo 
'<td>'.$arr['date'].' Имя:'.$arr['name'].'';
echo 
'</td>';
echo 
'<td '.$style.'>'.$arr['text'].'';
echo 
'</td>';
echo 
'</tr>';

}

                        
?>
                        </tbody></table><?endif;?>
              </div>

        </div>
 </div>
</div>
<style>
.panel-heading {
  padding: 15.6px 10px;
  background-color: rgba(232, 232, 232, 0.67);
  border-bottom: 1px solid rgba(239, 239, 239, 0.54);
}
.panel-body {
  padding: 15px;
  margin-top: -15px;
}
.modal-dialog {
right: auto;
  left: 50%;
  width: 600px;
  padding-top: 15%;
  padding-bottom: 30px;
</style>    
<? endforeach; ?>
<? 
else: ?>
    <tr>
        <td colspan="3">Товар не найден. Зайдите пожалуйста позже</td>
    </tr>
<? endif; ?>
Онлайн: 0
Реклама