shop-old/themes/easyshop_advanced/templates/customer_center.tpl
2026-04-20 01:03:43 +02:00

61 lines
1.9 KiB
Smarty

{if $customer_center.errormessage}
<div>{$customer_center.errormessage}</div>
{/if}
{if $customer_center.step == -1}
<form name="formlogin" method="post">
<h2 class="maincontent_headline">Login</h2>
<a href="{$SUB_DIR}index.php?shopAction=register_customer">Kunden Registrierung</a>
<input type="hidden" name="shopAction" value="try_login" />
<input type="text" name="shopLogin[user]" />
<input type="password" name="shopLogin[pass]" />
<input type="submit" name="submit" value="Login" />
</form>
{elseif $customer_center.step == 2}
{include file='form_mailing_address.tpl'}
{elseif $customer_center.step == 3}
<h2 class="maincontent_headline">Bestellungen</h2>
<form>
<select size="1">
{foreach item=year from=$customer_center.year}
<option value="{$year}" {if $year == $customer_center.show_year}selected{/if}>Jahr {$year}</option>
{/foreach}
</select>
</form>
<table>
<thead>
<tr>
<td>Datum</td>
<td>Bestellnummer</td>
<td>Status</td>
</tr>
</thead>
<tbody>
{if $customer_center.order_list}
{foreach item=order from=$customer_center.order_list}
<tr>
<td><a href="{$SUB_DIR}index.php?mid=304&step=4&show_order={$order->id}">{$order->create_date}</a></td>
<td><a href="{$SUB_DIR}index.php?mid=304&step=4&show_order={$order->id}">{$order->number}</a></td>
<td style="text-align:right;"><a href="{$SUB_DIR}index.php?mid=304&step=4&show_order={$order->id}">{$order->state}</a></td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="3">Keine Bestellungen vorhanden.</td>
</tr>
{/if}
</tbody>
</table>
{elseif $customer_center.step == 4}
<h2 class="maincontent_headline">Bestellung {$customer_center.order.number} <a href="{$SUB_DIR}index.php?mid=304&step=3">back</a></h2>
{$customer_center.order_html_table}
{/if}