Projekt

Allgemein

Profil

Statistiken
| Revision:

keywords2categories / templates / tpl_modified / module / autocomplete.html @ 3

Historie | Anzeigen | Annotieren | Download (2,32 KB)

1
{config_load file="$language/lang_$language.conf" section="error_handler"}
2
{config_load file="lang_`$language`.custom"}
3
{config_load file="lang_`$language`.section" section="error_handler"}
4
{if $error}
5
  <span class="autocomplete_error">{#text_search_again#}</span>
6
{else}
7
  <ul id="autocomplete_main">
8
    {foreach item=products_data from=$module_content}
9
      <li class="cf autocomplete_content">
10
        <a class="autocomplete cf" href="{$products_data.PRODUCTS_LINK}">
11
          {if $products_data.PRODUCTS_IMAGE}
12
            <span class="autocomplete_image cf"><img src="{$products_data.PRODUCTS_IMAGE}" alt="{$products_data.PRODUCTS_NAME|onlytext}" title="{$products_data.PRODUCTS_NAME|onlytext}" /></span>
13
          {else}
14
            <span class="autocomplete_image cf">&nbsp;</span>
15
          {/if}
16
          <span class="hl_text" style="width:145px;">{$products_data.PRODUCTS_NAME}</span>
17
          <span class="hl_price" style="color:#555">
18
            {foreach name=inner item=price_data from=$products_data.PRODUCTS_PRICE_ARRAY}
19
              {include file="module/includes/price_box.html"}
20
            {/foreach}
21
            {if $products_data.PRODUCTS_PRICE_ARRAY.0.PRODUCTS_PRICE_FLAG != 'NotAllowed'}
22
              {if $products_data.PRODUCTS_VPE}<div class="lb_vpe" style="position:inherit;font-weight: normal;">{$products_data.PRODUCTS_VPE}</div>{/if}
23
            {/if}
24
          </span>
25
        </a>
26
      </li>
27
    {/foreach}
28
    
29
    {* Modul Kategorie-Keywords *}
30
    {foreach name=aussen item=categories_data from=$categories_content key=spalten}
31
      <li class="cf autocomplete_content">
32
        <a class="autocomplete cf" href="{$categories_data.CATEGORIES_LINK}">
33
          {if $categories_data.CATEGORIES_IMAGE}
34
            <span class="autocomplete_image cf"><img src="{$categories_data.CATEGORIES_IMAGE}" alt="{$categories_data.CATEGORIES_NAME|onlytext}" title="{$categories_data.CATEGORIES_NAME|onlytext}" /></span>
35
          {else}
36
            <span class="autocomplete_image cf">&nbsp;</span>
37
          {/if}
38
          <span class="hl_text" style="width:145px;">{$categories_data.CATEGORIES_NAME}</span>
39
        </a>
40
      </li>
41
    {/foreach}
42
  </ul>
43
  
44
  <ul id="autocomplete_pagination" class="cf">
45
    <li id="autocomplete_prev">&laquo;</li>
46
    <li id="autocomplete_count"></li>
47
    <li id="autocomplete_next">&raquo;</li>
48
  </ul>
49
{/if}