41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
/*
|
|
*
|
|
*/
|
|
$avatar = false;
|
|
$url = '';
|
|
if($company['AppUser']['avatar']){
|
|
$url = $MEDIA.DS.$company['AppUser']['avatar'];
|
|
$avatar = true;
|
|
}
|
|
|
|
?>
|
|
|
|
<div class="openingitem">
|
|
<h3><?=$company['AppUser']['nickname'];?></h3>
|
|
<div>
|
|
<?php if($avatar){ ?>
|
|
<div class="icon">
|
|
<div>
|
|
<img src="<?=$url;?>"/>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
}else{
|
|
?>
|
|
<div class="noicon-title">
|
|
<span><?=$company['AppUser']['nickname'];?></span>
|
|
</div>
|
|
<?php } ?>
|
|
<div class="left">
|
|
<span><?=__("dreamjob.branch");?>: <?=$company['DreamjobListBranch']['name'];?></span>
|
|
<span><?=__("dreamjob.city");?>: <?=$company['DreamjobListCity']['name'];?></span>
|
|
</div>
|
|
<div class="right">
|
|
<div class="btn-group-vertical">
|
|
<?=$this->Html->link(__('dreamjob.company.detail'),array('controller'=>'user', 'action'=>'profil', 'id'=> $company['AppUser']['id']),array("class" => "btn btn-default"));?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|