dreamjob/app/View/Elements/barleft.ctp

87 lines
2.4 KiB
PHP
Executable File

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