Advertisement
lowheartrate

function showHeader()

Nov 22nd, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.43 KB | None | 0 0
  1. function showHeader($title) {
  2.   echo '
  3.  <html lang="en">
  4.    <head>
  5.      <meta charset="utf-8">
  6.      <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.      <meta name="viewport" content="width=device-width, initial-scale=1">
  8.      <meta name="google-signin-client_id" content="618381226281-f3ht6d47jl818rjmr0p3rh3idftoaka7.apps.googleusercontent.com">
  9.      <link rel="stylesheet" href="includes/css.css" type="text/css">
  10.      <link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
  11.      <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
  12.      <link href="https://fonts.googleapis.com/css?family=Oxygen:400,300,700" rel="stylesheet" type="text/css">
  13.      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
  14.      <script src="includes/js.js"></script>
  15.      <script src="https://www.google.com/recaptcha/api.js"></script>
  16.      <script src="https://apis.google.com/js/platform.js" async defer></script>
  17.      <title>'.$title.'</title>
  18.    </head>
  19.  
  20.    <body>
  21.    <header>
  22.       <nav>
  23.          <div class="navbar-left">
  24.             <a href="index.php">
  25.                <img src="http://i.imgur.com/IGvg5kM.png" alt="heart[fx] logo" width="100px" />
  26.             </a>
  27.          </div>
  28.  ';
  29.  
  30.           checkLogin();
  31.  
  32.   echo '
  33.       <!-- closing tag for nav.navbar -->
  34.       </nav>
  35.    </header>
  36.  ';
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement