register.php

Datoteka register.php vsebuje obrazec za registracijo uporabnika.

 

Slika 6 Obrazec za registracijo uporabnika

<h1 class="my-3 text-success">Registracija</h1>
<hr>
<form action="index.php" method="post">
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="ime">Ime:</label>
        <input type="text" name="ime" class="form-control" required>
    </div>
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="priimek">Priimek:</label>
        <input type="text" name="priimek" class="form-control" required>
    </div>
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="email">E-mail:</label>
        <input type="email" name="email" class="form-control" required>
    </div>
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="geslo">Geslo:</label>
        <input type="password" name="geslo" class="form-control" required>
    </div>
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="geslo2">Ponovite geslo:</label>
        <input type="password" name="geslo2" class="form-control" required>
    </div>
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="vrsta_uporabnika">Vrsta uporabnika:</label>
        <select name="vrsta_uporabnika" class="form-select" required>
            <option></option>
            <option>dijak</option>
            <option>profesor</option>
        </select>
    </div>
    <div class="form-group my-3 col-2">
        <label class="mb-2 text-secondary form-label" for="razred">Razred:</label>
        <input type="text" name="razred" class="form-control" required>
    </div>
    <div class="form-group my-3 col-2">
        <input type="submit" name="Btn_register" class="btn btn-success btn-lg" value="Registracija">
    </div>
    <p>Že imate račun? <a href="index.php" class="text-success">Prijavite</a> se!</p>
</form>



Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.