source: admin/WebConsole/principal/acercade.php @ 2a0c332

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 2a0c332 was 2a0c332, checked in by Irina Gómez <irinagomez@…>, 7 years ago

#867 La ayuda incluye información de las funciones, engine.cfg, changelog, etc

  • Property mode set to 100644
File size: 3.7 KB
Line 
1<?php
2//********************************************************************
3// Descripción :
4//              Pagina de informacion sobre el proyecto OpenGnsys
5//********************************************************************
6include_once("../includes/ctrlacc.php");
7include_once("../idiomas/php/".$idioma."/acercade_".$idioma.".php");
8
9?>
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">
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" />
21
22<h1><img alt="OpenGnsys" src="../images/iconos/logoopengnsys.png" /></h1>
23
24<p>
25<?php
26// Añadir versión.
27$data = json_decode(@file_get_contents(__DIR__ . '/../../doc/VERSION.json'));
28if (empty($data->project)) {
29    echo "OpenGnsys";
30} else {
31    echo @$data->project.' '
32        .@$data->version.' '
33        .(isset($data->codename) ? '(<a href="'.@$data->definition.'" target="_blank">'.$data->codename.'</a>) ' : '')
34        .@$data->release;
35}
36?>
37</p>
38<?php
39// Añadir CHANGELOG.
40$buschangelog=exec('ls ../../doc | grep CHANGELOG*', $nombrechange);
41$changelogfile="../../doc/".$buschangelog;
42?>
43<?php
44// Añadir Manual.
45$usermanual="../../doc/userManual";
46$destdir="../api/userManual";
47if (file_exists ($usermanual)){
48// Copiamos el directorio userManual
49system("rm -fr $destdir; cp -a $usermanual $destdir");
50// Creamos el Inicio del Manual
51// Añadimos instrucciones
52$ficheroinicio="$destdir/Inicio.php";
53system("touch $ficheroinicio");
54
55$crearficheroinicio=fopen($ficheroinicio,"w");
56fwrite($crearficheroinicio,"
57<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
58<html>
59<head>
60<title> Administración web de aulas </title>
61<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'>
62<link rel='stylesheet' type='text/css' href='../estilos.css' />
63</head>
64
65<body class='acercade'>
66<table width='100%' border='0'>
67  <tr>
68    <td width='30%'><p><img src='../../images/acercade.png' alt='*' hspace='10em' vspace='10em' align='left' /></p>
69    <p>&nbsp;</p>
70    <p>&nbsp;</p>
71    <p>&nbsp;</p>
72    <p>&nbsp;</p>
73    <p><img alt='OpenGnsys' src='../../images/iconos/logoopengnsys.png' /></p></td>
74    <td width='61%'>
75   
76<p>
77
78
79
80<?php
81\$directorio = opendir('.'); //ruta actual
82while (\$archivo = readdir(\$directorio)) //obtenemos un archivo y luego otro sucesivamente
83{
84    if (is_dir(\$archivo))//verificamos si es o no un directorio
85    {
86                if (\$archivo == '.' || \$archivo == '..')
87                {}else{
88                        echo '['.\$archivo . ']<br />'; //de ser un directorio lo envolvemos entre corchetes
89                }
90    }
91    else
92    {
93                if (\$archivo == 'Inicio.php' || \$archivo == '.' || \$archivo == '..')
94                {}else{
95                        \$fichero[] = \$archivo;
96                        }
97    }
98}
99sort(\$fichero);
100foreach (\$fichero as \$ficheros) {
101        echo '<P><a href='.\$ficheros.' target=miframeflotante  >'.\$ficheros.'</a></P>';
102}
103
104?>
105
106    </td>
107  </tr>
108
109</table>       
110
111<table width='100%' height='100%' border='0'>
112  <tr >
113    <td align='center' >
114    <?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>';
115        ?>   
116    </td>
117  </tr>
118</table>
119");
120fclose($crearficheroinicio);
121
122
123}
124?>
125
126
127
128<p><strong><?php echo $TbMsg["TITLE"] ?></strong></p>
129
130<p><?php echo $TbMsg["DESCRIPTION"] ?> </p>
131
132<p><?php echo $TbMsg["LICENSE"] ?> <a href="https://www.gnu.org/licenses/gpl.html"  target="_blank" ><img alt="GPL v3"  src="../images/gplv3-88x31.png" height="20em" /></a></p>
133
134</body>
135</html>
Note: See TracBrowser for help on using the repository browser.