dreamjob/app/View/Home/home.ctp

41 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-02-18 12:10:29 +01:00
<?php
/*
*
*/
?>
2014-03-05 19:11:10 +01:00
<div class="box start-search-box">
2014-05-02 19:10:28 +02:00
<?=$this->Html->image('start-beside-search.jpg',array('class'=>'img')); ?>
2014-04-29 22:37:27 +02:00
<div class="redbox">
2014-03-05 19:01:44 +01:00
<h1><?=__('dreamjob.search');?></h1>
<div class="searchform">
2014-04-16 18:24:34 +02:00
<?php echo $this->Form->create(null,array('inputDefaults'=> array('div' => false,'label'=>false,'class' => 'form-control'),'url'=>array('controller'=>'search', 'action'=>'opening'),'type'=>'get')); ?>
2014-03-05 00:01:58 +01:00
<div class="input-group">
2014-04-28 22:17:49 +02:00
<?php echo $this->Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.search.opening.startpage.placeholder')));?>
2014-03-05 00:01:58 +01:00
<span class="input-group-btn">
<?php echo $this->Form->button('<span class="glyphicon glyphicon-search"></span>',array('div' => false,'class'=>"btn btn-default",'type' => 'submit')); ?>
2014-03-05 00:01:58 +01:00
</span>
</div>
2014-03-10 23:53:06 +01:00
<?php
echo $this->Form->end();
echo "<br/>";
if(!$isLoggedin){
echo $this->Html->link(__('dreamjob.registration.to'),array('controller'=>'registration', 'action'=>'worker'),array("class" => "btn btn-primary"));
2014-03-10 23:53:06 +01:00
echo "<br/>";
echo "<br/>";
}
2014-04-15 22:16:09 +02:00
echo $this->Html->link(__('dreamjob.search.to'),array('controller'=>'search', 'action'=>'opening'),array("class" => "btn btn-primary"));
2014-03-10 23:53:06 +01:00
?>
2014-03-05 00:01:58 +01:00
</div>
</div>
</div>
2014-02-18 12:10:29 +01:00
<div class="box">
2014-03-05 00:01:58 +01:00
<h1><?=__("dreamjob.startpage.openings");?></h1>
<div class="openinggroup">
<?php
foreach($openings as $opening){
echo $this->element('job_opening_item',array('opening' => $opening));
}
?>
</div>
</div>