Blame view

templates/news_one.tpl 2.24 KB
42868d70   andryeyev   Создал GIT
1
2
  <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>
466d48e2   andryeyev   + разметка страниц
3
4
5
6
7
8
9
10
11
  <div class="info_txt" itemscope itemtype="http://schema.org/NewsArticle">
  <meta itemprop="image" content="http://extremstyle.ua/img/logo.jpg"/>
      <h1 itemprop="headline">{$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}
      <div itemprop="Articlebody">
      {$news.text|stripslashes}
      <div>
      <div class="both"></div>
      <p><span class="date" itemprop="datePublished">{$news.date|date_format:"%d/%m/%Y"}</span></p>
42868d70   andryeyev   Создал GIT
12
  </div>
466d48e2   andryeyev   + разметка страниц
13
14
15
16
17
18
19
20
21
22
  <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>
42868d70   andryeyev   Создал GIT
23
  {section name=i loop=$products}{if count($products[i].products)>0}
466d48e2   andryeyev   + разметка страниц
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  <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>
42868d70   andryeyev   Создал GIT
38
  {/if}{/section}
42868d70   andryeyev   Создал GIT
39
  </div>