candidate['auto_create'] ):?>
Profil założony z odpowiedzi na ogłoszenie
candidate['id'] ) ) ):?>
'Profil wyróżniony', 'id' => 'highlight', 'text' => $this -> candidate['highlight'] ? 'tak - ' . $this -> candidate['highlight_to'] : 'nieWłącz wyróżnienie na 2 tygodnie' ) );?>
'form-edit', 'label' => 'Profil wypełniony', 'id' => 'profile_completed', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['profile_completed'], 'params' => [ 'table' => 'globelus_users', 'column_id' => 'id', 'row_id' => $this -> candidate['id'], 'column' => 'profile_completed', 'operation' => 'update' ] ) );?>
'form-edit', 'label' => 'Profil aktywny', 'id' => 'status', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['status'], 'params' => [ 'table' => 'globelus_users', 'column_id' => 'id', 'row_id' => $this -> candidate['id'], 'column' => 'status', 'operation' => 'update' ] ) );?>
'form-edit', 'label' => 'Profil widoczny', 'id' => 'visible', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['visible'], 'params' => [ 'table' => 'globelus_users', 'column_id' => 'id', 'row_id' => $this -> candidate['id'], 'column' => 'visible', 'operation' => 'update' ] ) );?>
'text', 'class' => 'form-edit', 'label' => 'Imię', 'id' => 'name', 'value' => $this -> candidate['name'], 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'name', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
'text', 'class' => 'form-edit', 'label' => 'Nazwisko', 'id' => 'surname', 'value' => $this -> candidate['surname'], 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'surname', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
'Email', 'id' => 'email', 'text' => $this -> candidate['email'] ) );?>
'text', 'class' => 'form-edit', 'label' => 'Telefon', 'id' => 'phone', 'value' => $this -> candidate['phone'], 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'phone', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
'text', 'class' => 'form-edit date-birth', 'label' => 'Data urodzenia', 'id' => 'date_of_birth', 'value' => ( $this -> candidate['date_of_birth'] != '0000-00-00' and $this -> candidate['date_of_birth'] != '' and $this -> candidate['date_of_birth'] != '1970-01-01' ) ? date( 'd.m.Y', strtotime( $this -> candidate['date_of_birth'] ) ) : '', 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'date_of_birth', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
'form-edit', 'label' => 'Płeć', 'id' => 'sex', 'values' => [ 0 => 'kobieta', 1 => 'mężczyzna' ], 'value' => $this -> candidate['sex'], 'empty' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'sex', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>

candidate['positions'] ) ):?> candidate['positions'] as $position ):?>
'form-edit form-control', 'id' => 'experience', 'values' => array_merge( [ '' => '--- wybierz poziom doświadczenia ---' ], \front\factory\Globelus::positions_experience() ), 'value' => $position['experience'], 'params' => [ 'style' => 'max-width: 300px; display: inline-block;', 'table' => 'globelus_candidates_positions', 'column_id' => 'id', 'row_id' => $position['id'], 'column' => 'experience', 'operation' => 'update' ] ) );?>
'form-edit form-control globelus_candidates_positions_' . $i . '1', 'values' => array_merge( [ '' => '--- wybierz poziom doświadczenia ---' ], \front\factory\Globelus::positions_experience() ), 'value' => 0, 'params' => [ 'style' => 'max-width: 300px; display: inline-block;', 'table' => 'globelus_candidates_positions', 'column_id' => 'id', 'row_id' => '', 'column' => 'experience', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'], 'connect' => 'globelus_candidates_positions_' . $i . '0' ] ) );?>
'form-edit', 'label' => 'Czy posiada doświadczenie?', 'id' => 'inexperience', 'values' => [ 0 => 'tak', 1 => 'nie' ], 'value' => $this -> candidate['inexperience'], 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'inexperience', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
categories ) ): foreach ( $this -> categories as $category ): echo '
'; echo \Html::input( array( 'type' => 'checkbox', 'class' => 'form-edit', 'value' => $category['id'], 'checked' => in_array( $category['id'], $this -> candidate['categories'] ) ? true : false, 'params' => [ 'style' => 'position: relative; top: 2px; margin-right: 5px;', 'table' => 'globelus_candidates_categories', 'column_id' => 'id', 'row_id' => null, 'values' => 'user_id;' . $this -> candidate['id'] . '|category_id;' . $category['id'], 'operation' => 'insert_delete' ] ) ); echo $category['name']; echo '
'; endforeach; endif; ?>
candidate['languages'] ) and !empty( $this -> candidate['languages'] ) ):?> candidate['languages'] as $language ):?>
'text', 'class' => 'form-edit form-control', 'value' => $language['language'], 'params' => [ 'style' => 'max-width: 300px; display: inline-block; margin-right: 10px;', 'table' => 'globelus_candidates_languages', 'column_id' => 'id', 'row_id' => $language['id'], 'column' => 'language', 'operation' => 'update' ] ) );?> 'form-edit form-control', 'values' => array_merge( [ '0' => '--- wybierz poziom znajomości języka ---' ], \front\factory\Globelus::languages_experience() ), 'value' => $language['experience'], 'params' => [ 'style' => 'max-width: 300px; display: inline-block;', 'table' => 'globelus_candidates_languages', 'column_id' => 'id', 'row_id' => $language['id'], 'column' => 'experience', 'operation' => 'update' ] ) );?>
'text', 'class' => 'form-edit form-control globelus_candidates_languages_' . $i . '0', 'params' => [ 'style' => 'max-width: 300px; display: inline-block; margin-right: 10px;', 'table' => 'globelus_candidates_languages', 'column_id' => 'id', 'row_id' => '', 'column' => 'language', 'values' => 'user_id;' . $this -> candidate['id'], 'operation' => 'insert_update', 'connect' => 'globelus_candidates_languages_' . $i . '1' ] ) );?> 'form-edit form-control globelus_candidates_languages_' . $i . '1', 'values' => array_merge( [ '0' => '--- wybierz poziom znajomości języka ---' ], \front\factory\Globelus::languages_experience() ), 'value' => 0, 'params' => [ 'style' => 'max-width: 300px; display: inline-block;', 'table' => 'globelus_candidates_languages', 'column_id' => 'id', 'row_id' => '', 'column' => 'experience', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'], 'connect' => 'globelus_candidates_languages_' . $i . '0' ] ) );?>
'; echo \Html::input( array( 'type' => 'checkbox', 'class' => 'form-edit', 'value' => $country['id'], 'checked' => in_array( $country['id'], $this -> candidate['countries'] ) ? true : false, 'params' => [ 'style' => 'position: relative; top: 2px; margin-right: 5px;', 'table' => 'globelus_candidates_countries', 'column_id' => 'id', 'row_id' => null, 'values' => 'user_id;' . $this -> candidate['id'] . '|country_id;' . $country['id'], 'operation' => 'insert_delete' ] ) ); echo $country['name']; echo '
'; endforeach; endif; ?>
'; echo \Html::input( array( 'type' => 'checkbox', 'class' => 'form-edit', 'value' => $voivodeship['id'], 'checked' => in_array( $voivodeship['id'], $this -> candidate['voivodeships'] ) ? true : false, 'params' => [ 'style' => 'position: relative; top: 2px; margin-right: 5px;', 'table' => 'globelus_candidates_voivodeships', 'column_id' => 'id', 'row_id' => null, 'values' => 'id_user;' . $this -> candidate['id'] . '|id_voivodeship;' . $voivodeship['id'], 'operation' => 'insert_delete' ] ) ); echo $voivodeship['name']; echo '
'; endforeach; endif; ?>
'form-edit', 'label' => 'Dostępność', 'id' => 'status_of_availability', 'values' => \front\factory\Globelus::availability_status(), 'value' => $this -> candidate['status_of_availability'], 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'status_of_availability', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?> 'text', 'class' => 'form-edit date', 'label' => 'Dostępny od', 'id' => 'date_of_availability', 'value' => $this -> candidate['date_of_availability'] and $this -> candidate['date_of_availability'] != '0000-00-00' ? $this -> candidate['date_of_availability'] : '', 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'date_of_availability', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?> 'form-edit', 'label' => 'Doświadczenie w pracy za granicą', 'id' => 'experience_abroad', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['experience_abroad'], 'empty' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'experience_abroad', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?> 'form-edit', 'label' => 'Czy potrzebuje zakwaterowania', 'id' => 'accommodation', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['accommodation'], 'empty' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'accommodation', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?> 'form-edit', 'label' => 'Czy posiada prawo jazdy', 'id' => 'driving_license', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['driving_license'], 'empty' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'driving_license', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?> 'form-edit', 'label' => 'Czy dysponuje własnym samochodem', 'id' => 'own_car', 'values' => [ 0 => 'nie', 1 => 'tak' ], 'value' => $this -> candidate['own_car'], 'empty' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'own_car', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?> candidate['id'] ) ) ): $cv = 'zobacz CV'; endif; ?> 'CV', 'id' => 'cv', 'text' => $cv ) );?>
'Dodatkowe informacje', 'class' => 'form-edit', 'name' => 'other_information', 'id' => 'other_information', 'value' => $this -> candidate['other_information'], 'inline' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'other_information', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
'Notatka od GLOBELUS.pl', 'class' => 'form-edit', 'name' => 'notes', 'id' => 'notes', 'value' => $this -> candidate['notes'], 'inline' => true, 'params' => [ 'table' => 'globelus_candidates_data', 'column_id' => 'id', 'row_id' => $this -> candidate['data_id'], 'column' => 'notes', 'operation' => 'insert_update', 'values' => 'user_id;' . $this -> candidate['id'] ] ) );?>
id = 'candidate-preview'; $grid -> gdb_opt = $gdb; $grid -> include_plugins = true; $grid -> title = 'Podgląd kandydata'; $grid -> actions = [ 'cancel' => [ 'url' => '/admin/globelus_candidates/main_view/' ] ]; $grid -> external_code = $out; $grid -> persist_edit = true; $grid -> id_param = 'id'; echo $grid -> draw(); ?>