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/noticias/tb_parametrica/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/logicswapweb/aplicaciones/admon/noticias/tb_parametrica/parametros.php
<?            
	 include("../../generales/config_panel.php");
	 include("../../generales/config_permisos.php");
	 include("../../generales/operabd.php");
	 include("../tb_noticias/met_noticias.php");
	 include("met_parametrica.php");
	 $num_paginas = numpagparametros($numlineas);
	 if(!isset($pagina))	$pagina=1;
	if(isset($parametrica_id)) list($grupo, $parametrica_id) = explode(';',$parametrica_id);
	if(isset($eliparametro))
		if($eliparametro==1) 
			if(vergrupo($parametrica_id)){ //para poderse eliminar, debe pertenecer al grupo nt_temas
				eli_parametro($parametrica_id);
				eli_nottema($parametrica_id);
			}else
				echo "<script> alert ('Este par�metro no se puede eliminar');</script>";
			
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Parametros</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../../css/panel2.css" rel="stylesheet" type="text/css">
<link href="../../css/panel2Contenido.css" rel="stylesheet" type="text/css">
<link href="../../css/scrollbar2.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="610" border="0" align="left" cellpadding="0" cellspacing="1">
	<tr valign="top" bgcolor="#FFFFFF">
		<td width="100%" height="20" bgcolor="#CCCCCC" class="migasactivo">
		  <a id="iniMenu" class="migas" href="../../contenido.php" style="cursor:hand; " onMouseOver="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);" title="Indice de Aplicaciones">Beginning</a>
		  <span class="migas">/</span> 
		  <a id="op1Menu" class="migas" href="../menu.php" style="cursor:hand; " onMouseover="javascript: mgOver(this);" onMouseOut="javascript: mgOut(this);;" title="Men� de Noticias">Menu</a>
		  <span class="migas">/</span> Par�metros
	</tr>
	<tr>
	  <td height="30" colspan="4"><? btn_aplnoticias($apl_permisos);?></td>
  </tr>
	<tr>
	  	<td colspan="4" class="texto1">Selecione el tema para: Modificar o Eliminar </td>
	</tr>
	<tr>
    <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
			<tr align="center" class="filatitulo">
			  <td width="2%" bgcolor="#000099" ><div align="left" class="nombreColum"><b><a onClick="javascript: document.location.href= '../menu.php'" title="Volver" style="cursor:hand; width:40"><img src="../../img/atras.gif" style="cursor:hand "></a></b></div></td>
				<td width="20%" bgcolor="#000099" class="titular1">Identificador</td>
				<td width="60%" bgcolor="#000099" class="titular1">Descripcion</td>
				<td width="18%" bgcolor="#000099" class="titular1">Seleccionar</td>
			</tr>	
			<form name="form1">
			<?            
				 listar_parametros($pagina, $numlineas);
			?>
			<input name="parametrica_id" type="hidden" id="parametrica_id" value="0">
			<input name="eliparametro" type="hidden" id="eliparametro" value="0">
			</form>
			<tr align="center" class="filatitulo">
			  <td width="2%" bgcolor="#000099"><div align="left" class="nombreColum"><b></b></div></td>
				<td width="20%" bgcolor="#000099">&nbsp;</td>
				<td width="60%" bgcolor="#000099">&nbsp;</td>
				<td width="18%" bgcolor="#000099" >&nbsp;</td>
			</tr>	
		</table>
	</td>
	</tr>
	<tr>
         <td height="25" >
        	<?           
             btn_operparametrica($arrpermisos);
          	?>
		 </td>
	</tr>
	<?    
		if ($num_paginas>1){       
	?>
	<tr>
		<td colspan="4" align="center">
			<div><form name="form2"><p class="normal">
          		<img src="../../img/iconosAndres/inicio1.gif" width="20" height="20" title="Inicio" onClick="window.location.href = 'parametros.php?pagina=1'" <? if($pagina==1) echo " disabled";?>>&nbsp;          
          		<img src="../../img/iconosAndres/atras1.gif" width="20" height="20" title="Atras" onClick="window.location.href = 'parametros.php?pagina=<? echo $pagina-1;?>'" <? if($pagina==1) echo " disabled";?>> &nbsp;pg
				<input type="text"	class="listado"	name="pagina"  size="3" maxlength="4" style="text-align:center " value="<? echo $pagina;?>" onKeyPress="return acceptNum(event, <? echo $num_paginas;?> );" <? if($num_paginas == 0) echo "disabled";?>>
					<font class="texto1">de <? echo $num_paginas;?></font>&nbsp;
		  		<img src="../../img/iconosAndres/adelante1.gif" width="20" height="20" title="Siguiente" onClick="window.location.href = 'parametros.php?pagina=<? echo $pagina+1;?>'" <? if($pagina==$num_paginas || $num_paginas==1) echo " disabled";?>>&nbsp;
          		<img src="../../img/iconosAndres/ultimo1.gif" width="20" height="20" title="Ultimo" onClick="window.location.href = 'parametros.php?pagina=<? echo $num_paginas;?>'" <? if($pagina==$num_paginas || $num_paginas==1) echo " disabled";?>>        
            </p>
			</form></div>
		</td>
	</tr>
	<?    
		}//fin de if ($num_paginas>1)       
	?>
</table>
</body>
<script src="../../generales/genjavascript.js" language="javascript"></script>
<script> 
function llama_pagina(opcion){
	if(opcion==1)		window.location.href='adi_temas.php';
	if(opcion==2 || opcion==3 || opcion==4 ){
		identificador=GetRadioValue( document.form1.seleccion ); 
		if(identificador==null) alert('Debe seleccionar un par�metro');
		else
			if(opcion==3)	window.location.href='mod_parametros.php?identificador='+identificador;
	}
}
function valseleccion2(radioObject){
    var valor = GetRadioValue( document.form1.seleccion );	
	if(valor == null){
	   alert("Debe Seleccionar el par�metro a eliminar"); 
	   return false;
	}
	else
	   if(confirm("Se perderan todos los datos, �Desea continuar?")){ 
	     document.form1.parametrica_id.value = valor;
		 document.form1.eliparametro.value = '1';
	     document.form1.submit();  
	   }
	   else
	     return false;
}
</script> 
</html>

Anon7 - 2021