2021-03-02 11:40:44 +00:00
|
|
|
<?php
|
2021-03-03 11:56:14 +00:00
|
|
|
use Backend\Models\GameJam;
|
2021-03-16 11:46:44 +00:00
|
|
|
use Illuminate\Contracts\Config;
|
2021-03-04 09:19:58 +00:00
|
|
|
|
2021-03-12 10:10:14 +00:00
|
|
|
require_once('../bootstrap.php');
|
2021-03-19 12:51:25 +00:00
|
|
|
" tis is a string'' ";
|
2021-03-03 11:56:14 +00:00
|
|
|
|
|
|
|
$gameJam = GameJam::firstOrCreate([
|
2021-03-08 13:20:56 +00:00
|
|
|
'name' => "First game jam ever!", 'start_time' => "2021-03-03T12:40", 'end_time' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
|
2021-03-03 11:48:49 +00:00
|
|
|
]);
|
2021-03-04 09:19:58 +00:00
|
|
|
|
2021-03-04 12:13:07 +00:00
|
|
|
|
2021-03-16 11:46:44 +00:00
|
|
|
|
2021-03-04 12:13:07 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<title>HTML Tutorial</title>
|
|
|
|
<body>
|
|
|
|
|
2021-03-09 12:54:20 +00:00
|
|
|
<form action="Controllers/Group/SigningUp.php" method="POST">
|
2021-03-04 12:13:07 +00:00
|
|
|
<input type="text" name="groupName" placeholder="Group name">
|
|
|
|
<input type="number" name="groupAmount" placeholder="Group Amount">
|
|
|
|
<input type="number" name="gameJamId" placeholder="Game Jam id">
|
2021-03-12 10:10:14 +00:00
|
|
|
<input type="password" name="password" placeholder="password">
|
2021-03-11 12:20:10 +00:00
|
|
|
<input type="submit" name="regGroup" value="Register">
|
2021-03-04 12:13:07 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
|
2021-03-09 12:54:20 +00:00
|
|
|
<form action="Controllers/Group/Login.php" method="POST">
|
2021-03-04 12:13:07 +00:00
|
|
|
<input type="text" name="groupName" placeholder="Group name">
|
|
|
|
<input type="password" name="password" placeholder="password">
|
|
|
|
<input type="submit" name="login" value="login">
|
|
|
|
</form>
|
|
|
|
|
2021-03-19 08:18:19 +00:00
|
|
|
<?php
|
|
|
|
//print_r(headers_list());
|
|
|
|
|
|
|
|
$h = apache_request_headers();
|
|
|
|
|
|
|
|
foreach ($h as $name => $value) {
|
|
|
|
echo "$name: $value <br>";
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "<br>";
|
|
|
|
|
|
|
|
var_dump(headers_list());
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
2021-03-04 13:12:14 +00:00
|
|
|
|
2021-03-04 12:13:07 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|