| 1 |
lars |
1 |
<table width="100%" border="1" cellspacing="0" cellpadding="3">
|
|
|
2 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
3 |
<td colspan="2">
|
|
|
4 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
5 |
<tr>
|
|
|
6 |
<td class="headline">
|
|
|
7 |
<b>
|
|
|
8 |
<font color="#{$webs.font_color_links}">Benutzer: Bearbeiten</font>
|
|
|
9 |
</b>
|
|
|
10 |
</td>
|
|
|
11 |
<td class="headline" align="right">
|
|
|
12 |
<font color="#{$webs.font_color_links}">
|
|
|
13 |
<b>{$total} Einträge</b>
|
|
|
14 |
</font>
|
|
|
15 |
</td>
|
|
|
16 |
</tr>
|
|
|
17 |
<tr>
|
|
|
18 |
<td class="headline" colspan="2">
|
|
|
19 |
<font color="#{$webs.font_color_links}">
|
|
|
20 |
<hr noshade="noshade" width="100%">
|
|
|
21 |
{if isset( $user_rechte.logins.admin.auswahl )}
|
|
|
22 |
Status:
|
|
|
23 |
{html_options name="select" output=$kats values=$kats selected=$cur_kat}
|
|
|
24 |
<br>
|
|
|
25 |
{/if}
|
|
|
26 |
Suche nach Name:
|
|
|
27 |
<input name="suchname" type="text" id="suchname" value="{$suchname}">
|
|
|
28 |
PLZ:
|
|
|
29 |
<input type="text" name="plz" value="{$smarty.get.plz}">
|
|
|
30 |
{if isset($user_rechte.logins.admin.ex_knr)}
|
|
|
31 |
{if $web_rechte.logins.admin.ex_knr}
|
|
|
32 |
{$web_rechte.logins.admin.ex_knr}
|
|
|
33 |
{else}
|
|
|
34 |
ext. KdNr.:
|
|
|
35 |
{/if}
|
|
|
36 |
<input type="text" value="{$ex_knr}" name="ex_knr" value="{$smarty.get.ex_knr}">
|
|
|
37 |
{/if}
|
|
|
38 |
<input type="submit" name="Submit" value="Suchen">
|
|
|
39 |
<hr noshade="noshade" width="100%">
|
|
|
40 |
</font>
|
|
|
41 |
</td>
|
|
|
42 |
</tr>
|
|
|
43 |
</table>
|
|
|
44 |
{include file="pagination.tpl"}
|
|
|
45 |
</td>
|
|
|
46 |
</tr>
|
|
|
47 |
<tr>
|
|
|
48 |
<td colspan="2">
|
|
|
49 |
{foreach from=$felder item=feld}
|
|
|
50 |
{if $web_rechte.logins.admin.$feld}
|
|
|
51 |
<a href="{$SCRIPT_NAME}?action=select_edit&sort={$feld}&start={$start}&suchname={$smarty.request.suchname}&select={$smarty.request.select}&ex_knr={$smarty.request.ex_knr}">{$web_rechte.logins.admin.$feld|regex_replace:"/:/":""}</a>
|
|
|
52 |
{else}
|
|
|
53 |
{$feld}
|
|
|
54 |
{/if}
|
|
|
55 |
{/foreach}
|
|
|
56 |
</td>
|
|
|
57 |
</tr>
|
|
|
58 |
{section loop=$logins name=l_ind}
|
|
|
59 |
<tr>
|
|
|
60 |
<td bgcolor="#{$webs.bgcolor_rechts}" width="100%">
|
|
|
61 |
<a href="{$SCRIPT_NAME}?action=edit&ID={$logins[l_ind].ID}">
|
|
|
62 |
<font color="#{$webs.font_color_rechts}">
|
|
|
63 |
{foreach from=$felder item=feld}
|
|
|
64 |
{if array_key_exists($feld, $logins[l_ind])}
|
|
|
65 |
{$logins[l_ind][$feld]}
|
|
|
66 |
{else}
|
|
|
67 |
{$feld}
|
|
|
68 |
{/if}
|
|
|
69 |
{/foreach}
|
|
|
70 |
</font>
|
|
|
71 |
</a>
|
|
|
72 |
</td>
|
|
|
73 |
{if $web_rechte.Login.admin.userlevel}
|
|
|
74 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap="nowrap">
|
|
|
75 |
<font color="#{$webs.font_color_rechts}">
|
|
|
76 |
{if $logins[l_ind].Status}
|
|
|
77 |
{$logins[l_ind].Status}
|
|
|
78 |
{else}
|
|
|
79 |
|
|
|
80 |
{/if}
|
|
|
81 |
</font>
|
|
|
82 |
</td>
|
|
|
83 |
{/if}
|
|
|
84 |
{if $smarty.get.action=="delete"}
|
|
|
85 |
<td bgcolor="#{$webs.bgcolor_rechts}" nowrap="nowrap">
|
|
|
86 |
<input type="checkbox" name="ID[]" value="{$logins[l_ind].ID}">
|
|
|
87 |
</td>
|
|
|
88 |
{/if}
|
|
|
89 |
</tr>
|
|
|
90 |
{/section}
|
|
|
91 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
92 |
<td colspan="2">
|
|
|
93 |
{include file="pagination.tpl"}
|
|
|
94 |
</td>
|
|
|
95 |
</tr>
|
|
|
96 |
<tr bgcolor="#{$webs.bgcolor_links}">
|
|
|
97 |
<td colspan="2" align="right">
|
|
|
98 |
{if $smarty.get.action=="delete"}
|
|
|
99 |
<input type="submit" value="Löschen">
|
|
|
100 |
<input type="hidden" name="action" value="delete">
|
|
|
101 |
{else}
|
|
|
102 |
<input type="hidden" name="action" value="select_edit">
|
|
|
103 |
{/if}
|
|
|
104 |
|
|
|
105 |
</td>
|
|
|
106 |
</tr>
|
|
|
107 |
</table>
|