Вход Регистрация
Файл: Luxe-Shop v6.0/application/views/templates/steamby/item/item.php
Строк: 99
<div id="dle-content"><div class="static none">
    <div class="story_h"><span class="category lcol">Детальное описание</span></div>
    <div class="static_c">

<? if(count($items)): foreach($items as $item): ?>
<div style="width:100px;">
<? echo empty($item->iconurl) ? '' '<img style="height: 100%;width: '.config_item('steamby_icon').'px;" src="'.$item->iconurl.'" />'?></div>
<table class="table_info"><tbody><tr class="tr_name"><td class="td_h_name" valign="top" nowrap=""><span class="h_name">Название товара:</span></td><td class="td_i_name"><span class="i_name"><?php echo $item->name?></span></td></tr>
<tr class="tr_price"><td class="td_h_price" valign="top" nowrap=""><span class="h_price">Цена:</span></td><td class="td_i_price"><span class="i_price"><? echo round($item->price_rub*100)/100;?> руб</span></td></tr>
<tr class="tr_price"><td class="td_h_price" valign="top" nowrap=""><span class="h_price">В наличии:</span></td><td class="td_i_price"><span class="i_price"><? echo $item->count;?> Шт.</span></td></tr>
<tr class="tr_descr"><td class="td_h_descr" valign="top" nowrap=""><span class="h_descr">Описание товара:</span></td><td class="td_i_descr"><span class="i_descr"><?php echo $item->descr;  ?><br><br></span></td></tr>
<? if(== config_item('reviews')):?><tr class="tr_descr"><td class="td_h_descr" valign="top" nowrap=""><span class="h_descr">Отзывы товара:</span></td><td class="td_i_descr"><span class="i_descr">
<div class="spoiler-wrapper">
<div class="spoiler folded"><a href="javascript:void(0);">Показать отзывы</a></div>
<div class="spoiler-text">
    
  <table class="table table-bordered" style="margin-bottom: -27px;"><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></div></div><br><br></span></td></tr><?endif;?>
</tbody></table>

                

 <div  class="button_pay" class="td_pay">
                    <a data-toggle="modal" data-target="#setWayForMoney" style="display:inline;cursor:pointer;" onclick="BuyButtonClick(<? echo $item->id;?>)"  style="display: block;padding: 19px;color: black;text-decoration: none !important;"><div class="tr_pay" class="button_pay" style="padding: 10px;">Оплатить</div>
                      
                    </a>
                </div>



<? endforeach; ?><? else: ?><div colspan="3">Товар не найден...Приходите позже!</div><? endif; ?>


<script type="text/javascript" src="http://userapi.com/js/api/openapi.js?49"></script>


<br><br>

        <br><br><div align="center"></div>
        <div class="clr"></div>
    </div>
</div></div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript">// <![CDATA[
    jQuery(document).ready(function(){
        jQuery('.spoiler-text').hide()
        jQuery('.spoiler').click(function(){
            jQuery(this).toggleClass("folded").toggleClass("unfolded").next().slideToggle()
        })
    })
// ]]></script>
Онлайн: 1
Реклама