news_one.tpl 2.16 KB
<div {if $news.picbg}style="background:url('{$smarty.const.URL}uploaded/pic/news/bg/{$news.picbg}');{if $news.fonheight>0}min-height:{$news.fonheight}px;{/if}"{/if}>
<h2>{$rules_info_one.name}</h2>
<div class="info_txt">
<h1>{$news.title|stripslashes|escape:"html"}</h1>
{if $news.pic_big1}<img src="{$smarty.const.URL}uploaded/pic/news/big/{$news.pic_big}" class="pic right" border="0" alt="{$news.title|stripslashes|escape:"html"}" align="left">{/if}
{$news.text|stripslashes}
<div class="both"></div>
<p><span class="date">{$news.date|date_format:"%d/%m/%Y"}</span></p>
</div>

	<table>
        <td width="30">
            <span class="txtb">Ïîäåëèòüñÿ:</span>
        </td>
        <td noWrap width="180" align="right">
            <script type="text/javascript" src="http://extremstyle.ua/js/share42/share42.js"></script>
            <script type="text/javascript">share42('http://extremstyle.ua/js/share42/','','',150,20)</script>
        </td>
     </tr>
    </table>


{section name=i loop=$products}{if count($products[i].products)>0}
 <div class="list_rubric"><strong>{$products[i].rubric.name}</strong></div>
                        <div class="box5 mt" align="center">
                                {section name=j loop=$products[i].products}
                                <div class="products_list_row" align="center">
     <a href="{$smarty.const.URL}catalogs/{$products[i].products[j].rubric_id}/t{$products[i].products[j].id}/"><img src="http://extremstyle.ua/{if $products[i].products[j].pic}uploaded/pic/catalogs/products/{$products[i].products[j].pic}{else}img/picno2.jpg{/if}" alt="{$products[i].products[j].title|escape:'html'}" title="{$products[i].products[j].title|escape:'html'}" border="0" class="pic" /></a>
      <div class="name2"><a href="{$smarty.const.URL}catalogs/{$products[i].products[j].rubric_id}/t{$products[i].products[j].id}/"><strong>{$products[i].products[j].name|stripslashes}</strong></a></div>
      <div class="cost">{$products[i].products[j].cine} ãðí.</div>

               </div>{if not ($smarty.section.j.rownum mod 5)}<div class="both"></div>{/if}
                {/section}<div class="both"></div>

                        </div>
{/if}{/section}

</div>