[9572] | 1 | {combine_css id='cr_style' 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 | <div class="content"> |
---|
[6768] | 7 | <div class="titrePage"> |
---|
| 8 | <ul class="categoryActions"> |
---|
| 9 | {if isset($U_EDIT) } |
---|
[9572] | 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> |
---|
[6768] | 13 | {/if} |
---|
| 14 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 15 | </ul> |
---|
| 16 | <h2> |
---|
[9200] | 17 | <a href="index.php?/contests" name="top">{'Contests'|@translate}</a>{$SEPARATOR}<a href="{$URL}">{$NAME}</a> |
---|
[9572] | 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} |
---|
[6768] | 23 | </h2> |
---|
| 24 | </div> <!-- titrePage --> |
---|
| 25 | |
---|
[6782] | 26 | {if !$VISIBLE} |
---|
[6768] | 27 | <div class="nopublic"> |
---|
| 28 | {'CR_nopublic'|@translate} |
---|
| 29 | </div> |
---|
| 30 | {/if} |
---|
| 31 | |
---|
[9200] | 32 | <div class="CR_banner"> |
---|
[6768] | 33 | {if !empty($BANNER)} |
---|
[9200] | 34 | <h1><a href="#results"><img src="{$BANNER}" alt="{$NAME}"/></a></h1> |
---|
| 35 | {else} |
---|
| 36 | <h1><a href="#results">{$NAME}</a></h1> |
---|
[6768] | 37 | {/if} |
---|
[9200] | 38 | </div> |
---|
[6768] | 39 | |
---|
[9200] | 40 | <div class="CR_text CR_period"> |
---|
| 41 | {$DATE_BEGIN} - {$DATE_END} |
---|
| 42 | </div> |
---|
| 43 | |
---|
[9572] | 44 | {foreach from=$description item=desc name=desc_loop} |
---|
[6768] | 45 | <div class="CR_text"> |
---|
[9572] | 46 | <h3>{$desc.NAME} :</h3> |
---|
| 47 | {$desc.CONTENT} |
---|
[6768] | 48 | </div> |
---|
[9572] | 49 | {/foreach} |
---|
[6768] | 50 | </div> <!-- content_contest --> |
---|
| 51 | |
---|
| 52 | {if !empty($RESULTS)} |
---|
[9200] | 53 | <div class="content"> |
---|
[6768] | 54 | <div class="titrePage"> |
---|
| 55 | <ul class="categoryActions"> |
---|
| 56 | {if isset($U_RESULTS) } |
---|
[9572] | 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> |
---|
[6768] | 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"> |
---|
[9200] | 71 | <div class="title">{'CR_order_'|cat:$result.RANK|@translate} {'CR_place'|@translate} - <u>{$result.AUTHOR}</u></div> |
---|
[6768] | 72 | <a href="{$result.IMAGE_URL}" title="{$result.IMAGE_NAME}"> |
---|
| 73 | <img src="{$result.IMAGE_SRC}" alt="{$result.IMAGE_NAME}"/> |
---|
| 74 | </a> |
---|
| 75 | </div> |
---|
[9200] | 76 | <p> |
---|
| 77 | {$result.COMMENT} |
---|
| 78 | </p> |
---|
[6768] | 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> |
---|
[9200] | 94 | </span> |
---|
[6768] | 95 | <span class="thumbLegend"> |
---|
[9200] | 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> |
---|
[6768] | 102 | </span> |
---|
| 103 | </span> |
---|
| 104 | </li> |
---|
| 105 | {/if} |
---|
| 106 | {/foreach} |
---|
| 107 | </ul> |
---|
| 108 | |
---|
| 109 | {if !empty($LOGO)} |
---|
| 110 | <div class="CR_banner"> |
---|
[9200] | 111 | <h1><a href="#top"><img src="{$LOGO}" alt="{$NAME}"/></a></h1> |
---|
[6768] | 112 | </div> |
---|
| 113 | {/if} |
---|
| 114 | </div> <!-- content_results --> |
---|
| 115 | {/if} |
---|
| 116 | |
---|
| 117 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|