openstamanager/include/bottom.php

55 lines
1.6 KiB
PHP

<?php
include_once __DIR__.'/../core.php';
if (Auth::check()) {
echo '
</div><!-- /.row -->
</section><!-- /.content -->
</aside><!-- /.content-wrapper -->
<footer class="main-footer">
<span class="pull-right hidden-xs">
<strong>'._('Versione').' '.$version.'</strong>
<small class="text-muted">('.(!empty($revision) ? 'R'.$revision : _('In sviluppo')).')</small>
</span>
'._('OpenSTAManager').'
</footer>
<div class="modal fade" id="bs-popup" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false"></div>
<div class="modal fade" id="bs-popup2" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false"></div>
<a href="#" id="back-to-top">
<span><i class="fa fa-2x fa-chevron-up"></i></span>
</a>';
}
echo '
</div><!-- ./wrapper -->';
if (Auth::check()) {
if (!empty($_SESSION['keep_alive'])) {
echo '
<script> setInterval("session_keep_alive()", 5*60*1000); </script>';
}
if (get_var('CSS Personalizzato') != '') {
echo '
<style>'.get_var('CSS Personalizzato').'</style>';
}
if (!empty($debugbarRenderer)) {
echo $debugbarRenderer->render();
}
}
echo '
<script>
// Rimozione del messaggio automatico riguardante la modifica di valori nella pagina
window.onbeforeunload = null;
</script>
</body>
</html>';
unset($_SESSION['infos']);
unset($_SESSION['errors']);
unset($_SESSION['warnings']);