Blame view

templates/article_one.tpl 2.57 KB
466d48e2   andryeyev   + разметка страниц
1
2
3
4
5
6
7
8
9
10
11
  <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>
42868d70   andryeyev   Создал GIT
12
13
14
  <div>&nbsp;</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>
466d48e2   andryeyev   + разметка страниц
15
16
  {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">
42868d70   andryeyev   Создал GIT
17
  {$article.text|stripslashes}
466d48e2   andryeyev   + разметка страниц
18
  </div>
42868d70   andryeyev   Создал GIT
19
  <div class="both"></div>
466d48e2   andryeyev   + разметка страниц
20
  <p><span class="date" itemprop="datePublished">{$article.date|date_format:"%d/%m/%Y"}</span></p>
42868d70   andryeyev   Создал GIT
21
22
23
24
  {*
  {if $topic_parent.id>0}
  <div>&nbsp;</div>
  <div>
466d48e2   andryeyev   + разметка страниц
25
      <a href="{$smarty.const.URL}forum/?topicID={$topic_parent.id}"><font color="#000080">Êîììåíòàðèåâ {$topic_parent.comments}</font></a>
42868d70   andryeyev   Создал GIT
26
27
28
  </div>
  {/if}
  *}
466d48e2   andryeyev   + разметка страниц
29
30
31
32
33
34
35
36
37
38
  <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
39
  {section name=i loop=$products}{if count($products[i].products)>0}
466d48e2   andryeyev   + разметка страниц
40
41
42
43
44
45
46
47
48
49
50
51
52
53
  <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
54
  {/if}{/section}
466d48e2   andryeyev   + разметка страниц
55
  </div>
42868d70   andryeyev   Создал GIT
56
57
  
  </div>