| 75 |
lars |
1 |
{include file="header.tpl"}
|
| 148 |
lars |
2 |
{include file="shopposition.tpl" nocache}
|
| 42 |
lars |
3 |
|
|
|
4 |
{if $nicht_gefunden}
|
|
|
5 |
{include file="nicht_gefunden.tpl"}
|
|
|
6 |
{/if}
|
|
|
7 |
<section id="subdir_info_wrapper">
|
|
|
8 |
<div class="inner">
|
|
|
9 |
<div class="subdir_inner">
|
|
|
10 |
{if $subdir.Kategoriebild && $subdir.Kategoriebild != '/images/webelemente/na.jpg' && $subdir.Kategoriebild != '/images/webelemente/noPicture.gif'}
|
|
|
11 |
<div class="subdir_bild">
|
|
|
12 |
<img src="{$subdir.Kategoriebild}" alt="{$subdir.KategoriebildTag}" title="{$subdir.KategoriebildTag}" />
|
|
|
13 |
</div>
|
|
|
14 |
{else}
|
|
|
15 |
{assign var="nowidth" value="true"}
|
|
|
16 |
{/if}
|
|
|
17 |
<div class="subdir_info" {if isset($nowidth)}style="width: 100%;"{/if}>
|
|
|
18 |
<div class="subdir_info_inner">
|
| 123 |
lars |
19 |
<h1>{$subdir.Name}</h1>
|
| 42 |
lars |
20 |
{if $subdir.Beschreibung}
|
|
|
21 |
<p>{$subdir.Beschreibung|nl2br}</p>
|
|
|
22 |
{/if}
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
</div>
|
|
|
26 |
</div>
|
|
|
27 |
</section>
|
|
|
28 |
<section id="subdir_artikel_wrapper">
|
|
|
29 |
<div class="inner">
|
|
|
30 |
{if $subdir.subdirs}
|
|
|
31 |
<div class="subdir">
|
|
|
32 |
{section loop=$subdir.subdirs name=s_ind}
|
|
|
33 |
<div class="box_subdir">
|
|
|
34 |
<div class="top">
|
| 111 |
lars |
35 |
{if $subdir.subdirs[s_ind].medien[0].bild_url_klein != ""}
|
| 42 |
lars |
36 |
<div class="bild">
|
| 111 |
lars |
37 |
<a href="{$subdir.subdirs[s_ind].dirLink}"> <img src="{$subdir.subdirs[s_ind].medien[0].bild_url_klein}" {if $subdir.subdirs[s_ind].medien[0]["beschreibung"] != ""}alt="{$subdir.subdirs[s_ind].medien[0]["beschreibung"]}" title="{$subdir.subdirs[s_ind].medien[0]["beschreibung"]}"{else}alt="{$subdir.name}" title="{$subdir.name}" {/if}/>
|
| 42 |
lars |
38 |
</a>
|
|
|
39 |
</div>
|
|
|
40 |
{/if}
|
|
|
41 |
</div>
|
|
|
42 |
<div class="bottom">
|
|
|
43 |
<div class="title">
|
|
|
44 |
<div class="titleInner">
|
|
|
45 |
<b><a href="{$subdir.subdirs[s_ind].dirLink}">{$subdir.subdirs[s_ind].Name}</a></b>
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
</div>
|
|
|
49 |
</div>
|
|
|
50 |
{/section}
|
|
|
51 |
</div>
|
|
|
52 |
{/if}
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
{if is_array($subdir.items)}
|
|
|
56 |
{if count($subdir.items) > 0}
|
|
|
57 |
{if is_array($dropdown_opts)|| is_array($bool_opts) || (isset($subdir.hersteller))}
|
|
|
58 |
<div class="subdir_sort" style="subdir_sort">
|
|
|
59 |
<form name="sort" action="" method="get" id="modellForm">
|
|
|
60 |
<input type="hidden" name="navigation" value="{$subdir.ID}" />
|
|
|
61 |
<input type="hidden" name="Father" value="{$subdir.ID}" />
|
|
|
62 |
|
|
|
63 |
{if $ini.filter_auspraegungen == 1}
|
|
|
64 |
{include file="auspraegungen.tpl" nocache}
|
|
|
65 |
{/if}
|
|
|
66 |
<div class="break"></div>
|
|
|
67 |
|
|
|
68 |
</form>
|
|
|
69 |
</div>
|
|
|
70 |
{/if}
|
|
|
71 |
|
| 584 |
lars |
72 |
{include file="pagination.tpl"}
|
| 42 |
lars |
73 |
|
|
|
74 |
{if $ini.subdir.switch_css==1}
|
|
|
75 |
{include file="switch_css.tpl"}
|
|
|
76 |
{/if}
|
|
|
77 |
<br>
|
|
|
78 |
<style>
|
|
|
79 |
.newsorting{
|
|
|
80 |
margin-bottom:56px;
|
|
|
81 |
margin-left:15px;
|
|
|
82 |
}
|
|
|
83 |
.content .subdir_sort {
|
|
|
84 |
margin-bottom: 16px;
|
|
|
85 |
}
|
|
|
86 |
</style>
|
|
|
87 |
<div class="newsorting">
|
|
|
88 |
<label>Sortieren nach:</label>
|
|
|
89 |
<select class="drsort" id="drsort" >
|
|
|
90 |
<option value="rel" selected="selected">nach Relevanz</option>
|
|
|
91 |
<option value="asc">Preis aufsteigend</option>
|
|
|
92 |
<option value="desc">Preis absteigend</option>
|
|
|
93 |
</select>
|
|
|
94 |
</div>
|
|
|
95 |
<div class="subdir_artikel">
|
|
|
96 |
{include file="subdir_artikel.tpl"}
|
|
|
97 |
</div>
|
|
|
98 |
|
|
|
99 |
{if $smarty.const.USE_SMARTY_PAGINATE===true}
|
|
|
100 |
{include file="pagination.tpl"}
|
|
|
101 |
{/if}
|
|
|
102 |
{/if}
|
|
|
103 |
{else}
|
|
|
104 |
<div class="box_2">
|
|
|
105 |
<div class="box_top"> </div>
|
|
|
106 |
<div class="box_middle">Keine Artikel gefunden</div>
|
|
|
107 |
</div>
|
|
|
108 |
{/if}
|
|
|
109 |
<div class="break"></div>
|
|
|
110 |
|
|
|
111 |
</div>
|
|
|
112 |
|
|
|
113 |
</section>
|
|
|
114 |
<script>
|
|
|
115 |
$(document).ready(function () {
|
|
|
116 |
$(".newsorting").css("display", "none");
|
|
|
117 |
|
|
|
118 |
$("#drsort").change(function () {
|
|
|
119 |
|
|
|
120 |
$(".box_2").css("background-color", "transparent");
|
|
|
121 |
$(".subdir_artikel").css("background-color", "#ccc");
|
|
|
122 |
$(".loader").show();
|
|
|
123 |
|
|
|
124 |
var selid = $('#drsort').val();
|
|
|
125 |
var mode = "result";
|
|
|
126 |
|
|
|
127 |
daten = $('#modellForm').serializeArray();
|
|
|
128 |
$.ajax({
|
|
|
129 |
type: "POST",
|
|
|
130 |
url: "/module/artikelmodell.php?mode=" + mode + "&sort=" + selid,
|
|
|
131 |
data: daten,
|
|
|
132 |
async: false,
|
|
|
133 |
success: function (html) {
|
|
|
134 |
|
|
|
135 |
if (mode == "result") {
|
|
|
136 |
$(".pagination_container").css("display", "none");
|
|
|
137 |
|
|
|
138 |
$('.subdir_artikel').html(html);
|
|
|
139 |
$(".subdir_artikel").css("background-color", "transparent");
|
|
|
140 |
$(".loader").hide();
|
|
|
141 |
|
|
|
142 |
$(".newsorting").css("display", "block");
|
|
|
143 |
|
|
|
144 |
}
|
|
|
145 |
}
|
|
|
146 |
})
|
|
|
147 |
|
|
|
148 |
});
|
|
|
149 |
})
|
| 75 |
lars |
150 |
</script>
|
|
|
151 |
{include file="footer.tpl"}
|