| 1 | {combine_css id='cr_style' path=$CR_PATH|@cat:'template/style.css'} |
|---|
| 2 | |
|---|
| 3 | {$MENUBAR} |
|---|
| 4 | |
|---|
| 5 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
|---|
| 6 | <div class="content"> |
|---|
| 7 | <div class="titrePage"> |
|---|
| 8 | <ul class="categoryActions"> |
|---|
| 9 | {if isset($U_EDIT) } |
|---|
| 10 | <li><a href="{$U_EDIT}" title="{'CR_edit_tab'|@translate}" class="pwg-state-default pwg-button"> |
|---|
| 11 | <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'CR_edit_tab'|@translate}</span> |
|---|
| 12 | </a></li> |
|---|
| 13 | {/if} |
|---|
| 14 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
|---|
| 15 | </ul> |
|---|
| 16 | <h2> |
|---|
| 17 | <a href="index.php?/contests" name="top">{'Contests'|@translate}</a>{$SEPARATOR}<a href="{$URL}">{$NAME}</a> |
|---|
| 18 | {if $FINISHED} |
|---|
| 19 | <span class="CR_finished">({'CR_finished'|@translate})</span> |
|---|
| 20 | {else} |
|---|
| 21 | <span class="CR_finished">({$DAYS} {'CR_days'|@translate})</span> |
|---|
| 22 | {/if} |
|---|
| 23 | </h2> |
|---|
| 24 | </div> <!-- titrePage --> |
|---|
| 25 | |
|---|
| 26 | {if !$VISIBLE} |
|---|
| 27 | <div class="nopublic"> |
|---|
| 28 | {'CR_nopublic'|@translate} |
|---|
| 29 | </div> |
|---|
| 30 | {/if} |
|---|
| 31 | |
|---|
| 32 | <div class="CR_banner"> |
|---|
| 33 | {if !empty($BANNER)} |
|---|
| 34 | <h1><a href="#results"><img src="{$BANNER}" alt="{$NAME}"/></a></h1> |
|---|
| 35 | {else} |
|---|
| 36 | <h1><a href="#results">{$NAME}</a></h1> |
|---|
| 37 | {/if} |
|---|
| 38 | </div> |
|---|
| 39 | |
|---|
| 40 | <div class="CR_text CR_period"> |
|---|
| 41 | {$DATE_BEGIN} - {$DATE_END} |
|---|
| 42 | </div> |
|---|
| 43 | |
|---|
| 44 | {foreach from=$description item=desc name=desc_loop} |
|---|
| 45 | <div class="CR_text"> |
|---|
| 46 | <h3>{$desc.NAME} :</h3> |
|---|
| 47 | {$desc.CONTENT} |
|---|
| 48 | </div> |
|---|
| 49 | {/foreach} |
|---|
| 50 | </div> <!-- content_contest --> |
|---|
| 51 | |
|---|
| 52 | {if !empty($RESULTS)} |
|---|
| 53 | <div class="content"> |
|---|
| 54 | <div class="titrePage"> |
|---|
| 55 | <ul class="categoryActions"> |
|---|
| 56 | {if isset($U_RESULTS) } |
|---|
| 57 | <li><a href="{$U_RESULTS}" title="{'CR_results'|@translate}" class="pwg-state-default pwg-button"> |
|---|
| 58 | <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'CR_edit_tab'|@translate}</span> |
|---|
| 59 | </a></li> |
|---|
| 60 | {/if} |
|---|
| 61 | </ul> |
|---|
| 62 | <h2><a href="{$URL}">{$NAME}</a>{$SEPARATOR}<a href="#results" name="results">{'CR_results'|@translate}</a></h2> |
|---|
| 63 | </div> |
|---|
| 64 | |
|---|
| 65 | <div id="CR_podium"> |
|---|
| 66 | {foreach from=$RESULTS item=result} |
|---|
| 67 | {if $result.RANK <= 3} |
|---|
| 68 | {if $result.RANK == 2}<div class="podium_23">{/if} |
|---|
| 69 | <div class="podium_{$result.RANK}"> |
|---|
| 70 | <div class="illustration"> |
|---|
| 71 | <div class="title">{'CR_order_'|cat:$result.RANK|@translate} {'CR_place'|@translate} - <u>{$result.AUTHOR}</u></div> |
|---|
| 72 | <a href="{$result.IMAGE_URL}" title="{$result.IMAGE_NAME}"> |
|---|
| 73 | <img src="{$result.IMAGE_SRC}" alt="{$result.IMAGE_NAME}"/> |
|---|
| 74 | </a> |
|---|
| 75 | </div> |
|---|
| 76 | <p> |
|---|
| 77 | {$result.COMMENT} |
|---|
| 78 | </p> |
|---|
| 79 | </div> |
|---|
| 80 | {if $result.RANK == 3}</div>{/if} |
|---|
| 81 | {/if} |
|---|
| 82 | {/foreach} |
|---|
| 83 | </div> |
|---|
| 84 | |
|---|
| 85 | <ul class="thumbnails"> |
|---|
| 86 | {foreach from=$RESULTS item=result} |
|---|
| 87 | {if $result.RANK > 3} |
|---|
| 88 | <li> |
|---|
| 89 | <span class="wrap1"> |
|---|
| 90 | <span class="wrap2"> |
|---|
| 91 | <a href="{$result.IMAGE_URL}" title="{$result.IMAGE_NAME}"> |
|---|
| 92 | <img class="thumbnail" src="{$result.TN_SRC}" alt="{$result.IMAGE_NAME}"/> |
|---|
| 93 | </a> |
|---|
| 94 | </span> |
|---|
| 95 | <span class="thumbLegend"> |
|---|
| 96 | <span class="thumbnail-name"> |
|---|
| 97 | {$result.AUTHOR} |
|---|
| 98 | </span> |
|---|
| 99 | <span class="nb-hits"> |
|---|
| 100 | <br>{$result.RANK}{'CR_order_sup'|@translate} {'CR_place'|@translate} |
|---|
| 101 | </span> |
|---|
| 102 | </span> |
|---|
| 103 | </span> |
|---|
| 104 | </li> |
|---|
| 105 | {/if} |
|---|
| 106 | {/foreach} |
|---|
| 107 | </ul> |
|---|
| 108 | |
|---|
| 109 | {if !empty($LOGO)} |
|---|
| 110 | <div class="CR_banner"> |
|---|
| 111 | <h1><a href="#top"><img src="{$LOGO}" alt="{$NAME}"/></a></h1> |
|---|
| 112 | </div> |
|---|
| 113 | {/if} |
|---|
| 114 | </div> <!-- content_results --> |
|---|
| 115 | {/if} |
|---|
| 116 | |
|---|
| 117 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
|---|