dreamjob/app/View/Job/opening.ctp

39 lines
1.3 KiB
PHP

<?php
/*
*
*/
?>
<div class="box">
<?=$this->element('job_opening_head');?>
<br/>
<div>
<?php
if(!empty($OPP_NORMAL)){
echo strip_tags($opening['DreamjobJobOpening']['text'],$strip_tags);
}
if(!empty($OPP_OPENING)){
?>
<p>
<?=__("dreamjob.graducation.company");?>: <?=$opening['DreamjobListGraducation']['name'];?><br/>
<?=__("dreamjob.branch");?>: <?=$opening['DreamjobListBranch']['name'];?><br/>
<?=__("dreamjob.kindofjob");?>: <?=$opening['DreamjobListKindofjob']['name'];?><br/>
<span<?php if( time() > strtotime($opening['DreamjobJobOpening']['enddate'])){ ?> class="opening_outdate"<?php } ?>><?=__("dreamjob.opening.enddate");?>: <?=$this->Time->format('d.m.Y', $opening['DreamjobJobOpening']['enddate']);?></span>
</p>
<?php
}
if(!empty($OPP_COMPANY)){
?>
<p>
<?=__("dreamjob.company");?>: <?=$opening['AppUser']['nickname'];?><br/>
<?=__("dreamjob.headcount");?>: <?=$opening['DreamjobCompany']['headcount'];?><br/>
<?=__("dreamjob.owner");?>: <?=$opening['DreamjobCompany']['owner'];?>
</p>
<p>
<?=__("dreamjob.address");?>: <br/>
<?=$opening['DreamjobUser']['street'];?><br/>
<?=$opening['DreamjobUser']['postcode']." ".$opening['DreamjobListCity']['name'];?>
</p>
<?php } ?>
</div>
</div>