From 87bdc4a8adfc41e38cc84608cf8192e3a2b97ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sat, 4 Oct 2014 17:46:33 +0200 Subject: [PATCH] #99 anordung --- app/View/User/worker.ctp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/View/User/worker.ctp b/app/View/User/worker.ctp index f0168ce..cef93bf 100644 --- a/app/View/User/worker.ctp +++ b/app/View/User/worker.ctp @@ -9,7 +9,12 @@ ?> 0 and ($COMPANY['DreamjobCompany']['pro_user']>1) ) + $pro = decbin($COMPANY['DreamjobCompany']['pro_user']); + $pro_l = strlen($pro); + $pro_user = !empty($pro[$pro_l-1]); + + +if(( !empty($COMPANY) and is_array($COMPANY) and count($COMPANY) > 0 and $pro_user ) or ( !empty($WORKER) and is_array($WORKER) and count($WORKER) > 0 ) ){ ?>