article_one.tpl
2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<div itemtype="http://schema.org/Article" itemscope>
<div class="title3">
<div class="l">
<div class="r">
<div class="w">
<div class="h1" itemprop="headline">{$rules_info_one.name}</div>
</div>
</div>
</div>
</div>
<div> </div>
<div {if $article.picbg}style="background:url('{$smarty.const.URL}uploaded/pic/articles/bg/{$article.picbg}');{if $article.fonheight>0}min-height:{$article.fonheight}px;{/if}"{/if}>
<h1>{$article.title|stripslashes|escape:"html"}</h1>
{if $article.pic_big}<img src="{$smarty.const.URL}uploaded/pic/articles/big/{$article.pic_big}" itemprop="image" class="pic right" border="0" alt="{$article.title|stripslashes|escape:"html"}" align="left">{/if}
<div itemprop="description">
{$article.text|stripslashes}
</div>
<div class="both"></div>
<p><span class="date" itemprop="datePublished">{$article.date|date_format:"%d/%m/%Y"}</span></p>
{*
{if $topic_parent.id>0}
<div> </div>
<div>
<a href="{$smarty.const.URL}forum/?topicID={$topic_parent.id}"><font color="#000080">Êîììåíòàðèåâ {$topic_parent.comments}</font></a>
</div>
{/if}
*}
<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>
</div>