Introduced main research page (mobile design)

This commit is contained in:
Florian SYLVAIN
2021-10-29 10:34:24 +02:00
parent c2d717409e
commit 4cfcf90ffc
4 changed files with 120 additions and 2 deletions
+17 -2
View File
@@ -5,13 +5,28 @@
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="stylesheet.css">
<title>Document</title>
</head>
<body>
<h1>Welcome</h1>
<?php
include("navbar.php");
echo "Welcome";
if (!isset($_POST['author'])) {
exit();
}
require_once("class/dump.php");
$author_name = $_POST['author'];
$these_array = dump::getTheseByAuthor($author_name);
$json = json_encode($these_array, JSON_PRETTY_PRINT);
echo '<pre>';
var_dump($json);
echo '</pre>';
?>
</body>