Merge branch 'joey-testing' into 'master'
Fixed date and other extras See merge request !132
This commit was merged in pull request #136.
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
|
||||
<!-- Login name -->
|
||||
<div class="login_containerlogin">
|
||||
<label><b>Gebruikersnaam</b></label>
|
||||
<label><b>Gebruikersnaam/Email</b></label>
|
||||
<input type="text"
|
||||
placeholder="Voer uw gebruikersnaam in"
|
||||
name="uname"
|
||||
value="<?php echo $uname ?>"
|
||||
placeholder="Voer uw gebruikersnaam/email in"
|
||||
name="user"
|
||||
value="<?php echo $user ?>"
|
||||
title="Moet 6 of meer karakters bevatten"
|
||||
>
|
||||
</div>
|
||||
@@ -47,46 +47,47 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Button for going to the register screen -->
|
||||
<div class="login_containerlogin">
|
||||
<a href="https://myhyvesbookplus.nl/register" class="button">Registreer een account</a>
|
||||
<!-- Button for going to the register screen -->
|
||||
<div class="login_containerlogin">
|
||||
<a href="https://myhyvesbookplus.nl/register" class="button">Registreer een account</a>
|
||||
|
||||
<!-- Trigger/Open The Modal -->
|
||||
<button id="myBtn" class="button">Wachtwoord vergeten</button>
|
||||
<!-- Trigger/Open The Modal -->
|
||||
<button id="myBtn" class="button">Wachtwoord vergeten</button>
|
||||
|
||||
<!-- The Modal -->
|
||||
<div id="myModal" class="modal">
|
||||
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"
|
||||
return= $correct
|
||||
method="post"
|
||||
name="forgotPassword">
|
||||
<!-- The Modal -->
|
||||
<div id="myModal" class="modal">
|
||||
<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"
|
||||
return= $correct
|
||||
method="post"
|
||||
name="forgotPassword">
|
||||
|
||||
<!-- Modal content -->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<span class="close">×</span>
|
||||
<h3>Voer uw emailadres in</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input type="text"
|
||||
placeholder="Voer uw email in"
|
||||
name="forgotEmail"
|
||||
title="Voer een email in">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="login_containerfault"><span><?php echo $resetErr; ?></span></div>
|
||||
<button type="submit"
|
||||
value="reset"
|
||||
name="submit"
|
||||
id="frm1_submit">
|
||||
Reset password
|
||||
</button>
|
||||
</div>
|
||||
<!-- Modal content -->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<span class="close">×</span>
|
||||
<h3>Voer uw emailadres in</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input type="text"
|
||||
placeholder="Voer uw email in"
|
||||
name="forgotEmail"
|
||||
title="Voer een email in">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="login_containerfault"><span><?php echo $resetErr; ?></span></div>
|
||||
<button type="submit"
|
||||
value="reset"
|
||||
name="submit"
|
||||
id="frm1_submit">
|
||||
Reset password
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Get the modal
|
||||
var modal = document.getElementById('myModal');
|
||||
|
||||
@@ -40,14 +40,52 @@
|
||||
|
||||
<!-- Register birthday -->
|
||||
<div class="login_containerregister">
|
||||
<label><b>Geboortedatum</b></label>
|
||||
<input type="text"
|
||||
name="bday"
|
||||
value="<?php echo $bday ?>"
|
||||
id="bday"
|
||||
placeholder="1996/01/01"
|
||||
data-fv-date-max=""
|
||||
>
|
||||
<label><b>Geboortedatum(Dag/Maand/Jaar)</b></label>
|
||||
<!-- <input type="date"-->
|
||||
<!-- name="bday"-->
|
||||
<!-- value="--><?php //echo $bday ?><!--"-->
|
||||
<!-- id="bday"-->
|
||||
<!-- placeholder="1996/01/01"-->
|
||||
<!-- data-fv-date-max=""-->
|
||||
<!-- data-date="" data-date-format="DD MMMM YYYY"-->
|
||||
<!-- >-->
|
||||
<select name="day_date" >
|
||||
<option>dag</option>
|
||||
<?php
|
||||
for($i=1; $i<32; $i++) {
|
||||
$i = sprintf("%02d", $i);
|
||||
?>
|
||||
<option value="<?= $i ?>" <?php submitselect($day_date, $i)?>><?= $i ?></option>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<select name="month_date">
|
||||
<option>Maand</option>
|
||||
<option value="01" <?php submitselect($month_date, "01")?>>Januari</option>
|
||||
<option value="02" <?php submitselect($month_date, "02")?>>Februari</option>
|
||||
<option value="03" <?php submitselect($month_date, "03")?>>Maart</option>
|
||||
<option value="04" <?php submitselect($month_date, "04")?>>April</option>
|
||||
<option value="05" <?php submitselect($month_date, "05")?>>Mei</option>
|
||||
<option value="06" <?php submitselect($month_date, "06")?>>Juni</option>
|
||||
<option value="07" <?php submitselect($month_date, "07")?>>Juli</option>
|
||||
<option value="08" <?php submitselect($month_date, "08")?>>Augustus</option>
|
||||
<option value="09" <?php submitselect($month_date, "09")?>>September</option>
|
||||
<option value="10" <?php submitselect($month_date, "10")?>>Oktober</option>
|
||||
<option value="11" <?php submitselect($month_date, "11")?>>November</option>
|
||||
<option value="12" <?php submitselect($month_date, "12")?>>December</option>
|
||||
</select>
|
||||
<select name="year_date">
|
||||
<option>Jaar</option>
|
||||
<?php
|
||||
$year = (new DateTime)->format("Y");
|
||||
for($i=$year; $i > $year - 100; $i--) {
|
||||
?>
|
||||
<option value="<?= $i ?>" <?php submitselect($year_date, $i)?>><?= $i ?></option>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
*<span class="error"> <?php echo $bdayErr;?></span>
|
||||
</div>
|
||||
|
||||
@@ -118,6 +156,18 @@
|
||||
*<span class="error"> <?php echo $emailErr;?></span>
|
||||
</div>
|
||||
|
||||
<!-- Register email -->
|
||||
<div class="login_containerregister">
|
||||
<label><b>Herhaal email</b></label>
|
||||
<input type="text"
|
||||
placeholder="Herhaal uw email"
|
||||
name="confirmEmail"
|
||||
value="<?php echo $confirmEmail ?>"
|
||||
id="email"
|
||||
title="Herhaal uw email">
|
||||
*<span class="error"> <?php echo $confirmEmailErr;?></span>
|
||||
</div>
|
||||
|
||||
<div class="login_containerregister">
|
||||
<div class="g-recaptcha" data-sitekey="6Lc72xIUAAAAADumlWetgENm7NGd9Npyo0c_tYYQ"></div>
|
||||
<span class="error"> <?php echo $captchaErr;?></span>
|
||||
|
||||
Reference in New Issue
Block a user