Example #1
0
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->

<?php 
include_once 'php/View.php';
include_once 'php/LoginManager.php';
$view = new View();
$query = filter_input(INPUT_GET, 'query');
$view->search($query);
$login = new LoginManager("results.php?query={$query}");
$return = "../results.php?query={$query}";
?>

<html>
    <head>
        <meta charset="UTF-8">
        <title>Search Results</title>
        <link rel="stylesheet" href="style/main.css">
        <link rel="stylesheet" href="style/overlay.css">
        <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/notify/0.4.0/notify.min.js"></script>
        <script src="script/notifications.js"></script>
        <script src="script/overlay.js"></script>
        <script src="script/search.js"></script>
        <script src="script/upload.js"></script>
    </head>