40 lines
1001 B
PHP
40 lines
1001 B
PHP
<?php
|
|
use Backend\Models\GameJam;
|
|
|
|
|
|
require "../bootstrap.php";
|
|
|
|
|
|
$gameJam = GameJam::firstOrCreate([
|
|
'name' => "First game jam ever!", 'start_time' => "2021-03-03T12:40", 'end_time' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
|
|
]);
|
|
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<title>HTML Tutorial</title>
|
|
<body>
|
|
|
|
<form action="Controllers/User/SigningUp.php" method="POST">
|
|
<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">
|
|
<input type="password" name="password" placeholder="password">
|
|
<input type="submit" name="reg_group" value="Register">
|
|
</form>
|
|
|
|
|
|
<form action="Controllers/User/Login.php" method="POST">
|
|
<input type="text" name="groupName" placeholder="Group name">
|
|
<input type="password" name="password" placeholder="password">
|
|
<input type="submit" name="login" value="login">
|
|
</form>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|