This commit is contained in:
2024-06-14 15:55:36 +03:00
parent 5468b1d286
commit 987effd67f
35 changed files with 1808 additions and 245 deletions

48
views/form.php Normal file
View File

@ -0,0 +1,48 @@
<form action="../info.php" target="_blank" method="post">
Фамилия:<br>
<label>
<input type = "text" name = "surname" required size="50" autofocus placeholder="Фамилия">
</label> <br> <br>
Имя:<br>
<label>
<input type = "text" name = "name" required size="50" placeholder="Имя">
</label> <br> <br>
Отчество (если есть):<br>
<label>
<input type = "text" name = "patronymic" size="50" placeholder="Отчество">
</label> <br> <br>
Дата Рождения: <br>
<label>
<input type="date" name="dateOfBirth">
</label> <br> <br>
Ваш пол: <br>
<label>
<input type="radio" name="gender" value="Мужчина" checked>
</label> Мужчина
<label>
<input type="radio" name="gender" value="Женжина">
</label> Женжина<br> <br>
Номер телефона (Например 1234567890): <br>
<label>
<select name="countryCode">
<option value="+7" >Russia +7</option>
<option value="+38">Ukraine +38</option>
</select>
</label>
<label>
<input type="tel" name="phoneNumber" pattern="[0-9]{10}" maxlength="10" required placeholder="1234567890">
</label> <br> <br>
Email адрес: <br>
<label>
<input type="Email" name="email" required>
</label> <br><br>
<input type = "submit" value="Подтвердить">
<input type="reset">
</form>

43
views/search.php Normal file
View File

@ -0,0 +1,43 @@
<form action="../search.php" target="_blank" method="post">
<label>
<input type="search" placeholder="Фамилия" name="surname">
</label> <br> <br>
<label>
<input type="search" placeholder="Имя" name="name">
</label> <br> <br>
<label>
<input type="search" placeholder="Отчество" name="patronymic">
</label> <br> <br>
<label>
<input type="search" placeholder="Дата рождения(гггг-мм-дд)" name="dateOfBirth">
</label> <br> <br>
<label>
<input type="search" placeholder="Пол" name="gender">
</label> <br> <br>
<label>
<input type="search" placeholder="Код страны" name="countryCode">
</label> <br> <br>
<label>
<input type="search" placeholder="Номер телефона" name="phoneNumber">
</label> <br> <br>
<label>
<input type="search" placeholder="Email" name="email">
</label> <br> <br>
<label>
<input type="search" placeholder="Статус" name="status">
</label> <br> <br>
<!-- Среди чего найти? <br>-->
<!-- <label>-->
<!-- <select name="key">-->
<!-- <option value="surname">Фамилия</option>-->
<!-- <option value="name">Имя</option>-->
<!-- <option value="patronymic">Отчество</option>-->
<!-- <option value="dateOfBirth">Дата рождения</option>-->
<!-- <option value="gender">Пол</option>-->
<!-- <option value="countryCode">Код страны</option>-->
<!-- <option value="phoneNumber">Номер телефона</option>-->
<!-- <option value="email">Email</option>-->
<!-- </select>-->
<!-- </label> <br><br>-->
<input type="submit" value="Поиск">
</form>