[ae938ed] | 1 | <?php |
---|
[da69e344] | 2 | //******************************************************************** |
---|
| 3 | // Descripción : |
---|
[cff57e6] | 4 | // Pagina de informacion sobre el proyecto OpenGnsys |
---|
[da69e344] | 5 | //******************************************************************** |
---|
[c751419] | 6 | include_once("../includes/ctrlacc.php"); |
---|
[da69e344] | 7 | include_once("../idiomas/php/".$idioma."/acercade_".$idioma.".php"); |
---|
| 8 | |
---|
| 9 | ?> |
---|
[13584f9] | 10 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 11 | <html> |
---|
| 12 | <head> |
---|
| 13 | <title> Administración web de aulas </title> |
---|
| 14 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
[ae938ed] | 15 | <link rel="stylesheet" type="text/css" href="../estilos.css" /> |
---|
| 16 | </head> |
---|
| 17 | |
---|
| 18 | <body class="acercade"> |
---|
| 19 | |
---|
| 20 | <img alt="*" src="../images/acercade.png" align="left" hspace="10em" vspace="10em" /> |
---|
[13584f9] | 21 | |
---|
[cff57e6] | 22 | <h1><img alt="OpenGnsys" src="../images/iconos/logoopengnsys.png" /></h1> |
---|
[13584f9] | 23 | |
---|
| 24 | <p> |
---|
| 25 | <?php |
---|
| 26 | // Añadir versión. |
---|
| 27 | $versionfile="../../doc/VERSION.txt"; |
---|
| 28 | if (file_exists ($versionfile)) |
---|
| 29 | include ($versionfile); |
---|
| 30 | |
---|
| 31 | ?> |
---|
| 32 | </p> |
---|
[dda6ab9] | 33 | <?php |
---|
| 34 | // Añadir CHANGELOG. |
---|
| 35 | $buschangelog=exec('ls ../../doc | grep CHANGELOG*', $nombrechange); |
---|
| 36 | $changelogfile="../../doc/".$buschangelog; |
---|
| 37 | ?> |
---|
| 38 | <?php |
---|
| 39 | // Añadir Manual. |
---|
[fcac41e] | 40 | $usermanual="../../doc/userManual-1.0.6"; |
---|
[dda6ab9] | 41 | if (file_exists ($usermanual)){ |
---|
| 42 | // Copiamos el directorio userManual |
---|
[fcac41e] | 43 | system("cp -R ../../doc/userManual-1.0.6 ../api/userManual"); |
---|
[dda6ab9] | 44 | // Creamos el Inicio del Manual |
---|
| 45 | system("touch ../api/userManual/Inicio.php"); |
---|
| 46 | // Añadimos instrucciones |
---|
| 47 | $ficheroinicio="../api/userManual/Inicio.php"; |
---|
| 48 | |
---|
| 49 | $crearficheroinicio=fopen($ficheroinicio,"w"); |
---|
| 50 | fwrite($crearficheroinicio," |
---|
| 51 | <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> |
---|
| 52 | <html> |
---|
| 53 | <head> |
---|
| 54 | <title> Administración web de aulas </title> |
---|
| 55 | <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'> |
---|
| 56 | <link rel='stylesheet' type='text/css' href='../estilos.css' /> |
---|
| 57 | </head> |
---|
| 58 | |
---|
| 59 | <body class='acercade'> |
---|
| 60 | <table width='100%' border='0'> |
---|
| 61 | <tr> |
---|
| 62 | <td width='30%'><p><img src='../../images/acercade.png' alt='*' hspace='10em' vspace='10em' align='left' /></p> |
---|
| 63 | <p> </p> |
---|
| 64 | <p> </p> |
---|
| 65 | <p> </p> |
---|
| 66 | <p> </p> |
---|
[cff57e6] | 67 | <p><img alt='OpenGnsys' src='../../images/iconos/logoopengnsys.png' /></p></td> |
---|
[dda6ab9] | 68 | <td width='61%'> |
---|
| 69 | |
---|
| 70 | <p> |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | <?php |
---|
| 75 | \$directorio = opendir('.'); //ruta actual |
---|
| 76 | while (\$archivo = readdir(\$directorio)) //obtenemos un archivo y luego otro sucesivamente |
---|
| 77 | { |
---|
| 78 | if (is_dir(\$archivo))//verificamos si es o no un directorio |
---|
| 79 | { |
---|
| 80 | if (\$archivo == '.' || \$archivo == '..') |
---|
| 81 | {}else{ |
---|
| 82 | echo '['.\$archivo . ']<br />'; //de ser un directorio lo envolvemos entre corchetes |
---|
| 83 | } |
---|
| 84 | } |
---|
| 85 | else |
---|
| 86 | { |
---|
| 87 | if (\$archivo == 'Inicio.php' || \$archivo == '.' || \$archivo == '..') |
---|
| 88 | {}else{ |
---|
| 89 | \$fichero[] = \$archivo; |
---|
| 90 | } |
---|
| 91 | } |
---|
| 92 | } |
---|
| 93 | sort(\$fichero); |
---|
| 94 | foreach (\$fichero as \$ficheros) { |
---|
| 95 | echo '<P><a href='.\$ficheros.' target=miframeflotante >'.\$ficheros.'</a></P>'; |
---|
| 96 | } |
---|
| 97 | |
---|
| 98 | ?> |
---|
| 99 | |
---|
| 100 | </td> |
---|
| 101 | </tr> |
---|
| 102 | |
---|
| 103 | </table> |
---|
| 104 | |
---|
| 105 | <table width='100%' height='100%' border='0'> |
---|
| 106 | <tr > |
---|
| 107 | <td align='center' > |
---|
| 108 | <?php echo '<iframe id=miframeflotante name=miframeflotante src='.\$fichero[0].' width=100% height=700 frameborder=0 scrolling=no marginwidth=0 marginheight=0 align=left>Tu navegador no soporta frames!!</iframe>'; |
---|
| 109 | ?> |
---|
| 110 | </td> |
---|
| 111 | </tr> |
---|
| 112 | </table> |
---|
| 113 | "); |
---|
| 114 | fclose($crearficheroinicio); |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | } |
---|
| 118 | ?> |
---|
| 119 | |
---|
[13584f9] | 120 | |
---|
| 121 | |
---|
[ae938ed] | 122 | <p><strong><?php echo $TbMsg["TITLE"] ?></strong></p> |
---|
[13584f9] | 123 | |
---|
[ae938ed] | 124 | <p><?php echo $TbMsg["DESCRIPTION"] ?> </p> |
---|
[13584f9] | 125 | |
---|
[ae938ed] | 126 | <p><?php echo $TbMsg["LICENSE"] ?> <a href="http://www.gnu.org/licenses/gpl.html" target="_blank" ><img alt="GPL v3" src="../images/gplv3-88x31.png" height="20em" /></a></p> |
---|
[13584f9] | 127 | |
---|
[dda6ab9] | 128 | <p><?php |
---|
| 129 | if (file_exists ($changelogfile)){ |
---|
| 130 | system("cp ../../doc/$buschangelog ../api"); |
---|
| 131 | echo "<strong><a href='../api/$buschangelog' target='_blank'>".$TbMsg["CHANGE"]."</a></strong>"; |
---|
| 132 | include ($versionfile);} |
---|
| 133 | ?></p> |
---|
| 134 | |
---|
[fcac41e] | 135 | <p><?php echo "<strong><a href='../api/userManual/Inicio.php' target='_blank'>".$TbMsg["MANUAL"]." (v1.0.6)</a></strong>";?></p> |
---|
[dda6ab9] | 136 | |
---|
| 137 | <p><strong><?php echo $TbMsg["LINK"]; ?> <a href="http://opengnsys.es" target="_blank" >opengnsys.es</a><strong></p> |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | |
---|
| 142 | |
---|
[13584f9] | 143 | </body> |
---|
| 144 | </html> |
---|