Révision 46a8277f

b/index.php
143 143
	<meta name="copyright" content="Tous droits réservés - All Rights Reserved" />
144 144
	<meta name="author" content="Romuald DELAVERGNE">
145 145
	<style type="text/css">
146
		a.button:link, a.button:visited {
147
			float: left;
148
			padding: 2px;
149
			width: 50px;
150
			border-top: 1px solid #cccccc;
151
			border-bottom: 1px solid black;
152
			border-left: 1px solid #cccccc;
153
			border-right: 1px solid black;
154
			background: #cccccc;
155
			text-align: center;
156
			text-decoration: none;
157
			color: black;
158
		}
159

  
160
		a.button:hover {
161
			background: #eeeeee;
162
		}
163

  
164
		a.button:active {
165
			border-bottom: 1px solid #eeeeee;
166
			border-top: 1px solid black;
167
			border-right: 1px solid #eeeeee;
168
			border-left: 1px solid black;
169
		}
170

  
146 171
		a.popupmenu {
147 172
			display: block;
148 173
			width: 100%;
......
229 254
		<input type="hidden" name="str_date" value="" />
230 255
		<input type="hidden" name="action" value="" />
231 256
	</form>
232
	<form method="get">
233
		<input type="hidden" name="date" value="<?=$dateCurrent?>" />
234
		<input type="hidden" name="vue" value="<?=$vue?>" />
235 257
	<table>
236 258
	<tr>
237
		<td align="left"><input type="submit" name="action" value="<<" /></td>
259
		<td><a class="button" href="?date=<?=date("Y/m/01", strtotime("-1 month", $tsCurrent))?>&vue=<?=$vue?>">&lt;&lt;</a></td>
238 260
		<td align="center">
239 261
			<a href="?date=<?=$dateCurrent?>&vue=mois">mois</a> |
240 262
			<a href="?date=<?=$dateCurrent?>&vue=trimestre">trimestre</a> |
241 263
			<a href="?date=<?=$dateCurrent?>&vue=ann&eacute;e">ann&eacute;e</a>
242
		<td align="right"><input type="submit" name="action" value=">>" /></td>
264
		<td><a class="button" style="float: right" href="?date=<?=date("Y/m/01", strtotime("+1 month", $tsCurrent))?>&vue=<?=$vue?>">&gt;&gt;</a></td>
243 265
	</tr>
244 266
<?php
245 267
	for ($v = 0; $v == 0 || ($vue == "trimestre" && $v < 3) || ($vue == "année" && $v < 12); $v++) {
......
318 340
	}
319 341
?>
320 342
	</table>
321
	</form>
322 343
	<div id="popupMenu" style="position: absolute; display: none; top: 0px; left: 0px; z-index: 10000;" onMouseOver="javascript:overPopupMenu=true;" onMouseOut="javascript:overPopupMenu=false;">
323 344
		<table border="0" bgcolor="lightgray">
324 345
			<tr><td id="AM"><a class="popupmenu" href="#">Matin</a></td></tr>

Formats disponibles : Unified diff