}
                    } else {
                        jQuery('#adminButton').addAttr("disabled", "disabled");
                    }
                });
            });
        </script>

    </html>
    <?php 
} elseif ($_SESSION['is_super'] == 0) {
    if ($_POST['createuser'] == 1) {
        $admin->_createUser();
    }
    if ($_GET['check'] == 1) {
        $admin->_checkUser($_GET['email']);
    }
    ?>
    <!DOCTYPE html>
    <html lang = "en">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <meta name="description" content="">
            <meta name="author" content="">
            <title>Tracker | Add Admin</title>
            <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
            <link href="bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
            <link href="dist/css/sb-admin-2.css" rel="stylesheet">
            <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">