[9745] | 1 | {combine_css path=$CR_PATH|@cat:'template/style.css'} |
---|
[6768] | 2 | |
---|
| 3 | {$MENUBAR} |
---|
| 4 | |
---|
| 5 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
[9200] | 6 | |
---|
[6768] | 7 | <div id="content" class="content"> |
---|
| 8 | <div class="titrePage"> |
---|
| 9 | <ul class="categoryActions"> |
---|
[9572] | 10 | {if isset($U_EDIT)} |
---|
| 11 | <li><a href="{$U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 12 | <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span> |
---|
| 13 | </a></li> |
---|
| 14 | {/if} |
---|
[6768] | 15 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 16 | </ul> |
---|
[9572] | 17 | </ul> |
---|
[6768] | 18 | <h2>{'Contests'|@translate}</h2> |
---|
| 19 | </div> <!-- titrePage --> |
---|
[9200] | 20 | |
---|
[9419] | 21 | {if !isset($contests)} |
---|
| 22 | <div class="nopublic" style="margin-bottom:200px;"> |
---|
| 23 | {'CR_no_contest'|@translate} |
---|
| 24 | </div> |
---|
| 25 | |
---|
| 26 | {else} |
---|
| 27 | <ul class="thumbnailCategories"> |
---|
[9745] | 28 | {foreach from=$contests item=contest} |
---|
| 29 | <li {if !$contest.VISIBLE}class="novisible"{/if}> |
---|
| 30 | <div class="thumbnailCategory"> |
---|
[9419] | 31 | <div class="illustration"> |
---|
[9572] | 32 | <a href="{$contest.URL}"> |
---|
[9745] | 33 | {if $contest.STATUS != 'finished' AND !empty($contest.LOGO)} |
---|
[9572] | 34 | <img src="{$contest.LOGO}" alt="{$contest.NAME}" style="max-height:120px;max-width:120px;"> |
---|
[9745] | 35 | {elseif !empty($contest.RESULTS.1.TN_SRC)} |
---|
| 36 | <img src="{$contest.RESULTS.1.TN_SRC}" alt="{$contest.NAME|@replace:'"':' '}"> |
---|
[9419] | 37 | {/if} |
---|
[9572] | 38 | </a> |
---|
[9419] | 39 | </div> |
---|
| 40 | <div class="description"> |
---|
[9745] | 41 | <h3><a href="{$contest.URL}">{$contest.NAME}</a></h3> |
---|
[9419] | 42 | <div class="text"> |
---|
| 43 | <p class="Nb_images">{$contest.DATE_BEGIN} - {$contest.DATE_END}</p> |
---|
[9745] | 44 | <span class="CR_finished">({$contest.DAYS})</span> |
---|
[9419] | 45 | <p> |
---|
[9745] | 46 | {if $contest.STATUS != 'finished' AND !empty($contest.SUMMARY)} |
---|
| 47 | {$contest.SUMMARY} |
---|
[9419] | 48 | {else} |
---|
| 49 | {foreach from=$contest.RESULTS item=result} |
---|
| 50 | {'CR_order_'|cat:$result.RANK|@translate} {'CR_place'|@translate} - <u>{$result.AUTHOR}</u><br> |
---|
| 51 | {/foreach} |
---|
| 52 | {/if} |
---|
| 53 | </p> |
---|
| 54 | </div> |
---|
| 55 | </div> |
---|
| 56 | </div> |
---|
| 57 | </li> |
---|
[9745] | 58 | {/foreach} |
---|
[9419] | 59 | </ul> |
---|
| 60 | {/if} |
---|
[6768] | 61 | </div> <!-- content --> |
---|
| 62 | |
---|
[9745] | 63 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|