|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/logicswapweb/aplicaciones/admon/valores_config/ |
Upload File : |
<?php
include('./../fnc/DBConnect.php');
include('./../fnc/componente.php');
include('./../fnc/parametro.php');
include('./../fnc/vinculo.php');
include('./../fnc/UsuarioPanel.php');
include('./../fnc/bitacora.php');
include('./../fnc/aplicacion.php');
include('./../fnc/panel.php');
session_start('PanelAzulDigial');
if(!session_is_registered("panel")){
echo "<div style=\" font-family: Verdana, Arial, Helvetica, sans-serif; color: #ff4455; font-size: 16px;font-weight: bolder;\">Invalid User</div>";
echo "<div style=\" font-family: Verdana, Arial, Helvetica, sans-serif; color: #0066CC; font-size: 16px;font-weight: bolder;\"><a href=\"../../index.php\" target=\"_top\">Start session again</a></div>";
echo "<script>window.open('../../index.php','_top')</script>";
}else{
$panel->reactivarDB();
$tipo_u=$panel->usuario->tipo;
$user_u=$panel->usuario->id;
$estado_u=$panel->usuario->estado;
/*
$var=get_object_vars($panel->usuario);
foreach($var as $key=>$val){
echo $key." = ".$val."<br>";
}
echo "<br>";*/
?>
<html>
<head>
<link href="css/panel2.css" rel="stylesheet" type="text/css">
<link href="css/panel2Contenido.css" rel="stylesheet" type="text/css">
<link href="css/scrollbar.css" rel="stylesheet" type="text/css">
<link href="css/scrollbar2.css" rel="stylesheet" type="text/css">
<script>
if (history.forward(1)){location.replace(history.forward(1))}
</script>
<script>
function tipear(val){
document.frm.tipo.value=val;
}
function mgOver(obj){
var elm = document.getElementsByTagName("a");
elm[obj.id].setAttribute("class","migasover");
}
function mgOut(obj){
var elm = document.getElementsByTagName("a");
elm[obj.id].setAttribute("class","migas");
}
</script>
</head>
<body>
<script src="js/validaciones.js"></script>
<table width="610" border="0" cellspacing="2" cellpadding="2" class="listado" align="left">
<tr bgcolor="#cccccc">
<td align="left"><div align="lleft" class="migas">
<a id="migainicio" href="../contenido.php" class="migas" style="cursor:hand" title="Indice de Aplicaciones" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);">start</a> / <a id="migaindex" href="index.php" class="migas" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);">Parameters <?=$panel->nombre?></a></div></td>
</tr>
<tr>
<td align="left">
<form name="frm" action="../fnc/main.php?tarea=addParametro" onSubmit="return fncCheckForm(this,2,3,4,5);" method="post" id="frm">
<table cellspacing=1 cellpadding=0 width="100%" align="left" bgcolor=##0099CC border=0 id="campos">
<tr>
<td width="15%" bgcolor="#000099"><a onClick="javascript: document.location.href= 'index.php'" title="Volver" style="cursor:hand; width:40"><img src="img/atras.gif" style="cursor:hand "></a>
</td>
<td width="85%" class="titular1" bgcolor=#000099>Parameter </td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor=#ffffff><br>
<table width="100%" border=0 align="left" cellpadding=0 cellspacing=0 class="texto1">
<!--DWLayoutTable-->
<tr>
<td align=left> </td>
<td height="22">Type</td>
<td>Text
<input name="texto" type="radio" onClick="javascript: tipear('texto')" checked>
Number
<input name="texto" type="radio" onClick="javascript: tipear('numero')"></td>
</tr>
<tr>
<td align=left> </td>
<td height="22">Name</td>
<td><input name="nombre" type="text" class="listado" style="width:200; text-align:center " maxlength="20">
*</td>
</tr>
<tr>
<td align=left> </td>
<td height="22">Value</td>
<td><input name="valor" type="text" class="listado" style="width:200; text-align:center " maxlength="50">
*
<input type="hidden" name="tipo" value="texto"></td>
</tr>
<tr>
<td align=left width="48"> </td>
<td width="125" height="22">Description</td>
<td width="341">
<input name="descripcion" type="text" class="listado" style="width:200; text-align:center " maxlength="60">
* </td>
</tr>
<tr>
<td align=left> </td>
<td>Type of User </td>
<td><select name="tipo_usuario" class="listado">
<option value="1">ROOT</option>
<option value="2" selected>Administrator</option>
<option value="3">User</option>
</select></td>
</tr>
<tr>
<td align=left> </td>
<td colspan="2"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td align=left> </td>
<td colspan="2"><div align="center">
<input name="adicionar" type="submit" class="boton1" value="Add">
<input name="cancelar" type="button" class="boton1" onClick="javascript: document.location.href = 'index.php';" value="Cancel">
</div></td>
</tr>
<tr>
<td align=left> </td>
<td colspan="2"><!--DWLayoutEmptyCell--> </td>
</tr>
</table></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
<? }?>