1 | <div class="titrePage"> |
---|
2 | <h2>Concours</h2> |
---|
3 | </div> |
---|
4 | <p> |
---|
5 | {'concours_admin_title'|@translate} |
---|
6 | </p> |
---|
7 | <form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> |
---|
8 | <fieldset> |
---|
9 | <legend>{'manage_concours'|@translate}</legend> |
---|
10 | |
---|
11 | <fieldset> |
---|
12 | <legend>{'prepared_concours'|@translate}</legend> |
---|
13 | {if isset($prepared_concours)} |
---|
14 | <table class="table2 littlefont" id="pconcours_list" border="1"> |
---|
15 | |
---|
16 | <tr class="throw"> |
---|
17 | <th><b>{'concours_id2'|@translate}</b></th> |
---|
18 | <th><b>{'concours_name'|@translate}</b></th> |
---|
19 | <th><b>{'concours_create_date'|@translate}</b></th> |
---|
20 | <th><b>{'concours_descr'|@translate}</b></th> |
---|
21 | <th><b>{'concours_begin_date'|@translate}</b></th> |
---|
22 | <th><b>{'concours_end_date'|@translate}</b></th> |
---|
23 | <th colspan="4"><b>{'concours_actions'|@translate}</b></th> |
---|
24 | </tr> |
---|
25 | {foreach from=$prepared_concours item=prepared_concours} |
---|
26 | <tr class="TableRow" style="cursor:pointer;"> |
---|
27 | <td>{$prepared_concours.ID}</td> |
---|
28 | <td>{$prepared_concours.NAME}</td> |
---|
29 | <td>{$prepared_concours.CREATE_DATE}</td> |
---|
30 | <td>{$prepared_concours.DESC}</td> |
---|
31 | <td>{$prepared_concours.BEGIN_DATE}</td> |
---|
32 | <td>{$prepared_concours.END_DATE}</td> |
---|
33 | <td><a href="{$prepared_concours.U_EDIT}" title="{'concours_edit'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'concours_edit'|@translate}"/></a></td> |
---|
34 | <td><a href="{$prepared_concours.U_DELETE}" title="{'concours_delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'concours_delete'|@translate}" /></a></td> |
---|
35 | <td colspan="2"></td> |
---|
36 | </tr> |
---|
37 | {/foreach} |
---|
38 | </table> |
---|
39 | {else} |
---|
40 | <b>{'NO_concours'|@translate}</b> |
---|
41 | {/if} |
---|
42 | </fieldset> |
---|
43 | |
---|
44 | <fieldset> |
---|
45 | <legend>{'active_concours'|@translate}</legend> |
---|
46 | {if isset($active_concours)} |
---|
47 | <table class="table2 littlefont" id="aconcours_list" border="1"> |
---|
48 | <tr class="throw"> |
---|
49 | <th><b>{'concours_id2'|@translate}</b></th> |
---|
50 | <th><b>{'concours_name'|@translate}</b></th> |
---|
51 | <th><b>{'concours_create_date'|@translate}</b></th> |
---|
52 | <th><b>{'concours_descr'|@translate}</b></th> |
---|
53 | <th><b>{'concours_begin_date'|@translate}</b></th> |
---|
54 | <th><b>{'concours_end_date'|@translate}</b></th> |
---|
55 | <th colspan="4"><b>{'concours_actions'|@translate}</b></th> |
---|
56 | </tr> |
---|
57 | {foreach from=$active_concours item=active_concours} |
---|
58 | <tr class="TableRow" style="cursor:pointer;"> |
---|
59 | <td>{$active_concours.ID}</td> |
---|
60 | <td><a href="{$active_concours.U_AUDIT}" title="{'concours_audit1'|@translate}">{$active_concours.NAME}</a></td> |
---|
61 | <td>{$active_concours.CREATE_DATE}</td> |
---|
62 | <td>{$active_concours.DESC}</td> |
---|
63 | <td>{$active_concours.BEGIN_DATE}</td> |
---|
64 | <td>{$active_concours.END_DATE}</td> |
---|
65 | <td><a href="{$active_concours.U_EDIT}" title="{'concours_edit'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'concours_edit'|@translate}"/></a></td> |
---|
66 | <td><a href="{$active_concours.U_DELETE}" title="{'concours_delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'concours_delete'|@translate}" /></a></td> |
---|
67 | </tr> |
---|
68 | {/foreach} |
---|
69 | </table> |
---|
70 | {else} |
---|
71 | <b>{'NO_concours'|@translate}</b> |
---|
72 | {/if} |
---|
73 | </fieldset> |
---|
74 | |
---|
75 | <fieldset> |
---|
76 | <legend>{'closed_concours'|@translate}</legend> |
---|
77 | {if isset($closed_concours)} |
---|
78 | <table class="table2 littlefont" id="cconcours_list" border="1"> |
---|
79 | <tr class="throw"> |
---|
80 | <th><b>{'concours_id2'|@translate}</b></th> |
---|
81 | <th><b>{'concours_name'|@translate}</b></th> |
---|
82 | <th><b>{'concours_create_date'|@translate}</b></th> |
---|
83 | <th><b>{'concours_descr'|@translate}</b></th> |
---|
84 | <th><b>{'concours_begin_date'|@translate}</b></th> |
---|
85 | <th><b>{'concours_end_date'|@translate}</b></th> |
---|
86 | <th colspan="4"><b>{'concours_actions'|@translate}</b></th> |
---|
87 | </tr> |
---|
88 | {foreach from=$closed_concours item=closed_concours} |
---|
89 | <tr class="TableRow" style="cursor:pointer;"> |
---|
90 | <td>{$closed_concours.ID}</td> |
---|
91 | <td><a href="{$closed_concours.U_AUDIT}" title="{'concours_audit1'|@translate}">{$closed_concours.NAME}</a></td> |
---|
92 | <td>{$closed_concours.CREATE_DATE}</td> |
---|
93 | <td>{$closed_concours.DESC}</td> |
---|
94 | <td>{$closed_concours.BEGIN_DATE}</td> |
---|
95 | <td>{$closed_concours.END_DATE}</td> |
---|
96 | <td><a href="{$closed_concours.U_EDIT}" title="{'concours_edit'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'concours_edit'|@translate}"/></a></td> |
---|
97 | <td><a href="{$closed_concours.U_DELETE}" title="{'concours_delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'concours_delete'|@translate}" /></a></td> |
---|
98 | <td>{if $closed_concours.U_RESULT != ''} <a href="{$closed_concours.U_RESULT}" title="{'concours_result'|@translate}"><img src="{$IMG_URL}generate.png" class="button" alt="{'concours_result'|@translate}" /></a>{/if}</td> |
---|
99 | <td>{if $closed_concours.U_FILE != ''} <a href="{$closed_concours.U_FILE}" title="{'concours_file'|@translate}"><img src="{$IMG_URL}file.png" class="button" alt="{'concours_file'|@translate}" /></a>{/if}</td> |
---|
100 | </tr> |
---|
101 | {/foreach} |
---|
102 | </table> |
---|
103 | {else} |
---|
104 | <b>{'NO_concours'|@translate}</b> |
---|
105 | {/if} |
---|
106 | </fieldset> |
---|
107 | |
---|
108 | </fieldset> |
---|
109 | </form> |
---|