Exemple #1
0
* On Debian GNU/Linux systems, the complete text of the GNU General
* Public License can be found in `/usr/share/common-licenses/GPL-2'.
*
* Otherwise you can read it here: http://www.gnu.org/licenses/gpl-2.0.txt
*
*/
require_once 'av_init.php';
//Check active session
Session::useractive();
// Login parameter probably deprecated
$login = GET('login');
ossim_valid($login, OSS_USER, 'illegal:' . _("Login"));
if (ossim_error()) {
    die(ossim_error());
}
if (Mobile::is_mobile_device() && isset($login)) {
    $_POST['login'] = $login;
}
$screen = GET("screen");
if ($screen == "logout") {
    //header('Location: /ossim/session/login.php?action=logout');
    ?>
    <script type="text/javascript">
         location.href='/ossim/session/login.php?action=logout';
    </script> 
    <?php 
    die("");
}
function get_siem_events($conn, $date, $pid = 0, $sid = 0)
{
    $data = array();
Exemple #2
0
                    $('#submit_button').addClass('av_b_processing');
                    $('#pass').val($.base64.encode($('#passu').val()));
                });

                <?php 
}
?>
        });

    </script>
</head>

<body>

    <?php 
if (Mobile::is_mobile_device()) {
    ?>
        <div id='c_login'>
            <form method="POST" id='f_login' name='f_login' action="login.php">
                <table align="center" class='noborder'>
                    <tr>
                        <td class="noborder">
                            <table align="center" class="noborder">
                                <tr>
                                    <td class="noborder" style="text-align:center;padding:30px 20px 3px 20px">
                                        <img src="/ossim/pixmaps/<?php 
    echo $b_logo;
    ?>
" border='0'/>
                                    </td>
                                </tr>
* along with this package; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
* MA  02110-1301  USA
*
*
* On Debian GNU/Linux systems, the complete text of the GNU General
* Public License can be found in `/usr/share/common-licenses/GPL-2'.
*
* Otherwise you can read it here: http://www.gnu.org/licenses/gpl-2.0.txt
*
*/
require_once 'av_init.php';
//Check active session
Session::useractive();
set_time_limit(180);
if (Mobile::is_mobile_device() && isset($_GET['login'])) {
    $_POST['login'] = $_GET['login'];
}
$screen = GET("screen");
if ($screen == "logout") {
    //header('Location: /ossim/session/login.php?action=logout');
    ?>
    <script type="text/javascript">
         location.href='/ossim/session/login.php?action=logout';
    </script> 
    <?php 
    die("");
}
function html_service_level($conn)
{
    global $user;