47 lines
1.2 KiB
PHP
47 lines
1.2 KiB
PHP
<?php
|
|
/*
|
|
*
|
|
*/
|
|
$avatar = false;
|
|
$url = '';
|
|
if($company['AppUser']['take_systemwide']){
|
|
if($company['User']['avatar']){
|
|
$url = $MEDIA.DS.$company['User']['avatar'];
|
|
$avatar = true;
|
|
}
|
|
}else{
|
|
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>
|