1 | {html_head} |
---|
2 | <link rel="stylesheet" type="text/css" href="{$CR_PATH}template/style.css"> |
---|
3 | {/html_head} |
---|
4 | |
---|
5 | {$MENUBAR} |
---|
6 | |
---|
7 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
8 | <div class="content"> |
---|
9 | <div class="titrePage"> |
---|
10 | <ul class="categoryActions"> |
---|
11 | {if isset($U_EDIT) } |
---|
12 | <li><a href="{$U_EDIT}" title="{'CR_edit_tab'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'CR_edit_tab'|@translate}"></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 $STATUS=='finished'}<span class="CR_finished">({'CR_finished'|@translate})</span>{/if} |
---|
19 | </h2> |
---|
20 | </div> <!-- titrePage --> |
---|
21 | |
---|
22 | {if !$VISIBLE} |
---|
23 | <div class="nopublic"> |
---|
24 | {'CR_nopublic'|@translate} |
---|
25 | </div> |
---|
26 | {/if} |
---|
27 | |
---|
28 | <div class="CR_banner"> |
---|
29 | {if !empty($BANNER)} |
---|
30 | <h1><a href="#results"><img src="{$BANNER}" alt="{$NAME}"/></a></h1> |
---|
31 | {else} |
---|
32 | <h1><a href="#results">{$NAME}</a></h1> |
---|
33 | {/if} |
---|
34 | </div> |
---|
35 | |
---|
36 | <div class="CR_text CR_period"> |
---|
37 | {$DATE_BEGIN} - {$DATE_END} |
---|
38 | </div> |
---|
39 | |
---|
40 | {if !empty($PRESENTATION)} |
---|
41 | <div class="CR_text"> |
---|
42 | <h3>{'CR_presentation'|@translate} :</h3> |
---|
43 | {$PRESENTATION} |
---|
44 | </div> |
---|
45 | {/if} |
---|
46 | |
---|
47 | {if !empty($RULES)} |
---|
48 | <div class="CR_text"> |
---|
49 | <h3>{'CR_rules'|@translate} :</h3> |
---|
50 | {$RULES} |
---|
51 | </div> |
---|
52 | {/if} |
---|
53 | |
---|
54 | {if !empty($PRICES)} |
---|
55 | <div class="CR_text"> |
---|
56 | <h3>{'CR_prices'|@translate} :</h3> |
---|
57 | {$PRICES} |
---|
58 | </div> |
---|
59 | {/if} |
---|
60 | |
---|
61 | {if !empty($FINAL)} |
---|
62 | <div class="CR_text"> |
---|
63 | <h3>{'CR_final'|@translate} :</h3> |
---|
64 | {$FINAL} |
---|
65 | </div> |
---|
66 | {/if} |
---|
67 | </div> <!-- content_contest --> |
---|
68 | |
---|
69 | {if !empty($RESULTS)} |
---|
70 | <div class="content"> |
---|
71 | <div class="titrePage"> |
---|
72 | <ul class="categoryActions"> |
---|
73 | {if isset($U_RESULTS) } |
---|
74 | <li><a href="{$U_RESULTS}" title="{'CR_results'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'CR_results'|@translate}"></a></li> |
---|
75 | {/if} |
---|
76 | </ul> |
---|
77 | <h2><a href="{$URL}">{$NAME}</a>{$SEPARATOR}<a href="#results" name="results">{'CR_results'|@translate}</a></h2> |
---|
78 | </div> |
---|
79 | |
---|
80 | <div id="CR_podium"> |
---|
81 | {foreach from=$RESULTS item=result} |
---|
82 | {if $result.RANK <= 3} |
---|
83 | {if $result.RANK == 2}<div class="podium_23">{/if} |
---|
84 | <div class="podium_{$result.RANK}"> |
---|
85 | <div class="illustration"> |
---|
86 | <div class="title">{'CR_order_'|cat:$result.RANK|@translate} {'CR_place'|@translate} - <u>{$result.AUTHOR}</u></div> |
---|
87 | <a href="{$result.IMAGE_URL}" title="{$result.IMAGE_NAME}"> |
---|
88 | <img src="{$result.IMAGE_SRC}" alt="{$result.IMAGE_NAME}"/> |
---|
89 | </a> |
---|
90 | </div> |
---|
91 | <p> |
---|
92 | {$result.COMMENT} |
---|
93 | </p> |
---|
94 | </div> |
---|
95 | {if $result.RANK == 3}</div>{/if} |
---|
96 | {/if} |
---|
97 | {/foreach} |
---|
98 | </div> |
---|
99 | |
---|
100 | <ul class="thumbnails"> |
---|
101 | {foreach from=$RESULTS item=result} |
---|
102 | {if $result.RANK > 3} |
---|
103 | <li> |
---|
104 | <span class="wrap1"> |
---|
105 | <span class="wrap2"> |
---|
106 | <a href="{$result.IMAGE_URL}" title="{$result.IMAGE_NAME}"> |
---|
107 | <img class="thumbnail" src="{$result.TN_SRC}" alt="{$result.IMAGE_NAME}"/> |
---|
108 | </a> |
---|
109 | </span> |
---|
110 | <span class="thumbLegend"> |
---|
111 | <span class="thumbnail-name"> |
---|
112 | {$result.AUTHOR} |
---|
113 | </span> |
---|
114 | <span class="nb-hits"> |
---|
115 | <br>{$result.RANK}{'CR_order_sup'|@translate} {'CR_place'|@translate} |
---|
116 | </span> |
---|
117 | </span> |
---|
118 | </span> |
---|
119 | </li> |
---|
120 | {/if} |
---|
121 | {/foreach} |
---|
122 | </ul> |
---|
123 | |
---|
124 | {if !empty($LOGO)} |
---|
125 | <div class="CR_banner"> |
---|
126 | <h1><a href="#top"><img src="{$LOGO}" alt="{$NAME}"/></a></h1> |
---|
127 | </div> |
---|
128 | {/if} |
---|
129 | </div> <!-- content_results --> |
---|
130 | {/if} |
---|
131 | |
---|
132 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|