<?php require_once __DIR__ . '/code/getCustomSettings.php'; require_once __DIR__ . '/code/authenticationAndSecurity.php'; $authenticationAndSecurity = new authenticationAndSecurity(); $cookies = $authenticationAndSecurity->getBrowserCookies(); ?> <!DOCTYPE html> <head> <script type="text/javascript" src="js/bootstrap/bootstrap-3.3.7-dist/bootstrap.min.js"></script> <link rel="stylesheet" href="css/bootstrap/bootstrap-3.3.7-dist/bootstrap.min.css"> <link rel="stylesheet" href="css/bootstrap/bootstrap-3.3.7-dist/bootstrap-theme.min.css"> </head> <html> <body> <?php if ($authenticationType === 'password') { ?> <header> <?php require_once __DIR__ . '/header.phtml'; ?> </header> <?php } else { ?> <?php if ($cookies === null) { ?> <form action="code/youtrackLogin.php" method="post" enctype="multipart/form-data"> <h1>Login</h1>