|
Revision 380, 1.2 KB
(checked in by aprilp, 8 years ago)
|
|
*** empty log message ***
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | {include file="templates/header.html"} |
|---|
| 2 | |
|---|
| 3 | {if $error} |
|---|
| 4 | <div id="help"> |
|---|
| 5 | {$error} |
|---|
| 6 | </div> |
|---|
| 7 | {else} |
|---|
| 8 | <div> |
|---|
| 9 | <form method="get"> |
|---|
| 10 | Sort: <select name="sort">{html_options values=$sort_ids selected=$sort output=$sort_ids}</select> |
|---|
| 11 | Direction: <select name="direction">{html_options values=$direction_ids selected=$direction output=$direction_ids}</select> |
|---|
| 12 | <input type="submit" value="{"Sort"|_}"> |
|---|
| 13 | </form> |
|---|
| 14 | </div> |
|---|
| 15 | |
|---|
| 16 | <div> |
|---|
| 17 | <table> |
|---|
| 18 | <tr> |
|---|
| 19 | <th>Users</th> |
|---|
| 20 | <th>Email</th> |
|---|
| 21 | <th>Registered On</th> |
|---|
| 22 | <th>Account Status</th> |
|---|
| 23 | </tr> |
|---|
| 24 | {section name=i loop=$users_array} |
|---|
| 25 | <tr> |
|---|
| 26 | <td><a href="?user_id={$users_array[i].user_id}">{$users_array[i].user_id}</a></td> |
|---|
| 27 | <td>{$users_array[i].email}</td> |
|---|
| 28 | <td>{$users_array[i].reg_date|date_format:"%Y/%m/%d"}</td> |
|---|
| 29 | {* hack, need to put info in variable before we can use $account_status_to_text *} |
|---|
| 30 | {assign var="info" value="$users_array[i]"} |
|---|
| 31 | <td>{$account_status_to_text[$info.account_status]}</td> |
|---|
| 32 | </tr> |
|---|
| 33 | {/section} |
|---|
| 34 | </table> |
|---|
| 35 | </div> |
|---|
| 36 | <br> |
|---|
| 37 | |
|---|
| 38 | {if $pages} |
|---|
| 39 | <div> |
|---|
| 40 | Page: |
|---|
| 41 | {section name=i loop=$pages} |
|---|
| 42 | <a {if $pages[i].selected}style="font-weight: bold;" {/if}href="?sort={$sort}&direction={$direction}&page={$pages[i].number}">{$pages[i].number}</a> |
|---|
| 43 | {/section} |
|---|
| 44 | </div> |
|---|
| 45 | {/if} |
|---|
| 46 | |
|---|
| 47 | {/if} |
|---|
| 48 | |
|---|
| 49 | {include file="templates/footer.html"} |
|---|