$cpSinCoor = "f";
if (isset($_REQUEST["cpSinCoor"]))
	$cpSinCoor = $_REQUEST["cpSinCoor"];

$departamento = "";
if (isset($_REQUEST["departamento"]))
	$departamento = $_REQUEST["departamento"];

$localidad = "";
if (isset($_REQUEST["localidad"]))
	$localidad = $_REQUEST["localidad"];
?>
<html>
	<head>
		<?php 
echo GetHead("Códigos Postales", array("grid.css?today=" . date("Ymd"), "style.css?today=" . date("Ymd")));
?>
		<script src="/modules/regiones_sanitarias/js/regiones_sanitarias.js?rnd=<?php 
echo date("Ymdhisu");
?>
" type="text/javascript"></script>
	</head>
	<body>
		<iframe id="iframeProcesando" name="iframeProcesando" src="" style="display:none;"></iframe>
		<form action="<?php 
echo $_SERVER["PHP_SELF"];
?>
" id="formBuscar" method="get" name="formBuscar">
			<input id="id" name="id" type="hidden" value="<?php 
echo $_REQUEST["id"];
?>
Example #2
0
$ano = date("Y");
$user = $_SESSION["identidad"];
$params = array(":evaluador" => $user, ":ano" => $ano);
$sql =
	"SELECT 1
		 FROM rrhh.hue_usuarioevaluacion
		WHERE ue_evaluador = UPPER(:evaluador)
			AND ue_anoevaluacion = :ano";
$esEvaluador = (ValorSql($sql, -1, $params) == 1);

$permisoCambioIdentidad = array("ALAPACO", "GLANCHA", "VDOMINGUEZ", "VLOPEZ");
?>
<html>
<head>
	<?php 
echo GetHead("Sistema de Evaluación de Desempeño", array("style.css?today=" . date("Ymd")));
?>
	<link rel="stylesheet" href="/js/popup/dhtmlwindow.css" type="text/css" />
	<script src="/js/popup/dhtmlwindow.js" type="text/javascript"></script>
	<script language="JavaScript" src="js/evaluacion.js?rnd=<?php 
echo time();
?>
"></script>
	<script>
		function cambiarAno() {
			cambiarUsuarioAEvaluar('<?php 
echo $user;
?>
', document.getElementById('Ano').value);
		}
	</script>
Example #3
0
require_once $_SERVER["DOCUMENT_ROOT"] . "/../Common/miscellaneous/general.php";
$modulePath = "/Modules/Permisos/";
$params = array(":usuario" => GetWindowsLoginName());
$sql = "SELECT 1\n\t\t FROM use_usuarios\n\t\tWHERE se_usuario IN ('ALAPACO', 'FPEREZ')\n\t\t\tAND UPPER(se_usuario) = UPPER(:usuario)";
if (!ExisteSql($sql, $params)) {
    ShowError('Permisos', "Usted no tiene permiso para ingresar a esta página.");
    exit;
}
$params = array(":id" => $_REQUEST["pageid"]);
$sql = "SELECT pi_nombre\n\t\t FROM web.wpi_paginasintranet\n\t\tWHERE pi_id = :id";
$pageName = str_replace('%s', ValorSql($sql, "", $params), GetPageTitle(3));
?>
<html>
<head>
<?php 
echo GetHead($pageName, array("style.css"));
?>
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<meta http-equiv="Pragma" content="no-cache" />
	<script language="JavaScript" src="<?php 
echo $modulePath;
?>
js/permisos.js"></script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" id="tableMain" width="100%">
	<tr>
		<td align="center" class="TituloHeaderNegro"><?php 
echo substr($pageName, 0, strpos($pageName, ':') - 1);
?>
<?
require_once($_SERVER["DOCUMENT_ROOT"]."/constants.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/functions/general.php");

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); // always modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0
?>
<html>
<head>
<?php 
echo GetHead("Sistema de Evaluación de Desempeño " . $_REQUEST["ano"], array("style.css?today=" . date("Ymd")));
?>
<script language="JavaScript" src="js/objetivos.js"></script>
</head>
<body bgcolor="#AFC2BE" bottommargin="5" leftmargin="5" rightmargin="5" style="margin-top: 5px;">
<form action="procesar_objetivos.php" enctype="multipart/form-data" id="formObjetivos" method="post" name="formObjetivos" target="_self" onSubmit="return validarFormObjetivos(formObjetivos)">
<input id="FormularioId" name="FormularioId" type="hidden" value="<?php 
echo $_REQUEST["formularioid"];
?>
">
<input id="Id" name="Id" type="hidden" value="<?php 
echo $_REQUEST["id"];
?>
">
<input id="Num" name="Num" type="hidden" value="<?php 
echo $_REQUEST["num"];
?>
">
Example #5
0
<?php

require_once $_SERVER["DOCUMENT_ROOT"] . "/constants.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/../Common/database/db.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/functions/general.php";
if ($_REQUEST["tipo"] == "C") {
    $path = IMAGES_ENCUESTAS_CABECERA_PATH;
}
if ($_REQUEST["tipo"] == "O") {
    $path = IMAGES_ENCUESTAS_OPCIONES_PATH;
}
?>
<html>
	<head>
		<?php 
echo GetHead("Imagen de encuesta", array("style.css", "new_style.css"));
?>
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<meta http-equiv="Pragma" content="no-cache" />
		<script>
			function showPicture() {
				document.getElementById('imagen').src = '<?php 
echo "/functions/get_image.php?file=" . base64_encode($path . $_REQUEST["file"]);
?>
';
			}
		</script>
	</head>
	<body onLoad="showPicture()">
		<img border="0" id="imagen" src="" />
Example #6
0
<?
    include('mylib.php');
    $LANG_LIST = GetLangList();
        
    $SITE = $_REQUEST['site'];
    if (empty($SITE)){
        $SITE = "index";
    }
    
    $LANG = $_REQUEST['lang'];
    if (empty($LANG)){
        $LANG = 'en';
    }
    
    GetHead($LANG, $SITE, $LANG_LIST);
    GetSite($LANG, $SITE, $LANG_LIST);
    
?>
<div class="Footer">
    Hosted by:
    <a href="http://developer.berlios.de" title="BerliOS Developer">
        <img src="http://developer.berlios.de/bslogo.php?group_id=3237"
             width="124px"
             height="32px"
             border="0"
             alt="BerliOS Developer">
    </a>
</div>
<!-- To help a friend //-->
<div style="display:none;">
	<a href="http://www.23inch.de">23 Inch</a>
<?
require_once($_SERVER["DOCUMENT_ROOT"]."/constants.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/../Classes/provart/grid.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/../Common/database/db.php");
require_once($_SERVER["DOCUMENT_ROOT"]."/functions/general.php");
?>
<html>
	<head>
	<?php 
echo GetHead("Prestadores", array("grid.css?today=" . date("Ymd"), "style.css?today=" . date("Ymd")));
?>
	</head>
	<body>
		<iframe id="iframeProcesando" name="iframeProcesando" src="" style="display:none;"></iframe>
		<div align="center" id="divContent" name="divContent">
<?
$showProcessMsg = false;

$pagina = 1;
if (isset($_REQUEST["pagina"]))
	$pagina = $_REQUEST["pagina"];

$ob = 3;
if (isset($_REQUEST["ob"]))
	$ob = $_REQUEST["ob"];

$params = array(":codpostal" => $_REQUEST["cp"], ":especialidad" => $_REQUEST["prestador"]);
$sql =
	"SELECT NULL ¿id?,
					¿ca_identificador?,
					¿ca_nombrefanta?,
Example #8
0
<?php

require_once $_SERVER["DOCUMENT_ROOT"] . "/constants.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/../Common/database/db.php";
require_once $_SERVER["DOCUMENT_ROOT"] . "/functions/general.php";
validarParametro(isset($_REQUEST["nombrefoto"]));
?>
<html>
	<head>
	<?php 
echo GetHead(GetPageTitle(2), array("style.css?today=" . date("Ymd")));
?>
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<meta http-equiv="Pragma" content="no-cache" />
		<script>
		function ShowPicture() {
			if (window.opener.document.getElementById('NombreFoto').value == '') {
				window.moveTo(20000, 20000);
				window.resizeTo(1, 1);
				if (window.opener.document.getElementById('Nombre').innerText == '')
					alert('Debe seleccionar un usuario primero.')
				else
					alert(window.opener.document.getElementById('Nombre').innerText + ' no tiene ninguna foto cargada.');
				window.close();
			}

			document.getElementById('foto').src = '<?php 
echo "/functions/get_image.php?file=" . base64_encode(IMAGES_FOTOS_PATH . $_REQUEST["nombrefoto"]);
?>
';
Example #9
0
// **   FIN VALIDACIÓN   **
$pageid = -1;
if (isset($_REQUEST["pageid"])) {
    $pageid = intval($_REQUEST["pageid"]);
}
$hasPermiso = HasPermiso($pageid);
if ($pageid != -1 and !$hasPermiso) {
    ShowError(GetPageName($pageid), "Usted no tiene permiso para ingresar a esta página.");
    exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<?php 
echo GetHead(GetPageTitle($pageid), array("style.css", "new_style.css"));
?>
		<script>
			var _x_en_div;
			var _y_en_div;
			var _x;
			var _y;
			var isCtrl = false;
			var isIE = document.all?true:false;

			document.onmousemove = getMousePosition;


			function getMousePosition(ev) {
				if (isIE) {
					_x = event.clientX + document.body.scrollLeft;