Exemplo n.º 1
0
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <?php 
include 'includes/header.php';
?>
    <main class="container-fluid">
      <section class="col-md-8 col-md-offset-2">
      <?php 
if (!$auth->isLoggedIn()) {
    ?>
        <a href="<?php 
    echo $auth->getAuthUrl();
    ?>
">Log in met Google</a>
      <?php 
} else {
    ?>
        Je bent ingelogd, <a href="logout.php">log uit</a>
      <?php 
}
?>
      </section>
    </main>
    <!-- jQuery -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Latest compiled and minified JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>