1 | <?php |
---|
2 | // **************************************************************************************** |
---|
3 | // Aplicacion WEB: ogAdmWebCon |
---|
4 | // autor: Irina Gomez, ETSII Universidad de Sevilla |
---|
5 | // Fecha: 2018-10-11 |
---|
6 | // Descripción : Página de indice del manual de usuario |
---|
7 | // **************************************************************************************** |
---|
8 | include_once("../includes/ctrlacc.php"); |
---|
9 | include_once("../idiomas/php/".$idioma."/ayuda_".$idioma.".php"); |
---|
10 | |
---|
11 | // Obtenemos nombres de los temas del manual |
---|
12 | //ruta manual usuario |
---|
13 | $nombredir = '../userManual'; |
---|
14 | $directorio=opendir($nombredir); |
---|
15 | //obtenemos un archivo y luego otro sucesivamente |
---|
16 | while ($archivo = readdir($directorio)) |
---|
17 | { |
---|
18 | if (is_dir($archivo)) continue; |
---|
19 | if ($archivo == '.' || $archivo == '..') continue; |
---|
20 | $fichero[] = $archivo; |
---|
21 | } |
---|
22 | |
---|
23 | sort($fichero); |
---|
24 | |
---|
25 | $temas = ''; |
---|
26 | foreach ($fichero as $ficheros) { |
---|
27 | $temas .=' <p><a href="'.$nombredir.'/'.$ficheros.'" target=miframeflotante >'.$ficheros.'</a></P>'."\n"; |
---|
28 | } |
---|
29 | ?> |
---|
30 | |
---|
31 | <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> |
---|
32 | <html> |
---|
33 | <head> |
---|
34 | <title> Administración web de aulas </title> |
---|
35 | <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'> |
---|
36 | <link rel='stylesheet' type='text/css' href='../estilos.css' /> |
---|
37 | </head> |
---|
38 | |
---|
39 | <body class='acercade'> |
---|
40 | <p align=center class=cabeceras><img border=0 style="cursor: pointer;" src="../images/iconos/aula.gif" > <?php echo $TbMsg["MANUAL"] ?></p> |
---|
41 | <br> |
---|
42 | |
---|
43 | <table width='100%' border='0'> |
---|
44 | <tr> |
---|
45 | <td width='30%'><p><img src='../images/acercade.png' alt='*' hspace='10em' vspace='10em' align='left' /></p> |
---|
46 | <p> </p> |
---|
47 | <p> </p> |
---|
48 | <p> </p> |
---|
49 | <p> </p> |
---|
50 | <p><img alt='OpenGnsys' src='../images/iconos/logoopengnsys.png' /></p></td> |
---|
51 | <td width='61%'> |
---|
52 | <?php echo $temas ?> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | |
---|
56 | </table> |
---|
57 | |
---|
58 | <table width='100%' height='100%' border='0'> |
---|
59 | <tr > |
---|
60 | <td align='center' > |
---|
61 | <?php echo '<iframe id=miframeflotante name=miframeflotante src="'.$nombredir.'/'.$fichero[0].'" width=100% height=700 frameborder=0 scrolling=no marginwidth=0 marginheight=0 align=left>Tu navegador no soporta frames!!</iframe>'; ?> |
---|
62 | </td> |
---|
63 | </tr> |
---|
64 | </table> |
---|