diff --git a/app/Controller/UserController.php b/app/Controller/UserController.php
index 6936cb9..466710d 100755
--- a/app/Controller/UserController.php
+++ b/app/Controller/UserController.php
@@ -40,10 +40,15 @@ class UserController extends AppController {
//self check
$self_company = false;
+ $self_company_pro = false;
$self = $this->MiconwareSession->getWorker();
if(!is_array($self) or count($self)<= 0){
$self = $this->MiconwareSession->getCompany();
$self_company = true;
+
+ $_pro = decbin($self['DreamjobCompany']['pro_user']);
+ $_pro_l = strlen($_pro);
+ $self_company_pro = !empty($_pro[$_pro_l-1]);
}
//get Profil
@@ -79,7 +84,7 @@ class UserController extends AppController {
}else{
if(isset($profil['DreamjobWorker'])){
$cv = $this->DreamjobCvEntry->find('all',array('conditions' => array('worker_id'=> $profil['AppUser']['id'])));
- if(!$self_company and $profil['AppUser']['id']==$self['AppUser']['id']){
+ if($self_company_pro or $profil['AppUser']['id']==$self['AppUser']['id']){
$cvp0 = $this->DreamjobListCvCategory->find('first',array('conditions' => array('DreamjobListCvCategory.position' => 0)));
$this->set('cvp0', $cvp0);
$this->set("cv",$cv);
diff --git a/app/View/Elements/navbar.ctp b/app/View/Elements/navbar.ctp
index e70bccd..bf92ec0 100755
--- a/app/View/Elements/navbar.ctp
+++ b/app/View/Elements/navbar.ctp
@@ -5,9 +5,9 @@
=__('dreamjob.mail.contact');?>
diff --git a/app/View/Job/application_send_ext_info.ctp b/app/View/Job/application_send_ext_info.ctp
index a391d68..80a8f0f 100644
--- a/app/View/Job/application_send_ext_info.ctp
+++ b/app/View/Job/application_send_ext_info.ctp
@@ -21,9 +21,10 @@
diff --git a/app/View/Layouts/default.ctp b/app/View/Layouts/default.ctp
index c6d0a4d..565d2fe 100755
--- a/app/View/Layouts/default.ctp
+++ b/app/View/Layouts/default.ctp
@@ -32,9 +32,16 @@
=$this->Html->image('logo.png',array('url'=>array('controller'=>'home','action'=>'home'))); ?>
- =$this->Html->image('mobil.png',array("url"=>array('controller'=>'home','action'=>'home')));?>
- */ ?>
+
+
+ =$this->Html->link('Info-Seite','http://info.dream-job.eu/', array('class'=>'main','ref'=>'eventOff','target'=>'_blank'));?>
+ =$this->Html->link('für Unternehmen','http://info.dream-job.eu/arbeitgeber/', array('ref'=>'eventOff','target'=>'_blank'));?>
+ =$this->Html->link('für Suchende','http://info.dream-job.eu/', array('ref'=>'eventOff','target'=>'_blank'));?>
+ =$this->Html->link('für Schüler','http://info.dream-job.eu/schuelen/', array('ref'=>'eventOff','target'=>'_blank'));?>
+ =$this->Html->link('Facebook','https://www.facebook.com/Dreamjobforyou', array('ref'=>'eventOff','target'=>'_blank'));?>
+ =(true)?'':$this->Html->image('mobil.png',array("url"=>array('controller'=>'home','action'=>'home')));?>
+
+
diff --git a/app/View/User/worker.ctp b/app/View/User/worker.ctp
index cef93bf..589ce8c 100644
--- a/app/View/User/worker.ctp
+++ b/app/View/User/worker.ctp
@@ -9,7 +9,7 @@
?>
.modal-title{
- padding:40px 40px;
+ padding:20px;
}
.modal-body,.modal-title{
color:black;