[3905] | 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 | <table border="1"> |
---|
| 14 | <tr> |
---|
| 15 | <th><b>{'concours_id'|@translate}</b></th> |
---|
| 16 | <th><b>{'concours_name'|@translate}</b></th> |
---|
| 17 | <th><b>{'concours_create_date'|@translate}</b></th> |
---|
| 18 | <th width="50%"><b>{'concours_descr'|@translate}</b></th> |
---|
| 19 | <th><b>{'concours_begin_date'|@translate}</b></th> |
---|
| 20 | <th><b>{'concours_end_date'|@translate}</b></th> |
---|
| 21 | <th width="10%"><b>{'concours_actions'|@translate}</b></th> |
---|
| 22 | </tr> |
---|
| 23 | {foreach from=$prepared_concours item=prepared_concours} |
---|
| 24 | <tr> |
---|
| 25 | <td>{$prepared_concours.ID}</td> |
---|
| 26 | <td>{$prepared_concours.NAME}</td> |
---|
| 27 | <td>{$prepared_concours.CREATE_DATE}</td> |
---|
| 28 | <td>{$prepared_concours.DESC}</td> |
---|
| 29 | <td>{$prepared_concours.BEGIN_DATE}</td> |
---|
| 30 | <td>{$prepared_concours.END_DATE}</td> |
---|
| 31 | <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> |
---|
| 32 | <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> |
---|
| 33 | </td> |
---|
| 34 | </tr> |
---|
| 35 | {/foreach} |
---|
| 36 | </table> |
---|
| 37 | </fieldset> |
---|
| 38 | |
---|
| 39 | <fieldset> |
---|
| 40 | <legend>{'active_concours'|@translate}</legend> |
---|
| 41 | <table border="1"> |
---|
| 42 | <tr> |
---|
| 43 | <th><b>{'concours_id'|@translate}</b></th> |
---|
| 44 | <th><b>{'concours_name'|@translate}</b></th> |
---|
| 45 | <th><b>{'concours_create_date'|@translate}</b></th> |
---|
| 46 | <th width="50%"><b>{'concours_descr'|@translate}</b></th> |
---|
| 47 | <th><b>{'concours_begin_date'|@translate}</b></th> |
---|
| 48 | <th><b>{'concours_end_date'|@translate}</b></th> |
---|
| 49 | <th width="10%"><b>{'concours_actions'|@translate}</b></th> |
---|
| 50 | </tr> |
---|
| 51 | {foreach from=$active_concours item=active_concours} |
---|
| 52 | <tr> |
---|
| 53 | <td>{$active_concours.ID}</td> |
---|
| 54 | <td>{$active_concours.NAME}</td> |
---|
| 55 | <td>{$active_concours.CREATE_DATE}</td> |
---|
| 56 | <td>{$active_concours.DESC}</td> |
---|
| 57 | <td>{$active_concours.BEGIN_DATE}</td> |
---|
| 58 | <td>{$active_concours.END_DATE}</td> |
---|
| 59 | <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> |
---|
| 60 | <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> |
---|
| 61 | </td> |
---|
| 62 | </tr> |
---|
| 63 | {/foreach} |
---|
| 64 | </table> |
---|
| 65 | </fieldset> |
---|
| 66 | |
---|
| 67 | <fieldset> |
---|
| 68 | <legend>{'closed_concours'|@translate}</legend> |
---|
| 69 | <table border="1"> |
---|
| 70 | <tr> |
---|
| 71 | <th><b>{'concours_id'|@translate}</b></th> |
---|
| 72 | <th><b>{'concours_name'|@translate}</b></th> |
---|
| 73 | <th><b>{'concours_create_date'|@translate}</b></th> |
---|
| 74 | <th width="50%"><b>{'concours_descr'|@translate}</b></th> |
---|
| 75 | <th><b>{'concours_begin_date'|@translate}</b></th> |
---|
| 76 | <th><b>{'concours_end_date'|@translate}</b></th> |
---|
| 77 | <th><b>{'concours_actions'|@translate}</b></th> |
---|
| 78 | </tr> |
---|
| 79 | {foreach from=$closed_concours item=closed_concours} |
---|
| 80 | <tr> |
---|
| 81 | <td>{$closed_concours.ID}</td> |
---|
| 82 | <td>{$closed_concours.NAME}</td> |
---|
| 83 | <td>{$closed_concours.CREATE_DATE}</td> |
---|
| 84 | <td>{$closed_concours.DESC}</td> |
---|
| 85 | <td>{$closed_concours.BEGIN_DATE}</td> |
---|
| 86 | <td>{$closed_concours.END_DATE}</td> |
---|
| 87 | <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> |
---|
| 88 | <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> |
---|
| 89 | {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} |
---|
| 90 | {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} |
---|
| 91 | |
---|
| 92 | </td> |
---|
| 93 | </tr> |
---|
| 94 | {/foreach} |
---|
| 95 | </table> |
---|
| 96 | </fieldset> |
---|
| 97 | |
---|
| 98 | </fieldset> |
---|
| 99 | </form> |
---|