Subversion Repositories ALCASAR

Rev

Rev 1895 | Rev 2319 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1895 Rev 2006
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
-
 
3
//update Filter-Id for protocol filtering
-
 
4
if (isset($_POST['Filter-Proto']) && isset($_POST['Filter-Id']))
-
 
5
{
-
 
6
	$upId = (int)$_POST['Filter-Proto'];
-
 
7
	$downId = (int)$_POST['Filter-Id'];
-
 
8
	$upId = $upId+$downId;
-
 
9
	$upId = str_pad($upId, 8, '0', STR_PAD_LEFT);
-
 
10
	$_POST['Filter-Id'] = $upId;
-
 
11
}
-
 
12
 
3
if (!isset ($create)) $create=0;
13
if (!isset ($create)) $create=0;
4
if (!isset ($login)) $login='';
14
if (!isset ($login)) $login='';
5
if (!isset ($selected)) $selected=array();
15
if (!isset ($selected)) $selected=array();
6
 
16
 
7
/*if(!isset($selected))
17
/*if(!isset($selected))
Line 348... Line 358...
348
				break;
358
				break;
349
			}
359
			}
350
	}
360
	}
351
/*fin Ajout*/
361
/*fin Ajout*/
352
}
362
}
-
 
363
 
-
 
364
/*protocole filter*/
-
 
365
print <<<EOM
-
 
366
<tr>
-
 
367
	<td class="etiquette" colspan=$colspan>
-
 
368
		$l_proto
-
 
369
	</td>
-
 
370
	<td width=20>
-
 
371
EOM;
-
 
372
/*Choix de la langue du ticket d'impression*/
-
 
373
echo" <select name='Filter-Proto'>
-
 
374
		<option value=\"00000000\" selected>$l_proto_0</option>
-
 
375
		<option value=\"10000000\" >$l_proto_1</option>
-
 
376
		<option value=\"01000000\" >$l_proto_2</option>
-
 
377
		<option value=\"00100000\" >$l_proto_3</option>
-
 
378
	</select></td></tr>";
-
 
379
 
-
 
380
	
353
echo "</table><BR>";
381
echo "</table><BR>";
354
}
382
}
355
if ($create == 1)
383
if ($create == 1)
356
	echo "<br/><center><a href=\"group_admin.php?login=$login\">$l_show_profile</a></center>";
384
	echo "<br/><center><a href=\"group_admin.php?login=$login\">$l_show_profile</a></center>";
357
else
385
else