Files
globelus.pl/templates_user/globelus/firms/profile-preview.php
Jacek Pyziak 905c0f0d89 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.
2025-05-24 11:51:42 +02:00

230 lines
9.7 KiB
PHP

<? global $lang;?>
<div id="user-panel">
<?= \Tpl::view( 'globelus/firms/_partials/menu', [
'active' => 'moj-profil'
] );?>
<div class="mini-box fluid">
<div class="title">
<?= $this -> g_user['firm_name_profile'] != '' ? htmlspecialchars( $this -> g_user['firm_name_profile'] ) : 'Twój profil'?>
<span class="pull-right text-danger small">
Posiadasz <?= \front\factory\GlobelusFirms::get_firm_points( $this -> g_user['id'] );?> pkt. <a href="/panel-pracodawcy/zakup-punktow">Dokup więcej.</a>
</span>
</div>
<div class="subtitle">
<?= $lang['moj-profil-podtytul-pracodawca'];?>
<a href="/panel-pracodawcy/edycja-profilu" class="btn btn-success"><?= $lang['edytuj-profil'];?></a>
</div>
<div class="row">
<div class="col-12">
<div class="content profil">
<div class="row">
<div class="col-12">
<div class="logo-container">
<div class="name"><?= htmlspecialchars( $this -> g_user['firm_name'] );?></div>
<div class="logo">
<? if ( file_exists( \front\factory\GlobelusFirms::logo_url( $this -> g_user['id'] ) ) ):?>
<img src="/logo/<?= $this -> g_user['id'];?>/<?= \S::get_token();?>">
<? else:?>
<img src="/images/no-logo.jpg">
<? endif;?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['nazwa-firmy'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['firm_name'] );?>
</div>
</div>
</div>
<div class="col-12">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['nazwa-firmy-publikowana-na-portalu'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['firm_name_profile'] );?>
</div>
</div>
</div>
<div class="col-12">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['numer-identyfikacji-podatkowej'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['nip_vat'] );?>
</div>
</div>
</div>
</div>
<hr/>
<div class="step-title">
<?= $lang['pracodawca-profil-krok-2-opis'];?>
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['telefon'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['phone'] );?>
</div>
</div>
</div>
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['adres-email'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['email'] );?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['strona-www'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['www'] );?>
</div>
</div>
</div>
</div>
<hr />
<div class="step-title">
<?= $lang['pracodawca-profil-krok-3-opis'];?>
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['kraj'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['country'] );?>
</div>
</div>
</div>
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['region'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['region'] );?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['miasto'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['city'] );?>
</div>
</div>
</div>
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['kod-pocztowy'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['postal_code'] );?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['ulica'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['street'] );?>
</div>
</div>
</div>
<div class="col-12 col-md-6">
<div class="form-group row">
<label class="col-12 col-sm-4"><?= ucfirst( $lang['nr-budynku-lokalu'] );?>:</label>
<div class="col-12 col-sm-8">
<?= htmlspecialchars( $this -> g_user['apartment_number'] );?>
</div>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-12">
<div class="step-title">
<?= ucfirst( \S::lang( 'osoby-do-kontaktu' ) );?>
<p><span><small>Ważna informacja: dane osób rekrutujących będą widoczne jednocześnie we wszystkich ogłoszeniach publikowanych z tego profilu, ale w momencie dodawania ogłoszenia będzie można je zedytować.</small></span></p>
</div>
<div class="form-group row">
<div class="col-md-6">
<?= $this -> g_user['contact_person_1'];?><br />
<?= $this -> g_user['email_1'];?><br />
<?= $this -> g_user['phone_1'];?>
</div>
<div class="col-md-6">
<?= $this -> g_user['contact_person_2'];?><br />
<?= $this -> g_user['email_2'];?><br />
<?= $this -> g_user['phone_2'];?>
</div>
</div>
</div>
</div>
<hr/>
<div class="step-title">
<?= ucfirst( $lang['krotki-opis-firmy'] );?>
</div>
<div class="row">
<div class="col-12">
<?= $this -> g_user['other_information'];?>
</div>
</div>
<!--<hr/>
<div class="step-title">
<?= ucfirst( \S::lang( 'klauzula' ) );?>
<p><span><small>Ważna informacja: klauzula będzie widoczna jednocześnie we wszystkich ogłoszeniach publikowanych z tego profilu i zmienić ją będzie można tylko w Profilu Pracodawcy.</small></span></p>
</div>
<div class="row">
<div class="col-12">
<?= $this -> g_user['clauses'];?>
</div>
</div>-->
<?
$img_header_url = \front\factory\GlobelusFirms::img_header_url( $this -> g_user['id'] );
if ( file_exists( $img_header_url ) ):?>
<hr/>
<div class="step-title">
Zdjęcie nad ogłoszeniem
<p>
<span>
<small>
<strong>Uwaga! Jest to grafika dodatkowa, NIE logo, będzie widoczna automatycznie we wszystkich ogłoszeniach publikowanych z tego profilu, ale w momencie dodawania ogłoszenia będzie można ją zmienić. Zalecany rozmiar 730px x 200px.</strong>
</small>
</span>
</p>
</div>
<div class="image_header"><img src="/img_header/<?= $this->g_user['id'];?>/<?= \S::get_token();?>"></div>
<?
endif;
?>
<?
$img_bottom_url = \front\factory\GlobelusFirms::img_bottom_url( $this -> g_user['id'] );
if ( file_exists( $img_bottom_url ) ):?>
<hr/>
<div class="step-title">
Zdjęcie pod ogłoszeniem
<p>
<span>
<small>
<strong>Uwaga! Jest to grafika dodatkowa, NIE logo, będzie widoczna automatycznie we wszystkich ogłoszeniach publikowanych z tego profilu, ale w momencie dodawania ogłoszenia będzie można ją zmienić. Zalecany rozmiar 730px x 200px.</strong>
</small>
</span>
</p>
</div>
<div class="image_bottom"><img src="/img_bottom/<?= $this->g_user['id'];?>/<?= \S::get_token();?>"></div>
<?
endif;
?>
</div>
</div>
</div>
</div>
</div>