This commit is contained in:
Martin Müller 2014-10-04 17:46:33 +02:00
parent e041210296
commit 87bdc4a8ad
1 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,12 @@
?>
</div>
<?php
if(( !empty($COMPANY) and is_array($COMPANY) and count($COMPANY) > 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 )
){
?>