| 4 |
lars |
1 |
<!-- $Id: buy_1_newuser.tpl 2860 2022-11-17 13:19:43Z tiefland $ BEGIN -->
|
|
|
2 |
{if !$bestellvorgang}
|
|
|
3 |
<form class="basket_form" action="{if $ssl}https://{else}http://{/if}{$smarty.server.SERVER_NAME}/bestellen_seite_{$step}.html" method="post" name="buy" id="buy_form">
|
|
|
4 |
<input type="hidden" name="_token" value="{csrf_token()}" />
|
|
|
5 |
{/if}
|
|
|
6 |
<table class="basket_table">
|
|
|
7 |
<tr>
|
|
|
8 |
<th class="basket_head1">
|
|
|
9 |
{$langstrings.buy.about_me}
|
|
|
10 |
</th>
|
|
|
11 |
|
|
|
12 |
</tr>
|
|
|
13 |
</table>
|
|
|
14 |
<table class="basket_table">
|
|
|
15 |
{if $smarty.session.isMobile == false}
|
|
|
16 |
<tr>
|
|
|
17 |
<td>{$langstrings.buy.firstname} / {$langstrings.buy.name}:*</td>
|
|
|
18 |
<td>
|
|
|
19 |
<input type="hidden" name="account" value="new" />
|
|
|
20 |
<input type="text" name="Persdata[Vorname]" class="text {if isset($errormsg_account["VornameAccount"]) && $errormsg_account["VornameAccount"]}input_error{/if}" id="login_vorname" value="{$smarty.session.SHOP.buy.Persdata.Vorname}" maxlength="255"/>
|
|
|
21 |
<input type="hidden" name="req[VornameAccount]" value="persdata" />
|
|
|
22 |
<input name="Persdata[Nachname]" type="text" class="persdata {if isset($errormsg_account["NachnameAccount"]) &&$errormsg_account["NachnameAccount"]}input_error{/if}" id="login_nachname" value="{$smarty.session.SHOP.buy.Persdata.Nachname}" maxlength="255" style="width:125px;"/>
|
|
|
23 |
<input type="hidden" name="req[NachnameAccount]" value="persdata" />
|
|
|
24 |
</td>
|
|
|
25 |
<td>
|
|
|
26 |
<span class="input_error_msg">{if isset($errormsg_account["NachnameAccount"])}{$errormsg_account["NachnameAccount"]}{/if} {if isset($errormsg_account["VornameAccount"])}{$errormsg_account["VornameAccount"]}{/if}</span>
|
|
|
27 |
</td>
|
|
|
28 |
</tr>
|
|
|
29 |
{if $smarty.get.handler}
|
|
|
30 |
<tr>
|
|
|
31 |
<td>Firma:</td>
|
|
|
32 |
<td>
|
|
|
33 |
<input type="text" name="firma" style="width:281px;"/>
|
|
|
34 |
|
|
|
35 |
</td>
|
|
|
36 |
<td>
|
|
|
37 |
|
|
|
38 |
</td>
|
|
|
39 |
</tr>
|
|
|
40 |
|
|
|
41 |
<tr>
|
|
|
42 |
<td>Telefon:</td>
|
|
|
43 |
<td>
|
|
|
44 |
<input type="text" name="telefon" style="width:281px;"/>
|
|
|
45 |
|
|
|
46 |
</td>
|
|
|
47 |
<td>
|
|
|
48 |
|
|
|
49 |
</td>
|
|
|
50 |
</tr>
|
|
|
51 |
{/if}
|
|
|
52 |
<tr>
|
|
|
53 |
<td>{$langstrings.login.username}:*</td>
|
|
|
54 |
<td>
|
|
|
55 |
<input type="email" name="Persdata[email]" class="text {if isset($errormsg_account["emailAccount"]) && $errormsg_account["emailAccount"]}input_error{/if}" id="login_email" required="true" style="width:281px;"/>
|
|
|
56 |
<input type="hidden" name="req[emailAccount]" value="mail" />
|
|
|
57 |
</td>
|
|
|
58 |
<td>
|
|
|
59 |
<span class="input_error_msg">{if isset(isset($errormsg_account["emailAccount"]) && $errormsg_account["emailAccount"] )}{$errormsg_account["emailAccount"]}{/if}</span>
|
|
|
60 |
</td>
|
|
|
61 |
</tr>
|
|
|
62 |
<tr>
|
|
|
63 |
<td>{$langstrings.login.password}:*</td>
|
|
|
64 |
<td>
|
|
|
65 |
<input type="password" name="Persdata[Passwort]" class="text {if isset($errormsg_account["PasswortAccount"]) && $errormsg_account["PasswortAccount"]}input_error{/if}" required="true" style="width:281px;"/>
|
|
|
66 |
<input type="hidden" name="req[Passwort]" value="password" />
|
|
|
67 |
</td>
|
|
|
68 |
<td>
|
|
|
69 |
<span class="input_error_msg">{if isset(isset($errormsg_account["PasswortAccount"]) && $errormsg_account["PasswortAccount"] )}{$errormsg_account["PasswortAccount"]}{/if}</span>
|
|
|
70 |
</td>
|
|
|
71 |
</tr>
|
|
|
72 |
{if isset($errormsg_account["emailAccount"]) && $errormsg_account["emailAccount"]}
|
|
|
73 |
|
|
|
74 |
<tr>
|
|
|
75 |
<td colspan="2" class="options_order_buttons">
|
|
|
76 |
<div id="login_button">{$langstrings.login.login}</div>
|
|
|
77 |
<div id="gastkunde_button">{$langstrings.buy.gast_Kunde_headline}</div>
|
|
|
78 |
<div id="passwort_button">{$langstrings.login.lost_password}</div>
|
|
|
79 |
</td>
|
|
|
80 |
</tr>
|
|
|
81 |
|
|
|
82 |
{/if}
|
|
|
83 |
{else}
|
|
|
84 |
<tr>
|
|
|
85 |
<td></td>
|
|
|
86 |
<td style="float:left">
|
|
|
87 |
<input type="hidden" name="account" value="new" />
|
|
|
88 |
<input type="text" placeholder="{$langstrings.buy.firstname}:*" name="Persdata[Vorname]" class="text {if isset($errormsg_account["VornameAccount"]) && $errormsg_account["VornameAccount"]}input_error{/if}" id="login_vorname" maxlength="255" style="width: 42%;"/>
|
|
|
89 |
<input type="hidden" name="req[VornameAccount]" value="persdata" />
|
|
|
90 |
<input name="Persdata[Nachname]" placeholder="{$langstrings.buy.name}:*" type="text" class="persdata {if isset($errormsg_account["NachnameAccount"]) && $errormsg_account["NachnameAccount"]}input_error{/if}" id="login_nachname" maxlength="255" style="width: 42%;"/>
|
|
|
91 |
<input type="hidden" name="req[NachnameAccount]" value="persdata" />
|
|
|
92 |
</td>
|
|
|
93 |
<td>
|
|
|
94 |
<span class="input_error_msg">{if isset($errormsg_account["NachnameAccount"])}{$errormsg_account["NachnameAccount"]}{/if} {if isset($errormsg_account["VornameAccount"])}{$errormsg_account["VornameAccount"]}{/if}</span>
|
|
|
95 |
</td>
|
|
|
96 |
</tr>
|
|
|
97 |
{if $smarty.get.handler}
|
|
|
98 |
<tr>
|
|
|
99 |
<td></td>
|
|
|
100 |
<td>
|
|
|
101 |
<input type="text" name="firma" style="width:281px;" placeholder="Firma"/>
|
|
|
102 |
|
|
|
103 |
</td>
|
|
|
104 |
<td>
|
|
|
105 |
|
|
|
106 |
</td>
|
|
|
107 |
</tr>
|
|
|
108 |
|
|
|
109 |
<tr>
|
|
|
110 |
<td>Telefon:</td>
|
|
|
111 |
<td>
|
|
|
112 |
<input type="text" name="telefon" style="width:281px;"/>
|
|
|
113 |
|
|
|
114 |
</td>
|
|
|
115 |
<td>
|
|
|
116 |
|
|
|
117 |
</td>
|
|
|
118 |
</tr>
|
|
|
119 |
{/if}
|
|
|
120 |
<tr>
|
|
|
121 |
<td></td>
|
|
|
122 |
<td>
|
|
|
123 |
<input type="email" placeholder="{$langstrings.login.username}:*" name="Persdata[email]" class="text {if isset($errormsg_account["emailAccount"]) && $errormsg_account["emailAccount"]}input_error{/if}" id="login_email" required="required" style="width:281px;"/>
|
|
|
124 |
<input type="hidden" name="req[emailAccount]" value="mail" />
|
|
|
125 |
</td>
|
|
|
126 |
<td>
|
|
|
127 |
<span class="input_error_msg">{if isset(isset($errormsg_account["emailAccount"]) && $errormsg_account["emailAccount"] )}{$errormsg_account["emailAccount"]}{/if}</span>
|
|
|
128 |
</td>
|
|
|
129 |
</tr>
|
|
|
130 |
<tr>
|
|
|
131 |
<td></td>
|
|
|
132 |
<td>
|
|
|
133 |
<input type="password" placeholder="{$langstrings.login.password}:*" name="Persdata[Passwort]" class="text {if isset($errormsg_account["PasswortAccount"]) && $errormsg_account["PasswortAccount"]}input_error{/if}" required="required" style="width:281px;"/>
|
|
|
134 |
<input type="hidden" name="req[Passwort]" value="password" />
|
|
|
135 |
</td>
|
|
|
136 |
<td>
|
|
|
137 |
<span class="input_error_msg">{if isset(isset($errormsg_account["PasswortAccount"]) && $errormsg_account["PasswortAccount"] )}{$errormsg_account["PasswortAccount"]}{/if}</span>
|
|
|
138 |
</td>
|
|
|
139 |
</tr>
|
|
|
140 |
{if isset($errormsg_account["emailAccount"]) && $errormsg_account["emailAccount"]}
|
|
|
141 |
|
|
|
142 |
<tr>
|
|
|
143 |
<td colspan="2" class="options_order_buttons">
|
|
|
144 |
<div id="login_button">{$langstrings.login.login}</div>
|
|
|
145 |
<div id="gastkunde_button">{$langstrings.buy.gast_Kunde_headline}</div>
|
|
|
146 |
<div id="passwort_button">{$langstrings.login.lost_password}</div>
|
|
|
147 |
</td>
|
|
|
148 |
</tr>
|
|
|
149 |
|
|
|
150 |
{/if}
|
|
|
151 |
{/if}
|
|
|
152 |
</table>
|
|
|
153 |
<div class="break" style="height:15px;"></div>
|
|
|
154 |
{if !$bestellvorgang}
|
|
|
155 |
</form>
|
|
|
156 |
{/if}
|
|
|
157 |
<script>
|
|
|
158 |
$(document).ready(function(){
|
|
|
159 |
$(".options_order_buttons div").button();
|
|
|
160 |
$('#login_button').click(function(){
|
|
|
161 |
window.location.href="/?mode=login";
|
|
|
162 |
});
|
|
|
163 |
$('#gastkunde_button').click(function(){
|
|
|
164 |
window.location.href="/bestellen_seite_1.html?account=guest";
|
|
|
165 |
});
|
|
|
166 |
$('#passwort_button').click(function(){
|
|
|
167 |
window.location.href="/?mode=forgot_pw";
|
|
|
168 |
});
|
|
|
169 |
|
|
|
170 |
$("#login_vorname").blur(function(){
|
|
|
171 |
var vorname = $(this).val();
|
|
|
172 |
$("input[name='Persdata[Vorname]']").val(vorname);
|
|
|
173 |
|
|
|
174 |
});
|
|
|
175 |
$("#login_nachname").blur(function(){
|
|
|
176 |
var nachname = $(this).val();
|
|
|
177 |
$("input[name='Persdata[Nachname]']").val(nachname);
|
|
|
178 |
|
|
|
179 |
});
|
|
|
180 |
$("#login_email").blur(function(){
|
|
|
181 |
var email = $(this).val();
|
|
|
182 |
$("input[name='Persdata[email]']").val(email);
|
|
|
183 |
|
|
|
184 |
});
|
|
|
185 |
var land = {$defaultLandID};
|
|
|
186 |
{if isset($smarty.session.SHOP.buy.Persdata.liefer_Land)}
|
|
|
187 |
land = {$smarty.session.SHOP.buy.Persdata.liefer_Land}
|
|
|
188 |
{else}
|
|
|
189 |
land = {$smarty.session.SHOP.buy.Persdata.Land}
|
|
|
190 |
{/if}
|
|
|
191 |
|
|
|
192 |
c_url="/update_versand.php?Land="+land+"&liefer=1";
|
|
|
193 |
|
|
|
194 |
$('#versand_optionen').load(c_url);
|
|
|
195 |
});
|
|
|
196 |
</script>
|
|
|
197 |
<!-- $Id: buy_1_newuser.tpl 2860 2022-11-17 13:19:43Z tiefland $ END -->
|