Koderhan (30 Октябрь 2012 - 16:18) писал:
Найти код в файле "HTML":
</div> <div id="right">И вставить после него код :
<style> .myinfoproduct .name a { color:#000; overflow:hidden; text-overflow:ellipsis; } .myinfoproduct .txtalgnlft { text-align:left; } </style> {% IFNOT index_page_favorites_goods_empty %} {% FOR index_page_favorites_goods %} <div class="hr"></div> <div class="box padd"> <div class="titlebox txtalgnlft"> <ul> <li class="blue fnt11b"> <h2><a href="{index_page_favorites_goods.URL}" title="Перейти на страницу «{index_page_favorites_goods.NAME}»">Интересно</a></h2> </li> <li class="default fnt12b "><a href="{index_page_favorites_goods.URL}">{index_page_favorites_goods.NAME}</a></li> </ul> </div> <div class="ulproduct"> <div class="img txtalgncnt"> <div class="stikerhit"> </div> <a href="{index_page_favorites_goods.URL}"><img {% IF index_page_favorites_goods.IMAGE_EMPTY %}src="{ASSETS_IMAGES_PATH}no-photo-medium.png" width="220"{% ELSE %}src="{index_page_favorites_goods.IMAGE_SMALL}"{% ENDIF %} alt="{index_page_favorites_goods.NAME}" /></a> </div> <div class="myinfoproduct"> <div class="name fnt14b"> <a href="{index_page_favorites_goods.URL}">{index_page_favorites_goods.NAME}</a> </div> <div class="info fnt11n txtalgnlft" style="display:block;position:relative;"> {index_page_favorites_goods.DESCRIPTION_SHORT} </div> <div class="buttons"> {% IF index_page_favorites_goods.MAX_REST_VALUE>0 %} <form action="{CART_ADD_GOODS_MODIFICATION_URL | url_amp}" method="post" class="goodsListForm"> <div> <input type="hidden" name="hash" value="{HASH}" /> <input type="hidden" name="form[goods_from]" value="{index_page_favorites_goods.GOODS_FROM}" /> <input type="hidden" name="form[goods_mod_id]" value="{index_page_favorites_goods.MIN_PRICE_NOW_ID}" /> <button type="submit" class="whtgray">Купить сейчас</button> </div> </form> <a href="{index_page_favorites_goods.URL}" title="Перейти на страницу «{index_page_favorites_goods.NAME}»" class="whtgray">Подробнее</a> {% ENDIF %} {% IF index_page_favorites_goods.MAX_REST_VALUE=0 %} <a href="{index_page_favorites_goods.URL}" title="Перейти на страницу «{index_page_favorites_goods.NAME}»" class="whtgray">Подробнее</a> {% ENDIF %} </div> <div class="price fnt12b txtalgnlft"> Цена: <span> {% IF index_page_favorites_goods.MIN_PRICE_NOW_WITHOUT_DISCOUNT>index_page_favorites_goods.MIN_PRICE_NOW %} {index_page_favorites_goods.MIN_PRICE_NOW_WITHOUT_DISCOUNT | number_format("0", ",", " ")} {% ELSEIF index_page_favorites_goods.MIN_PRICE_OLD>index_page_favorites_goods.MIN_PRICE_NOW %} {index_page_favorites_goods.MIN_PRICE_OLD | number_format("0", ",", " ")} {% ENDIF %} </span><em class="fnt12b">{index_page_favorites_goods.MIN_PRICE_NOW | money_format}</em> </div> </div> <div class="clear"></div> </div> </div> {% ENDFOR index_page_goods %} {% ENDIF %}
Подскажите как изменить предложенный код, чтобы в правый блок добавить только акции! Без хитов и новинок.