forked from krisskiemel/ws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ed78c8
commit dba9f5c
Showing
3 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
if (isset($_COOKIE['kolory'])) { | ||
$kolory = $_COOKIE['kolory']; | ||
} else { | ||
$kolory = "dark"; | ||
} | ||
?> | ||
<?php include "db_conn.php";?> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<title>Wypożyczalnia samochodów - rejestracja</title> | ||
</head> | ||
|
||
<body> | ||
<?php include "menu.php";?> | ||
<div class="container-fluid"> | ||
<form action="rejestracja.php" method="get"> | ||
<div class="mb-3 mt-3"> | ||
<label for="nazwisko" class="form-label">Imię nazwisko:</label> | ||
<input type="text" class="form-control" id="nazwisko" name="nazwisko" required> | ||
</div> | ||
<div class="mb-3 mt-3"> | ||
<label for="login" class="form-label">Login:</label> | ||
<input type="text" class="form-control" id="login" name="login" required> | ||
</div> | ||
<div class="mb-3 mt-3"> | ||
<label for="password" class="form-label">Hasło:</label> | ||
<input type="password" class="form-control" id="password" name="password" required> | ||
</div> | ||
<div class="mb-3 mt-3"> | ||
<label for="password2" class="form-label">Powtórz hasło:</label> | ||
<input type="password" class="form-control" id="password2" name="password2" required> | ||
</div> | ||
<div class="mb-3 mt-3"> | ||
<button type="submit" class="btn btn-<?php echo $kolory?>">Zarejestruj</button> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,6 @@ | |
$kolory = "dark"; | ||
} | ||
} | ||
|
||
|
||
?> | ||
<?php include "db_conn.php";?> | ||
<html> | ||
|