blob: f31ce22581a9320a45c19cf37188d95d84ca94c5 (
plain)
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
|
<?php
include_once("../includes/ctrlacc.php");
include_once("../idiomas/php/".$idioma."/clases/Almanaque_".$idioma.".php");
$hora="";
if (isset($_GET["hora"])) $hora=$_GET["hora"];
if($hora=="") $hora="8:00";
?>
<HTML>
<TITLE>Administración web de aulas</TITLE>
<HEAD>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<LINK rel="stylesheet" type="text/css" href="../estilos.css">
<SCRIPT language="JavaScript">
var rojo="#cc3366"
var negro="#ffffff"
var verde="lightseagreen"
var gris="#bbbcb9"
var blanco="#eeeeee"
var azul= "#0000cc"
var fondooriginal="#EEEECC";
var colororiginal="#003300";
var currentHora=null;
//-------------------------------------------------------------------
function ItemSeleccionado(o){
return(o.style.backgroundColor==azul)
}
//-------------------------------------------------------------------
function Resalta(o){
o.style.color=blanco
o.style.backgroundColor=azul
}
//-------------------------------------------------------------------
function Desmarca(o){
o.style.color=colororiginal
o.style.backgroundColor=fondooriginal
}
//-------------------------------------------------------------------
function sobre(o){
if (currentHora!=null)
Desmarca(currentHora)
Resalta(o);
currentHora=o;
}
//-------------------------------------------------------------------
function fuera(o){
Desmarca(o);
}
//-------------------------------------------------------------------
function clic(o){
window.opener.anade_hora(o.id)
self.close()
}
//_________________________________________________________
function cerrar_ventana(){
self.close()
}
//_________________________________________________________
function borrar_fecha(){
window.opener.anade_hora("")
self.close()
}
//_________________________________________________________
</SCRIPT>
</HEAD>
<BODY>
<?php
$mialmanaque=new Almanaque("tabla_meses");
echo '<DIV style="position:absolute;top:5px;left:10px">';
echo '<img style="cursor:hand" SRC="../images/iconos/salir_on.gif" onclick="cerrar_ventana()">';
echo '</DIV>';
echo '<DIV style="position:absolute;top:25px;left:5px">';
echo '<FORM action="calendario_ventana.php" name="fdatos" method="post">';
echo '<table align=center border=0>';
echo '<tr>';
echo '<td colspan=2 valign=top width=100>'.$mialmanaque->Horas_Completas().'</td>';
echo '</tr>';
echo '</table>';
echo '</FORM>';
echo '</DIV>';
echo '<SCRIPT language="JavaScript">';
echo ' var o=document.getElementById("'.$hora.'");';
echo ' if(o!=null) sobre(o);';
echo '</SCRIPT>';
?>
</body>
</html>
|