1 | {combine_css path=$SUBSCRIBE_TO_PATH|cat:'admin/template/style.css'} |
---|
2 | |
---|
3 | <div class="titrePage"> |
---|
4 | <h2>Subscribe to Comments</h2> |
---|
5 | </div> |
---|
6 | |
---|
7 | <form class="filter" method="post" name="filter" action="{$F_FILTER_ACTION}"> |
---|
8 | <fieldset> |
---|
9 | <legend>{'Filter'|translate}</legend> |
---|
10 | |
---|
11 | <label> |
---|
12 | {'User'|translate} |
---|
13 | <input type="text" name="username" value="{$F_USERNAME}" size="30"> |
---|
14 | </label> |
---|
15 | |
---|
16 | <label> |
---|
17 | {'Sort by'|translate} |
---|
18 | {html_options name=order_by options=$order_options selected=$order_selected} |
---|
19 | </label> |
---|
20 | |
---|
21 | <label> |
---|
22 | {'Sort order'|translate} |
---|
23 | {html_options name=direction options=$direction_options selected=$direction_selected} |
---|
24 | </label> |
---|
25 | |
---|
26 | <label> |
---|
27 | |
---|
28 | <span><input class="submit" type="submit" name="filter" value="{'Submit'|translate}"> <a href="{$F_FILTER_ACTION}">{'Reset'|translate}</a></span> |
---|
29 | </label> |
---|
30 | |
---|
31 | </fieldset> |
---|
32 | |
---|
33 | </form> |
---|
34 | |
---|
35 | <table class="table2" width="97%"> |
---|
36 | <thead> |
---|
37 | <tr class="throw"> |
---|
38 | <td class="user">{'User'|translate}</td> |
---|
39 | <td class="date">{'First subscription'|translate}</td> |
---|
40 | <td class="date">{'Last subscription'|translate}</td> |
---|
41 | <td class="total">{'Photos'|translate}</td> |
---|
42 | <td class="total" style="font-size:0.7em;">{'All album photos'|translate}</td> |
---|
43 | {if $COA_ACTIVATED}<td class="total">{'Albums'|translate}</td>{/if} |
---|
44 | <td class="action"> </td> |
---|
45 | </tr> |
---|
46 | </thead> |
---|
47 | |
---|
48 | {foreach from=$USERS item=user name=users_loop} |
---|
49 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
---|
50 | <td><a href="{$user.url}">{if $user.username}{$user.username} ★{else}{$user.email}{/if}</a></td> |
---|
51 | <td style="text-align:center;">{$user.nice_min_date}</td> |
---|
52 | <td style="text-align:center;">{$user.nice_max_date}</td> |
---|
53 | {if $user.subs.all_images} |
---|
54 | <td colspan="2" class="all">{'All'|translate} |
---|
55 | {else} |
---|
56 | <td>{$user.subs.image}</td> |
---|
57 | <td>{$user.subs.album_images}</td> |
---|
58 | {/if} |
---|
59 | {if $user.subs.all_albums && $COA_ACTIVATED} |
---|
60 | <td class="all">{'All'|translate} |
---|
61 | {else if $COA_ACTIVATED} |
---|
62 | <td>{$user.subs.album}</td> |
---|
63 | {/if} |
---|
64 | <td><a href="{$user.u_delete}" title="{'delete'|translate}" onclick="return confirm('{'Are you sure?'|translate}');"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" alt="{'delete'|translate}"></a> |
---|
65 | </tr> |
---|
66 | {foreachelse} |
---|
67 | <tr class="row2"> |
---|
68 | <td colspan="6" style="text-align:center;font-style:italic;">{'No result'|translate}</td> |
---|
69 | </tr> |
---|
70 | {/foreach} |
---|
71 | </table> |
---|
72 | |
---|
73 | <p>{'★ : registered users'|translate}</p> |
---|