Вход Регистрация
Файл: Luxe-Shop v6.0/application/views/templates/explicit/items/items.php
Строк: 114
<tbody>
<? if(count($items)): foreach($items as $item): ?>
<style>
.img_tovar img {
    height: 73px;
    width: 156px;
    float:left;
    border-radius: 3px 0px 0px 3px;
}
.commodity_bg {
    background: url('');
    height: 82px;
    overflow: hidden;
    width: 640px;
    border-radius:3px;
}
.img_commodity {
    margin: 3px 0 0 4px;
}
.name_commodity a{
    color: #333333;
    font-size: 12px;
    margin-left:10px;
    padding:5px;
    width:350px;
}
.price_commodity {
    color: #333333;
    font-size: 14px;
    margin: -70px 0 0 495px;
    text-transform: uppercase;
}
.currency_commodity {
    color: #C8C8C8;
    font-size: 12px;
    margin: -25px 0 0 45px;
}
a.newabuy-buyButton {
    float: right;
    margin-top:5px;
    border: 2px solid <? echo config_item('head_color'); ?>;
    border-radius: 5px;
    color: <? echo config_item('head_color'); ?>;
    cursor: pointer;
    display: block;
    font-family: Tahoma,Arial;
    font-size: 14px;
    width:100px;
    text-align:center;
    line-height: 1.3em;
    padding: 5px 7px;
    transition: all 0.4s ease 0s;
    }
a.newabuy-buyButton-empty {
    background: none repeat scroll 0 0 #CCCCCC;
    border: 0 none;
    border-radius: 3px;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-size: 14px;
    line-height: 1.3em;
    padding: 5px 7px;
    transition: all 0.4s ease 0s;
}
a.newabuy-buyButton:hover {
    background: none repeat scroll 0 0 <? echo config_item('head_color'); ?>;
    text-decoration: none;
    color: white;
}
a.newabuy-buyButton-empty:hover {
    cursor: default;
}
.img_commodity {
    margin: 3px 0 0 4px;
}
.name_commodity {
    color: #888888;
    font-size: 13px;
    text-transform: uppercase;
}
.price_commodity {
    color: #888888;
    font-size: 18px;
    padding:10px;
    margin-top:-10px;
    float:right;
    margin: -70px 0 0 495px;
    text-transform: uppercase;
}
.currency_commodity {
    color: #C8C8C8;
    font-size: 12px;
    margin: -25px 0 0 35px;
}
#padd {
padding:20px;
}
#note {
width:100px;
height:17px;
font-size:11px;
padding:2px;
float:right;
margin-right:94px;
margin-top:-7px;
position:relative;
color:#fff;
text-align:center;
}
</style>
<div class="commodity_bg" <? if(== config_item('item_show')) { if($item->count != 0) echo ''; else echo 'style="display:none;"';}?>>        
                        <div class="img_commodity">
                                              <a href="/goods/<? echo $item->id;?>">
                                                <div class="img_tovar">
                        <img src="<? echo $item->iconurl?>"></div> </a>

                                                    
                        </div>
                        <div style='margin-top:10px;' class="name_commodity">

                            <a style="<?
if('#f0102a' == $item->goods_shadow or '#e88715' == $item->goods_shadow or '#1064f0' == $item->goods_shadow or '#33c40c' == $item->goods_shadowor or '#c0d60a' == $item->goods_shadow) {
echo 
"text-shadow: ".$item->goods_shadow." 1px 0px, ".$item->goods_shadow." 1px 1px, ".$item->goods_shadow." 0px 1px, ".$item->goods_shadow." -1px 1px, ".$item->goods_shadow." -1px 0px, ".$item->goods_shadow." -1px -1px, ".$item->goods_shadow." 0px -1px, ".$item->goods_shadow." 1px -1px;";
}
?><?
if('#f0102a' == $item->goods_shadow or '#e88715' == $item->goods_shadow or '#1064f0' == $item->goods_shadow or '#33c40c' == $item->goods_shadowor or '#c0d60a' == $item->goods_shadow) {
echo 
"color:#fff;";
?>"href="/goods/<? echo $item->id;?>"><? echo mb_substr($item->name'0''50');?></a>
                        </div>
                                             <div style="margin-left: 228px;margin-top: 20px;font-size: 12px;">В НАЛИЧИИ: <? echo $item->count;?></div>
                                <div style="color:gold">             <input type="text" class="form-control input-micro" id="number-of-items-31" style="width: 20px;margin-left: 0px;height: 18px;display:none;padding: 0;float: right;" value="1"> </div>
                                            <div class="price_commodity">
                <center><div style="margin-top:-5px;color:#4d4e4e;font-size:14px;margin-left:-15px;"><? echo round($item->price_rub*100)/100;?>
                </div></center>
                            <div class="currency_commodity"><span style='color:#4d4e4e;font-size:10px;float:right;padding:1px;'>руб</span></div><div id='padd'></div>
                            <?php 
             echo 
'<a href="/goods/'.$item->id.'" class="newabuy-buyButton" style="display:inline;cursor:pointer;margin-top:5px;">Купить</a>'; } 
?>
                            </div>
                        
    </div>
<? endforeach; ?>
<? 
else: ?>
        <td colspan="3">Товар временно отсутствует</td>
<? endif; ?>
    </tbody>
Онлайн: 0
Реклама