function sessionPrt() { header("Content-type:application/json"); Auth::revisar(); $json = new Services_JSON(); $objeto->sessionTime = $_SESSION["auth_time"]; echo $json->encode($objeto); }
<?php require_once 'includes/autoload.php'; $auth = new Auth(); if (!$auth->revisar()) { header("Location: index.php"); } include "skin.php"; arriba(); ?> <?php abajo();
<?php require_once 'includes/autoload.php'; $auth = new Auth(); if ($auth->revisar()) { header("Location: inicio.php"); } ?> <!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" /> <title>Universidad IEST :: Gestor de contenidos</title> <link href="login-box.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="scriptaculous/lib/prototype.js"></script> <script language="javascript" src="js/funciones.js"></script> <!--[if lt IE 7]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> <script type="text/javascript"> Event.observe(window, 'load', function(){ try{$('user').focus();} catch(e){} } ); function validacion() { if( isBlank($('user').value) || isBlank( $('pass').value ) ) {
<?php require_once '../includes/hfw/auto_load.php'; if (!Auth::revisar()) { echo "JSManager.carga('sesion');"; exit; } header("Cache-Control: no-store, no-cache, must-revalidate"); ?> <table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="width:100%;height:100%;"> <tr> <td width="10%"> </td> <td width="15%"> </td> <td> </td> <td width="10%"> </td> </tr> <tr> <td> </td> <td align="center"><img src="../images/lock_128.png" /></td> <td><p >Tu navegador tiene bloqueadas las ventanas emergentes.</p> <p> <a onclick="javascript:var href=this.href; this.href='javascript:window.open(href);';" href="<?php echo $_REQUEST["url"]; ?> "> <span ><strong>Click aquí para abrir manual</strong></span> </a> </p></td> <td> </td> </tr>