dreamjob/app/View/Elements/barleft.ctp

57 lines
1.6 KiB
PHP
Executable File

<?php
/*
*
*/
if($isLoggedin){
?>
<style type="text/css">
<!--
.bar #barleft {
position:relative;
right:-50px;
}
.column-center{
padding-left:50px;
width:1010px;
}
-->
</style>
<ul class="list-unstyled">
<li<?php if(isset($MENU_PROFIL)){?> class="active"<?php } ?>><?=$this->Html->image('bar-profil.png',array('url'=>array('controller'=>'user','action'=>'profil'))); ?></li>
<?php if(!empty($COMPANY)){ ?>
<li<?php if(isset($MENU_OPENING)){?> class="active"<?php } ?>><?=$this->Html->image('bar-job.png',array('url'=>array('controller'=>'job','action'=>'openingList'))); ?></li>
<?php }elseif(!empty($WORKER)){ ?>
<li<?php if(isset($MENU_APPLICATION)){?> class="active"<?php } ?>><?=$this->Html->image('bar-job.png',array('url'=>array('controller'=>'job','action'=>'applicationList'))); ?></li>
<li<?php if(isset($MENU_FAVORITY)){?> class="active"<?php } ?>><?=$this->Html->image('bar-favority.png',array('url'=>array('controller'=>'job','action'=>'favorite'))); ?></li>
<?php } ?>
<li<?php if(isset($MENU_SETTINGS)){?> class="active"<?php } ?>><?=$this->Html->image('bar-settings.png',array('url'=>array('controller'=>'user','action'=>'settings_account'))); ?></li>
</ul>
<?php
}elseif(!empty($MENU_START)){
?>
<style type="text/css">
<!--
.bar #barleft {
width:140px;
position:relative;
right:-120px;
}
.bar #barleft .btn{
width:140px;
overflow:hidden;
}
.column-center{
padding-left:130px;
width:1090px;
}
-->
</style>
<?php
echo $this->Html->link(__('dreamjob.company.startpage'),array('controller'=>'home', 'action'=>'home'),array("class" => "btn btn-primary"));
}
?>