if($permission[$i] == $permission['1']){