KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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/catalogo/valores_config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/logicswapweb/aplicaciones/admon/catalogo/valores_config/addParametro.php
<?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');
include('./../../fnc/utileria.php');
include('./../../usuariosWeb/fnc/usuarioWeb.php');
include('./../fnc/Producto.php');
include('./../fnc/Categoria.php');
include('./../fnc/Catalogo.php');

session_start('PanelAzulDigial');
if(!session_is_registered("panel")){
	echo "<div style=\"	font-family: Verdana, Arial, Helvetica, sans-serif;	color: #0066CC;	font-size: 16px;font-weight: bolder;\">Usuario Invalido</div>";
}else{

$panel->reactivarDB();
$tipo_u=$panel->usuario->tipo;
$user_u=$panel->usuario->id;
$estado_u=$panel->usuario->estado;
?>

<link href="css/panel2Contenido.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");
}
function reLoad(obj){
	var ind = obj.selectedIndex;
	var est = obj.options[ind].value;
	document.location.href= '../l_productos.php?seleccion=<?=$seleccion?>&estado='+est;
}
function fncCheckFormSearch(form) {

	var busc = form.buscar.value;
	if(busc == '')
	{
		alert('El campo de busqueda no puede estar vacio');
		return false;
	}
	if ( !lengSpaceNess(busc) || specialChar(busc,true,true,true)) {
				alert("El campo buscar no debe de empezar o terminar con espacios en blanco, o contener caracteres diferentes a los imprimibles directamente por el teclado!");
				return false;
	}

	return true;
} 
</script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style><center>
<script src="js/validaciones.js"></script>
<table width="545" border="0" cellspacing="2" cellpadding="2" class="texto1" align="left">
    <tr bgcolor="cccccc">
        <td align="left"  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="../menu.php" class="migas" onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);"><?=ucfirst(strtolower($panel->aplicativo->nombre))?></a> /
		<a href="index.php" style="cursor:hand; text-decoration:none; font-size:11px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; color:#FFFFFF" onMouseover="this.style.color='0000FF'" onMouseOut="this.style.color='ffffFF';">Parameters <?=ucfirst($panel->aplicativo->nombre)?></a>
		/ <span class="migasactivo">Adicionar par&aacute;metro</span>
		</td>
    </tr>
    <tr>
      <td ><img src="img/menu.gif" width="49" height="22" align="top">
        <input name="tem2" type="button" class="boton1" style="width:55 "onClick="javascript: document.location.href= '../index.php'" value="Catalog">

		<input name="tem222" type="button" class="boton1" style="width:90 " onClick="javascript: document.location.href= 'index.php'" value="Parameters" <?=$userAdministrar?>></td>
    </tr>
    <tr>
      <td align="left">
		<form name="frm" target="_fra_user" 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=000099 border=0 id="campos">
              <tr bgcolor="000099" class="titular1">
                <td width="15%"><a onClick="javascript: document.location.href= 'index.php'" title="Volver" style="cursor:hand; width:40"><img src="img/atras.gif" style="cursor:hand "></a>&nbsp;
				</td>
                <td width="85%" class="nombreColum">Detalle del par&aacute;metro &nbsp;</td>
            </tr>
              <tr>
                <td colspan="2" valign="top" bgcolor=#ffffff><br>
                    <table cellspacing=0 cellpadding=0 width="96%" align="left" border=0>
                      <!--DWLayoutTable-->
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td height="22" class="texto1">Tipo</td>
                          <td class="texto1">texto
                          <input name="texto" type="radio" onclick="javascript: tipear('texto')" checked>
                          n&uacute;mero
                          <input name="texto" type="radio" onclick="javascript: tipear('numero')"></td>
                        </tr>
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td height="22" class="texto1">Nombre</td>
                          <td class="texto1"><input name="nombre" type="text" class="listado" style="width:200; text-align:center " maxlength="20"></td>
                        </tr>
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td height="22" class="texto1">Valor</td>
                          <td class="texto1"><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">&nbsp;</td>
                          <td width="125" height="22" class="texto1">Descripci&oacute;n</td>
                          <td width="341" class="texto1">
						  <input name="descripcion" type="text" class="listado" style="width:200; text-align:center " maxlength="60">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                        </tr>
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td class="texto1">Tipo de usuario</td>
                          <td class="texto1"><select name="tipo_usuario" class="listado">
                            <option value="1">Azul Digital</option>
                            <option value="2" selected>Administrador</option>
                            <option value="3">Usuario de Manejo</option>
                          </select></td>
                        </tr>
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td colspan="2" class="texto1"><!--DWLayoutEmptyCell-->&nbsp;</td>
                        </tr>
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td colspan="2"><div align="center">
                              <input name="adicionar" type="submit" class="boton1" value="Adicionar">
                              &nbsp;
                              <input name="cancelar" type="button" class="boton1" onClick="javascript: document.location.href = 'index.php';" value="Cancel">
</div></td>
                        </tr>
                        <tr>
                          <td align=left>&nbsp;</td>
                          <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
                        </tr>
                  </table></td>
              </tr>
          </table>
		</form>
	  </td>
    </tr>
   <tr><td><iframe src="" name="_fra_user" width="0" height="0" frameborder="0"></iframe></td></tr>
</table>
</center>				
<? }?>

Anon7 - 2021