1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<SCRIPT language=JavaScript>
<!--
liste=new Array();
liste[0] = new Array("Conventions");
liste[1] = new Array("K0072","K0105","K0112","K0114","K0264","K0679","K0680","K0730","K0734","K0736","K1650");
liste[2] = new Array("L0103","L0104","L0105","L0141","L0142","L0143","L0144","L0176","L0178","L0390");
liste[3] = new Array("M0000","M0001");
liste[4] = new Array("N0000","N0001");
liste[5] = new Array("o0000","o0001");
année = new Array();
année[1] = '2006';
année[2] = '2007';
année[3] = '2008';
année[4] = '2009';
année[5] = '2010';
convention = new Array();
convention['K0072'] = 'K0072';
convention['K0105'] = 'K0105';
convention['K0112'] = 'K0112';
convention['K0114'] = 'K0114';
convention['K0264'] = 'K0264';
convention['K0679'] = 'K0679';
convention['K0680'] = 'K0680';
convention['K0730'] = 'K0730';
convention['K0734'] = 'K0734';
convention['K0736'] = 'K0736';
convention['K1650'] = 'K1650';
//***************************
convention['L0103'] = 'L0103';
convention['L0104'] = 'L0104';
convention['L0105'] = 'L0105';
convention['L0141'] = 'L0141';
convention['L0142'] = 'L0142';
convention['L0143'] = 'L0143';
convention['L0144'] = 'L0144';
convention['L0176'] = 'L0176';
convention['L0178'] = 'L0178';
convention['L0390'] = 'L0390';
//***************************
convention['M0000'] = 'M0000';
convention['M0001'] = 'M0001';
//***************************
convention['N0000'] = 'N0000';
convention['N0001'] = 'N0001';
//***************************
convention['o0000'] = 'o0000';
convention['o0001'] = 'o0001';
function changeliste()
{
choix=document.getElementById("listeA").value;
t='<select name="listeB" id="listeB">';
for(i=0;i<liste[choix].length;i++)
{
t+="<option value=\""+liste[choix][i]+"\">"+liste[choix][i]+"</option>";
}
document.getElementById("listeB_div").innerHTML=t+'</select>';
}
function set_URL()
{
annee = année[document.getElementById("listeA").value];
num_conv = convention[document.getElementById("listeB").value];
var excl = "?";
window.location.replace('convention.php'+excl+annee+'='+num_conv);
}
-->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<FORM id="monform" name="monform" onsubmit="set_URL(); return false">
<DIV><A>
<SELECT id=listeA onchange=changeliste() name=listeA>
<OPTION value=0 selected>Choix année</OPTION>
<OPTION value=1>2006</OPTION>
<OPTION value=2>2007</OPTION>
<OPTION value=3>2008</OPTION>
<OPTION value=4>2009</OPTION>
<OPTION value=5>2010</OPTION>
</SELECT>
</A><A id=listeB_div>
<SELECT id=listeB name=listeB>
<OPTION selected>Conventions</OPTION>
</SELECT>
</A>
<INPUT type=submit value=Envoyer>
</DIV>
</FORM>
</body>
</html> |
Partager