Example #1
0
 function sessionPrt()
 {
     header("Content-type:application/json");
     Auth::revisar();
     $json = new Services_JSON();
     $objeto->sessionTime = $_SESSION["auth_time"];
     echo $json->encode($objeto);
 }
Example #2
0
<?php

require_once 'includes/autoload.php';
$auth = new Auth();
if (!$auth->revisar()) {
    header("Location: index.php");
}
include "skin.php";
arriba();
?>

<?php 
abajo();
Example #3
0
<?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 ) )
    {
Example #4
0
<?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%">&nbsp;</td>
    <td width="15%">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="10%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</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&iacute; para abrir manual</strong></span>
        </a>
    </p></td>
    <td>&nbsp;</td>
  </tr>