<?php

require_once 'wsn-api/wsn_api.php';
$wsn_api = new wsn_api();
?>

<!DOCTYPE html>
<html>
    <head>
        <title>WSN API</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
        <link href="master_style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="main-body">
        <header>
            <?php 
require_once 'core/header_include.php';
?>
        </header>
        <nav>
            <?php 
require_once 'core/nav_include.php';
?>
        </nav>
        <article>
            <div id="three-fourth">
                <h1>Well come to Wireless Network Sensor Client Page!</h1>
                <p>
                    This is client page which implements the WSN-API. Go to View Data to view some of the data. 
<?php

require_once 'wsn-api/wsn_api.php';
$wsn_api = new wsn_api();
?>
<!DOCTYPE html>
<html>
    <head>
        <title>WSN API</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
        <link href="master_style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="main-body">
        <header>
            <?php 
require_once 'core/header_include.php';
?>
        </header>
        <nav>
            <?php 
require_once 'core/nav_include.php';
?>
        </nav>
        <article>
            <div id="three-fourth">
                <h1>View Data!</h1>
                <p>
                    To view data at list reading type must be selected. If you want to view for specific location select location 
                    and to view for a specific period of time select from and to.