dreamjob/app/View/Elements/user_worker_header.ctp

65 lines
1.9 KiB
PHP

<?php
/*
*
*/
?>
<div class="columns">
<div class="bar avatar">
<img src="<?php
if($profil['AppUser']['take_systemwide'])
if($profil['User']['avatar'])
echo $MEDIA_URL.$profil['User']['avatar'];
else
echo $STATIC_URL."img/icon_user.png";
else
if($profil['AppUser']['avatar'])
echo $MEDIA_URL.$profil['AppUser']['avatar'];
else
echo $STATIC_URL."img/icon_user.png";
?>"/>
</div>
<div class="bar">
<h1>
<?php
if($profil['AppUser']['take_systemwide'])
echo $profil['User']['first_name'].' '.$profil['User']['last_name'];
else
echo $profil['AppUser']['first_name'].' '.$profil['AppUser']['last_name'];
?>
</h1>
<br/>
<p>
<?=__("dreamjob.iam");?>:<br/>
<?=$profil['DreamjobWorker']['iam'];?>
<c:out value="${profil.iam}"/>
</p>
<h3><?=__("dreamjob.mail");?></h3>
<a href="mailto:<?=$profil['User']['mail'];?>">
<?=$profil['User']['mail'];?>
</a>
</div>
<div class="bar">
<p>
<?=__("dreamjob.bday");?>:<br/>
<?php
if($profil['AppUser']['take_systemwide'])
echo $this->Time->format('d.m.Y', $profil['User']['bday']);
else
echo $this->Time->format('d.m.Y', $profil['AppUser']['bday']);
?>
</p>
<p>
<?=__("dreamjob.workexperience");?>:<br/>
<?=$profil['DreamjobWorker']['workexperience'];?>
</p>
<p>
<?=__("dreamjob.graducation.worker");?>:<br/>
<?=$profil['DreamjobListGraducation']['name'];?>
</p>
<p>
<?=__("dreamjob.country.worker");?>:<br/>
<?=$profil['DreamjobWorker']['country'];?>
</p>
</div>
</div>