forked from qwerty/tupali
pull de los ultimos cambios de fredy
This commit is contained in:
commit
54899aa842
24
index.php
24
index.php
@ -1,5 +1,5 @@
|
|||||||
<?php session_start();
|
<?php session_start();
|
||||||
//ini_set('display_errors', 'On');
|
|
||||||
if(isset($_REQUEST['debug'])) {
|
if(isset($_REQUEST['debug'])) {
|
||||||
print_r( $_SESSION );
|
print_r( $_SESSION );
|
||||||
ini_set('display_errors', 'On');}
|
ini_set('display_errors', 'On');}
|
||||||
@ -13,7 +13,12 @@ if(isset($_REQUEST['debug'])) {
|
|||||||
require ("milfs/includes/markdown.php");
|
require ("milfs/includes/markdown.php");
|
||||||
require ("milfs/includes/parametrizacion.php");
|
require ("milfs/includes/parametrizacion.php");
|
||||||
require ("milfs/includes/simple_html_dom.php");
|
require ("milfs/includes/simple_html_dom.php");
|
||||||
$xajax->processRequests(); ?>
|
$xajax->processRequests();
|
||||||
|
|
||||||
|
$timestamp=time();
|
||||||
|
setcookie("timestamp",$timestamp,($timestamp + 5000));
|
||||||
|
$_SESSION['timestamp']= $timestamp;
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head >
|
<head >
|
||||||
@ -1133,7 +1138,16 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
|
|||||||
|
|
||||||
;}
|
;}
|
||||||
|
|
||||||
|
if(isset($_SESSION['id'])){
|
||||||
|
$form_tiempo_session = "
|
||||||
|
<li>
|
||||||
|
<form name='form_session' class='navbar-form navbar-left'>
|
||||||
|
<div class='input-group'>
|
||||||
|
<input type='text' name='tiempo_session' size='30' class='form-control input-sm' readonly>
|
||||||
|
<span class='input-group-addon'><a href='#' onclick=\"location.reload();\" title='Renovar'>Reload</a></span>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</li> "; } else{ $form_tiempo_session = "";}
|
||||||
if($tema=="") {
|
if($tema=="") {
|
||||||
|
|
||||||
$barra="
|
$barra="
|
||||||
@ -1166,6 +1180,7 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
|
|||||||
".aplicaciones_listado("$id_empresa",'','nav','')."
|
".aplicaciones_listado("$id_empresa",'','nav','')."
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
$form_tiempo_session
|
||||||
</ul>
|
</ul>
|
||||||
<ul id='menu_social' class='nav navbar-nav navbar-right'>
|
<ul id='menu_social' class='nav navbar-nav navbar-right'>
|
||||||
|
|
||||||
@ -1258,6 +1273,7 @@ $menu_lateral = "
|
|||||||
$soporte
|
$soporte
|
||||||
<li><a href='https://twitter.com/$twitter[0]'><i class='icon-twitter'></i></a></li>
|
<li><a href='https://twitter.com/$twitter[0]'><i class='icon-twitter'></i></a></li>
|
||||||
<li><a href='https://www.facebook.com/$facebook[0]'><i class='icon-facebook'></i></a></li>
|
<li><a href='https://www.facebook.com/$facebook[0]'><i class='icon-facebook'></i></a></li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -1333,7 +1349,7 @@ document.oncopy = addLink;
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body data-spy="scroll" data-target="#toc">
|
<body data-spy="scroll" data-target="#toc" onload="revisarSession()"; >
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user