Projecte M07, botiga en php.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

49 lines
1.4 KiB

<?php
include_once('header.php');
include_once('parameters.php');
session_start();
if (!isset($_SESSION['username'])) {
header("Location: ./home.php");
}
?>
<div class="w3-content w3-padding w3-margin-top" style="max-width:1564px;margin-top:32px">
<!-- Header -->
<header class="w3-display-container w3-content w3-wide" style="max-width:1500px;" id="home">
<img class="w3-image" src="img/banner.jpg" alt="Botiga_php" width="1500" height="400">
<div class="w3-display-middle w3-margin-top w3-center">
<h1 class="w3-xxlarge w3-text-white"><span class="w3-padding w3-black w3-opacity-min"><b>Botiga</b></span> <span class="w3-hide-small w3-text-light-grey">php</span></h1>
</div>
</header>
<div class="w3-container w3-padding-32" id="projects">
<h3 class="w3-border-bottom w3-border-light-grey w3-padding-16">Register</h3>
</div>
<div class="w3-bar w3-margin"></div>
<div class="w3-bar w3-margin"></div>
<div class="w3-row-padding">
<form method="post" action="./register.php">
<label for="username">Username</label><br>
<input type="text" id="username" name="username"><br>
<label for="userpass">Password</label><br>
<input type="text" id="userpass" name="userpass"><br><br>
<input type="submit" value="Submit">
</form>
<?php
// if (empty($_GET)) {
// }
?>
</div>
</div>
<?php
include('footer.php');
?>