/** * Created by PhpStorm. * User: mithun.alinkil * Date: 07-11-2015 * Time: 13:45 */ require_once 'SQLiteNotesRepository.php'; require_once 'Notes.php'; session_start(); if (!isset($_SESSION['user'])) { header("Location: login.php"); exit; } $noteData = new \malinkil\AS3\SQLiteNotesRepository(); $noteList = $noteData->getAllNotes(); ?> <!Doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/style.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> </head> <body data-spy="scroll" data-target=".navbar" data-offset="50"> <h1 align = 'center'>Notes Created see Below</h1> <div class = "scroll">