Add candidate and employer templates, application form, and new password functionality

- Created 'dla-kandydata.php' template for candidates with job offers and registration options.
- Developed 'dla-pracodawcy.php' template for employers detailing how Globelus works and registration for new employers.
- Implemented 'advert-apply.php' for job applications, including form validation and file upload for CVs.
- Added 'new-password.php' for users to set a new password with validation for password strength and matching.
This commit is contained in:
2025-05-24 11:51:42 +02:00
parent 4fdd906b81
commit 905c0f0d89
59 changed files with 1987 additions and 791 deletions

View File

@@ -1,6 +1,9 @@
<?
global $lang;
$countries = \front\factory\Globelus::countries();
$countries_visible = [
'- dowolny -', 'Austria', 'Belgia', 'Czechy', 'Dania', 'Finlandia', 'Francja', 'Holandia', 'Niemcy', 'Norwegia', 'Polska', 'Szwajcaria', 'Szwecja'
]
?>
<form method="GET" action="/oferty-pracy" id="simple-search">
<input type="hidden" name="filtr" value="true">
@@ -8,6 +11,7 @@
<input type="text" name="k" class="form-control" value="" placeholder="słowo kluczowe, stanowisko, miasto, pracodawca">
<select name="c2[]">
<? foreach ( $countries as $country ):?>
<? if ( !in_array( $country['name'], $countries_visible ) ) continue;?>
<option value="<?= $country['id']; ?>"><?= $country['name'];?></option>
<? endforeach;?>
</select>