main/view/homepage.php

38 lines
901 B
PHP

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Nuit de l'Info 2017-18</title>
<!-- Icon -->
<link rel='shortcut icon' href='/favicon.ico'>
<!-- CSS dependencies -->
<!-- JS libs -->
<script type='text/javascript' src='/js/lib/api.js'></script>
</head>
<body>
<pre><?php
use \database\core\Repo;
// var_dump( Repo::request('user', 'getByMail', "lucas.mascaro@yahoo.fr") );
// var_dump( Repo::request('user', 'setPassword', 1, 'lucas-pass') );
// var_dump( Repo::request('user', 'create', 'adri', 'doowap31@gmail.com', 'adri-pass') );
// var_dump( Repo::request('user', 'checkPassword', 224, 'adri-pass') );
?></pre>
<!-- Main loop -->
<script type='text/javascript' src='/js/action-script.js'></script>
</body>
</html>