41 lines
1.5 KiB
PHP
Executable File
41 lines
1.5 KiB
PHP
Executable File
<?php
|
|
/*
|
|
*
|
|
*/
|
|
?>
|
|
<div class="box start-search-box">
|
|
<?=$this->Html->image('start-beside-search.jpg',array('class'=>'img')); ?>
|
|
<div class="redbox">
|
|
<h1><?=__('dreamjob.search');?></h1>
|
|
<div class="searchform">
|
|
<?php echo $this->Form->create(null,array('inputDefaults'=> array('div' => false,'label'=>false,'class' => 'form-control'),'url'=>array('controller'=>'search', 'action'=>'opening'),'type'=>'get')); ?>
|
|
<div class="input-group">
|
|
<?php echo $this->Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.search.opening.startpage.placeholder')));?>
|
|
<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')); ?>
|
|
</span>
|
|
</div>
|
|
<?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"));
|
|
echo "<br/>";
|
|
echo "<br/>";
|
|
}
|
|
echo $this->Html->link(__('dreamjob.search.to'),array('controller'=>'search', 'action'=>'opening'),array("class" => "btn btn-primary"));
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box">
|
|
<h1><?=__("dreamjob.startpage.openings");?></h1>
|
|
<div class="openinggroup">
|
|
<?php
|
|
foreach($openings as $opening){
|
|
echo $this->element('job_opening_item',array('opening' => $opening));
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|