Файл: Luxe-Shop v6.0/application/views/templates/cobra/items/items.php
Строк: 59
<? echo $modals; ?>
<div id="sidebar" class="right" style="float: right;background: #fff;width: 740px;padding-top: 12px;"><style><span class="masha_index masha_index1" rel="1"></span>
#dle-speedbar{
padding-right: 14px;
}
#dle-speedbar a:last-child {
margin-right: 10px;
}
</style>
<? if(count($items)): foreach($items as $item): ?>
<div class="item-loop" <? if(0 == config_item('item_show')) { if($item->count != 0) echo ''; else echo 'style="display:none;"';}?>>
<div class="poster">
<a style="text-decoration: none;" href="<? echo '/goods/'.$item->id; ?>"><? echo empty($item->iconurl) ? '' : '<img style="width: 230px;height:120px;cursor:pointer;" src="'.$item->iconurl.'" />'; ?></a>
<?php if(1 == config_item('vptsite')) { include "at_page.php";}
if(2 == config_item('vptsite')) { include "at_okno.php";} ?>
</div>
<div style="" data-id="<? echo $item->count == "Файл" ? "" : $item->id ;?>" class="title">
<a style="text-decoration: none;color: <? echo config_item('body_color_text'); ?>;" href="<? echo '/goods/'.$item->id; ?>"><? echo $item->name; ?></a>
<center><span style="display: none;color: #7e8d95; margin-left: 0px;font-size: 14px; float: left;margin-top: 4px;" class="macpay-snapprice price">В Наличии: <? echo $item->count; ?> Шт.</span> <input type="text" class="form-control input-micro" id="number-of-items-<? echo $item->id;?>" style="width:30px; height:20px;display:none;padding:0;" value="<? echo $item->min_order;?>">
</div>
<div class="block-title2" style="padding-top: 8px;">
<center><a style="text-decoration: none;color: <? echo config_item('head_color_text'); ?>;" href="<? echo '/item/'.$item->id; ?>"><? echo round($item->price_rub*100)/100;?> РУБ</a></center>
</div>
</div>
<? endforeach; ?>
<? else: ?>
<div class="">
Товаров пока нет...Приходите позже!
</div>
<? endif; ?>