Location: PHPKode > projects > ConPortal > conportal/m/index.php
<?php
require_once('../standard.php');

if (!isset($_SESSION['pid']) or !isset($_SESSION['username']) or
    !isset($_SESSION['ldap']))
{
    xhtml_mobile_header('Please login');
    if (isset($_GET['loginfailed']))
        echo "    <div class='warn'>Login Failed.</div>\n";
    if (isset($_GET['acctdisabled']))
        echo "    <div class='warn'>Account Disabled.</div>\n";
        
    if (isset($_GET['page']))
        printMobileLoginForm($_GET['page']);
    else
        printMobileLoginForm();
?>
<script type='text/javascript'>
<!--
/* Focus the 'user' form element by default */
x = document.getElementById('user');
x.focus();
-->
</script>
<?
    exit;
}
xhtml_mobile_header('HelpDesk mobile page');

index_clocked_in();
index_people_on_duty();
?>

<a href="../redirects/logout.php">Logout</a>
</body>
</html>
Return current item: ConPortal