<?PHP
////++++++++++++++++ CONFIGURACIÓN DE PARAMETROS ESTANTAR EN PLATAFORMA ++++++++++++++++////
$TokEn=$_GET["TokenKP"] or $TokEn=$_POST["TokenKP"];
$UsuEn=$_GET["UsuKP"] or $UsuEn=$_POST["UsuKP"];
$IDSeEn=$_GET["IdDAcce"] or $IDSeEn=$_POST["IdDAcce"];
$CtaSesionEn=$_POST['CtaSKP'] or $CtaSesionEn=$_GET['CtaSKP'];
$VpnEn=$_GET["VPN"] or $VpnEn=$_POST["VPN"];
$LtEn=$_GET["LT"] or $LtEn=$_POST["LT"];

////Conexiones y tiempos de ejecución
ini_set('max_execution_time', $LtEn);
include ("../Conections/$VpnEn.php");

echo "<script language=JavaScript> 
function xlogout(){ 
neww = window.open('LogOff_Bloq.php?UsuKP=$UsuEn&IdDAcce=$IDSeEn', '.:: Bloqueo Automático:.', config='height=80,width=150,toolbar=no,resizable=yes,menubar=no,scrollbars=yes,location=no,directories=no,status=no');
}
</script>";

/////////Identificar personalización 2
		$sqlP2 = mysql_query("select * from wms_personaliza2 where ID='1'");
		if (mysql_numrows($sqlP2)==0) echo "";
		else{
		$registroP2=mysql_fetch_array($sqlP2);
		}
		if (mysql_numrows($sqlP2)>0)
		{
		$Titulo=$registroP2["TITULO_PAGINAS"];
		}
?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="shortcut icon" href="../../WMS_Resources/images/favicon.ico">
<title><?PHP echo $Titulo; ?></title>
</head>
<body OnUnload="JavaScript:xlogout();">
<iframe name='contenedor' src="Home.php?TokenKP=<?PHP echo $TokEn;?>&UsuKP=<?PHP echo $UsuEn;?>&IdDAcce=<?PHP echo $IDSeEn;?>&CtaSKP=<?PHP echo $CtaSesionEn;?>&VPN=<?PHP echo $VpnEn;?>&LT=<?PHP echo $LtEn;?>" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe>
</body>
</html>
