dreamjob/app/View/Service/index.ctp

53 lines
1.6 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 class="box 2modal">
<div class="btn-group" style="float:right;">
<?php
$class = 'btn-default';
if($SERVICE_CATEGORY <= 0)
$class = 'btn-primary';
echo $this->Html->link('<span class="glyphicon glyphicon-th-large"></span> &nbsp;'.__('dreamjob.service.overview'),array('controller'=>'service','action'=>'index'),array('class'=>'btn '.$class,'escape'=>false));?>
<?php foreach($category as $item){
$class = 'btn-default';
if($SERVICE_CATEGORY == $item['DreamjobServiceCategory']['id'])
$class = 'btn-primary';
?>
<?=$this->Html->link($item['DreamjobServiceCategory']['title'],array('controller'=>'service','action'=>'index','list'=>$item['DreamjobServiceCategory']['id']),array('class'=>'btn '.$class));?>
<?php } ?>
</div>
<div style="margin-top:50px;">
<?=__('dreamjob.service.infotext');?>
</div>
<div class="services">
<?php
foreach($list as $item){
?>
<div class="item">
<div class="logo">
<?php
echo $this->Html->link($this->Html->image('service/'.$item['DreamjobService']['prev_image']),
array('controller'=>'service','action'=>'show','item'=>$item['DreamjobService']['id']),array("data-toggle"=>"modal","data-target"=>"#popup","ref"=>"eventOff","escape"=>false));
?>
</div>
<b><?=$item['DreamjobService']['title'];?></b><br/>
<span><?=$item['DreamjobService']['shorttext'];?></span>
</div>
<?php
}
?>
</div>
</div>