Files
pannello/core/top.php
2017-10-01 17:22:47 +02:00

53 lines
1.7 KiB
PHP
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Pannello</title>
<meta charset="utf-8">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="js/datepicker-it.js"></script>
<script type="text/javascript">
$(function() {
$( "#datepicker" ).datepicker( $.datepicker.regional[ "it" ] );
$(".data:input").datepicker({
changeMonth : true,
changeYear : true,
minDate : "-90Y",
maxDate: "+1Y",
yearRange: "1940:2050"
});
});
</script>
</head>
<body>
<link rel="stylesheet" type="text/css" href="<?php print $CONF['base_url'] ?>/css/stile.css" />
<?php
$tabella_ext = new html (0,"1000", array(0),"center");
if ($UTENTE['utente'] != '') { ?>
<tr><td>
<?php
$tabella = new html (0,"100%",array(33, 33, 0));
?>
<tr bgcolor="#FFC350">
<td nowrap class="ltop">Utente: <?php print $_SESSION['username'] ?></td>
<td nowrap class="ctop"><?php if ($MODULO['nome'] != "") print "Modulo: ".$MODULO['nome'] ?></td>
<td nowrap class="rtop"><a class="rtop" href="<?php print $CONF['base_url'] ?>/core/logout.php">Logout</a></td>
</tr>
<?php $tabella->close(); ?>
</td></tr>
<tr><td class="spaziov" colspan=2><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td></tr>
<tr><td align="center">
<?php
lista_moduli();
} else {?>
<tr bgcolor="#FFC350"><td>&nbsp;</td></tr>
<?php } ?>
</td></tr>
<tr><td class="spaziov" colspan=2><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td></tr>
<tr><td align="center">