Beispiel #1
0
            }
            break;
    }
}
if (trim($_GET['login']) != '') {
    require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/users.php';
    $login = pg_escape_string(trim($_GET['login']));
    $mod = intval($_GET['mod']);
    $user = new users();
    $user->GetUser($login);
    switch ($mod) {
        case 1:
            require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/projects_offers_dialogue.php';
            $cls = new projects_offers_dialogue();
            if (!is_emp($user->role)) {
                $info = $cls->FindAllUnreadMessageFrl($user->uid);
                // Для Работодателей будет другая функция
            } else {
                $info = $cls->FindAllUnreadMessageEmp($user->uid);
            }
            break;
    }
}
?>
<style>
</style>

<script>
function toggleCheckBox() {
    if($('secret').value == 0) {
        $('secret').value = 1;