dreamjob/app/View/Service/show.ctp

28 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-03-31 14:49:03 +02:00
<?php
/*
*
*/
?>
<div class="headline">
<span style="color:#9d1c16;">dream</span><span style="color:#0063b8;"><b>JOB</b></span>+
</div>
<div style="float:right;margin-top:-25px;">
<?=$this->Html->link(__('dreamjob.service.overview.to'),array('controller'=>'service','action'=>'index','list'=>$obj['DreamjobService']['category']));?>
</div>
<div class="box 2modal">
<h1 class="modal-title" <?=(strlen($obj['DreamjobService']['color'])>0)?' style="color:#333;background-color:#'.$obj['DreamjobService']['color'].';"':'';?>><?=$obj['DreamjobService']['title'];?></h1>
<br/>
<div class="modal-body">
<?=$this->Html->image('service/'.$obj['DreamjobService']['image'],array('style'=>'width:200px;'));?>
<br/>
<br/>
<?=str_replace("\n",'<br/>',$obj['DreamjobService']['text']);?>
</div>
<br/>
<div class="modal-footer">
<?php if(strlen($obj['DreamjobService']['link'])>0){ ?>
<?=$this->Html->link(__('dreamjob.service.link.to'),$obj['DreamjobService']['link'],array('class'=>'btn btn-default','rel'=>'external','target'=>'_blank'));?>
<?php } ?>
</div>
</div>