summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/InventarioHardware.php
diff options
context:
space:
mode:
authoralonso <alonso@us.es>2009-11-04 12:41:19 +0000
committeralonso <alonso@us.es>2009-11-04 12:41:19 +0000
commitb0dc2e4f68d239ce72f138c47d5762973dfa851e (patch)
tree8b22fe4101e8e527f474291ed19f4446f02a2343 /admin/WebConsole/comandos/InventarioHardware.php
parenta7fa603b2d3bb05c60c61265f2bf4b561bb00ba3 (diff)
git-svn-id: https://opengnsys.es/svn/trunk@489 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/InventarioHardware.php')
-rw-r--r--admin/WebConsole/comandos/InventarioHardware.php81
1 files changed, 81 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/InventarioHardware.php b/admin/WebConsole/comandos/InventarioHardware.php
new file mode 100644
index 00000000..19d4777c
--- /dev/null
+++ b/admin/WebConsole/comandos/InventarioHardware.php
@@ -0,0 +1,81 @@
+<?
+// *************************************************************************************************************************************************
+// Aplicación WEB: ogAdmWebCon
+// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
+// Fecha Creación: Año 2003-2004
+// Fecha Última modificación: Marzo-2005
+// Nombre del fichero: InventarioHardware.php
+// Descripción :
+// Implementaci� del comando "Inventario Hardware"
+// *************************************************************************************************************************************************
+include_once("../includes/ctrlacc.php");
+include_once("../clases/AdoPhp.php");
+include_once("../includes/constantes.php");
+include_once("../includes/comunes.php");
+include_once("../includes/CreaComando.php");
+include_once("../includes/HTMLSELECT.php");
+include_once("../idiomas/php/".$idioma."/comandos/inventariohardware_".$idioma.".php");
+//________________________________________________________________________________________________________
+$fp = fopen($fileparam,"r");
+$parametros= fread ($fp, filesize ($fileparam));
+fclose($fp);
+
+$ValorParametros=extrae_parametros($parametros,chr(13),'=');
+$ambito=$ValorParametros["ambito"];
+$nombreambito=$ValorParametros["nombreambito"];
+
+$cmd=CreaComando($cadenaconexion);
+if (!$cmd)
+ Header('Location: '.$pagerror.'?herror=2'); // Error de conexióncon servidor B.D.
+//________________________________________________________________________________________________________
+?>
+<HTML>
+<TITLE>Administración web de aulas</TITLE>
+<HEAD>
+ <LINK rel="stylesheet" type="text/css" href="../estilos.css">
+ <SCRIPT language="javascript" src="./jscripts/InventarioHardware.js"></SCRIPT>
+ <SCRIPT language="javascript" src="./jscripts/comunescomandos.js"></SCRIPT>
+ <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?>
+</HEAD>
+<BODY>
+<?
+switch($ambito){
+ case $AMBITO_CENTROS :
+ $urlimg='../images/iconos/centros.gif';
+ $textambito=$TbMsg[0];
+ break;
+ case $AMBITO_GRUPOSAULAS :
+ $urlimg='../images/iconos/carpeta.gif';
+ $textambito=$TbMsg[1];
+ break;
+ case $AMBITO_AULAS :
+ $urlimg='../images/iconos/aula.gif';
+ $textambito=$TbMsg[2];
+ break;
+ case $AMBITO_GRUPOSORDENADORES :
+ $urlimg='../images/iconos/carpeta.gif';
+ $textambito=$TbMsg[3];
+ break;
+ case $AMBITO_ORDENADORES :
+ $urlimg='../images/iconos/ordenador.gif';
+ $textambito=$TbMsg[4];
+ break;
+ }
+ echo '<p align=center><span class=cabeceras>'.$TbMsg[5].'&nbsp;</span><br>';
+ echo '<IMG src="'.$urlimg.'">&nbsp;&nbsp;<span align=center class=subcabeceras><U>'.$TbMsg[6].': '.$textambito.','.$nombreambito.'</U></span>&nbsp;&nbsp;</span></p>';
+?>
+<BR>
+<BR>
+<?
+//________________________________________________________________________________________________________
+include_once("../includes/opcionesacciones.php");
+//________________________________________________________________________________________________________
+//________________________________________________________________________________________________________
+include_once("../includes/opcionesbotones.php");
+//________________________________________________________________________________________________________
+//________________________________________________________________________________________________________
+include_once("../includes/iframecomun.php");
+//________________________________________________________________________________________________________
+?>
+</BODY>
+</HTML>