| 1 |
lars |
1 |
<link rel="stylesheet" href="/css/jquery.toChecklist.min.css">
|
|
|
2 |
<script type="text/javascript" language="javascript" src="/js/jquery-1.4.4.min.js"></script>
|
|
|
3 |
<script type="text/javascript" language="javascript" src="/js/jquery.toChecklist.min.js"></script>
|
|
|
4 |
<script>
|
|
|
5 |
$(function(){
|
|
|
6 |
$('#sc').toChecklist({
|
|
|
7 |
addSearchBox: true,
|
|
|
8 |
searchBoxText: 'Durchsuchen der Länderliste...',
|
|
|
9 |
preferIdOverName : false,
|
|
|
10 |
cssEven: 'links',
|
|
|
11 |
cssOdd: 'rechts'
|
|
|
12 |
});
|
|
|
13 |
;
|
|
|
14 |
})
|
|
|
15 |
</script>
|
|
|
16 |
<table width="100%" border="1" cellspacing="1" cellpadding="3">
|
|
|
17 |
<tr>
|
|
|
18 |
<td bgcolor="#{$webs.bgcolor_rechts}" colspan="8" nowrap>
|
|
|
19 |
<a href="{$SCRIPT_NAME}?edit={$artikel[0].id}">
|
|
|
20 |
<font color="#{$webs.font_color_rechts}">
|
|
|
21 |
<b>{$artikel[0].name}</b>
|
|
|
22 |
</font>
|
|
|
23 |
</a>
|
|
|
24 |
<input name="shipment[rang]" type="hidden" value="{$artikel[0].rang}" onChange="this.form.changed.value=true;">
|
|
|
25 |
</td>
|
|
|
26 |
</tr>
|
|
|
27 |
<tr>
|
|
|
28 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap>
|
|
|
29 |
<font color="#{$webs.font_color_rechts}">
|
|
|
30 |
<b>Bezeichnung ({$artikel[0].id})</b>
|
|
|
31 |
</font>
|
|
|
32 |
</td>
|
|
|
33 |
{if ( isset($user_rechte.online_shop.artikel.kennung) )}
|
|
|
34 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap>
|
|
|
35 |
<font color="#{$webs.font_color_rechts}">
|
|
|
36 |
<b>{$web_rechte.online_shop.artikel.kennung|default:"Kennung"}</b>
|
|
|
37 |
</font>
|
|
|
38 |
</td>
|
|
|
39 |
{/if}
|
|
|
40 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap>
|
|
|
41 |
<font color="#{$webs.font_color_rechts}">
|
|
|
42 |
<b>Preis (€)</b>
|
|
|
43 |
</font>
|
|
|
44 |
</td>
|
|
|
45 |
<td colspan="2" nowrap bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
46 |
<font color="#{$webs.font_color_rechts}">
|
|
|
47 |
<b>Gewicht von/bis (kg)</b>
|
|
|
48 |
</font>
|
|
|
49 |
</td>
|
|
|
50 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap>
|
|
|
51 |
<font color="#{$webs.font_color_rechts}">
|
|
|
52 |
<b>Länder</b>
|
|
|
53 |
</font>
|
|
|
54 |
</td>
|
|
|
55 |
</tr>
|
|
|
56 |
<tr bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
57 |
<td style="height:20px;" align="center" valign="top">
|
|
|
58 |
<input name="shipment[name]" type="text" value="{$artikel[0].name}" style="width:100%;" onChange="this.form.changed.value=true;">
|
|
|
59 |
</td>
|
|
|
60 |
{if ( isset($user_rechte.online_shop.artikel.kennung) )}
|
|
|
61 |
<td style="height:20px;" align="center" valign="top">
|
|
|
62 |
<input type="text" name="shipment[kennung]" value="{$artikel[0].kennung|escape}">
|
|
|
63 |
</td>
|
|
|
64 |
{else}
|
|
|
65 |
<td> </td>
|
|
|
66 |
{/if}
|
|
|
67 |
<td style="height:20px;" align="center" valign="top">
|
|
|
68 |
<input name="shipment[preis]" type="text" value="{$artikel[0].preis}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
69 |
</td>
|
|
|
70 |
<td style="height:20px;" align="center" valign="top">
|
|
|
71 |
<input name="shipment[gewicht_von]" type="text" value="{$artikel[0].gewicht_von}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
72 |
</td>
|
|
|
73 |
<td align="center" valign="top" style="height:20px;">
|
|
|
74 |
<input name="shipment[gewicht_bis]" type="text" value="{$artikel[0].gewicht_bis}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
75 |
</td>
|
|
|
76 |
<td rowspan="{$row_span}" align="left" nowrap="nowrap" valign="top">
|
|
|
77 |
<select multiple="multiple" onChange="this.form.changed.value=true;" name="shipment_countries" id="sc" size="55">
|
|
|
78 |
{section loop=$laender name=l_ind start=1}
|
|
|
79 |
<option value="{$laender_ids[l_ind]}" label="{$laender[l_ind]}"{if in_array($laender_ids[l_ind], array_values($artikel[0].countries))} selected='selected'{/if}>{$laender[l_ind]}</option>
|
|
|
80 |
{/section}
|
|
|
81 |
</select>
|
|
|
82 |
</td>
|
|
|
83 |
</tr>
|
|
|
84 |
<tr bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
85 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap>
|
|
|
86 |
<font color="#{$webs.font_color_rechts}">
|
|
|
87 |
<b>{if isset($web_rechte.online_shop.porto.zahlungsarten)}Zahlungsarten{else}Rufname{/if}</b>
|
|
|
88 |
</font>
|
|
|
89 |
</td>
|
|
|
90 |
<td nowrap bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
91 |
<font color="#{$webs.font_color_rechts}">
|
|
|
92 |
<b></b>
|
|
|
93 |
</font>
|
|
|
94 |
<font color="#{$webs.font_color_rechts}">
|
|
|
95 |
<b>interner Name</b>
|
|
|
96 |
</font>
|
|
|
97 |
</td>
|
|
|
98 |
<td nowrap bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
99 |
{if ( isset($user_rechte.online_shop.porto.aufschlag) )}
|
|
|
100 |
<font color="#{$webs.font_color_rechts}">
|
|
|
101 |
<b>Aufschlag (%)</b>
|
|
|
102 |
</font>
|
|
|
103 |
{/if}
|
|
|
104 |
</td>
|
|
|
105 |
<td colspan="2" nowrap bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
106 |
<font color="#{$webs.font_color_rechts}">
|
|
|
107 |
<b></b>
|
|
|
108 |
</font>
|
|
|
109 |
<font color="#{$webs.font_color_rechts}">
|
|
|
110 |
<b>Warenkorb von/bis (€)</b>
|
|
|
111 |
</font>
|
|
|
112 |
<font color="#{$webs.font_color_rechts}">
|
|
|
113 |
<b></b>
|
|
|
114 |
</font>
|
|
|
115 |
<font color="#{$webs.font_color_rechts}">
|
|
|
116 |
<b></b>
|
|
|
117 |
</font>
|
|
|
118 |
</td>
|
|
|
119 |
</tr>
|
|
|
120 |
<tr bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
121 |
<td style="height:20px;" align="center" valign="top">
|
|
|
122 |
<select name="shipment[z_id]" onChange="this.form.changed.value=true;check_zahlungsart(this);" id="zahlungsart">
|
|
|
123 |
<option value="" label="--- Bitte wählen ---">--- Bitte wählen ---</option>
|
|
|
124 |
{html_options options=$zahlungsarten selected=$zahlungsarten_sel_edit}
|
|
|
125 |
</select>
|
|
|
126 |
</td>
|
|
|
127 |
<td style="height:20px;" align="center" valign="top">
|
|
|
128 |
<input name="shipment[interner_name]" type="text" value="{$artikel[0].interner_name}" style="width:100%;" onChange="this.form.changed.value=true;">
|
|
|
129 |
</td>
|
|
|
130 |
<td nowrap bgcolor="#{$webs.bgcolor_rechts}" style="height:20px;" valign="top">
|
|
|
131 |
{if ( isset($user_rechte.online_shop.porto.aufschlag) )}
|
|
|
132 |
<input name="zahlarten[aufschlag]2" type="text" value="{$artikel[0].aufschlag}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
133 |
{/if}
|
|
|
134 |
</td>
|
|
|
135 |
<td style="height:20px;" align="center" valign="top">
|
|
|
136 |
<input name="shipment[wert_von]" type="text" value="{$artikel[0].wert_von}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
137 |
</td>
|
|
|
138 |
<td align="center" valign="top" style="height:20px;">
|
|
|
139 |
<input name="shipment[wert_bis]" type="text" value="{$artikel[0].wert_bis}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
140 |
</td>
|
|
|
141 |
</tr>
|
|
|
142 |
{if isset($user_rechte.online_shop.porto.versand_abschlag)}
|
|
|
143 |
<tr>
|
|
|
144 |
<td nowrap bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
145 |
<font color="#{$webs.font_color_rechts}">
|
|
|
146 |
<b>Versandkostenermäßigung (%)</b>
|
|
|
147 |
</font>
|
|
|
148 |
<br>
|
|
|
149 |
<input type="text" name="zahlarten[versand_abschlag]" value="{$artikel[0].versand_abschlag}" style="width:100%;" onChange="this.form.changed.value=true;this.value=killkomma(this.value);">
|
|
|
150 |
</td>
|
|
|
151 |
<td colspan="4" nowrap bgcolor="#{$webs.bgcolor_rechts}"> </td>
|
|
|
152 |
</tr>
|
|
|
153 |
{/if}
|
|
|
154 |
<tr bgcolor="#{$webs.bgcolor_rechts}" style="height:100%;">
|
|
|
155 |
<td colspan="5" valign="top" align="center" style="height:300px;" height="100%">
|
|
|
156 |
<textarea name="zahlarten[beschreibung]" style="width:100%;height:100%" onChange="this.form.changed.value=true;" rows="20" cols="80">{$artikel[0].beschreibung}</textarea>
|
|
|
157 |
</td>
|
|
|
158 |
</tr>
|
|
|
159 |
{if isset($user_rechte.online_shop.porto.beschreibung2)}
|
|
|
160 |
<tr bgcolor="#{$webs.bgcolor_rechts}" >
|
|
|
161 |
<td colspan="5">
|
|
|
162 |
<font color="{$webs.font_color_links}" style="font-weight:bold;">Versandtextbaustein</font>
|
|
|
163 |
</td>
|
|
|
164 |
</tr>
|
|
|
165 |
<tr bgcolor="#{$webs.bgcolor_rechts}" >
|
|
|
166 |
<td colspan="5" style="height:300px;">
|
|
|
167 |
<textarea name="zahlarten[textbaustein]" style="width:100%;height:100%" onChange="this.form.changed.value=true;" rows="20" cols="80">{$artikel[0].textbaustein}</textarea>
|
|
|
168 |
</td>
|
|
|
169 |
</tr>
|
|
|
170 |
{/if}
|
|
|
171 |
<tr bgcolor="#{$webs.bgcolor_rechts}" style="height:100%;">
|
|
|
172 |
<td height="101" colspan="5">
|
|
|
173 |
<table border="0" cellspacing="0" cellpadding="3">
|
|
|
174 |
<tr>
|
|
|
175 |
<td>
|
|
|
176 |
<font color="#{$webs.font_color_rechts}">
|
|
|
177 |
<b>letzte Änderung:</b>
|
|
|
178 |
</font>
|
|
|
179 |
</td>
|
|
|
180 |
</tr>
|
|
|
181 |
<tr>
|
|
|
182 |
<td>
|
|
|
183 |
<font color="#{$webs.font_color_rechts}">am: {$artikel[0].letzte_aenderung_am|date_format:"%d.%m.%Y"} um:{$artikel[0].letzte_aenderung_am|date_format:"%H:%M:%S"}</font>
|
|
|
184 |
</td>
|
|
|
185 |
</tr>
|
|
|
186 |
<tr>
|
|
|
187 |
<td>
|
|
|
188 |
<font color="#{$webs.font_color_rechts}">von: {$artikel[0].letzte_aenderung_von}</font>
|
|
|
189 |
</td>
|
|
|
190 |
</tr>
|
|
|
191 |
</table>
|
|
|
192 |
</td>
|
|
|
193 |
<td> Diese Versandoption findet nur Anwendung bei Artikeln die mit folgenden Eigenschaften gekennzeichnet sind:
|
|
|
194 |
<table width="100%">
|
|
|
195 |
{section loop=$Eigenschaften name=Eigenschaft_nr}
|
|
|
196 |
<tr>
|
|
|
197 |
<td bgcolor="#{$webs.bgcolor_links}">
|
|
|
198 |
<font color="#{$webs.font_color_links}">
|
|
|
199 |
<b>{$Eigenschaften_Namen[Eigenschaft_nr]}</b>
|
|
|
200 |
</font>
|
|
|
201 |
</td>
|
|
|
202 |
<td bgcolor="#{$webs.bgcolor_rechts}" colspan="2">
|
|
|
203 |
<input type="hidden" name="shipment_properties[{$Eigenschaften[Eigenschaft_nr]}]" value="0">
|
|
|
204 |
<input type="checkbox" name="shipment_properties[{$Eigenschaften[Eigenschaft_nr]}]" value="1" {if $artikel[0].Eigenschaft_+$Eigenschaften_sel[$Eigenschaften[Eigenschaft_nr]]==1}checked="checked"{/if} onChange="this.form.changed.value=true;">
|
|
|
205 |
</td>
|
|
|
206 |
</tr>
|
|
|
207 |
{/section}
|
|
|
208 |
</table>
|
|
|
209 |
<input type="hidden" name="id_shipment" value="{$artikel[0].id}">
|
|
|
210 |
<input type="hidden" name="id_zahlart" value="{$artikel[0].z_id}">
|
|
|
211 |
</td>
|
|
|
212 |
</tr>
|
|
|
213 |
</table>
|