PHP Classes

File: App/Views/nav.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  What is My Browser  >  App/Views/nav.php  >  Download  
File: App/Views/nav.php
Role: Example script
Content type: text/plain
Description: Example script
Class: What is My Browser
Show the details of the current user browser
Author: By
Last change:
Date: 3 years ago
Size: 2,489 bytes


Class file image Download
= new \Zest\Auth\User;
 if (!
$user->isLogin()) {
     if (
is_cookie('user')) {
   } else {
     if (\
Zest\Session\Session::getValue('user') !== get_cookie('user')) {
<!DOCTYPE html>
<html lang="en">


    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <meta name="description" content="What browser am I using? What version is my browser? WhatsMyBrowser is the easiest way to find information about your browser, and share it to your designer, developer, or support rep." />
        <meta name="keywords" content="what browser am i using, what version is
        my browser, what is my browser, detect browser" />
        <meta name="google-site-verification" content="AeW7rMbyhQXqYQR8G0uCxcC4ZZVfCvnbL6kGQjM46XM" />
        <link rel="shortcut icon" type="image/png" href="<?= site_base_url(); ?>/image/fav.png"/>
    <!-- Bootstrap core CSS -->
    <link href="<?=site_base_url();?>/theme/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="<?=site_base_url();?>/theme/css/scrolling-nav.css" rel="stylesheet">
    <link rel="stylesheet" href="">

  <body id="page-top">

    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" id="mainNav">
      <div class="container">
        <a class="navbar-brand js-scroll-trigger" href="<?=site_base_url()?>"><i class="fa fa-info-circle"></i> WhatsMyBrowser <spam style="color:red">(Beta)</spam></a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        <div class="collapse navbar-collapse" id="navbarResponsive">
          <ul class="navbar-nav ml-auto">
             <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#faqs">Faq</a>
             <li class="nav-item">
              <a class="nav-link js-scroll-trigger" href="#contact">Contact</a>