forked from qwerty/tupali
solo se muestra el controlador de session si se esta logueado
This commit is contained in:
parent
2313a1ad11
commit
fe90f27d88
12
index.php
12
index.php
@ -1699,12 +1699,20 @@ $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
|
|||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="librerias/landingjs/scripts_landing.js"></script>
|
<script type="text/javascript" src="librerias/landingjs/scripts_landing.js"></script>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if(isset($_SESSION['id'] )) {
|
||||||
|
echo "
|
||||||
<form name='form_session' class='navbar-form navbar-left'>
|
<form name='form_session' class='navbar-form navbar-left'>
|
||||||
<div class='input-group'>
|
<div class='input-group'>
|
||||||
<input type='text' name='tiempo_session' size='18' class='form-control input-sm' readonly>
|
<input type='text' name='tiempo_session' size='18' class='form-control input-sm' readonly>
|
||||||
<span class='input-group-addon'><a href='#' onclick="location.reload();" title='Renovar'> <i class='fa fa-refresh' aria-hidden='true'></i></a></span>
|
<span class='input-group-addon'><a href='#' onclick=\"location.reload();\" title='Renovar'> <i class='fa fa-refresh' aria-hidden='true'></i></a></span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>";
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('.navbar-collapse a').click(function(){
|
$('.navbar-collapse a').click(function(){
|
||||||
$(".navbar-collapse").collapse('hide');
|
$(".navbar-collapse").collapse('hide');
|
||||||
|
Loading…
Reference in New Issue
Block a user