-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCursosAlg.asp
93 lines (85 loc) · 4.28 KB
/
CursosAlg.asp
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
<htm>
<script language="javascript">
function EnviaDatos(){
if (window.document.cursos.curso[0].checked || window.document.cursos.curso[1].checked)
{
if (window.document.cursos.curso[0].checked){
window.document.cursos.CodAlg.value = "Alg1";
window.document.cursos.SecAlg.value = "5";
window.document.cursos.HorAlg.value = "Ma - Vi";
window.document.cursos.action = "pasoAlg.asp";
window.document.cursos.submit();
}
if (window.document.cursos.curso[1].checked){
window.document.cursos.CodAlg.value = "Alg2";
window.document.cursos.SecAlg.value = "8";
window.document.cursos.HorAlg.value = "Mi - Ju";
window.document.cursos.action = "pasoAlg.asp";
window.document.cursos.submit();
}
}
else{
alert("Debe seleccionar un curso.");
return false;
}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="cursos">
<table width="600" cellspacing="1" cellpadding="0" height="100" border="0" bordercolor="#FFFFFF">
<tr background="Imagenes/fdo-cabecera-cel22.jpg">
<td width="48" height="25" background="Imagenes/fdo-cabecera-cel22.jpg">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b><font size="1">Código</font></b></font></div>
</td>
<td width="119" height="25" background="Imagenes/fdo-cabecera-cel22.jpg">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b><font size="1">Asignatura</font></b></font></div>
</td>
<td width="66" height="25" align="center" background="Imagenes/fdo-cabecera-cel22.jpg">
<div align="center"><b><font size="1" face="Verdana" color="#FFFFFF">sección</font></b></div>
</td>
<td width="60" height="25" align="center" background="Imagenes/fdo-cabecera-cel22.jpg">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b><font size="1">Horario</font></b></font></div>
</td>
<td width="56" height="25" background="Imagenes/fdo-cabecera-cel22.jpg">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"><b><font size="1">Inscribir</font></b></font></div>
</td>
</tr>
<tr bgcolor="ffc172">
<td width="48" height="16" bgcolor="#DBECF2"><font face="Verdana" size="1"> Alg1</font></td>
<td width="119" height="16" bgcolor="#DBECF2"><font face="Verdana" size="1">Algebra I</font></td>
<td width="66" height="16" align="center" bgcolor="#DBECF2"><font face="Verdana" size="1">5</font></td>
<td width="60" height="16" align="center" bgcolor="#DBECF2"><font face="Verdana" size="1">Ma
- Vi</font></td>
<td width="56" height="16" bgcolor="#DBECF2" valign="top">
<div align="center">
<font face="Verdana" size="1">
<input type="radio" name="curso" value="1">
</font>
</div>
</td>
</tr>
<tr bgcolor="ffc172">
<td width="48" height="16" bgcolor="#DBECF2"><font face="Verdana"><font size="1"> Alg2</font></font></td>
<td width="119" height="16" bgcolor="#DBECF2"><font face="Verdana" size="1">Algebra I</font></td>
<td width="66" height="16" bgcolor="#DBECF2" align="center">
<p align="center"><font face="Verdana" size="1">8</font></p>
</td>
<td width="60" height="16" align="center" bgcolor="#DBECF2"><font face="Verdana" size="1">
Mi - Ju</font></td>
<td width="56" height="16" valign="top" bgcolor="#DBECF2">
<div align="center">
<font face="Verdana" size="1">
<input type="radio" name="curso" value="2">
</font>
</div>
</td>
</tr>
</table>
<p align="left">
<input name="button" type="button" onClick="javascript:EnviaDatos();" value="Inscribir" named="inscribir">
<input type="hidden" name="CodAlg" value="">
<input type="hidden" name="SecAlg" value="">
<input type="hidden" name="HorAlg" value="">
</p>
</form>
</htm>