All checks were successful
		
		
	
	Build and Deploy Zola Website / build_and_deploy (push) Successful in 13s
				
			
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<!doctype html>
 | 
						|
<html>
 | 
						|
  <head>
 | 
						|
    <meta charset="UTF-8">
 | 
						|
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
						|
    <meta name="author" content="Filip Rojek | http://filiprojek.cz">
 | 
						|
    <meta name="email" content="webmaster(@)fofrweb.com">
 | 
						|
    <meta name="copyright" content="(c) filiprojek.cz">
 | 
						|
    <title>Fuel Stats<?= isset($data['title']) ? " | " . $data['title'] : "" ?></title>
 | 
						|
    <link rel="stylesheet" href="/css/main.css">
 | 
						|
    <link rel="stylesheet" href="/css/global.css">
 | 
						|
    <link rel="stylesheet" href="/css/vars.css">
 | 
						|
    <link rel="stylesheet" href="/css/header.css">
 | 
						|
    <link rel="icon" type="image/x-icon" href="/img/favicon.ico">
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <header>
 | 
						|
      <div id="hd-left">
 | 
						|
        <a href="/"><img src="/img/logo.jpg" alt="home"></a>
 | 
						|
        <label><?= isset($data['title']) ? $data['title'] : "" ?></label>
 | 
						|
      </div>
 | 
						|
      <div id="hd-right">
 | 
						|
        <?php if (!isset($_SESSION['user'])): ?>
 | 
						|
        <a href="/auth/signin">Log In</a>
 | 
						|
        <a href="/auth/signup">Sign Up</a>
 | 
						|
        <?php else: ?>
 | 
						|
        <a href="/auth/logout" class="btn-secondary">Sign out</a>
 | 
						|
        <?php endif; ?>
 | 
						|
      </div>
 | 
						|
    </header>
 | 
						|
    <main class="content">
 | 
						|
      <?= $content ?>
 | 
						|
    </main>
 | 
						|
  </body>
 | 
						|
</html>
 |