0){ foreach($WORKER['Favority'] as $val){ if($val['id'] == $opening['DreamjobJobOpening']['id']) $opening_in_fav=true; } foreach($WORKER['DreamjobJobApplication'] as $val){ if($val['opening_id'] == $opening['DreamjobJobOpening']['id']) $opening_in_app=true; $opening_inApp=$val; } } $avatar = false; $url = ''; if($opening['AppUser']['avatar']){ $url = $MEDIA.DS.$opening['AppUser']['avatar']; $avatar = true; } ?>

Html->link(__('dreamjob.opening.detail'));?>