Révision f39b5a88
b/index.php | ||
---|---|---|
108 | 108 |
case '>>': |
109 | 109 |
$ts = strtotime("+1 month", $ts); |
110 | 110 |
break; |
111 |
case 'mois': |
|
112 |
case 'trimestre': |
|
113 |
case 'année': |
|
114 |
$vue = $_GET['action']; |
|
115 |
break; |
|
116 | 111 |
} |
117 | 112 |
|
118 | 113 |
if (!$vue) $vue = "mois"; |
... | ... | |
228 | 223 |
<tr> |
229 | 224 |
<td align="left"><input type="submit" name="action" value="<<" /></td> |
230 | 225 |
<td align="center"> |
231 |
<input type="submit" style="border:0; background:transparent; color:blue; cursor:pointer; text-decoration:underline;" name="action" value="mois"> | |
|
232 |
<input type="submit" style="border:0; background:transparent; color:blue; cursor:pointer; text-decoration:underline;" name="action" value="trimestre"> | |
|
233 |
<input type="submit" style="border:0; background:transparent; color:blue; cursor:pointer; text-decoration:underline;" name="action" value="année"> |
|
226 |
<a href="?date=<?=$date?>&vue=mois">mois</a> | |
|
227 |
<a href="?date=<?=$date?>&vue=trimestre">trimestre</a> | |
|
228 |
<a href="?date=<?=$date?>&vue=année">année</a> |
|
234 | 229 |
<td align="right"><input type="submit" name="action" value=">>" /></td> |
235 | 230 |
</tr> |
236 | 231 |
<?php |
Formats disponibles : Unified diff