begin
wwv_flow_api.create_page(
 p_id=>4
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Corona Hilfe Angebote Annahme'
,p_step_title=>'Corona Hilfe Angebote Annahme'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_help_text=>unistr('.. schon erste Hilfe n\00F6tig ? Bitte erstmal umschauen...')
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200401204929'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214590074370107511)
,p_plug_name=>unistr('Sch\00F6n, dass Sie da sind !!!')
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(209371491749089811)
,p_plug_name=>unistr('Sch\00F6n, dass Sie da sind !!!')
,p_parent_plug_id=>wwv_flow_api.id(214590074370107511)
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<b><table >',
' ',
'<tr>',
unistr('  <td>Die LANDESZEITUNG berichtete am Freitag, den 20.3.2020 \00FCber Angebote hilfsbereiter B\00FCrger aus dem Landkreis... - tolle Aktion!<br><br>'),
'Das hat mich als passionierten Anwendungsentwickler motiviert, diese Anwendung zu erstellen.<br>',
'Dies ist ein privates, nicht kommerzielles Projekt.<br><br>',
unistr('Sie k\00F6nnen hier Ihre Kontaktdaten und Ihr Hilfs-Angebot hinterlassen, damit andere Sie kontakten k\00F6nnen.<br>'),
'',
'    <td>',
'<img src ="#APP_IMAGES#BFW_am_PC.jpg" width = 200></td>',
'  </tr>',
'</table>',
'',
'<br>',
unistr('Seien Sie unbesorgt ob Ihrer Daten. Diese werden nur f\00FCr dieses CORONA-Hilfe-Projekt gespeichert und nach der Krise wieder gel\00F6scht.'),
unistr('Sie k\00F6nnen auch jederzeit Ihre Daten hier wieder selbst entfernen.<br><br>'),
'',
unistr('Ich befinde mich im Austausch mit der Landeszeitung L\00FCneburg. Und die LZ m\00F6chte gerne einige der Helfer und Geholfenen in der LZ portr\00E4tieren und wird Sie m\00F6glicherweise kontaktieren.<br><br>'),
'',
'Seien Sie stolz, das Sie hier mitmachen !!! Respekt ! Das ist echte Zivilcourage.<br><br>',
'',
'Wir freuen uns auf Ihr Angebot!<br><br>',
'',
unistr('Bernhard Fischer-Wasels in Zusammenarbeit mit der Landeszeitung L\00FCneburg.<br>'),
'',
unistr('L\00FCneburg, 20.3.2020</td><br><br>'),
'Update und Info Sonntag, 22.03.2020 09:30h:<br>',
'Das ging ja toll los !! <a target=new href="https://www.landeszeitung.de/blog/lokales/2574595-lueneburg-kennt-nur-eine-richtung">nach diesem Bericht der LZ kamen </a>soviele Hilfsangebote! Meine Anerkennung an alle!<br>',
'---<br>',
'Update Montag, 23.3.2020 (12:30h) :<br>',
unistr('Seien Sie unbesorgt! Es ist \00FCberall sehr ruhig und es sind noch keine Hilfs-anfragen eingegangen. Ich sprach heute mit dem DRK-L\00FCneburg - auch dort gibt es noch keine Anfragen auf Unterst\00FCtzung. Warten wir es ab.</b>')))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_report_region(
 p_id=>wwv_flow_api.id(211183703828617325)
,p_name=>'Aktuelle Hilfs-Angebote;&nbsp;&nbsp;'
,p_parent_plug_id=>wwv_flow_api.id(214590074370107511)
,p_template=>wwv_flow_api.id(210731338888214743)
,p_display_sequence=>20
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight'
,p_new_grid_row=>false
,p_display_point=>'BODY'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_HELP'
,p_query_where=>wwv_flow_string.join(wwv_flow_t_varchar2(
'id != 525',
'and ANGEBOT_GUELTIG_BIS > SYSDATE'))
,p_include_rowid_column=>false
,p_ajax_enabled=>'Y'
,p_query_row_template=>wwv_flow_api.id(210754085550214790)
,p_query_num_rows=>15
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_show_nulls_as=>'-'
,p_query_num_rows_type=>'ROW_RANGES'
,p_pagination_display_position=>'BOTTOM_RIGHT'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211183832858617326)
,p_query_column_id=>1
,p_column_alias=>'ID'
,p_column_display_sequence=>1
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211183902362617327)
,p_query_column_id=>2
,p_column_alias=>'ANREDE'
,p_column_display_sequence=>2
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184031917617328)
,p_query_column_id=>3
,p_column_alias=>'VORNAME'
,p_column_display_sequence=>3
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184182211617329)
,p_query_column_id=>4
,p_column_alias=>'NAME'
,p_column_display_sequence=>4
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184276213617330)
,p_query_column_id=>5
,p_column_alias=>'STRASSE'
,p_column_display_sequence=>5
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184385949617331)
,p_query_column_id=>6
,p_column_alias=>'PLZ'
,p_column_display_sequence=>6
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184463414617332)
,p_query_column_id=>7
,p_column_alias=>'ORT'
,p_column_display_sequence=>11
,p_column_heading=>'Ort'
,p_use_as_row_header=>'N'
,p_heading_alignment=>'LEFT'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184523385617333)
,p_query_column_id=>8
,p_column_alias=>'STADTTEIL'
,p_column_display_sequence=>12
,p_column_heading=>'Stadtteil'
,p_use_as_row_header=>'N'
,p_heading_alignment=>'LEFT'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184617680617334)
,p_query_column_id=>9
,p_column_alias=>'ANGEBOT'
,p_column_display_sequence=>9
,p_column_heading=>'Angebot'
,p_use_as_row_header=>'N'
,p_heading_alignment=>'LEFT'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184758994617335)
,p_query_column_id=>10
,p_column_alias=>'KATEGORIE'
,p_column_display_sequence=>10
,p_column_heading=>'Kategorie'
,p_use_as_row_header=>'N'
,p_heading_alignment=>'LEFT'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184850591617336)
,p_query_column_id=>11
,p_column_alias=>'SONSTIGES'
,p_column_display_sequence=>13
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211184959801617337)
,p_query_column_id=>12
,p_column_alias=>'EMAIL'
,p_column_display_sequence=>14
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185082569617338)
,p_query_column_id=>13
,p_column_alias=>'PASSWORT'
,p_column_display_sequence=>15
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185189175617339)
,p_query_column_id=>14
,p_column_alias=>'TELEFON'
,p_column_display_sequence=>16
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185239723617340)
,p_query_column_id=>15
,p_column_alias=>'PKW'
,p_column_display_sequence=>17
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185355438617341)
,p_query_column_id=>16
,p_column_alias=>'ERFASST_AM'
,p_column_display_sequence=>18
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185408398617342)
,p_query_column_id=>17
,p_column_alias=>'ANGEBOT_GUELTIG_BIS'
,p_column_display_sequence=>19
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185527673617343)
,p_query_column_id=>18
,p_column_alias=>'BEMERKUNGEN'
,p_column_display_sequence=>20
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185677484617344)
,p_query_column_id=>19
,p_column_alias=>'ADMIN'
,p_column_display_sequence=>21
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(211185706711617345)
,p_query_column_id=>20
,p_column_alias=>'DATENSCHUTZ'
,p_column_display_sequence=>22
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(209371517176089812)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(211183703828617325)
,p_button_name=>'Angeboteintragen'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--iconRight'
,p_button_template_id=>wwv_flow_api.id(210792104032214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Mein Angebot eintragen'
,p_button_position=>'RIGHT_OF_TITLE'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:RP,17:P17_PREV_PAGE:&APP_PAGE_ID.'
,p_icon_css_classes=>'fa-signing'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(214593001852107541)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(211183703828617325)
,p_button_name=>unistr('Hilfe_ben\00F6tigt')
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--iconRight'
,p_button_template_id=>wwv_flow_api.id(210792104032214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>unistr('Hilfe ben\00F6tigt ? Klick hier f\00FCr ausf\00FChrlicher...')
,p_button_position=>'RIGHT_OF_TITLE'
,p_button_redirect_url=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:RP::'
,p_icon_css_classes=>'fa-volume-control-phone'
);
end;
/
prompt --application/pages/page_00005
begin
wwv_flow_api.create_page(
 p_id=>5
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Hilfs Angebote'
,p_step_title=>'Hilfs Angebote'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_help_text=>unistr('Durch das Ausw\00E4hlen einer Hilfekarte kann man im n\00E4chsten Schritt seine Kontaktdaten hinterlassen - und wird dann angerufen oder angemailt, um Weiteres zu vereinbaren.')
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200513075108'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214589954219107510)
,p_plug_name=>'<font color="lightblue">Corona Help - Hilfs-Angebote aus der Region</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_display_condition_type=>'NEVER'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_report_region(
 p_id=>wwv_flow_api.id(220941315067225120)
,p_name=>'Corona Help - Hilfs-Angebote aus der Region'
,p_template=>wwv_flow_api.id(210731338888214743)
,p_display_sequence=>20
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:u-colors:t-Cards--displaySubtitle:t-Cards--compact:t-Cards--displayInitials:t-Cards--float:t-Cards--animRaiseCard'
,p_display_point=>'BODY'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ID,',
'KATEGORIE as CARD_TITLE,',
'plz||''-''||ORT||'', ''||STADTTEIL as card_subtitle, ',
'ANGEBOT||''-''||SONSTIGES||''-''||BEMERKUNGEN as CARD_TEXT,',
'',
'case ',
'when masks_available > 0 then',
unistr('substr(VORNAME,1,1)||'' ''|| substr(NAME,1,3)||''...- ''||''Mundschutz verf\00FCgbar: ''|| masks_available'),
'else',
'ANREDE||'' ''||substr(VORNAME,1,1)||'' ''|| substr(NAME,1,3)||''...'' end as CARD_SUBTEXT,',
'',
'',
'',
'--ANREDE||'' ''||substr(VORNAME,1,1)||'' ''|| substr(NAME,1,3)||''...'' as CARD_SUBTEXT,',
'apex_string.get_initials(VORNAME) as card_initials,     -- 2 or 3 letters, use apex_string.get_initials(...)',
'APEX_PAGE.GET_URL (',
'            p_page   => 8,',
'            p_items  => ''P8_COR_HELPER_FK'',',
'            p_values => ID ) as CARD_LINK',
'--       STRASSE,',
'--       SONSTIGES,',
'--       EMAIL,',
'--       PASSWORT,',
'--       TELEFON,',
'--       PKW,',
'--       ERFASST_AM,',
'--       ANGEBOT_GUELTIG_BIS',
'--       BEMERKUNGEN',
'  from CORONA_HELP',
'--  where ANGEBOT_GUELTIG_BIS > SYSDATE',
'--  and id != 525',
' where upper(ORT)||upper(stadtteil)||upper(KATEGORIE) like ''%''||upper(:P5_SUCHE)||''%''',
' and upper(ORT)||upper(stadtteil)||upper(KATEGORIE) like ''%''||upper(:P5_SUCHE2)||''%''',
'  ',
'  -- vorlage:',
'  /**',
'  select',
'  -- data',
'  card_title,       -- title',
'  card_subtitle,    -- subtitle, set template option to see',
'  card_text,        -- card body text',
'  card_subtext,     -- card secondary text, positioned near bottom',
'',
'  -- ui and other attributes',
'  card_modifiers,   -- card item modifiers',
'  card_link,        -- card link, use apex_page.get_url(...)',
'  card_color,       -- color modifier, e.g. u-color-1 or u-warning',
'  card_icon,        -- icon class, e.g. fa-cloud',
'  card_initials     -- 2 or 3 letters, use apex_string.get_initials(...)',
'from dual',
'',
'**/',
'   '))
,p_header=>'<font color="blue"><b>Zur Auswahl auf die Karteikarte klicken - und die eigenen Kontaktdaten eintragen. Dann werden Sie kontaktiert (per Telefon oder Email).</b></font><br><br>'
,p_ajax_enabled=>'Y'
,p_query_row_template=>wwv_flow_api.id(210747234234214781)
,p_query_num_rows=>27
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_show_nulls_as=>'-'
,p_query_num_rows_type=>'ROW_RANGES'
,p_pagination_display_position=>'BOTTOM_RIGHT'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220943619058225143)
,p_query_column_id=>1
,p_column_alias=>'ID'
,p_column_display_sequence=>1
,p_column_heading=>'Id'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220943790000225144)
,p_query_column_id=>2
,p_column_alias=>'CARD_TITLE'
,p_column_display_sequence=>2
,p_column_heading=>'Card Title'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220943877815225145)
,p_query_column_id=>3
,p_column_alias=>'CARD_SUBTITLE'
,p_column_display_sequence=>3
,p_column_heading=>'Card Subtitle'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220943916633225146)
,p_query_column_id=>4
,p_column_alias=>'CARD_TEXT'
,p_column_display_sequence=>4
,p_column_heading=>'Card Text'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220944094797225147)
,p_query_column_id=>5
,p_column_alias=>'CARD_SUBTEXT'
,p_column_display_sequence=>5
,p_column_heading=>'Card Subtext'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220944147776225148)
,p_query_column_id=>6
,p_column_alias=>'CARD_INITIALS'
,p_column_display_sequence=>6
,p_column_heading=>'Card Initials'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(220944240537225149)
,p_query_column_id=>7
,p_column_alias=>'CARD_LINK'
,p_column_display_sequence=>7
,p_column_heading=>'Card Link'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(421763365191721062)
,p_plug_name=>'Corona Help - Hilfs-Angebote aus der Region (NEVER - Alt)'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>40
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ID,',
'       ANREDE,',
'      substr(VORNAME,1,1)||''..'' as Vorname,',
'       substr(NAME,1,3)||''..'' as Name,',
'--       STRASSE,',
'       PLZ,',
'       ORT,',
'       STADTTEIL,',
'       ANGEBOT,',
'       KATEGORIE,',
'--       SONSTIGES,',
'       EMAIL,',
'--       PASSWORT,',
'--       TELEFON,',
'       PKW,',
'       ERFASST_AM,',
'       ANGEBOT_GUELTIG_BIS',
'--       BEMERKUNGEN',
'  from CORONA_HELP',
'--  where ANGEBOT_GUELTIG_BIS > SYSDATE',
'--  where id != 525',
'   '))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_display_condition_type=>'NEVER'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(421763399636721062)
,p_name=>'Mein Profil'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y_OF_Z'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_show_actions_menu=>'N'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'N'
,p_owner=>'FISCHER'
,p_internal_uid=>421763399636721062
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210935949880505761)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'ID'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210936372892505776)
,p_db_column_name=>'ANREDE'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Anrede'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210937989685505778)
,p_db_column_name=>'PLZ'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Plz'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210938335028505779)
,p_db_column_name=>'ORT'
,p_display_order=>7
,p_column_identifier=>'G'
,p_column_label=>'Ort'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210938734396505779)
,p_db_column_name=>'STADTTEIL'
,p_display_order=>8
,p_column_identifier=>'H'
,p_column_label=>'Stadtteil'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210939185195505779)
,p_db_column_name=>'ANGEBOT'
,p_display_order=>9
,p_column_identifier=>'I'
,p_column_label=>unistr('Angebot (klick drauf f\00FCr diese Hilfe)')
,p_column_link=>'f?p=&APP_ID.:8:&SESSION.::&DEBUG.:RP,8:P8_COR_HELPER_FK:#ID#'
,p_column_linktext=>'#ANGEBOT#'
,p_column_link_attr=>'class="t-Button t-Button--simple t-Button--hot t-Button--stretch"'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210939521716505780)
,p_db_column_name=>'KATEGORIE'
,p_display_order=>10
,p_column_identifier=>'J'
,p_column_label=>unistr('Kategorie (klick drauf f\00FCr diese Hilfe)')
,p_column_link=>'f?p=&APP_ID.:8:&SESSION.::&DEBUG.:RP,8:P8_COR_HELPER_FK:#ID#'
,p_column_linktext=>'#KATEGORIE#'
,p_column_link_attr=>'class="t-Button t-Button--simple t-Button--hot t-Button--stretch"'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210941557999505782)
,p_db_column_name=>'PKW'
,p_display_order=>15
,p_column_identifier=>'O'
,p_column_label=>'Pkw'
,p_column_type=>'STRING'
,p_display_text_as=>'HIDDEN'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210941979673505782)
,p_db_column_name=>'ERFASST_AM'
,p_display_order=>16
,p_column_identifier=>'P'
,p_column_label=>'Erfasst Am'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(210942338132505782)
,p_db_column_name=>'ANGEBOT_GUELTIG_BIS'
,p_display_order=>17
,p_column_identifier=>'Q'
,p_column_label=>'Angebot Gueltig Bis'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(209372810470089825)
,p_db_column_name=>'VORNAME'
,p_display_order=>27
,p_column_identifier=>'V'
,p_column_label=>'Vorname'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(209372943519089826)
,p_db_column_name=>'NAME'
,p_display_order=>37
,p_column_identifier=>'W'
,p_column_label=>'Name'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(209373562323089832)
,p_db_column_name=>'EMAIL'
,p_display_order=>47
,p_column_identifier=>'X'
,p_column_label=>'Email'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(421794267893721313)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2109435'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_view_mode=>'REPORT'
,p_report_columns=>'KATEGORIE:ANGEBOT:ANREDE:VORNAME:NAME:PLZ:ORT:STADTTEIL:PKW:ERFASST_AM:ANGEBOT_GUELTIG_BIS:'
,p_sort_column_1=>'ANREDE'
,p_sort_direction_1=>'ASC'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(220941535984225122)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(220941315067225120)
,p_button_name=>'CREATE_1'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'BELOW_BOX'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_button_condition_type=>'NEVER'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221496964892739001)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(220941315067225120)
,p_button_name=>'Suchen'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Suchen'
,p_button_position=>'BODY'
,p_grid_new_row=>'N'
,p_grid_new_column=>'Y'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221497272750739004)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(220941315067225120)
,p_button_name=>'Alle_anzeigen'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Alle Anzeigen'
,p_button_position=>'BODY'
,p_button_redirect_url=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:RP,5::'
,p_grid_new_row=>'N'
,p_grid_new_column=>'Y'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210943922943505796)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(421763365191721062)
,p_button_name=>'Angebot_erfassen'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'t-Button--iconRight'
,p_button_template_id=>wwv_flow_api.id(210792104032214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Mein Hilfs-Angebot eintragen'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_icon_css_classes=>'fa-hand-o-right'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210944242452505803)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(421763365191721062)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_button_condition_type=>'NEVER'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(220941477333225121)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(220941315067225120)
,p_button_name=>'Angebot_erfassen_1'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'t-Button--iconRight'
,p_button_template_id=>wwv_flow_api.id(210792104032214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Mein Hilfs-Angebot erfassen'
,p_button_position=>'TOP'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_icon_css_classes=>'fa-hand-o-right'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(221497059039739002)
,p_name=>'P5_SUCHE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(220941315067225120)
,p_prompt=>'<b>Suchbegriff:</b>'
,p_placeholder=>'z.B. Ort'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_field_template=>wwv_flow_api.id(210790733941214889)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(221497470326739006)
,p_name=>'P5_SUCHE2'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(220941315067225120)
,p_prompt=>'<b>2. Suchbegriff:</b>'
,p_placeholder=>'z.B. Einkauf oder Tier'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790733941214889)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
end;
/
prompt --application/pages/page_00006
begin
wwv_flow_api.create_page(
 p_id=>6
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Corona Helfer - alle Daten'
,p_step_title=>'Corona Helfer - alle Daten'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_required_role=>wwv_flow_api.id(214559833393633824)
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200327205259'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(213887038870556848)
,p_plug_name=>'Corona Helfer - Kontaktdaten (nur Admin)'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ID,',
'       ANREDE,',
'       VORNAME,',
'       NAME,',
'       STRASSE,',
'       PLZ,',
'       ORT,',
'       STADTTEIL,',
'       ANGEBOT,',
'KATEGORIE,',
'       SONSTIGES,',
'       EMAIL,',
'--       PASSWORT,',
'       TELEFON,',
'--       PKW,',
'       ERFASST_AM,',
'       ANGEBOT_GUELTIG_BIS,',
'       BEMERKUNGEN,',
'       ADMIN,',
'       DATENSCHUTZ',
'  from CORONA_HELP',
'  where id != 525'))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(213887126720556848)
,p_name=>'Corona Helfer - alle Daten'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y_OF_Z'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_show_actions_menu=>'N'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'C'
,p_detail_link=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:RP:P17_ID,P17_PREV_PAGE:#ID#,&APP_PAGE_ID.'
,p_detail_link_text=>'<img src="#IMAGE_PREFIX#app_ui/img/icons/apex-edit-pencil.png" class="apex-edit-pencil" alt="">'
,p_owner=>'FISCHER'
,p_internal_uid=>213887126720556848
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213887563339557073)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'Id'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213888054233557145)
,p_db_column_name=>'ANREDE'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Anrede'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213888453246557146)
,p_db_column_name=>'VORNAME'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'Vorname'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213888821916557147)
,p_db_column_name=>'NAME'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'Name'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213889245697557147)
,p_db_column_name=>'STRASSE'
,p_display_order=>5
,p_column_identifier=>'E'
,p_column_label=>'Strasse'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213889640041557148)
,p_db_column_name=>'PLZ'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Plz'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213890098415557149)
,p_db_column_name=>'ORT'
,p_display_order=>7
,p_column_identifier=>'G'
,p_column_label=>'Ort'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213890487026557149)
,p_db_column_name=>'STADTTEIL'
,p_display_order=>8
,p_column_identifier=>'H'
,p_column_label=>'Stadtteil'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213890894134557149)
,p_db_column_name=>'ANGEBOT'
,p_display_order=>9
,p_column_identifier=>'I'
,p_column_label=>'Angebot'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213891661663557150)
,p_db_column_name=>'SONSTIGES'
,p_display_order=>11
,p_column_identifier=>'K'
,p_column_label=>'Sonstiges'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213892055027557154)
,p_db_column_name=>'EMAIL'
,p_display_order=>12
,p_column_identifier=>'L'
,p_column_label=>'Email'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213892867363557155)
,p_db_column_name=>'TELEFON'
,p_display_order=>14
,p_column_identifier=>'N'
,p_column_label=>'Telefon'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213893640945557157)
,p_db_column_name=>'ERFASST_AM'
,p_display_order=>16
,p_column_identifier=>'P'
,p_column_label=>'Erfasst Am'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213894052210557163)
,p_db_column_name=>'ANGEBOT_GUELTIG_BIS'
,p_display_order=>17
,p_column_identifier=>'Q'
,p_column_label=>'Angebot Gueltig Bis'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213894408203557164)
,p_db_column_name=>'BEMERKUNGEN'
,p_display_order=>18
,p_column_identifier=>'R'
,p_column_label=>'Bemerkungen'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213894862685557164)
,p_db_column_name=>'ADMIN'
,p_display_order=>19
,p_column_identifier=>'S'
,p_column_label=>'Admin'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(213895252124557165)
,p_db_column_name=>'DATENSCHUTZ'
,p_display_order=>20
,p_column_identifier=>'T'
,p_column_label=>'Datenschutz'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(222634756352831539)
,p_db_column_name=>'KATEGORIE'
,p_display_order=>30
,p_column_identifier=>'V'
,p_column_label=>'Kategorie'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(213896890574562526)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2138969'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'ID:ANREDE:VORNAME:NAME:STRASSE:PLZ:ORT:STADTTEIL:ANGEBOT:SONSTIGES:EMAIL:TELEFON:BEMERKUNGEN:ANGEBOT_GUELTIG_BIS:ERFASST_AM::KATEGORIE'
);
end;
/
prompt --application/pages/page_00007
begin
wwv_flow_api.create_page(
 p_id=>7
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Fragen/Antworten'
,p_step_title=>'Fragen/Antworten'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200323223910'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(211185842718617346)
,p_plug_name=>'Wie funktioniert die Kontaktaufnahme ?'
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210716470699214733)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<b>Anbieter/in:</b><br><br>',
unistr('1. Der/die Anbieter*in f\00FCr Hilfsdienste hinterl\00E4\00DFt sein/ihr Angebot mit seiner/ihrer Email-Adresse.<br><br>'),
unistr('2. Zun\00E4chst bekommt er/sie prompt eine Best\00E4tigungsmail.<br><br>'),
'3. Das Angebot erscheint auf der Liste "Hilfs Angebote".<br><br><br>',
'',
'<b>Hilfe Suchende/r:</b><br><br>',
'',
'4. Sucht nach Kategorie, Angebot und Ort ein entsprechendes Angebot.<br><br>',
'5. Klickt auf die Beschreibung in der Liste und<br><br>',
unistr('6. f\00FCllt das Formular "Angebot Annahme" aus zur Kontaktaufnahme.<br><br>'),
'7. Die Anwendung sendet sogleich eine Email an den/die Anbieter/in...<br><br>',
'',
'<b>Anbieter/in:</b><br><br>',
'',
unistr('8. Der/die Anbieter/in erh\00E4lt die Mail mit der Aufforderung sich im Portal einzuloggen --> oben rechts "Login-Profil".<br><br>'),
'9. Einloggen mit E-Mail-Adresse und Passwort.<br><br>',
'10. Im "Profil" - oben rechts unter dem "Namen/E-mail" klick auf "Profil".<br><br>',
'11. 2 Klicks weiter sieht man neben den Profildaten rechts die Kontaktdaten des Hilfesuchenden.<br><br>',
'12. Kontaktaufnahme per telefon oder Email.',
''))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(211185945609617347)
,p_plug_name=>'Ich habe mein Passwort vergessen - was tun ?'
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210716470699214733)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Auf der "Login-Seite" gibt es einen Link " Passwort vergessen"<br><br>',
'wenn man darauf klickt, erscheint eine Seite, wo man seine Email-Adresse eingeben kann...<br><br>',
'Die Anwendung sendet einem dann eine Mail mit dem Passwort.'))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(211186153986617349)
,p_plug_name=>unistr('Ich m\00F6chte nicht mehr - habe genug zutun... - was mache ich da ?')
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210716470699214733)
,p_plug_display_sequence=>30
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('Man kann sich in sein Profil einloggen und das Datum bei "Angebot g\00FCltig bis" auf einen Tag in der Vergangenheit (also zum Beispiel auf gestern) setzen.<br><br>'),
'Dann wir das Hilfs-Angebot nicht mehr in der Liste angezeigt.'))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214589483757107505)
,p_plug_name=>'Was sollen Senioren ohne Internet/Computer Know How machen ?'
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210716470699214733)
,p_plug_display_sequence=>40
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('Dies ist eine sehr gute Frage, die mir Nicole aus L\00FCneburg stellte...<br><br>'),
'',
unistr('EINE Option: Ihr sprecht ja sehr wahrscheinlich mit denen, Euren Eltern oder Gro\00DFeletern im Seniorenwohnheim oder zuhause.<br><br>'),
unistr('IHR k\00F6nntet das f\00FCr sie organisieren ! - wenn sie wollen...<br><br>'),
unistr('Ferner ist diese Privatinitiative ja eine Kooperation mit der Landeszeitung... und die LZ wird einiges berichten und Informationen weiterhin ver\00F6ffentlichen.')))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214589532679107506)
,p_plug_name=>'Datenschutz - was passiert mit meinen Daten ?'
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210716470699214733)
,p_plug_display_sequence=>50
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Wir nehmen den Datenschutz sehr ernst.<br><br>',
unistr('Die von uns gespeicherten Daten werden nur f\00FCr dieses Projekt genutzt und nicht an andere weitergegeben.<br><br>'),
'',
unistr('Kleine Ausnahme: die Kooperation mit der L\00FCneburger Landeszeitung<br><br>'),
'',
unistr('Die "LZ" m\00F6chte sporadisch \00FCber unser "CORONA-Hilfe Projekt" berichten und Sie deswegen m\00F6glicherweise kontaktieren.<br><br>'),
'Die Landeszeitung hat auch versichert, dass die Kontaktdaten nur zu diesem Zwecke genutzt werden sollen.'))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214589610625107507)
,p_plug_name=>unistr('Kann ich die Nutzung meiner Daten widerrufen bzw. l\00F6schen ?')
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210716470699214733)
,p_plug_display_sequence=>60
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>unistr('Ja, Sie k\00F6nnen jederzeit \00FCber Ihr Profil (oben rechts --> Login - Profil) Ihre Daten aktualisieren und auch l\00F6schen.')
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214589709503107508)
,p_plug_name=>'<font color="lightblue">Fragen und Antworten</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_00008
begin
wwv_flow_api.create_page(
 p_id=>8
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>unistr('Hilfe annehmen -  Hilfe erw\00FCnscht')
,p_step_title=>unistr('Hilfe annehmen -  Hilfe erw\00FCnscht')
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200430131204'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(210985097389787838)
,p_plug_name=>unistr('Hilfe erw\00FCnscht - bitte eintragen und abschicken - Sie werden dann kontaktiert')
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_LEUTE'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_header=>unistr('Info: oben "zulassen" (oder "Allow") klicken f\00FCr Ihre Position in der Karte.')
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(210994373138787946)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210714456887214726)
,p_plug_display_sequence=>20
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_display_condition_type=>'NEVER'
,p_attribute_01=>'N'
,p_attribute_02=>'TEXT'
,p_attribute_03=>'Y'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210994722754787947)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(210985097389787838)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'abbrechen'
,p_button_position=>'BELOW_BOX'
,p_button_alignment=>'LEFT'
,p_button_redirect_url=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:RP::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210996348080787982)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(210985097389787838)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Delete'
,p_button_position=>'BELOW_BOX'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P8_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210996788226787982)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(210985097389787838)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'BELOW_BOX'
,p_button_condition=>'P8_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210997113495787983)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(210985097389787838)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Abschicken'
,p_button_position=>'BELOW_BOX'
,p_button_condition=>'P8_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(209373072508089827)
,p_branch_action=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:RP::&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_when_button_id=>wwv_flow_api.id(210997113495787983)
,p_branch_sequence=>10
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(227343561236615719)
,p_branch_name=>'Go To Page 5'
,p_branch_action=>'f?p=&APP_ID.:15:&SESSION.::&DEBUG.:RP::&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_when_button_id=>wwv_flow_api.id(210996788226787982)
,p_branch_sequence=>20
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(209373474896089831)
,p_name=>'P8_EMAIL_ANBIETER'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_use_cache_before_default=>'NO'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select email from CORONA_HELP',
'where id = :P8_COR_HELPER_FK'))
,p_source_type=>'QUERY'
,p_display_as=>'NATIVE_HIDDEN'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210985367061787849)
,p_name=>'P8_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_source=>'ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210985720773787897)
,p_name=>'P8_COR_HELPER_FK'
,p_source_data_type=>'NUMBER'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_source=>'COR_HELPER_FK'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210986004287787919)
,p_name=>'P8_ANREDE'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Anrede'
,p_source=>'ANREDE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>'STATIC2:Frau;Frau,Herr;Herr,Praxis;Praxis,Klinik;Klinik'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'4'
,p_attribute_02=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210986428808787920)
,p_name=>'P8_VORNAME'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Vorname'
,p_source=>'VORNAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>12
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210986838356787923)
,p_name=>'P8_NAME'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Name'
,p_source=>'NAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210987252655787924)
,p_name=>'P8_STRASSE'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Strasse'
,p_source=>'STRASSE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210987666233787929)
,p_name=>'P8_PLZ'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Plz'
,p_source=>'PLZ'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>6
,p_cMaxlength=>10
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210988045881787929)
,p_name=>'P8_ORT'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>90
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Ort'
,p_source=>'ORT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>50
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210988428984787930)
,p_name=>'P8_TELEFON'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>120
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Telefon'
,p_source=>'TELEFON'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210988805058787931)
,p_name=>'P8_EMAIL'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>130
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Email'
,p_source=>'EMAIL'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210989273171787931)
,p_name=>'P8_ERSTELLT_AM'
,p_source_data_type=>'DATE'
,p_item_sequence=>170
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_default=>'sysdate'
,p_item_default_type=>'PLSQL_EXPRESSION'
,p_prompt=>'Erstellt Am'
,p_source=>'ERSTELLT_AM'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER'
,p_cSize=>10
,p_cMaxlength=>255
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_04=>'button'
,p_attribute_05=>'N'
,p_attribute_07=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210989653172787932)
,p_name=>'P8_BEMERKUNGEN'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>160
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Bemerkungen (Kontaktname bei Praxis/Klinik)'
,p_source=>'BEMERKUNGEN'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>200
,p_cHeight=>4
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210990009477787932)
,p_name=>'P8_INFIZIER_JA_NEIN'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>190
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Infiziert'
,p_source=>'INFIZIER_JA_NEIN'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>'STATIC2:Ja;Ja,Nein;Nein'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'2'
,p_attribute_02=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(211183538165617323)
,p_name=>'P8_DATENSCHUTZ'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>180
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Datenschutz: Ich bin damit einverstanden, dass meine Daten gespeichert werden. Siehe auch About-Seite. (Wert erforderlich)'
,p_source=>'DATENSCHUTZ'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_CHECKBOX'
,p_lov=>'STATIC:Ja;Ja'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'1'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214591265352107523)
,p_name=>'P8_EMAIL_1'
,p_is_required=>true
,p_item_sequence=>140
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>unistr('Email \00DCberpr\00FCfung (wird oft falsch geschrieben)')
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(222634957634831541)
,p_name=>'P8_MASKS_NEEDED'
,p_source_data_type=>'NUMBER'
,p_item_sequence=>150
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>unistr('Mundschutz/Atemschutzmasken ben\00F6tigt')
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Praxen/Kliniken)')
,p_source=>'MASKS_NEEDED'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_NUMBER_FIELD'
,p_cSize=>3
,p_display_when_type=>'NEVER'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_inline_help_text=>unistr('wenn etwas anderes ben\00F6tigt, bitte bei Bemerkungen eintragen und Mundschutz "0"')
,p_attribute_03=>'right'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(227343163184615715)
,p_name=>'P8_LAT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>100
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>'Geograf.Breite'
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Anzeige in der Karte)')
,p_source=>'LAT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(227343268243615716)
,p_name=>'P8_LNG'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>110
,p_item_plug_id=>wwv_flow_api.id(210985097389787838)
,p_item_source_plug_id=>wwv_flow_api.id(210985097389787838)
,p_prompt=>unistr('Geograf.L\00E4nge')
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Anzeige in der Karte)')
,p_source=>'LNG'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(211183657969617324)
,p_validation_name=>'Datenschutz_ja'
,p_validation_sequence=>10
,p_validation=>'P8_DATENSCHUTZ'
,p_validation2=>'Ja'
,p_validation_type=>'ITEM_IN_VALIDATION_EQ_STRING2'
,p_error_message=>unistr('sorry, ohne "Ja" funktioniert das hier leider nicht. - siehe auch "\00DCber/Impressum"-Seite')
,p_when_button_pressed=>wwv_flow_api.id(210997113495787983)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(214591386662107524)
,p_validation_name=>'Check_email_format'
,p_validation_sequence=>20
,p_validation=>'regexp_like (:P17_EMAIL, ''^[A-Za-z]+[A-Za-z0-9.]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$'')'
,p_validation_type=>'PLSQL_EXPRESSION'
,p_error_message=>unistr('Email Format nicht g\00FCltig - bitte pr\00FCfen')
,p_associated_item=>wwv_flow_api.id(210988805058787931)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(214591474052107525)
,p_validation_name=>'Check_Email_misprint'
,p_validation_sequence=>30
,p_validation=>'P8_EMAIL'
,p_validation2=>'&P8_EMAIL_1.'
,p_validation_type=>'ITEM_IN_VALIDATION_EQ_STRING2'
,p_error_message=>unistr('Email nicht korrekt - bitte pr\00FCfen')
,p_associated_item=>wwv_flow_api.id(210988805058787931)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(210994824934787947)
,p_name=>'Cancel Dialog'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_api.id(210994722754787947)
,p_bind_type=>'bind'
,p_bind_event_type=>'click'
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(210995662265787975)
,p_event_id=>wwv_flow_api.id(210994824934787947)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CANCEL'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(227343394541615717)
,p_name=>'Position_holen'
,p_event_sequence=>20
,p_bind_type=>'bind'
,p_bind_event_type=>'ready'
,p_display_when_type=>'ITEM_IS_NULL'
,p_display_when_cond=>'P8_LAT'
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(227343489654615718)
,p_event_id=>wwv_flow_api.id(227343394541615717)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'PLUGIN_NL.DETORA.APEX.STORELOCATION'
,p_attribute_01=>'P8_LAT'
,p_attribute_02=>'P8_LNG'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(210997963894787986)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(210985097389787838)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>unistr('Process form Hilfe erw\00FCnscht')
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_process_error_message=>'nix gespeichert.'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_success_message=>unistr('Ihre Anfrage wurde erstellt. \00C4nderungen gespeichert.<br<')
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(209373342559089830)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SEND_EMAIL'
,p_process_name=>'Mail an Anbieter'
,p_attribute_01=>'no_reply@coronahilfe.bfw-design.de'
,p_attribute_02=>'&P8_EMAIL_ANBIETER.'
,p_attribute_06=>'Anfrage nach Hilfe in der Corona Krise'
,p_attribute_07=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Hallo,',
'',
unistr('bitte schauen Sie in die Corona-Hilfe-Anwendung http://coronahilfe.bfw-design.de , dort ist ein Kontakt, der gerne Hilfe bekommen w\00FCrde.'),
'',
'Vorgehensweise: ',
'',
'http://coronahilfe.bfw-design.de ',
'',
'Oben rechts: "Mein Profil" --> einloggen mit Ihrer Emailadresse und Passwort... dann: Profil... - dort sehen Sie dann den Kontakt.',
'',
'Sollten Sie Ihr Passwort vergessen haben: http://coronahilfe.bfw-design.de',
'',
'Auf "Mein Profil" klicken --> auf der Login-Seite auf den Link klicken "Passwort vergessen", Email-Adresse eintragen, abschicken und Sie bekommen Ihr Passwort zugeschickt. Das dauert ca. 2 Min.',
'',
unistr('Danke f\00FCr das Angebot zu helfen.'),
'Wir schaffen das !!!',
'Weiter so !!',
unistr('Wir danken f\00FCr Dein Engagement!'),
'Corona Hilfe',
'http://coronahilfe.bfw-design.de'))
,p_attribute_10=>'N'
,p_process_error_message=>'keine Mail'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_api.id(210997113495787983)
,p_process_success_message=>'Mail geht raus an den Anbieter - er wird sich melden. Bitte etwas Geduld.'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(227346119460615745)
,p_process_sequence=>30
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SEND_EMAIL'
,p_process_name=>'Mail an Hilfesuchenden'
,p_attribute_01=>'no_reply@coronahilfe.bfw-design.de'
,p_attribute_02=>'&P8_EMAIL.'
,p_attribute_06=>'Ihre Anfrage nach Hilfe in der Corona Krise'
,p_attribute_07=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Hallo &P8_ANREDE. &P8_NAME.,',
'',
'Ihre Anfrage ging an den ausgesuchten Kontakt per Email raus.',
'',
'Etwas Geduld bitte - Sie werden kontaktiert!',
'',
'Ihre',
'Corona Hilfe',
'http://coronahilfe.bfw-design.de'))
,p_attribute_10=>'N'
,p_process_error_message=>'keine Mail'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_api.id(210997113495787983)
,p_process_success_message=>unistr('Best\00E4tigungsmail an Sie ging raus')
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(210997529353787985)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(210985097389787838)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>unistr('Initialize form Hilfe erw\00FCnscht')
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
end;
/
prompt --application/pages/page_00009
begin
wwv_flow_api.create_page(
 p_id=>9
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Passwort vergessen'
,p_step_title=>'Passwort vergessen'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200321080501'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(211182531260617313)
,p_plug_name=>'Passwort vergessen... kann mal vorkommen...'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_grid_column_span=>4
,p_plug_display_point=>'BODY'
,p_plug_source=>'Bitte hier Email-Adresse eintragen und wir schicken Ihnen Ihr Passwort.<br><br>'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_footer=>'<br><br>... das Ankommen der Mail dauert ein paar Minuten... schauen sie bitte auch in Ihren SPAM-Ordner! Manchmal landen die Mails dort.'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(211182795927617315)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(211182531260617313)
,p_button_name=>'abschicken'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Abschicken'
,p_button_position=>'BELOW_BOX'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(211182624313617314)
,p_name=>'P9_EMAIL'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(211182531260617313)
,p_prompt=>'Email'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_field_template=>wwv_flow_api.id(210791089082214889)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(211183199584617319)
,p_validation_name=>'check_if_Mail_exists'
,p_validation_sequence=>10
,p_validation=>'select 1 from CORONA_HELP where upper(EMAIL) = upper(:P9_EMAIL)'
,p_validation_type=>'EXISTS'
,p_error_message=>'diese Email Adresse ist uns nicht bekannt... falsch geschrieben ?'
,p_when_button_pressed=>wwv_flow_api.id(211182795927617315)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(211183093954617318)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Passwort_mailen'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'for c1 in (select EMAIL,PASSWORT ',
'             from CORONA_HELP ',
'            where upper(EMAIL) = upper(:P9_EMAIL)) loop',
'  if c1.EMAIL is not null then',
'    APEX_MAIL.SEND',
'(',
'   P_TO       => c1.EMAIL,',
'',
'   P_FROM     => ''info@bfw-design.de'',',
'',
unistr('   P_BODY     => ''Hier ist Dein Passwort f\00FCr die Corona Hilfe Anwendung:''||chr(10)||chr(10)||c1.PASSWORT||chr(10)||chr(10)||'),
unistr('''Hier ist der Link zur Corona Hilfe Anwendung: http://coronahilfe.bfw-design.de''||chr(10)||chr(10)||''Diese Mail ist vom Computersystem generiert - ein Antworten auf diese Mail ist nicht m\00F6glich.''||chr(10)||chr(10)||''Gruss - Bernhard Fischer-Wasels - ')
||'Corona Hilfe'',',
'',
'   P_SUBJ     => ''angefragte Info bei Corona Hilfe''',
');',
'end if;',
'end loop;'))
,p_process_error_message=>'nix gemailt - falsch geschrieben ?'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_api.id(211182795927617315)
,p_process_success_message=>'Das Passwort wurde gemailt - dauert ein paar Minuten... bitte auch in den Spam-Ordner schauen.'
);
end;
/
prompt --application/pages/page_00010
begin
wwv_flow_api.create_page(
 p_id=>10
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Hintergund Infos'
,p_step_title=>'Hintergund Infos'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200323170550'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215306809059426503)
,p_plug_name=>'Hintergrund Infos zum CORONA Virus'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Dr. Emily Porter, Austin Texas - <a target=new href="https://www.youtube.com/watch?v=gTxuo0gH_ho"> Video auf Youtube (5:30 Min.) - Englisch</a><br>',
'"Flatten the Curve" - 49 von 50 Amerikanern werden sterben...<br><br>'))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_00011
begin
wwv_flow_api.create_page(
 p_id=>11
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Restaurant Services'
,p_step_title=>'Restaurant Services'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200323225244'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(211186262336617350)
,p_plug_name=>'Restaurants - jetzt bei Dir zuhause'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('Die Restaurants mussten jetzt schlie\00DFen... (;-(...<br><br>'),
unistr('.. oder ihr Gesch\00E4ftsmodell an die ge\00E4nderten Gegebenheiten anpassen:<br><br>'),
'<table >',
' <tr>',
'  <td>Gestern erreichte mich diese Nachricht von meinem Tennis-Kumpel Gaetano Orlando:<br>',
'Buongiorno!<br>',
'Kommst du nicht zum Buona Sera, sondern <b>das Buona Sera kommt zu dir!</b><br>',
unistr('Gericht ausw\00E4hlen unter Buona-sera.de und mit der Adresse per SMS an diese Handy Nummer schicken.<br>'),
'Oder per Telefon unter: 04131-37275<br>',
'Oder per email: Info@buona-sera.de<br>',
'Bleibt gesund!<br>',
'Euer Gaetano<br>',
'',
'    <td>',
'<img src = "#APP_IMAGES#Buena_sera.PNG">',
'  </tr>',
'</table><br>',
unistr('Wir sollten auch umdenken und diese Restaurants unterst\00FCtzen... - damit wir sie wieder besuchen k\00F6nnen, wenn die Einschr\00E4nkunegen durch COVID-19 vorbei sind.<br>'),
'Bestellt doch einfach mal was nachhause...',
'',
'',
'',
'',
''))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214589853506107509)
,p_plug_name=>unistr('<font color="lightblue">Restaurants m\00FCssen umdenken...</font>')
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_00012
begin
wwv_flow_api.create_page(
 p_id=>12
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Der Prozess'
,p_step_title=>'Der Prozess'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200325180411'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215307656781426511)
,p_plug_name=>'Der Prozessablauf der Corona-Hilfe'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_grid_column_span=>7
,p_plug_display_point=>'BODY'
,p_plug_source=>'<img src ="#APP_IMAGES#PROZESS.PNG" width="800" />'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_00013
begin
wwv_flow_api.create_page(
 p_id=>13
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Weitere Initiativen'
,p_step_title=>'Weitere Initiativen'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200323223836'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214581576563065101)
,p_plug_name=>'Weitere Initiativen'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ',
'"ID"',
',"NAME"',
',"BESCHREIBUNG"',
',"LINK"',
',sys.dbms_lob.getlength("LOGO")"LOGO"',
'--,''<img src="''||apex_util.get_blob_file_src(''P14_LOGO'',logo)||''" width="250" />'' LOGO2',
'--,''<img src="''||apex_util.get_blob_file_src(''P4_DOCUMENT'',id)||''" />'' ',
'--,''<img src="''||apex_util.get_blob_file_src(''P14_LOGO'',logo)||''" />''  logo',
'',
',"ANZEIGEN"',
', TELEFON',
', WHATSAPP ',
'from "CORONA_HILFSDIENSTE"',
'where ANZEIGEN = ''Ja''',
'--and whatsapp != ''infos'''))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(214581947390065101)
,p_name=>'Report 1'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_show_actions_menu=>'N'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'C'
,p_detail_link=>'f?p=&APP_ID.:14:&SESSION.::&DEBUG.:RP:P14_ID:\#ID#\'
,p_detail_link_text=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
,p_detail_link_auth_scheme=>wwv_flow_api.id(214559833393633824)
,p_owner=>'FISCHER'
,p_internal_uid=>214581947390065101
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214582047505065112)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'Id'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214582475283065180)
,p_db_column_name=>'NAME'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Name'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214582882446065182)
,p_db_column_name=>'BESCHREIBUNG'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'Beschreibung'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214583269226065183)
,p_db_column_name=>'LINK'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'Link'
,p_column_html_expression=>'<a target="_blank" href =''http://#LINK#''>#LINK#</a>'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214583642630065184)
,p_db_column_name=>'LOGO'
,p_display_order=>5
,p_column_identifier=>'E'
,p_column_label=>'Logo'
,p_allow_sorting=>'N'
,p_allow_filtering=>'N'
,p_allow_highlighting=>'N'
,p_allow_ctrl_breaks=>'N'
,p_allow_aggregations=>'N'
,p_allow_computations=>'N'
,p_allow_charting=>'N'
,p_allow_group_by=>'N'
,p_allow_pivot=>'N'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'LEFT'
,p_format_mask=>'IMAGE:CORONA_HILFSDIENSTE:LOGO:ID::::::::'
,p_rpt_show_filter_lov=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214584022134065184)
,p_db_column_name=>'ANZEIGEN'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Anzeigen'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214589195315107502)
,p_db_column_name=>'TELEFON'
,p_display_order=>16
,p_column_identifier=>'G'
,p_column_label=>'Telefon'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214589259079107503)
,p_db_column_name=>'WHATSAPP'
,p_display_order=>26
,p_column_identifier=>'H'
,p_column_label=>'Whatsapp'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(214586297755073726)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2145863'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'LOGO:NAME:BESCHREIBUNG:LINK:TELEFON::WHATSAPP'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214590130459107512)
,p_plug_name=>'<font color="lightblue">Weitere Initiativen</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(214585442669065207)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(214581576563065101)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Erstellen'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:14:&SESSION.::&DEBUG.:14'
,p_security_scheme=>wwv_flow_api.id(214559833393633824)
);
end;
/
prompt --application/pages/page_00014
begin
wwv_flow_api.create_page(
 p_id=>14
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Hilfsdienste Formular'
,p_step_title=>'Hilfsdienste Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200323180027'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214573849193064955)
,p_plug_name=>'Initiativen Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_HILFSDIENSTE'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(214579468849065079)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(214573849193064955)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P14_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(214578225277065046)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(214573849193064955)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Cancel'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:13:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(214579836082065080)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(214573849193064955)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P14_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(214579058169065075)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(214573849193064955)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Delete'
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P14_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(214580101574065080)
,p_branch_action=>'f?p=&APP_ID.:13:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214574150856064966)
,p_name=>'P14_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_use_cache_before_default=>'NO'
,p_prompt=>'Id'
,p_source=>'ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_label_alignment=>'RIGHT'
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214574564533065010)
,p_name=>'P14_NAME'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_prompt=>'Name'
,p_source=>'NAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214574899316065021)
,p_name=>'P14_BESCHREIBUNG'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_prompt=>'Beschreibung'
,p_source=>'BESCHREIBUNG'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>100
,p_cHeight=>4
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214575209508065024)
,p_name=>'P14_LINK'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_prompt=>'Link (ohne https://)'
,p_source=>'LINK'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>60
,p_cMaxlength=>500
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214575692981065036)
,p_name=>'P14_LOGO'
,p_source_data_type=>'BLOB'
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_prompt=>'Logo'
,p_source=>'LOGO'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_FILE'
,p_cSize=>60
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'DB_COLUMN'
,p_attribute_06=>'Y'
,p_attribute_08=>'attachment'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214576086334065036)
,p_name=>'P14_ANZEIGEN'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_default=>'Ja'
,p_prompt=>'Anzeigen'
,p_source=>'ANZEIGEN'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>'STATIC:Ja;Ja,Nein;Nein'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'2'
,p_attribute_02=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214589066517107501)
,p_name=>'P14_TELEFON'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_prompt=>'Telefon'
,p_source=>'TELEFON'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214589359854107504)
,p_name=>'P14_WHATSAPP'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(214573849193064955)
,p_item_source_plug_id=>wwv_flow_api.id(214573849193064955)
,p_prompt=>'Whatsapp'
,p_source=>'WHATSAPP'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(214581010373065095)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(214573849193064955)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Hilfsdienste Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(214580633531065089)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(214573849193064955)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Hilfsdienste Formular'
);
end;
/
prompt --application/pages/page_00015
begin
wwv_flow_api.create_page(
 p_id=>15
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Hilfesuchende'
,p_step_title=>'Hilfesuchende'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_required_role=>wwv_flow_api.id(214559833393633824)
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200401213624'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215111957455567571)
,p_plug_name=>'Hilfesuchende'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select cl.ID,',
'       cl.COR_HELPER_FK,',
'       cl.ANREDE,',
'       cl.VORNAME,',
'       cl.NAME,',
'       cl.STRASSE,',
'       cl.PLZ,',
'       cl.ORT,',
'       cl.TELEFON,',
'       cl.EMAIL,',
'       cl.ERSTELLT_AM,',
'       cl.BEMERKUNGEN,',
'       cl.INFIZIER_JA_NEIN as infiziert,',
'       H.Name as Helfer,',
'       H.ORT as Ort_helfer,',
'       H.TELEFON as Helfer_telefon,',
'       H.ANGEBOT',
'  from CORONA_LEUTE CL , CORONA_HELP H',
'  where COR_HELPER_FK = H.ID'))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(215112380740567571)
,p_name=>'Report 1'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'N'
,p_download_formats=>'CSV:HTML:EMAIL:XLS:PDF:RTF'
,p_owner=>'FISCHER'
,p_internal_uid=>215112380740567571
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215112401444567581)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'Id'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215112817036567591)
,p_db_column_name=>'COR_HELPER_FK'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Cor Helper Fk'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215113280183567592)
,p_db_column_name=>'ANREDE'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'Anrede'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215113669083567593)
,p_db_column_name=>'VORNAME'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'Vorname'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215114079539567594)
,p_db_column_name=>'NAME'
,p_display_order=>5
,p_column_identifier=>'E'
,p_column_label=>'Name'
,p_column_link=>'f?p=&APP_ID.:8:&SESSION.::&DEBUG.:RP:P8_ID:#ID#'
,p_column_linktext=>'#NAME#'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215114479206567595)
,p_db_column_name=>'STRASSE'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Strasse'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215114800894567595)
,p_db_column_name=>'PLZ'
,p_display_order=>7
,p_column_identifier=>'G'
,p_column_label=>'Plz'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215115275033567596)
,p_db_column_name=>'ORT'
,p_display_order=>8
,p_column_identifier=>'H'
,p_column_label=>'Ort'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215115610646567596)
,p_db_column_name=>'TELEFON'
,p_display_order=>9
,p_column_identifier=>'I'
,p_column_label=>'Telefon'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215116011180567596)
,p_db_column_name=>'EMAIL'
,p_display_order=>10
,p_column_identifier=>'J'
,p_column_label=>'Email'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215116444728567597)
,p_db_column_name=>'ERSTELLT_AM'
,p_display_order=>11
,p_column_identifier=>'K'
,p_column_label=>'Erstellt Am'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(215116860591567597)
,p_db_column_name=>'BEMERKUNGEN'
,p_display_order=>12
,p_column_identifier=>'L'
,p_column_label=>'Bemerkungen'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214593137256107542)
,p_db_column_name=>'INFIZIERT'
,p_display_order=>22
,p_column_identifier=>'O'
,p_column_label=>'Infiziert'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214593269627107543)
,p_db_column_name=>'HELFER'
,p_display_order=>32
,p_column_identifier=>'P'
,p_column_label=>'Helfer'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214593357294107544)
,p_db_column_name=>'ORT_HELFER'
,p_display_order=>42
,p_column_identifier=>'Q'
,p_column_label=>'Ort Helfer'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214593491863107545)
,p_db_column_name=>'HELFER_TELEFON'
,p_display_order=>52
,p_column_identifier=>'R'
,p_column_label=>'Helfer Telefon'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(214593573325107546)
,p_db_column_name=>'ANGEBOT'
,p_display_order=>62
,p_column_identifier=>'S'
,p_column_label=>'Angebot'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(215119794963571538)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2151198'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'ANREDE:VORNAME:NAME:STRASSE:PLZ:ORT:TELEFON:EMAIL:ERSTELLT_AM:BEMERKUNGEN:INFIZIERT:HELFER:ORT_HELFER:HELFER_TELEFON:ANGEBOT:'
);
end;
/
prompt --application/pages/page_00016
begin
wwv_flow_api.create_page(
 p_id=>16
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Hilfesuchende - Formular'
,p_step_title=>'Hilfesuchende - Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200401213432'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215098584007567469)
,p_plug_name=>'Hilfesuchende - Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_grid_column_span=>5
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_LEUTE'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_header=>unistr('Info: oben "zulassen" (oder "Allow") klicken f\00FCr Ihre Position in der Karte.')
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215109769889567553)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(215098584007567469)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P16_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215108650146567541)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(215098584007567469)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Cancel'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:15:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215110149787567553)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(215098584007567469)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P16_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215109348665567552)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(215098584007567469)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Delete'
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P16_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(215110450461567553)
,p_branch_action=>'f?p=&APP_ID.:15:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214590264017107513)
,p_name=>'P16_EMAIL_1'
,p_item_sequence=>130
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Email'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215098815014567474)
,p_name=>'P16_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_source=>'ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215099278693567515)
,p_name=>'P16_COR_HELPER_FK'
,p_source_data_type=>'NUMBER'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_source=>'COR_HELPER_FK'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215099638819567527)
,p_name=>'P16_ANREDE'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Anrede'
,p_source=>'ANREDE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>'STATIC2:Frau;Frau,Herr;Herr'
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'2'
,p_attribute_02=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215100006708567527)
,p_name=>'P16_VORNAME'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Vorname'
,p_source=>'VORNAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>15
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215100441494567528)
,p_name=>'P16_NAME'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Name'
,p_source=>'NAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215100842936567530)
,p_name=>'P16_STRASSE'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Strasse'
,p_source=>'STRASSE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215101267764567530)
,p_name=>'P16_PLZ'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Plz'
,p_source=>'PLZ'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>6
,p_cMaxlength=>10
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215101677153567531)
,p_name=>'P16_ORT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Ort'
,p_source=>'ORT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215102012940567531)
,p_name=>'P16_TELEFON'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>110
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Telefon'
,p_source=>'TELEFON'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215102447540567532)
,p_name=>'P16_EMAIL'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>120
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Email'
,p_source=>'EMAIL'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215102883396567532)
,p_name=>'P16_ERSTELLT_AM'
,p_source_data_type=>'DATE'
,p_item_sequence=>140
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Erstellt Am'
,p_source=>'ERSTELLT_AM'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER'
,p_cSize=>32
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_04=>'button'
,p_attribute_05=>'N'
,p_attribute_07=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215103290419567532)
,p_name=>'P16_BEMERKUNGEN'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>150
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Bemerkungen'
,p_source=>'BEMERKUNGEN'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>200
,p_cHeight=>4
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215103693301567532)
,p_name=>'P16_INFIZIER_JA_NEIN'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>160
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Infiziert'
,p_source=>'INFIZIER_JA_NEIN'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>'STATIC:Ja;Ja,Nein;Nein'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'2'
,p_attribute_02=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215104078856567533)
,p_name=>'P16_DATENSCHUTZ'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>170
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Datenschutz - ich bin einverstanden mit der Speicherung'
,p_source=>'DATENSCHUTZ'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DISPLAY_ONLY'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'VALUE'
,p_attribute_04=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(227342730760615711)
,p_name=>'P16_LAT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>90
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>'Geograf.Breite'
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Anzeige in der Karte)')
,p_source=>'LAT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(227342819179615712)
,p_name=>'P16_LNG'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>100
,p_item_plug_id=>wwv_flow_api.id(215098584007567469)
,p_item_source_plug_id=>wwv_flow_api.id(215098584007567469)
,p_prompt=>unistr('Geograf.L\00E4nge')
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Anzeige in der Karte)')
,p_source=>'LNG'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(214590574911107516)
,p_validation_name=>'Check_email_format'
,p_validation_sequence=>5
,p_validation=>'regexp_like (:P16_EMAIL, ''^[A-Za-z]+[A-Za-z0-9.]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$'')'
,p_validation_type=>'PLSQL_EXPRESSION'
,p_error_message=>unistr('dies ist kein Email Format ! bitte pr\00FCfen !!!')
,p_validation_condition_type=>'NEVER'
,p_associated_item=>wwv_flow_api.id(215102447540567532)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(214590351552107514)
,p_validation_name=>'check_email'
,p_validation_sequence=>10
,p_validation=>'P16_EMAIL'
,p_validation2=>'&P16_EMAIL_1.'
,p_validation_type=>'ITEM_IN_VALIDATION_EQ_STRING2'
,p_error_message=>unistr('verschrieben ? bitte pr\00FCfen ! ')
,p_validation_condition_type=>'NEVER'
,p_associated_item=>wwv_flow_api.id(215102447540567532)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(227342978463615713)
,p_name=>'Position_holen'
,p_event_sequence=>10
,p_bind_type=>'bind'
,p_bind_event_type=>'ready'
,p_display_when_type=>'ITEM_IS_NULL'
,p_display_when_cond=>'P16_LAT'
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(227343098263615714)
,p_event_id=>wwv_flow_api.id(227342978463615713)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'PLUGIN_NL.DETORA.APEX.STORELOCATION'
,p_attribute_01=>'P16_LAT'
,p_attribute_02=>'P16_LNG'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(215111332456567565)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(215098584007567469)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Hilfesuchende - Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(214590423510107515)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SEND_EMAIL'
,p_process_name=>'Mail_bestaetigung'
,p_attribute_01=>'info@bfw-design.de'
,p_attribute_02=>'&P16_EMAIL.'
,p_attribute_06=>unistr('Corna-Hilfe - Antrag Best\00E4tigung')
,p_attribute_07=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Hallo &P16_ANREDE. &P16_NAME.,',
'wir haben Ihren Antrag erhalten und leiten ihn per Email an den Anbieter weiter.',
'Etwas Geduld !',
unistr('Herzliche Gr\00FC\00DFe'),
'Ihre Corana-Hilfe'))
,p_attribute_10=>'Y'
,p_process_error_message=>'nix passiert'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_api.id(215110149787567553)
,p_process_success_message=>unistr('eine Emailbest\00E4tigung erhalten sie gleich')
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(215110997032567561)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(215098584007567469)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Hilfesuchende - Formular'
);
end;
/
prompt --application/pages/page_00017
begin
wwv_flow_api.create_page(
 p_id=>17
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Angebot Formular'
,p_step_title=>'Angebot Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_help_text=>unistr('Bitte alles ausf\00FCllen !!!')
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200403185646'
);
wwv_flow_api.create_report_region(
 p_id=>wwv_flow_api.id(214591535466107526)
,p_name=>unistr('Angefragte Unterst\00FCtzung')
,p_template=>wwv_flow_api.id(210731338888214743)
,p_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight'
,p_new_grid_row=>false
,p_display_point=>'BODY'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_LEUTE'
,p_query_where=>'COR_HELPER_FK = :P17_ID'
,p_include_rowid_column=>false
,p_display_when_condition=>'P17_ID'
,p_display_condition_type=>'ITEM_IS_NOT_NULL'
,p_ajax_enabled=>'Y'
,p_query_row_template=>wwv_flow_api.id(210754085550214790)
,p_query_num_rows=>15
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_show_nulls_as=>'-'
,p_query_num_rows_type=>'NEXT_PREVIOUS_LINKS'
,p_pagination_display_position=>'BOTTOM_RIGHT'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227343677681615720)
,p_query_column_id=>1
,p_column_alias=>'ID'
,p_column_display_sequence=>1
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227343773951615721)
,p_query_column_id=>2
,p_column_alias=>'COR_HELPER_FK'
,p_column_display_sequence=>2
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227343847536615722)
,p_query_column_id=>3
,p_column_alias=>'ANREDE'
,p_column_display_sequence=>3
,p_column_heading=>'Anrede'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227343909572615723)
,p_query_column_id=>4
,p_column_alias=>'VORNAME'
,p_column_display_sequence=>4
,p_column_heading=>'Vorname'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344086201615724)
,p_query_column_id=>5
,p_column_alias=>'NAME'
,p_column_display_sequence=>5
,p_column_heading=>'Name'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344120742615725)
,p_query_column_id=>6
,p_column_alias=>'STRASSE'
,p_column_display_sequence=>6
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344298504615726)
,p_query_column_id=>7
,p_column_alias=>'PLZ'
,p_column_display_sequence=>7
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344347342615727)
,p_query_column_id=>8
,p_column_alias=>'ORT'
,p_column_display_sequence=>8
,p_column_heading=>'Ort'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344449841615728)
,p_query_column_id=>9
,p_column_alias=>'TELEFON'
,p_column_display_sequence=>9
,p_column_heading=>'Telefon'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344519033615729)
,p_query_column_id=>10
,p_column_alias=>'EMAIL'
,p_column_display_sequence=>10
,p_column_heading=>'Email'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344696273615730)
,p_query_column_id=>11
,p_column_alias=>'ERSTELLT_AM'
,p_column_display_sequence=>11
,p_column_heading=>'Erstellt Am'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344782142615731)
,p_query_column_id=>12
,p_column_alias=>'BEMERKUNGEN'
,p_column_display_sequence=>12
,p_column_heading=>'Bemerkungen'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344803454615732)
,p_query_column_id=>13
,p_column_alias=>'INFIZIER_JA_NEIN'
,p_column_display_sequence=>13
,p_column_heading=>'Infizier Ja Nein'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227344933175615733)
,p_query_column_id=>14
,p_column_alias=>'DATENSCHUTZ'
,p_column_display_sequence=>14
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227345022128615734)
,p_query_column_id=>15
,p_column_alias=>'MASKS_NEEDED'
,p_column_display_sequence=>15
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227345143865615735)
,p_query_column_id=>16
,p_column_alias=>'LAT'
,p_column_display_sequence=>16
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(227345293394615736)
,p_query_column_id=>17
,p_column_alias=>'LNG'
,p_column_display_sequence=>17
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215191646841493784)
,p_plug_name=>'Angebot Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_HELP'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_header=>unistr('Info: oben "zulassen" (oder "Allow") klicken f\00FCr Ihre Position in der Karte.')
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215205692564493927)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(215191646841493784)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Speichern'
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P17_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215204423795493901)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(215191646841493784)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'abbrechen'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:4:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215206046993493928)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(215191646841493784)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'erstellen'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P17_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(215205207568493926)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(215191646841493784)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>unistr('l\00F6schen')
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P17_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(215206331977493932)
,p_branch_action=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214590768680107518)
,p_name=>'P17_EMAIL_1'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>175
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Email wiederholen'
,p_post_element_text=>'&nbsp;&nbsp;(wird oft falsch geschrieben)'
,p_source=>'EMAIL_CHECK'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(214591131194107522)
,p_name=>'P17_PREV_PAGE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_use_cache_before_default=>'NO'
,p_source=>'P17_PREV_PAGE'
,p_source_type=>'ITEM'
,p_display_as=>'NATIVE_HIDDEN'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215191989385493796)
,p_name=>'P17_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_source=>'ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215192358112493846)
,p_name=>'P17_ANREDE'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_default=>'Frau'
,p_prompt=>'Anrede'
,p_source=>'ANREDE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_lov=>'STATIC2:Frau;Frau,Herr;Herr'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'2'
,p_attribute_02=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215192686101493863)
,p_name=>'P17_VORNAME'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Vorname'
,p_source=>'VORNAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_grid_column=>3
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215193070988493864)
,p_name=>'P17_NAME'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Name'
,p_source=>'NAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>50
,p_begin_on_new_line=>'N'
,p_grid_column=>5
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215193431773493865)
,p_name=>'P17_STRASSE'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Strasse'
,p_source=>'STRASSE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215193856178493865)
,p_name=>'P17_PLZ'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'PLZ'
,p_source=>'PLZ'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>6
,p_cMaxlength=>10
,p_begin_on_new_line=>'N'
,p_grid_column=>5
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215194253818493866)
,p_name=>'P17_ORT'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Ort'
,p_source=>'ORT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>50
,p_begin_on_new_line=>'N'
,p_grid_column=>7
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215194604014493866)
,p_name=>'P17_STADTTEIL'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>90
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Stadtteil'
,p_source=>'STADTTEIL'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>50
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215195020170493866)
,p_name=>'P17_ANGEBOT'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>125
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Mein Angebot'
,p_post_element_text=>'&nbsp;&nbsp;(erscheint in der Liste)'
,p_source=>'ANGEBOT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215195419038493868)
,p_name=>'P17_KATEGORIE'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>115
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Kategorie'
,p_source=>'KATEGORIE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_CHECKBOX'
,p_named_lov=>'LOV_COR_CATEGORIES'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select name_deutsch d, name_deutsch r',
'from COR_CATEGORIES'))
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'10'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215195832110493868)
,p_name=>'P17_SONSTIGES'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>145
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Sonstiges'
,p_source=>'SONSTIGES'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215196264865493868)
,p_name=>'P17_EMAIL'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>155
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Email'
,p_post_element_text=>'&nbsp;&nbsp;(= Benutzername)'
,p_source=>'EMAIL'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_help_text=>unistr('Mit Ihrer Email und dem Passwort k\00F6nnen sie sich sp\00E4ter wieder hier einloggen und die Hilfsanfragen einsehen')
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215196628381493870)
,p_name=>'P17_PASSWORT'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>165
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Passwort'
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr das sp\00E4tere Einloggen - bitte merken)')
,p_source=>'PASSWORT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>12
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_help_text=>unistr('Mit Ihrer Email und dem Passwort k\00F6nnen sie sich sp\00E4ter wieder hier einloggen und die Hilfsanfragen einsehen')
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215197045591493870)
,p_name=>'P17_TELEFON'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>185
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Telefon'
,p_source=>'TELEFON'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>15
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215197422493493878)
,p_name=>'P17_ERFASST_AM'
,p_source_data_type=>'DATE'
,p_item_sequence=>195
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_default=>'SYSDATE'
,p_item_default_type=>'PLSQL_EXPRESSION'
,p_source=>'ERFASST_AM'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215197863939493879)
,p_name=>'P17_ANGEBOT_GUELTIG_BIS'
,p_source_data_type=>'DATE'
,p_is_required=>true
,p_item_sequence=>225
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_default=>'SYSDATE+30'
,p_item_default_type=>'PLSQL_EXPRESSION'
,p_prompt=>'Angebot Gueltig Bis'
,p_source=>'ANGEBOT_GUELTIG_BIS'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER'
,p_cSize=>10
,p_cMaxlength=>255
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_04=>'button'
,p_attribute_05=>'N'
,p_attribute_07=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215198214307493880)
,p_name=>'P17_BEMERKUNGEN'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>205
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_source=>'BEMERKUNGEN'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215198677697493880)
,p_name=>'P17_DATENSCHUTZ'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>215
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Datenschutz: Ich bin damit einverstanden, dass meine Daten gespeichert werden. Siehe auch About-Seite.'
,p_source=>'DATENSCHUTZ'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_CHECKBOX'
,p_lov=>'STATIC:Ja;Ja'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'YES'
,p_attribute_01=>'1'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(221497705323739009)
,p_name=>'P17_ANZAHL_MUNDSCHUTZ'
,p_source_data_type=>'NUMBER'
,p_item_sequence=>135
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Anzahl Mundschutz'
,p_post_element_text=>'&nbsp;&nbsp;(erscheint in der Liste)'
,p_source=>'MASKS_AVAILABLE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_NUMBER_FIELD'
,p_cSize=>3
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210791117331214890)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_help_text=>unistr('Falls noch KEINE verf\00FCgbar oder NICHT MEHR VERF\00DCGBAR bitte "0" eintragen')
,p_attribute_03=>'right'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(222634359759831535)
,p_name=>'P17_LAT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>95
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>'Geograf.Breite'
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Anzeige in der Karte)')
,p_source=>'LAT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(222634470295831536)
,p_name=>'P17_LNG'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>105
,p_item_plug_id=>wwv_flow_api.id(215191646841493784)
,p_item_source_plug_id=>wwv_flow_api.id(215191646841493784)
,p_prompt=>unistr('Geograf.L\00E4nge')
,p_post_element_text=>unistr('&nbsp;&nbsp;(f\00FCr Anzeige in der Karte)')
,p_source=>'LNG'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>10
,p_cMaxlength=>20
,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(214590927088107520)
,p_validation_name=>'Check_email_format'
,p_validation_sequence=>5
,p_validation=>'regexp_like (:P17_EMAIL, ''^[A-Za-z]+[A-Za-z0-9.]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$'')'
,p_validation_type=>'PLSQL_EXPRESSION'
,p_error_message=>unistr('kein g\00FCltiges Email Format - bitte pr\00FCfen  - fehlt "@" oder ".de" oder ".com/net" ?')
,p_associated_item=>wwv_flow_api.id(215196264865493868)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(214590841924107519)
,p_validation_name=>'Email_check'
,p_validation_sequence=>10
,p_validation=>'P17_EMAIL'
,p_validation2=>'&P17_EMAIL_1.'
,p_validation_type=>'ITEM_IN_VALIDATION_EQ_STRING2'
,p_error_message=>'richtig geschrieben ?'
,p_associated_item=>wwv_flow_api.id(215196264865493868)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_validation(
 p_id=>wwv_flow_api.id(222631202905831504)
,p_validation_name=>'Check_mundschutz_anzahl_not_null'
,p_validation_sequence=>20
,p_validation=>'P17_ANZAHL_MUNDSCHUTZ'
,p_validation_type=>'ITEM_NOT_NULL'
,p_error_message=>'Bei Kategorie "Mundschutz" bitte Anzahl eintragen'
,p_validation_condition=>'P17_KATEGORIE'
,p_validation_condition2=>'Mundschutz'
,p_validation_condition_type=>'VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST'
,p_associated_item=>wwv_flow_api.id(221497705323739009)
,p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(221501835426739050)
,p_name=>'Show_anzahl_mundschutz'
,p_event_sequence=>20
,p_triggering_element_type=>'ITEM'
,p_triggering_element=>'P17_KATEGORIE'
,p_condition_element=>'P17_KATEGORIE'
,p_triggering_condition_type=>'IN_LIST'
,p_triggering_expression=>'Mundschutz'
,p_bind_type=>'bind'
,p_bind_event_type=>'change'
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(222630922523831501)
,p_event_id=>wwv_flow_api.id(221501835426739050)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'Y'
,p_action=>'NATIVE_SHOW'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P17_ANZAHL_MUNDSCHUTZ'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(222631030773831502)
,p_name=>'hide_anzahl_mundschutz'
,p_event_sequence=>30
,p_bind_type=>'bind'
,p_bind_event_type=>'ready'
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(222631113334831503)
,p_event_id=>wwv_flow_api.id(222631030773831502)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'Y'
,p_action=>'NATIVE_HIDE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P17_ANZAHL_MUNDSCHUTZ'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(222631411586831506)
,p_name=>'Show_anzahl_mundschutz_when_1_und_mehr'
,p_event_sequence=>40
,p_bind_type=>'bind'
,p_bind_event_type=>'ready'
,p_display_when_type=>'EXISTS'
,p_display_when_cond=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select 1 from CORONA_HELP where MASKS_AVAILABLE > 0',
'and ID = :P17_ID',
'and KATEGORIE like ''%''||''Mundschutz''||''%'''))
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(222631539942831507)
,p_event_id=>wwv_flow_api.id(222631411586831506)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'Y'
,p_action=>'NATIVE_SHOW'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P17_ANZAHL_MUNDSCHUTZ'
);
wwv_flow_api.create_page_da_event(
 p_id=>wwv_flow_api.id(222634544979831537)
,p_name=>'Position_holen'
,p_event_sequence=>50
,p_bind_type=>'bind'
,p_bind_event_type=>'ready'
,p_display_when_type=>'ITEM_IS_NULL'
,p_display_when_cond=>'P17_LAT'
);
wwv_flow_api.create_page_da_action(
 p_id=>wwv_flow_api.id(222634691574831538)
,p_event_id=>wwv_flow_api.id(222634544979831537)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'PLUGIN_NL.DETORA.APEX.STORELOCATION'
,p_attribute_01=>'P17_LAT'
,p_attribute_02=>'P17_LNG'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(215207128994493951)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(215191646841493784)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Angebot Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_process_error_message=>'nix verarbeitet'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_success_message=>'Daten wurden verarbeitet<br>'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(214591080181107521)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SEND_EMAIL'
,p_process_name=>'Mail_bestaetigung'
,p_attribute_01=>'info@bfw-design.de'
,p_attribute_02=>'&P17_EMAIL.'
,p_attribute_06=>'Corona-Hilfe - Ihr Angebot ist eingegangen'
,p_attribute_07=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Hallo &P17_VORNAME. &P17_NAME.,',
'',
unistr('Danke f\00FCr die Registrierung in unserem Corona-Hilfe Portal!'),
'',
'Andere werden es Ihnen danken !',
'',
unistr('Dies ist eine Privatinitiative von Bernhard Fischer-Wasels aus Wittorf in Zusammenarbeit mit der Landeszeitung L\00FCneburg.'),
'',
unistr('Ihre Daten dienen nur zu Selbsthilfe und f\00FCr dieses Projekt der Angebotshilfe in dieser schweren Zeit.'),
'',
unistr('Ihre Daten werden nicht weitergegeben und wenn die Krise vorbei ist, gel\00F6scht.'),
'',
'Bleiben Sie gesund!',
'',
unistr('Mit herzlichen Gr\00FC\00DFen'),
unistr('Bernhard Fischer-Wasels und die Landeszeitung L\00FCneburg')))
,p_attribute_10=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_api.id(215206046993493928)
,p_process_success_message=>unistr('Mail Best\00E4tigung ging an Sie raus')
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(215206831210493946)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(215191646841493784)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Angebot Formular'
);
end;
/
prompt --application/pages/page_00018
begin
wwv_flow_api.create_page(
 p_id=>18
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'News - Landeszeitung'
,p_step_title=>'News - Landeszeitung'
,p_reload_on_submit=>'A'
,p_autocomplete_on_off=>'OFF'
,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
'iframe:focus {',
'  outline: none;',
'}',
'',
'iframe[seamless] {',
'  display: block;',
'}'))
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200325175751'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(214593601739107547)
,p_plug_name=>'News'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>60
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source_type=>'PLUGIN_COM.EPORTELA.WEBVIEW'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_display_condition_type=>'NEVER'
,p_attribute_01=>'STATIC'
,p_attribute_06=>'height: 30vh;'
,p_attribute_07=>'my-webview'
,p_attribute_08=>'http://landeszeitung.de'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215306917803426504)
,p_plug_name=>'ZDF News'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>'<iframe id="news-4" style="width:100%;border:none;height:70vh" src=" https://www.zdf.de/nachrichten/politik/blog-coronavirus-102.html"></iframe>'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_display_condition_type=>'NEVER'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215307199229426506)
,p_plug_name=>'Landeszeitung'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>8
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>'<iframe style="width:110vh;border:none;height:300vh" src=" https://landeszeitung.de"></iframe>'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215307483862426509)
,p_plug_name=>'<font color="lightblue">Landeszeitung</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(215306745540426502)
,p_name=>'P18_LZ'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(214593601739107547)
,p_use_cache_before_default=>'NO'
,p_item_default=>'http://landeszeitung.de'
,p_source=>'P18_LZ'
,p_source_type=>'ITEM'
,p_display_as=>'NATIVE_HIDDEN'
,p_attribute_01=>'Y'
);
end;
/
prompt --application/pages/page_00019
begin
wwv_flow_api.create_page(
 p_id=>19
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'CORONA Blog'
,p_step_title=>'CORONA Blog'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200329160223'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(218764560772158450)
,p_plug_name=>'Corona Blog'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>'select "COR_BLOG_ID","SUBJECT","TEXT",sys.dbms_lob.getlength("IMAGE")"IMAGE","AUTOR","ERSTELLT_AM"from "CORONA_BLOG"'
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(218764917793158450)
,p_name=>'Report 1'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_show_search_bar=>'N'
,p_show_detail_link=>'C'
,p_detail_link=>'f?p=&APP_ID.:21:&SESSION.::&DEBUG.:RP:P21_COR_BLOG_ID:#COR_BLOG_ID#'
,p_detail_link_text=>'<img src="#IMAGE_PREFIX#app_ui/img/icons/apex-edit-pencil.png" class="apex-edit-pencil" alt="">'
,p_owner=>'FISCHER'
,p_internal_uid=>218764917793158450
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(218765026681158459)
,p_db_column_name=>'COR_BLOG_ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'edit'
,p_column_link=>'f?p=&APP_ID.:21:&SESSION.::&DEBUG.:RP:P21_COR_BLOG_ID:#COR_BLOG_ID#'
,p_column_linktext=>'#COR_BLOG_ID#'
,p_column_type=>'NUMBER'
,p_display_text_as=>'WITHOUT_MODIFICATION'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(218765408402158478)
,p_db_column_name=>'SUBJECT'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Subject'
,p_column_type=>'STRING'
,p_display_text_as=>'HIDDEN'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(218765804187158479)
,p_db_column_name=>'TEXT'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'&nbsp;'
,p_column_html_expression=>wwv_flow_string.join(wwv_flow_t_varchar2(
'#ERSTELLT_AM# <h3>#SUBJECT#</h3>',
'#TEXT#<br>',
'Autor: #AUTOR#'))
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(218766246962158480)
,p_db_column_name=>'IMAGE'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'&nbsp;'
,p_allow_sorting=>'N'
,p_allow_filtering=>'N'
,p_allow_highlighting=>'N'
,p_allow_ctrl_breaks=>'N'
,p_allow_aggregations=>'N'
,p_allow_computations=>'N'
,p_allow_charting=>'N'
,p_allow_group_by=>'N'
,p_allow_pivot=>'N'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'LEFT'
,p_format_mask=>'IMAGE:CORONA_BLOG:IMAGE:COR_BLOG_ID::::::::'
,p_rpt_show_filter_lov=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(218766661150158480)
,p_db_column_name=>'AUTOR'
,p_display_order=>5
,p_column_identifier=>'E'
,p_column_label=>'Autor'
,p_column_type=>'STRING'
,p_display_text_as=>'HIDDEN'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(218767051099158481)
,p_db_column_name=>'ERSTELLT_AM'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Erstellt Am'
,p_column_type=>'DATE'
,p_display_text_as=>'HIDDEN'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(218768556459159823)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2187686'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'SUBJECT:TEXT:IMAGE:AUTOR:ERSTELLT_AM:'
,p_sort_column_1=>'ERSTELLT_AM'
,p_sort_direction_1=>'DESC'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(218768197425158502)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(218764560772158450)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Erstellen'
,p_button_position=>'TOP'
,p_button_redirect_url=>'f?p=&APP_ID.:21:&SESSION.::&DEBUG.:21'
,p_security_scheme=>wwv_flow_api.id(214559833393633824)
);
end;
/
prompt --application/pages/page_00020
begin
wwv_flow_api.create_page(
 p_id=>20
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Download App'
,p_step_title=>'Download App'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200527081846'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215307878601426513)
,p_plug_name=>'Download the app'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<b>',
'<h2>CORONA-HELP-PORTAL</h2>',
'For download:<br>',
'English version: <a href = "#APP_IMAGES#corona_help_portal_engl_f162.sql">DOWNLOAD HERE</a> (15MB) - <a href ="https://bfw-design.maxapex.ws/apex/f?p=162" target="_blank">DEMO of engl.version </a><br>',
'German version: <a href = "#APP_IMAGES#corona_help_port_deut_f250.sql">DOWNLOAD HERE</a> (15MB) <br>',
'based on and compatible with APEX 19.2.0.00.18, 20.1.0.00.11 <br>',
'You will need an <a href = "https://apex.oracle.com/pls/apex/f?p=4550" target="_blank">Oracle APEX workspace</a> somewhere to install it.<br><br>',
'',
'For NON COMMERCIAL use only, please!<br>',
'Delivered as is - I have no responsibility and will not take over any guarentee.<br>',
'Nore will I be responsible for any data collected with this application.<br>',
'At the end of the project you will have to delete all data and you are not allowed to onpass the data to third parties.<br><br>',
'',
'Another Prerequisite: Please notify me (with the url), if you put it into production in your region. I like to monitor that here on this page. Thanks.<br><br>',
'',
'I have seeded an ADMIN account with password to login straight away - please see instruction on install.<br>',
'Also the Admin-User needs a "profile" (account) in order to administer the application.<br>',
'The Authentification for Login is setup based on the "Accounts"-table called "CORONA_HELP". <br>',
'Ofcourse you can check the details using the Object Browser.<br><br>',
'',
'I have made use of 1 Plugin:<br>',
'- Apex Modern Background courtesy of Raphael Hinterndorfer - thanks to Raphael<br><br>',
'',
'If you have questions send a mail to me:  ',
'<a href ="mailto:bernhard@fischer-wasels.de?subject=Question%20on%20Corona-%20Help-%20APP">bernhard@fischer-wasels.de</a>',
'',
'<br><br>',
'',
'Thanks<br>',
'Bernhard<br>',
unistr('Wittorf/L\00FCneburg (Germany), 24.03.2020'),
'</b>'))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(215307991109426514)
,p_plug_name=>'<font color="lightblue">Download the Application</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_00021
begin
wwv_flow_api.create_page(
 p_id=>21
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'CORONA Blog - Formular'
,p_step_title=>'CORONA Blog - Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200327171826'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(218756797091158342)
,p_plug_name=>'CORONA Blog - Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_BLOG'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(218762348886158432)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(218756797091158342)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Speichern'
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P21_COR_BLOG_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(218761107710158419)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(218756797091158342)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'abbrechen'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:19:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(218762748790158432)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(218756797091158342)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Erstellen'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P21_COR_BLOG_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(218761925714158432)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(218756797091158342)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>unistr('l\00F6schen')
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P21_COR_BLOG_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(218763036430158432)
,p_branch_action=>'f?p=&APP_ID.:19:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(218757097340158349)
,p_name=>'P21_COR_BLOG_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_source_plug_id=>wwv_flow_api.id(218756797091158342)
,p_use_cache_before_default=>'NO'
,p_prompt=>'Cor Blog Id'
,p_source=>'COR_BLOG_ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_label_alignment=>'RIGHT'
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(218757402953158409)
,p_name=>'P21_SUBJECT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_source_plug_id=>wwv_flow_api.id(218756797091158342)
,p_prompt=>'Subject'
,p_source=>'SUBJECT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>60
,p_cMaxlength=>100
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(218757753871158413)
,p_name=>'P21_TEXT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_source_plug_id=>wwv_flow_api.id(218756797091158342)
,p_prompt=>'Text'
,p_source=>'TEXT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>500
,p_cHeight=>4
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(218758182506158414)
,p_name=>'P21_IMAGE'
,p_source_data_type=>'BLOB'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_source_plug_id=>wwv_flow_api.id(218756797091158342)
,p_prompt=>'Image'
,p_source=>'IMAGE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_FILE'
,p_cSize=>60
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'DB_COLUMN'
,p_attribute_06=>'Y'
,p_attribute_08=>'attachment'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(218758554798158415)
,p_name=>'P21_AUTOR'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_source_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_default=>'BernhardFW'
,p_prompt=>'Autor'
,p_source=>'AUTOR'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(218758917820158416)
,p_name=>'P21_ERSTELLT_AM'
,p_source_data_type=>'DATE'
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_source_plug_id=>wwv_flow_api.id(218756797091158342)
,p_item_default=>'sysdate'
,p_item_default_type=>'PLSQL_EXPRESSION'
,p_prompt=>'Erstellt Am'
,p_source=>'ERSTELLT_AM'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER'
,p_cSize=>12
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_04=>'button'
,p_attribute_05=>'N'
,p_attribute_07=>'NONE'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(218763967817158447)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(218756797091158342)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form CORONA Blog - Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(218763578805158441)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(218756797091158342)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form CORONA Blog - Formular'
);
end;
/
prompt --application/pages/page_00022
begin
wwv_flow_api.create_page(
 p_id=>22
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Kategorien'
,p_step_title=>'Kategorien'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_required_role=>wwv_flow_api.id(214559833393633824)
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200327162009'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(221991553377600064)
,p_plug_name=>'Kategorien'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_grid_column_span=>4
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select CAT_ID,',
'       NAME,',
'       NAME_DEUTSCH',
'  from COR_CATEGORIES'))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(221991968508600064)
,p_name=>'Report 1'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'C'
,p_download_formats=>'CSV:HTML:EMAIL:XLS:PDF:RTF'
,p_detail_link=>'f?p=&APP_ID.:23:&SESSION.::&DEBUG.:RP:P23_CAT_ID:\#CAT_ID#\'
,p_detail_link_text=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
,p_owner=>'FISCHER'
,p_internal_uid=>221991968508600064
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(221992088779600069)
,p_db_column_name=>'CAT_ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'Cat Id'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(221992309739600114)
,p_db_column_name=>'NAME'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Name (engl.)'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(221497550269739007)
,p_db_column_name=>'NAME_DEUTSCH'
,p_display_order=>12
,p_column_identifier=>'C'
,p_column_label=>'Name Deutsch'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(221994792896613892)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2219948'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'NAME_DEUTSCH:NAME:'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221993526887600124)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(221991553377600064)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Erstellen'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:23:&SESSION.::&DEBUG.:23'
);
end;
/
prompt --application/pages/page_00023
begin
wwv_flow_api.create_page(
 p_id=>23
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Kategorien Formular'
,p_step_title=>'Kategorien Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_required_role=>wwv_flow_api.id(214559833393633824)
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200327124505'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(221986450062599968)
,p_plug_name=>'Kategorien Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'COR_CATEGORIES'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221989351930600054)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(221986450062599968)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Speichern'
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P23_CAT_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221988180970600043)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(221986450062599968)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'abbrechen'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:22:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221989769931600055)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(221986450062599968)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Erstellen'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P23_CAT_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(221988984621600054)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(221986450062599968)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>unistr('l\00F6scchen')
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P23_CAT_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(221990032439600055)
,p_branch_action=>'f?p=&APP_ID.:22:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(221497606414739008)
,p_name=>'P23_NAME_DEUTSCH'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(221986450062599968)
,p_item_source_plug_id=>wwv_flow_api.id(221986450062599968)
,p_prompt=>'Name (deutsch)'
,p_source=>'NAME_DEUTSCH'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210791089082214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(221986854627599977)
,p_name=>'P23_CAT_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(221986450062599968)
,p_item_source_plug_id=>wwv_flow_api.id(221986450062599968)
,p_use_cache_before_default=>'NO'
,p_prompt=>'Cat Id'
,p_source=>'CAT_ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_label_alignment=>'RIGHT'
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(221987199276600022)
,p_name=>'P23_NAME'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(221986450062599968)
,p_item_source_plug_id=>wwv_flow_api.id(221986450062599968)
,p_prompt=>'Name (engl.)'
,p_source=>'NAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>30
,p_field_template=>wwv_flow_api.id(210791089082214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(221990929834600061)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(221986450062599968)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Kategorien Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(221990555773600058)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(221986450062599968)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Kategorien Formular'
);
end;
/
prompt --application/pages/page_00024
begin
wwv_flow_api.create_page(
 p_id=>24
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Mundschutz Angebote'
,p_step_title=>'Mundschutz Angebote'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_help_text=>unistr('Durch das Ausw\00E4hlen einer Angebotskarte kann man im n\00E4chsten Schritt seine Kontaktdaten hinterlassen - und wird dann angerufen oder angemailt, um Weiteres zu vereinbaren.')
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200417211920'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(436600954640989569)
,p_plug_name=>'<font color="lightblue">Corona Help - Hilfs-Angebote aus der Region</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>5
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_report_region(
 p_id=>wwv_flow_api.id(442952315489107179)
,p_name=>'Corona Help - Mundschutz-Angebote aus der Region'
,p_template=>wwv_flow_api.id(210731338888214743)
,p_display_sequence=>20
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:u-colors:t-Cards--displaySubtitle:t-Cards--compact:t-Cards--displayInitials:t-Cards--float:t-Cards--animColorFill'
,p_display_point=>'BODY'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ID,',
'KATEGORIE as CARD_TITLE,',
'plz||''-''||ORT||'', ''||STADTTEIL as card_subtitle, ',
'ANGEBOT as CARD_TEXT,',
'case ',
'when masks_available > 0 then',
unistr('substr(VORNAME,1,1)||'' ''|| substr(NAME,1,3)||''...- ''||''Mundschutz verf\00FCgbar: ''|| masks_available'),
'else',
'ANREDE||'' ''||substr(VORNAME,1,1)||'' ''|| substr(NAME,1,3)||''...'' end as CARD_SUBTEXT,',
'',
'apex_string.get_initials(VORNAME) as card_initials,     -- 2 or 3 letters, use apex_string.get_initials(...)',
'APEX_PAGE.GET_URL (',
'            p_page   => 8,',
'            p_items  => ''P8_COR_HELPER_FK'',',
'            p_values => ID ) as CARD_LINK',
'--       STRASSE,',
'--       SONSTIGES,',
'--       EMAIL,',
'--       PASSWORT,',
'--       TELEFON,',
'--       PKW,',
'--       ERFASST_AM,',
'--       ANGEBOT_GUELTIG_BIS',
'--       BEMERKUNGEN',
'  from CORONA_HELP',
'  where ANGEBOT_GUELTIG_BIS > SYSDATE',
'  and id != 525',
' and upper(ORT)||upper(stadtteil) like ''%''||upper(:P24_SUCHE)||''%''',
' and KATEGORIE like ''%''||''Mundschutz''||''%''',
'  ',
'  -- vorlage:',
'  /**',
'  select',
'  -- data',
'  card_title,       -- title',
'  card_subtitle,    -- subtitle, set template option to see',
'  card_text,        -- card body text',
'  card_subtext,     -- card secondary text, positioned near bottom',
'',
'  -- ui and other attributes',
'  card_modifiers,   -- card item modifiers',
'  card_link,        -- card link, use apex_page.get_url(...)',
'  card_color,       -- color modifier, e.g. u-color-1 or u-warning',
'  card_icon,        -- icon class, e.g. fa-cloud',
'  card_initials     -- 2 or 3 letters, use apex_string.get_initials(...)',
'from dual',
'',
'**/',
'   '))
,p_header=>'<font color="blue"><b>Zur Auswahl auf die Karte klicken - und die eigenen Kontaktdaten eintragen. Dann werden Sie kontaktiert (per Telefon oder Email).</b></font><br><br>'
,p_ajax_enabled=>'Y'
,p_query_row_template=>wwv_flow_api.id(210747234234214781)
,p_query_num_rows=>27
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_show_nulls_as=>'-'
,p_query_num_rows_type=>'ROW_RANGES'
,p_pagination_display_position=>'BOTTOM_RIGHT'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(222018737704882192)
,p_query_column_id=>1
,p_column_alias=>'ID'
,p_column_display_sequence=>1
,p_column_heading=>'Id'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(222019011517882197)
,p_query_column_id=>2
,p_column_alias=>'CARD_TITLE'
,p_column_display_sequence=>2
,p_column_heading=>'Card Title'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(222019409371882197)
,p_query_column_id=>3
,p_column_alias=>'CARD_SUBTITLE'
,p_column_display_sequence=>3
,p_column_heading=>'Card Subtitle'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(222019805598882199)
,p_query_column_id=>4
,p_column_alias=>'CARD_TEXT'
,p_column_display_sequence=>4
,p_column_heading=>'Card Text'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(221497842082739010)
,p_query_column_id=>5
,p_column_alias=>'CARD_SUBTEXT'
,p_column_display_sequence=>7
,p_column_heading=>'Card Subtext'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(222020651056882200)
,p_query_column_id=>6
,p_column_alias=>'CARD_INITIALS'
,p_column_display_sequence=>5
,p_column_heading=>'Card Initials'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_report_columns(
 p_id=>wwv_flow_api.id(222021025877882201)
,p_query_column_id=>7
,p_column_alias=>'CARD_LINK'
,p_column_display_sequence=>6
,p_column_heading=>'Card Link'
,p_use_as_row_header=>'N'
,p_disable_sort_column=>'N'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(643774365613603121)
,p_plug_name=>'Corona Help - Hilfs-Angebote aus der Region (NEVER - Alt)'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>40
,p_plug_display_point=>'BODY'
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ',
'"ID"',
',"NAME"',
',"BESCHREIBUNG"',
',"LINK"',
',sys.dbms_lob.getlength("LOGO")"LOGO"',
'--,''<img src="''||apex_util.get_blob_file_src(''P14_LOGO'',logo)||''" width="250" />'' LOGO2',
'--,''<img src="''||apex_util.get_blob_file_src(''P4_DOCUMENT'',id)||''" />'' ',
'--,''<img src="''||apex_util.get_blob_file_src(''P14_LOGO'',logo)||''" />''  logo',
'',
',"ANZEIGEN"',
', TELEFON',
', WHATSAPP ',
'from "CORONA_HILFSDIENSTE"',
'where ANZEIGEN = ''Ja''',
'--and whatsapp != ''infos''',
'and name like ''%Mundschutz%'''))
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(643774400058603121)
,p_name=>'Mein Profil'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y_OF_Z'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_show_search_bar=>'N'
,p_show_detail_link=>'N'
,p_owner=>'FISCHER'
,p_internal_uid=>643774400058603121
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(222013202160882143)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'ID'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(222012446737882142)
,p_db_column_name=>'NAME'
,p_display_order=>37
,p_column_identifier=>'W'
,p_column_label=>'Name'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(227345563196615739)
,p_db_column_name=>'BESCHREIBUNG'
,p_display_order=>47
,p_column_identifier=>'Y'
,p_column_label=>'Beschreibung'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(227345672680615740)
,p_db_column_name=>'LINK'
,p_display_order=>57
,p_column_identifier=>'Z'
,p_column_label=>'Link'
,p_column_html_expression=>'<a target="_blank" href =''http://#LINK#''>#LINK#</a>'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(227345706214615741)
,p_db_column_name=>'LOGO'
,p_display_order=>67
,p_column_identifier=>'AA'
,p_column_label=>'Logo'
,p_column_type=>'NUMBER'
,p_display_text_as=>'WITHOUT_MODIFICATION'
,p_column_alignment=>'CENTER'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(227345843436615742)
,p_db_column_name=>'ANZEIGEN'
,p_display_order=>77
,p_column_identifier=>'AB'
,p_column_label=>'Anzeigen'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(227345907005615743)
,p_db_column_name=>'TELEFON'
,p_display_order=>87
,p_column_identifier=>'AC'
,p_column_label=>'Telefon'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(227346057525615744)
,p_db_column_name=>'WHATSAPP'
,p_display_order=>97
,p_column_identifier=>'AD'
,p_column_label=>'Whatsapp'
,p_column_type=>'STRING'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(643805268315603372)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2220172'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'NAME:BESCHREIBUNG:LINK:'
,p_sort_column_1=>'ANREDE'
,p_sort_direction_1=>'ASC'
);
wwv_flow_api.create_worksheet_condition(
 p_id=>wwv_flow_api.id(239771662277002800)
,p_report_id=>wwv_flow_api.id(643805268315603372)
,p_condition_type=>'FILTER'
,p_allow_delete=>'Y'
,p_column_name=>'NAME'
,p_operator=>'contains'
,p_expr=>'Mundschutz'
,p_condition_sql=>'upper("NAME") like ''%''||upper(#APXWS_EXPR#)||''%'''
,p_condition_display=>'#APXWS_COL_NAME# #APXWS_OP_NAME# ''Mundschutz''  '
,p_enabled=>'N'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(222021815830882202)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(442952315489107179)
,p_button_name=>'CREATE_1'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'BELOW_BOX'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_button_condition_type=>'NEVER'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(222022689546882204)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(442952315489107179)
,p_button_name=>'Suchen'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Suchen'
,p_button_position=>'BODY'
,p_grid_new_row=>'N'
,p_grid_new_column=>'Y'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(222022293018882203)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(442952315489107179)
,p_button_name=>'Alle_anzeigen'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Alle Anzeigen'
,p_button_position=>'BODY'
,p_button_redirect_url=>'f?p=&APP_ID.:24:&SESSION.::&DEBUG.:RP,24::'
,p_grid_new_row=>'N'
,p_grid_new_column=>'Y'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(222017639501882163)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(643774365613603121)
,p_button_name=>'Angebot_erfassen'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'t-Button--iconRight'
,p_button_template_id=>wwv_flow_api.id(210792104032214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Mein Hilfs-Angebot erfassen'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_icon_css_classes=>'fa-hand-o-right'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(222018031399882171)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(643774365613603121)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_button_condition_type=>'NEVER'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(222021417604882201)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(442952315489107179)
,p_button_name=>'Angebot_erfassen_1'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'t-Button--iconRight'
,p_button_template_id=>wwv_flow_api.id(210792104032214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Mein Hilfs-Angebot erfassen'
,p_button_position=>'TOP'
,p_button_redirect_url=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17::'
,p_icon_css_classes=>'fa-hand-o-right'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(222023087646882205)
,p_name=>'P24_SUCHE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(442952315489107179)
,p_prompt=>'<b>Suchbegriff:</b>'
,p_placeholder=>'z.B. Ort'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_field_template=>wwv_flow_api.id(210790733941214889)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
end;
/
prompt --application/pages/page_00025
begin
wwv_flow_api.create_page(
 p_id=>25
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'#stayathome Kampagne'
,p_step_title=>'#stayathome Kampagne'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200327171054'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(222632156937831513)
,p_plug_name=>'#Stayathome - Kampagne'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source_type=>'NATIVE_URL'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'https://www.stayathome.world/'
,p_attribute_02=>'IFRAME'
,p_attribute_03=>'width="1400" height="800"'
);
end;
/
prompt --application/pages/page_00026
begin
wwv_flow_api.create_page(
 p_id=>26
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Einstellungen'
,p_step_title=>'Einstellungen'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200330203406'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(225934055263183434)
,p_plug_name=>'Portal Parameter'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210729488829214742)
,p_plug_display_sequence=>10
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_PARAMETERS'
,p_include_rowid_column=>false
,p_plug_source_type=>'NATIVE_IR'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(225934477919183434)
,p_name=>'Report 1'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_show_nulls_as=>'-'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'C'
,p_download_formats=>'CSV:HTML:EMAIL:XLS:PDF:RTF'
,p_detail_link=>'f?p=&APP_ID.:28:&SESSION.::&DEBUG.:RP:P28_ID:\#ID#\'
,p_detail_link_text=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
,p_owner=>'FISCHER'
,p_internal_uid=>225934477919183434
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225934501767183436)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'Id'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225934977769183438)
,p_db_column_name=>'PORTAL_NAME'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Portal Name'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225935315744183438)
,p_db_column_name=>'LAT'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'Lat'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225935729693183438)
,p_db_column_name=>'LNG'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'Lng'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225936100715183438)
,p_db_column_name=>'PARA1_TEXT_50'
,p_display_order=>5
,p_column_identifier=>'E'
,p_column_label=>'Para1 Text 50'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225936585756183438)
,p_db_column_name=>'PARA2_TEXT_200'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Para2 Text 200'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225936905943183438)
,p_db_column_name=>'PARA3_NUMBER'
,p_display_order=>7
,p_column_identifier=>'G'
,p_column_label=>'Para3 Number'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225937331122183439)
,p_db_column_name=>'PARA4_DATE'
,p_display_order=>8
,p_column_identifier=>'H'
,p_column_label=>'Para4 Date'
,p_column_type=>'DATE'
,p_column_alignment=>'CENTER'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(225937799154183439)
,p_db_column_name=>'REMARKS'
,p_display_order=>9
,p_column_identifier=>'I'
,p_column_label=>'Remarks'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(225940111291184582)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'2259402'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'ID:PORTAL_NAME:LAT:LNG:PARA1_TEXT_50:PARA2_TEXT_200:PARA3_NUMBER:PARA4_DATE:REMARKS'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(225938914439183443)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(225934055263183434)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Erstellen'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:28:&SESSION.::&DEBUG.:28'
,p_button_condition_type=>'NEVER'
);
end;
/
prompt --application/pages/page_00027
begin
wwv_flow_api.create_page(
 p_id=>27
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Anbieter Standorte'
,p_step_title=>'Anbieter Standorte'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200401212639'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(222734921859428062)
,p_plug_name=>'Anbieter Standorte'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'SELECT',
'    /* set center longitude of the map - only first row is used */',
'    LNG AS MAP_LONGITUDE,',
'    /* set center latitude of the map - only first row is used */',
'    LAT AS MAP_LATITUDE,',
'    /* set zoom level of the map - only first row is used */',
'    10 AS MAP_ZOOM,',
'    /* set longitude of the marker */',
'--    DBMS_RANDOM.VALUE(',
'--        0,',
'--        60',
'--    ) AS MARKER_LONGITUDE,',
'    LNG as MARKER_LONGITUDE,',
'    LAT as MARKER_LATITUDE,',
'    /* set label of the marker if lables are enabled*/',
'    ORT||''-''||KATEGORIE||''-''||ANGEBOT as MARKER_LABEL,',
'/* set url for the icon of the marker */',
'NULL AS MARKER_URL,',
'    /* set width of the marker icon*/',
'    25 AS MARKER_WIDTH,',
'    /* set height of the marker icon */',
'    25 AS MARKER_HEIGHT,',
'    APEX_PAGE.GET_URL (',
'            p_page   => 8,',
'            p_items  => ''P8_COR_HELPER_FK'',',
'            p_values => ID ) AS MARKER_LINK',
'FROM',
'    CORONA_HELP',
'CONNECT BY',
'    ROWNUM <= 10',
'    ',
'    union all',
'  SELECT',
'    /* set center longitude of the map - only first row is used */',
'    LNG AS MAP_LONGITUDE,',
'    /* set center latitude of the map - only first row is used */',
'    LAT AS MAP_LATITUDE,',
'    /* set zoom level of the map - only first row is used */',
'    10 AS MAP_ZOOM,',
'    /* set longitude of the marker */',
'    LNG as MARKER_LONGITUDE,',
'    LAT as MARKER_LATITUDE,',
'    /* set label of the marker if lables are enabled*/',
'    ORT||''-''||BEMERKUNGEN as MARKER_LABEL,',
'/* set url for the icon of the marker */',
'''data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAApCAIAAADWCcwsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA5SURBVFhH7c0xEQAgDAAxtKCnZusQFWH6u+w5d+ezSqQSqUQqkUqkEqlEKpFKpBKpRCqRSuR7ufMAwe/TBfhjJ5wAAAAASUVORK5CYII='' AS MA'
||'RKER_URL,',
'',
'/* set width of the marker icon*/',
'    25 AS MARKER_WIDTH,',
'    /* set height of the marker icon */',
'    25 AS MARKER_HEIGHT,',
'NULL AS MARKER_LINK',
'',
'FROM',
'    CORONA_LEUTE',
'CONNECT BY',
'    ROWNUM <= 10  ',
'    '))
,p_plug_source_type=>'PLUGIN_APEX.ORACLE.OSM.MAPS'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_header=>unistr('<b>Standorte unserer Anbieter (noch nicht alle) mit rotem Pin - Hilfesuchende: Gr\00FCn</b>')
,p_plug_footer=>'Quelle/Plugin courtesy of <a target=new href ="https://apex.world/ords/f?p=100:710:10871004148733::::P710_PLG_ID:APEX.ORACLE.OSM.MAPS">@Ronny_Weiss_</a>'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'{',
'  "refresh": 0,',
'  "height": "600px",',
'  "map": {',
'    "longitude": 10.5,',
'    "latitude": 53.25,',
'    "zoom": 10',
'  },',
'  "marker": {',
'    "height": 54,',
'    "width": 54,',
'    "labels": false,',
'    "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAEeElEQVRogcWZT2hdRRTGf/cRQhYhBAmlhC5CkRBCKCEqVBcSShTRLkSKiJQiLooLF+JCgohQXHThyoVIESkSsuiqiBTRIiolipQS/NcWJG0lVKvV1lBriGnO52LmNjc3d+579915fQeG'
||'N+/CzHzfme/MPXNuQk2T+xkAdgOjwEPAFDDsnwP8C1wDvgfOAueBS8CNBKwuhrZNMGhwwOCYYMlgXaB8s63/NwRXBfMGL8oR7Qr4CYNTBr97UNuAlzVz7abBgmBG0LhXwHcKjhjczHs31G+h3TZ435wEOwp+h2BecDsi+LStCz4XjHcS/HEFdB6xfRqdhJfNXChIfVs1uOB36KBgSrBLMGwuXp6RC/ZzBitNdu0LwVg0AgZvpLIJtF8MXh'
||'fsEfSUOKIhGBEcNlgsCf4NwYdRAlswZvBXaCGDrwT7BL0V5mwIJv1urQV2Y9Vgf13wAwYnbfPYy3vpuGBnjfn7BG8arBXJyZzcRuoQ2C+4GjhVztQBnyVhTi7b5GRwy+DlMlmWTdwveCeg02XBTF3wmbUmBN8GAvqjthwlGBf8VOCVNYMjVTTfzMytdyiNNdsqoxXBdGhsWZTvFtxf8PxKAh8n8F9d4DkQnwEXBSS++f4A8GCTsYU2mXgv'
||'a+vz87isMrZdS+DLJPMg0384NKiMwAMFE5HA6Zjez61xCpzDUqf5/mRoXBmBUOBcrIyudSuSEJSk3EECgv5MP2t/1EHYxP5O4E76J9n87QsNCJ6vAS3eE0sdlmz2g7e2shfEjcDzoXZAtWgDgp7UYRkJ/RMaUBYDl9JOTkKdvHSMFu28MljyVkZgIT+Rn+yxmC+xzLwAT6X97CmUwNehcWVB/KPgz/zzBCbozK1pCJguOIXuAGdCg4IEEv'
||'g18S+snIRGgCfaSrAC5iN0HzBeIKErci/PaiboEcwKVgvy9SXBo7WRezMYlbtX5POuDcF72qwvVSaxV/BzJrHKLnBacF8E8L0e5HrBneC64Dk1nyZIoE8wV5BOpxead+uQ8OBflSurFN2PFwx2tDt/SmLCwgtsCD4RPFIlJnz6PC53yV8tcdCBWuAzJE4UxMHdX4MLBq/IabnsZEMwLFe1WAjIJm2LKkkhqhKYlqtnBus5BrcE33mvPi0Y'
||'NRiUe7uOCB4XvC34RpmLSxF4c7tyKAp4T6BP8FbgRGrar9J87WlOsVMWwZjgbBXgbfYvy5Vp4ppBw5x22/Fqlf7RaNoPEJm3TKUipoTM7XDnwHsCk4LFDkhoWXUrca2YoNfgsMLlxnYktOql098cQRwSPYKj5mqjMSR0QhHSkqokhvznoboSuqyYpfSKJGY8gHYltGLwQlfAewINuWzxt6oS8oXb1zp+6rRAok8wW5Ryl/UNPlBnCwStm1'
||'y+c7KChH5Qt74Ph0ywy1wpfD0kIf8CPCfY022820yuTcllmyHZLAmeVMT7dFTzQb3X/EfwHJF1g2fVgZJMdJPL/ZcyJK4LXuo2rpbN33WfFyz73ZhVu5WFbpk/Xg/KfYUc7NQ6/wPXO1op+IbpEgAAAABJRU5ErkJggg=="',
'  }',
'}'))
,p_attribute_02=>'osm'
);
end;
/
prompt --application/pages/page_00028
begin
wwv_flow_api.create_page(
 p_id=>28
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Einstellungen Formular'
,p_step_title=>'Einstellungen Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200330204547'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(225923949423183404)
,p_plug_name=>'Einstellungen Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_PARAMETERS'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(225931881064183429)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(225923949423183404)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>unistr('\00C4nderungen Speichern')
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P28_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(225930612052183426)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(225923949423183404)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'abbrechen'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:26:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(225932209016183429)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(225923949423183404)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'erstellen'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P28_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(225931478745183429)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(225923949423183404)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>unistr('l\00F6schen')
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition_type=>'NEVER'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(225932534038183429)
,p_branch_action=>'f?p=&APP_ID.:26:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225924306464183408)
,p_name=>'P28_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_source=>'ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225924745959183418)
,p_name=>'P28_PORTAL_NAME'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Portal Name'
,p_source=>'PORTAL_NAME'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>60
,p_cMaxlength=>100
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225925153674183423)
,p_name=>'P28_LAT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Geografische Breite'
,p_placeholder=>'53.2391361'
,p_post_element_text=>unistr('&nbsp;&nbsp;(geograf. Breite f\00FCr Zentrum der Karte in dieser Region)')
,p_source=>'LAT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225925556327183423)
,p_name=>'P28_LNG'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>unistr('Geografische L\00E4nge')
,p_placeholder=>'10.352599'
,p_post_element_text=>unistr('&nbsp;&nbsp;(geograf. L\00E4nge f\00FCr Zentrum der Karte in dieser Region)')
,p_source=>'LNG'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>20
,p_cMaxlength=>20
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('Beispiel f\00FCr ein paar Orte: <br>'),
unistr('L\00FCneburg: Breite: 53.2391361 - L\00E4nge: 10.3525998'),
unistr('Mainz-Hechtsheim: Breite 49.9627592 - L\00E4nge: 8.261561')))
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225925938297183423)
,p_name=>'P28_PARA1_TEXT_50'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Para1 Text 50'
,p_source=>'PARA1_TEXT_50'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>32
,p_cMaxlength=>50
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225926369034183424)
,p_name=>'P28_PARA2_TEXT_200'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Para2 Text 200'
,p_source=>'PARA2_TEXT_200'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>200
,p_cHeight=>4
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225926717448183424)
,p_name=>'P28_PARA3_NUMBER'
,p_source_data_type=>'NUMBER'
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Para3 Number'
,p_source=>'PARA3_NUMBER'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_NUMBER_FIELD'
,p_cSize=>32
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_03=>'right'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225927150095183424)
,p_name=>'P28_PARA4_DATE'
,p_source_data_type=>'DATE'
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Para4 Date'
,p_source=>'PARA4_DATE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER'
,p_cSize=>32
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_04=>'button'
,p_attribute_05=>'N'
,p_attribute_07=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(225927566722183424)
,p_name=>'P28_REMARKS'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>90
,p_item_plug_id=>wwv_flow_api.id(225923949423183404)
,p_item_source_plug_id=>wwv_flow_api.id(225923949423183404)
,p_prompt=>'Remarks'
,p_source=>'REMARKS'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>500
,p_cHeight=>4
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(225933447076183432)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(225923949423183404)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Einstellungen Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(225933095101183431)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(225923949423183404)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Einstellungen Formular'
);
end;
/
prompt --application/pages/page_00029
begin
wwv_flow_api.create_page(
 p_id=>29
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>unistr('Mundschutz selber n\00E4hen')
,p_step_title=>unistr('Mundschutz selber n\00E4hen')
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200406164656'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(227345384760615737)
,p_plug_name=>unistr('Mundschutz selber n\00E4hen')
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('Es gibt ja endlos viele N\00E4h-Anleitungen auf Youtube...<br><br>'),
'Nach <a target=new href ="https://youtu.be/6OEpTcGchw4">dieser Anleitung von "Silvia"</a> habe ich es mal ausprobiert:<br><br>',
'',
'<img src ="#APP_IMAGES#mundschutz02.jpg" width = 300 >&nbsp;&nbsp;',
'<img src ="#APP_IMAGES#mundschutz01.jpg" width = 300 >&nbsp;&nbsp;',
'<img src ="#APP_IMAGES#mundschutz03.jpg" width = 300>&nbsp;&nbsp;',
'<img src ="#APP_IMAGES#Mundschutz_bfw.jpg" width = 220>',
'',
'<br><br>',
unistr('"Selbst ist der Mann"... ohne gro\00DFe \00DCbung - habe ich inkl. Zuschneiden ca. 15 Min gebraucht...<br>'),
unistr('Lediglich die Gummib\00E4nder m\00FCsste man noch an die Kopfgr\00F6\00DFe etwas anpassen... die angebene L\00E4nge von 14 cm fand ich etwas kurz...<br>'),
'aber alles in allem ein unkomplizierte Art, einen Mundschutz selbst herzustellen.<br>',
'Vielen Dank Silvia W-K !!!<br>',
'6.4.2020 - BFW'))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_00030
begin
wwv_flow_api.create_page(
 p_id=>30
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Mails'
,p_alias=>'MAILS'
,p_step_title=>'Mails'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'BERNHARD@FISCHER-WASELS.DE'
,p_last_upd_yyyymmddhh24miss=>'20200515165529'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(12196873662336870)
,p_plug_name=>'Report 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210729488829214742)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_MAIL'
,p_include_rowid_column=>false
,p_plug_source_type=>'NATIVE_IR'
,p_prn_page_header=>'Report 1'
);
wwv_flow_api.create_worksheet(
 p_id=>wwv_flow_api.id(12197202270336871)
,p_name=>'Report 1'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_show_detail_link=>'C'
,p_download_formats=>'CSV:HTML:EMAIL:XLS:PDF:RTF'
,p_detail_link=>'f?p=&APP_ID.:31:&SESSION.::&DEBUG.:RP:P31_ID:\#ID#\'
,p_detail_link_text=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
,p_owner=>'FISCHER'
,p_internal_uid=>12197202270336871
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(12197331316336874)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'Id'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(12197692100336885)
,p_db_column_name=>'SUBJECT'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Subject'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(12198052411336886)
,p_db_column_name=>'TEXT'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'Text'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_column(
 p_id=>wwv_flow_api.id(12198464805336886)
,p_db_column_name=>'ERSTELLT_AM'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'Erstellt Am'
,p_column_type=>'DATE'
,p_column_alignment=>'CENTER'
,p_tz_dependent=>'N'
);
wwv_flow_api.create_worksheet_rpt(
 p_id=>wwv_flow_api.id(12200947691343133)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'122010'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'ID:SUBJECT:TEXT:ERSTELLT_AM'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(12199632657336892)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(12196873662336870)
,p_button_name=>'CREATE'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_redirect_url=>'f?p=&APP_ID.:31:&SESSION.::&DEBUG.:31'
);
end;
/
prompt --application/pages/page_00031
begin
wwv_flow_api.create_page(
 p_id=>31
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Mail Formular'
,p_alias=>'MAIL-FORMULAR'
,p_step_title=>'Mail Formular'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'C'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200515173913'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(12190219272336833)
,p_plug_name=>'Mail Formular'
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_query_type=>'TABLE'
,p_query_table=>'CORONA_MAIL'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(227346469982615748)
,p_button_sequence=>50
,p_button_plug_id=>wwv_flow_api.id(12190219272336833)
,p_button_name=>'Rundmail_an_alle'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Rundmail An Alle'
,p_button_position=>'BELOW_BOX'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(12194641312336864)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_api.id(12190219272336833)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'REGION_TEMPLATE_CHANGE'
,p_button_condition=>'P31_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'UPDATE'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(12193494375336857)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_api.id(12190219272336833)
,p_button_name=>'CANCEL'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Cancel'
,p_button_position=>'REGION_TEMPLATE_CLOSE'
,p_button_redirect_url=>'f?p=&APP_ID.:30:&SESSION.::&DEBUG.:::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(12195062177336864)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(12190219272336833)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'REGION_TEMPLATE_CREATE'
,p_button_condition=>'P31_ID'
,p_button_condition_type=>'ITEM_IS_NULL'
,p_database_action=>'INSERT'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(12194215678336863)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_api.id(12190219272336833)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_image_alt=>'Delete'
,p_button_position=>'REGION_TEMPLATE_DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>'P31_ID'
,p_button_condition_type=>'ITEM_IS_NOT_NULL'
,p_database_action=>'DELETE'
);
wwv_flow_api.create_page_branch(
 p_id=>wwv_flow_api.id(12195360722336864)
,p_branch_action=>'f?p=&APP_ID.:30:&SESSION.::&DEBUG.&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>1
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(12190633520336838)
,p_name=>'P31_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(12190219272336833)
,p_item_source_plug_id=>wwv_flow_api.id(12190219272336833)
,p_use_cache_before_default=>'NO'
,p_prompt=>'Id'
,p_source=>'ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_label_alignment=>'RIGHT'
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(12191012553336846)
,p_name=>'P31_SUBJECT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(12190219272336833)
,p_item_source_plug_id=>wwv_flow_api.id(12190219272336833)
,p_prompt=>'Subject'
,p_source=>'SUBJECT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>60
,p_cMaxlength=>200
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(12191439565336852)
,p_name=>'P31_TEXT'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_api.id(12190219272336833)
,p_item_source_plug_id=>wwv_flow_api.id(12190219272336833)
,p_prompt=>'Text'
,p_source=>'TEXT'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>60
,p_cMaxlength=>2000
,p_cHeight=>15
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
,p_attribute_02=>'N'
,p_attribute_03=>'N'
,p_attribute_04=>'BOTH'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(12191828364336853)
,p_name=>'P31_ERSTELLT_AM'
,p_source_data_type=>'DATE'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_api.id(12190219272336833)
,p_item_source_plug_id=>wwv_flow_api.id(12190219272336833)
,p_prompt=>'Erstellt Am'
,p_source=>'ERSTELLT_AM'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER'
,p_cSize=>32
,p_cMaxlength=>255
,p_field_template=>wwv_flow_api.id(210790902804214889)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_04=>'button'
,p_attribute_05=>'N'
,p_attribute_07=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(227346574197615749)
,p_name=>'P31_PLZ'
,p_is_required=>true
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(12190219272336833)
,p_use_cache_before_default=>'NO'
,p_prompt=>'PLZ zur Eingrenzung'
,p_source=>'P31_PLZ'
,p_source_type=>'ITEM'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>8
,p_field_template=>wwv_flow_api.id(210790805706214889)
,p_item_template_options=>'#DEFAULT#'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'BOTH'
,p_show_quick_picks=>'Y'
,p_quick_pick_label_01=>unistr('L\00FCneburg')
,p_quick_pick_value_01=>'21335'
,p_quick_pick_link_attr=>'quicks'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(12196210412336869)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_api.id(12190219272336833)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Mail Formular'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(227346353600615747)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Rundmail'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'FOR m IN (SELECT EMAIL,VORNAME,NAME, PLZ',
'            FROM CORONA_HELP',
'         where PLZ = :P31_PLZ',
'--            and id = 1321',
'         )',
'LOOP',
'  apex_mail.send( p_to => m.EMAIL,',
'                  p_from => ''no_reply@corona-hilfe.de'',',
'                  p_bcc => ''Bernhard@fischer-wasels.de'',',
'                  p_body => ''Hallo ''||m.vorname||'' ''||m.NAME||'',''||chr(10)||chr(10)||:P31_TEXT||chr(10)||',
'                 ''CORONA-HILFE.BFW-DESIGN.DE''                 ',
'                 ,',
'                  p_subj => :P31_SUBJECT',
'                );',
'                  ',
' ',
'END LOOP;',
''))
,p_process_error_message=>'keine Rund-Mail'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_api.id(227346469982615748)
,p_process_success_message=>'Rund-Mail verschickt'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(12195805057336867)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_api.id(12190219272336833)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Mail Formular'
);
end;
/
prompt --application/pages/page_09999
begin
wwv_flow_api.create_page(
 p_id=>9999
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Login Page'
,p_alias=>'LOGIN_DESKTOP'
,p_step_title=>'Corona Hilfe Angebote - Sign In'
,p_warn_on_unsaved_changes=>'N'
,p_first_item=>'AUTO_FIRST_ITEM'
,p_autocomplete_on_off=>'OFF'
,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
'span.t-Login-logo {',
'background-image: url(#APP_IMAGES#Claudia_Heimkehr_des_Prinzen.png);',
'backgroung-size: cover;',
'width: 150px;',
'height: 140px;',
'}',
''))
,p_step_template=>wwv_flow_api.id(210684010755214630)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_help_text=>'Benuutzer = Email-Adresse'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200324103325'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(210820505623215306)
,p_plug_name=>unistr('Corona Hilfe Angebote in der Region L\00FCneburg')
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210730036927214742)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_plug_footer=>'<br><a href="http://bfw-design.maxapex.ws/apex/f?p=250:9"/><font color="blue">Passwort  vergessen ? Klick hier</font></a><br><br>'
,p_attribute_01=>'N'
,p_attribute_02=>'TEXT'
,p_attribute_03=>'Y'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(210825215945215381)
,p_plug_name=>'Language Selector'
,p_parent_plug_id=>wwv_flow_api.id(210820505623215306)
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_api.id(210703978820214706)
,p_plug_display_sequence=>20
,p_plug_display_point=>'BODY'
,p_plug_source=>'apex_lang.emit_language_selector_list;'
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_query_num_rows=>15
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(210823358593215360)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_api.id(210820505623215306)
,p_button_name=>'LOGIN'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Sign In'
,p_button_position=>'REGION_TEMPLATE_NEXT'
,p_button_alignment=>'LEFT'
,p_grid_new_row=>'Y'
,p_grid_new_column=>'Y'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(209372571195089822)
,p_button_sequence=>50
,p_button_plug_id=>wwv_flow_api.id(210820505623215306)
,p_button_name=>'Eintragen'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--primary'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Angebot eintragen'
,p_button_position=>'REGION_TEMPLATE_NEXT'
,p_button_redirect_url=>'f?p=&APP_ID.:3:&SESSION.::&DEBUG.:RP,3::'
);
wwv_flow_api.create_page_button(
 p_id=>wwv_flow_api.id(211186016583617348)
,p_button_sequence=>60
,p_button_plug_id=>wwv_flow_api.id(210820505623215306)
,p_button_name=>'HOME'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--primary'
,p_button_template_id=>wwv_flow_api.id(210792068908214904)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Zur Homepage ohne Einloggen'
,p_button_position=>'REGION_TEMPLATE_NEXT'
,p_button_redirect_url=>'f?p=&APP_ID.:4:&SESSION.::&DEBUG.:RP::'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210820920422215321)
,p_name=>'P9999_USERNAME'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(210820505623215306)
,p_prompt=>'Benutzer/Email'
,p_placeholder=>'email'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>40
,p_cMaxlength=>100
,p_field_template=>wwv_flow_api.id(210790662155214874)
,p_item_icon_css_classes=>'fa-user'
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'N'
,p_attribute_02=>'N'
,p_attribute_04=>'TEXT'
,p_attribute_05=>'NONE'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210821300027215328)
,p_name=>'P9999_PASSWORD'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_api.id(210820505623215306)
,p_prompt=>'Password'
,p_placeholder=>'Passwort'
,p_display_as=>'NATIVE_PASSWORD'
,p_cSize=>40
,p_cMaxlength=>100
,p_field_template=>wwv_flow_api.id(210790662155214874)
,p_item_icon_css_classes=>'fa-key'
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attribute_01=>'Y'
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210822454255215345)
,p_name=>'P9999_REMEMBER'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_api.id(210820505623215306)
,p_prompt=>'Benutzername/Email merken'
,p_display_as=>'NATIVE_CHECKBOX'
,p_named_lov=>'LOGIN_REMEMBER_USERNAME'
,p_lov=>'.'||wwv_flow_api.id(210821674272215329)||'.'
,p_field_template=>wwv_flow_api.id(210790662155214874)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>',
unistr('Wenn man diese Checkbox anklickt, wird die Anwendung Benutzername7Email und Passwort in einem cookie named "LOGIN_USERNAME_COOKIE" speichern. Wenn man das n\00E4chste mal wiederkommt, werden Benutzername und Paswort automatisch eingetragen.'),
'</p>',
'<p>',
unistr('Wenn man die Checkbox nicht angeklickt hat (und sich einloggt) werden die gespeicherten Daten wieder gel\00F6scht.'),
'</p>'))
,p_attribute_01=>'1'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(210824147195215377)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Set Username Cookie'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'apex_authentication.send_login_username_cookie (',
'    p_username => lower(:P9999_USERNAME),',
'    p_consent  => :P9999_REMEMBER = ''Y'' );'))
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(210823712557215371)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Login'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'apex_authentication.login(',
'    p_username => :P9999_USERNAME,',
'    p_password => :P9999_PASSWORD );'))
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(210824988654215380)
,p_process_sequence=>30
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SESSION_STATE'
,p_process_name=>'Clear Page(s) Cache'
,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
);
wwv_flow_api.create_page_process(
 p_id=>wwv_flow_api.id(210824598898215378)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Get Username Cookie'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
':P9999_USERNAME := apex_authentication.get_login_username_cookie;',
':P9999_REMEMBER := case when :P9999_USERNAME is not null then ''Y'' end;'))
);
end;
/
prompt --application/pages/page_10010
begin
wwv_flow_api.create_page(
 p_id=>10010
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'About'
,p_alias=>'HELP'
,p_step_title=>'About'
,p_first_item=>'AUTO_FIRST_ITEM'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_api.id(210817708144215218)
,p_required_patch=>wwv_flow_api.id(210816697732215193)
,p_page_is_public_y_n=>'Y'
,p_help_text=>unistr('Hier wird beschrieben, um was f\00FCr eine Anwendung es sich handelt.')
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200328080259'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(210891539881215830)
,p_plug_name=>'Rechtliches'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>20
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('<b>Verantwortlich und Entwickler dieser Anwendung und Kontakt f\00FCr R\00FCckfragen:<br>'),
'<a href = "mailto:Bernhard@Fischer-Wasels.de">Bernhard@Fischer-Wasels.de</a><br>',
'Neulander Weg 25<br>',
'21357 Wittorf<br>',
'www.BFW-DESIGN.DE<br>',
'20.03.2020</b>',
''))
,p_plug_query_num_rows=>15
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
,p_attribute_03=>'Y'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(222631937334831511)
,p_plug_name=>unistr('<font color="lightblue">About - \00DCber diese Anwendung</font>')
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(222634852204831540)
,p_plug_name=>'Motivation'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>15
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_grid_column_span=>6
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<b><table >',
' ',
'<tr>',
unistr('  <td>Die LANDESZEITUNG berichtete am Freitag, den 20.3.2020 \00FCber Angebote hilfsbereiter B\00FCrger aus dem Landkreis... - tolle Aktion!<br><br>'),
'Das hat mich als passionierten Anwendungsentwickler motiviert, diese Anwendung zu erstellen.<br>',
'Dies ist ein privates, nicht kommerzielles Projekt.<br><br>',
unistr('Sie k\00F6nnen hier Ihre Kontaktdaten und Ihr Hilfs-Angebot hinterlassen, damit andere Sie kontakten k\00F6nnen.<br>'),
'',
'    <td>',
'<img src ="#APP_IMAGES#BFW_am_PC.jpg" width = 200></td>',
'  </tr>',
'</table>',
'',
'<br>',
unistr('Seien Sie unbesorgt ob Ihrer Daten. Diese werden nur f\00FCr dieses CORONA-Hilfe-Projekt gespeichert und nach der Krise wieder gel\00F6scht.'),
unistr('Sie k\00F6nnen auch jederzeit Ihre Daten hier wieder selbst entfernen.<br>'),
'Siehe auch bitte: Impressum/Datenschutz.<br><br>',
'',
unistr('Ich befinde mich im Austausch mit der Landeszeitung L\00FCneburg. Und die LZ m\00F6chte gerne einige der Helfer und Geholfenen in der LZ portr\00E4tieren und wird Sie m\00F6glicherweise kontaktieren.<br><br>'),
'',
'Seien Sie stolz, das Sie hier mitmachen !!! Respekt ! Das ist echte Zivilcourage.<br><br>',
'',
'Wir freuen uns auf Ihr Angebot!<br><br>',
'',
unistr('Bernhard Fischer-Wasels in Zusammenarbeit mit der Landeszeitung L\00FCneburg.<br>'),
'',
unistr('L\00FCneburg, 20.3.2020</td><br><br>'),
'Update und Info Sonntag, 22.03.2020 09:30h:<br>',
'Das ging ja toll los !! <a target=new href="https://www.landeszeitung.de/blog/lokales/2574595-lueneburg-kennt-nur-eine-richtung">nach diesem Bericht der LZ kamen </a>soviele Hilfsangebote! Meine Anerkennung an alle!<br>',
'---<br>',
'Update Montag, 23.3.2020 (12:30h) :<br>',
unistr('Seien Sie unbesorgt! Es ist \00FCberall sehr ruhig und es sind noch keine Hilfs-anfragen eingegangen. Ich sprach heute mit dem DRK-L\00FCneburg - auch dort gibt es noch keine Anfragen auf Unterst\00FCtzung. Warten wir es ab.</b>')))
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
end;
/
prompt --application/pages/page_10011
begin
wwv_flow_api.create_page(
 p_id=>10011
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Help'
,p_alias=>'PAGE_HELP'
,p_page_mode=>'MODAL'
,p_step_title=>'Help'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_required_patch=>wwv_flow_api.id(210816697732215193)
,p_dialog_chained=>'N'
,p_page_is_public_y_n=>'Y'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200322094733'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(210892295153215833)
,p_plug_name=>'Search Dialog'
,p_region_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_api.id(210703978820214706)
,p_plug_display_sequence=>10
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'for c1 in ',
'(',
'    select page_title, help_text ',
'      from apex_application_pages',
'     where page_id = :P10011_PAGE_ID ',
'       and application_id = :APP_ID',
')',
'loop',
'    if c1.help_text is null then',
'        sys.htp.p(''No help is available for this page.'');',
'    else',
'        if substr(c1.help_text, 1, 3) != ''<p>'' then',
'            sys.htp.p(''<p>'');',
'        end if;',
'',
'        sys.htp.p(apex_application.do_substitutions(c1.help_text));',
'',
'        if substr(trim(c1.help_text), -4) != ''</p>'' then',
'            sys.htp.p(''</p>'');',
'        end if;',
'    end if;',
'end loop;'))
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_query_num_rows=>15
);
wwv_flow_api.create_page_item(
 p_id=>wwv_flow_api.id(210892643108215833)
,p_name=>'P10011_PAGE_ID'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_api.id(210892295153215833)
,p_display_as=>'NATIVE_HIDDEN'
,p_lov_display_extra=>'NO'
,p_attribute_01=>'Y'
);
end;
/
prompt --application/pages/page_10012
begin
wwv_flow_api.create_page(
 p_id=>10012
,p_user_interface_id=>wwv_flow_api.id(210814581595215015)
,p_name=>'Impressum'
,p_step_title=>'Impressum'
,p_first_item=>'AUTO_FIRST_ITEM'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_api.id(210817708144215218)
,p_required_patch=>wwv_flow_api.id(210816697732215193)
,p_page_is_public_y_n=>'Y'
,p_help_text=>'Hier gibt es Impressum- und Datenschutzhinweise'
,p_last_updated_by=>'FISCHER'
,p_last_upd_yyyymmddhh24miss=>'20200327164236'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(222632051599831512)
,p_plug_name=>'<font color="lightblue">Impressum</font>'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_api.id(210704103375214706)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'BODY'
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
);
wwv_flow_api.create_page_plug(
 p_id=>wwv_flow_api.id(425446711581722311)
,p_plug_name=>'Impressum - Datenschutz'
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_api.id(210731338888214743)
,p_plug_display_sequence=>20
,p_plug_display_point=>'BODY'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
unistr('Diese Anwendung soll zur Koordination der Hilfsangebote im Bereich L\00FCneburg dienen.<br><br>'),
'',
unistr('Dies ist eine <b>nicht kommerzielle Privatinitiative in Kooperation mit der Landeszeitung L\00FCneburg</b>.<br><br>'),
'',
unistr('Hilfsbereite L\00FCneburger k\00F6nnen \00FCber das Formular ihre Angebot erfassen.<br><br>'),
'',
unistr('Hilfesuchende k\00F6nnen zu diesen Angeboten \00FCber dieses Portal Kontakt aufnehmen.<br>'),
'Die Anbieter werden sich dann bei den Hilfesuchenden melden.<br><br>',
'',
unistr('Ich befinde mich im Austausch mit der Landeszeitung L\00FCneburg. Und die LZ m\00F6chte gerne einige der Helfer und Geholfenen in der LZ  portr\00E4tieren und wird Sie m\00F6glicherweise kontaktieren. <br><br>'),
'',
unistr('Datenschutz nehme ich sehr ernst. Ihre Daten werden nicht weitergegeben und nach Ablauf des Projektes vollst\00E4ndig wieder gel\00F6scht.<br>'),
unistr('Anbieter k\00F6nnen auch Ihr Profil/Angebot jederzeit wieder l\00F6schen.<br><br>'),
'',
'<h3>Streitschlichtung</h3>',
unistr('<p>Die Europ\00E4ische Kommission stellt eine Plattform zur Online-Streitbeilegung (OS) bereit: <a href="https://ec.europa.eu/consumers/odr" target="_blank" rel="noopener">https://ec.europa.eu/consumers/odr</a>.<br />'),
'Unsere E-Mail-Adresse finden Sie oben im Impressum.</p>',
'<p>Wir sind nicht bereit oder verpflichtet, an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen.</p>',
unistr('<h3>Haftung f\00FCr Inhalte</h3>'),
unistr('<p>Als Diensteanbieter sind wir gem\00E4\00DF \00A7 7 Abs.1 TMG f\00FCr eigene Inhalte auf diesen Seiten nach den allgemeinen Gesetzen verantwortlich. Nach \00A7\00A7 8 bis 10 TMG sind wir als Diensteanbieter jedoch nicht verpflichtet, \00FCbermittelte oder gespeicherte fremde ')
||unistr('Informationen zu \00FCberwachen oder nach Umst\00E4nden zu forschen, die auf eine rechtswidrige T\00E4tigkeit hinweisen.</p>'),
unistr('<p>Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen nach den allgemeinen Gesetzen bleiben hiervon unber\00FChrt. Eine diesbez\00FCgliche Haftung ist jedoch erst ab dem Zeitpunkt der Kenntnis einer konkreten Rechtsverletzung m\00F6glich.')
||' Bei Bekanntwerden von entsprechenden Rechtsverletzungen werden wir diese Inhalte umgehend entfernen.</p>',
unistr('<h3>Haftung f\00FCr Links</h3>'),
unistr('<p>Unser Angebot enth\00E4lt Links zu externen Websites Dritter, auf deren Inhalte wir keinen Einfluss haben. Deshalb k\00F6nnen wir f\00FCr diese fremden Inhalte auch keine Gew\00E4hr \00FCbernehmen. F\00FCr die Inhalte der verlinkten Seiten ist stets der jeweilige Anbiete')
||unistr('r oder Betreiber der Seiten verantwortlich. Die verlinkten Seiten wurden zum Zeitpunkt der Verlinkung auf m\00F6gliche Rechtsverst\00F6\00DFe \00FCberpr\00FCft. Rechtswidrige Inhalte waren zum Zeitpunkt der Verlinkung nicht erkennbar.</p>'),
'<p>Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist jedoch ohne konkrete Anhaltspunkte einer Rechtsverletzung nicht zumutbar. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Links umgehend entfernen.</p>',
'<h3>Urheberrecht</h3>',
unistr('<p>Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen dem deutschen Urheberrecht. Die Vervielf\00E4ltigung, Bearbeitung, Verbreitung und jede Art der Verwertung au\00DFerhalb der Grenzen des Urheberrechtes bed\00FCrfen der s')
||unistr('chriftlichen Zustimmung des jeweiligen Autors bzw. Erstellers. Downloads und Kopien dieser Seite sind nur f\00FCr den privaten, nicht kommerziellen Gebrauch gestattet.</p>'),
'<p>Soweit die Inhalte auf dieser Seite nicht vom Betreiber erstellt wurden, werden die Urheberrechte Dritter beachtet. Insbesondere werden Inhalte Dritter als solche gekennzeichnet. Sollten Sie trotzdem auf eine Urheberrechtsverletzung aufmerksam wer'
||'den, bitten wir um einen entsprechenden Hinweis. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Inhalte umgehend entfernen.</p>',
'<p>Quelle: <a href="https://www.e-recht24.de">https://www.e-recht24.de</a></p>',
'',
unistr('Verantwortlich und Entwickler dieser Anwendung und Kontakt f\00FCr R\00FCckfragen:<br>'),
'<a href = "mailto:Bernhard@Fischer-Wasels.de">Bernhard@Fischer-Wasels.de</a><br>',
'Neulander Weg 25<br>',
'21357 Wittorf<br>',
'www.BFW-DESIGN.DE<br>',
'20.03.2020',
''))
,p_plug_query_num_rows=>15
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
,p_attribute_01=>'N'
,p_attribute_02=>'HTML'
,p_attribute_03=>'Y'
);
end;
/
prompt --application/deployment/definition
begin
wwv_flow_api.create_install(
 p_id=>wwv_flow_api.id(218740353638301769)
,p_welcome_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Bitte notiere den ADMIN user: ADMIN@CORONAHELP.NET  - Password: nocorona (case sensitive)<br>',
unistr('nach dem Einloggen bitte ins Profil (--> Header-Menue-Bar unter dem Benutzernamen)  einloggen und das Passwort \00E4ndern.<br>'),
'Dann empfehle ich: "Administration" --> "Setup hints"... <br>',
'Vielen dank und viel Erfolg!!<br>',
'NB: Falls Du die Anwendung in Produktion nimmst, bitte mir mitteilen!! --> Bernhard@Fischer-Wasels.de',
''))
,p_configuration_message=>'You can configure the following attributes of your application.'
,p_build_options_message=>'You can choose to include the following build options.'
,p_validation_message=>'The following validations will be performed to ensure your system is compatible with this application.'
,p_install_message=>'Please confirm that you would like to install this application''s supporting objects.'
,p_upgrade_message=>'The application installer has detected that this application''s supporting objects were previously installed.  This wizard will guide you through the process of upgrading these supporting objects.'
,p_upgrade_confirm_message=>'Please confirm that you would like to install this application''s supporting objects.'
,p_upgrade_success_message=>'Your application''s supporting objects have been installed.'
,p_upgrade_failure_message=>'Installation of database objects and seed data has failed.'
,p_deinstall_success_message=>'Deinstallation complete.'
,p_deinstall_script_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'/*',
'Drop the tables, sequences and triggers for the application.',
'*/',
'',
'-- tables',
'DROP TABLE CORONA_LEUTE CASCADE CONSTRAINTS',
'/',
'DROP TABLE CORONA_HELP CASCADE CONSTRAINTS',
'/',
'DROP TABLE CORONA_HILFSDIENSTE CASCADE CONSTRAINTS',
'/',
'',
'--sequences',
'DROP SEQUENCE CORONA_LEUTE_SEQ',
'/',
'DROP SEQUENCE CORONA_HELP_SEQ;',
'/',
'DROP SEQUENCE CORONA_HILFSDIENSTE_SEQ',
'/',
'',
'--triggers',
'DROP TRIGGER BI_CORONA_LEUTE',
'/',
'DROP TRIGGER BI_CORONA_HELP',
'/',
'DROP TRIGGER BI_CORONA_HILFSDIENSTE',
'/',
''))
);
end;
/
prompt --application/deployment/install/install_create_objects_4_corona_app
begin
wwv_flow_api.create_install_script(
 p_id=>wwv_flow_api.id(218740579692306077)
,p_install_id=>wwv_flow_api.id(218740353638301769)
,p_name=>'Create_objects_4_corona_app'
,p_sequence=>10
,p_script_type=>'INSTALL'
,p_script_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'CREATE TABLE  "CORONA_HILFSDIENSTE" ',
'   (	"ID" NUMBER NOT NULL ENABLE, ',
'	"NAME" VARCHAR2(50), ',
'	"BESCHREIBUNG" VARCHAR2(100), ',
'	"LINK" VARCHAR2(500), ',
'	"LOGO" BLOB, ',
'	"ANZEIGEN" VARCHAR2(5), ',
'	"TELEFON" VARCHAR2(20), ',
'	"WHATSAPP" VARCHAR2(20), ',
'	 CONSTRAINT "CORONA_HILFSDIENSTE_PK" PRIMARY KEY ("ID")',
'  USING INDEX  ENABLE',
'   )',
'/',
'CREATE TABLE  "CORONA_LEUTE" ',
'   (	"ID" NUMBER NOT NULL ENABLE, ',
'	"COR_HELPER_FK" NUMBER, ',
'	"ANREDE" VARCHAR2(10), ',
'	"VORNAME" VARCHAR2(20), ',
'	"NAME" VARCHAR2(20), ',
'	"STRASSE" VARCHAR2(50), ',
'	"PLZ" VARCHAR2(10), ',
'	"ORT" VARCHAR2(50), ',
'	"TELEFON" VARCHAR2(20), ',
'	"EMAIL" VARCHAR2(50), ',
'	"ERSTELLT_AM" DATE, ',
'	"BEMERKUNGEN" VARCHAR2(200), ',
'	"INFIZIER_JA_NEIN" VARCHAR2(20), ',
'	"DATENSCHUTZ" VARCHAR2(5), ',
'	 CONSTRAINT "CORONA_LEUTE_PK" PRIMARY KEY ("ID")',
'  USING INDEX  ENABLE',
'   )',
'/',
'CREATE TABLE  "CORONA_HELP" ',
'   (	"ID" NUMBER NOT NULL ENABLE, ',
'	"ANREDE" VARCHAR2(20), ',
'	"VORNAME" VARCHAR2(20), ',
'	"NAME" VARCHAR2(50), ',
'	"STRASSE" VARCHAR2(50), ',
'	"PLZ" VARCHAR2(10), ',
'	"ORT" VARCHAR2(50),',
'    "LAT" VARCHAR2(20),',
'    "LNG" VARCHAR2(20),',
'    "STADTTEIL" VARCHAR2(50), ',
'	"ANGEBOT" VARCHAR2(500), ',
'	"KATEGORIE" VARCHAR2(100), ',
'	"SONSTIGES" VARCHAR2(50), ',
'	"EMAIL" VARCHAR2(50), ',
'    "EMAIL_CHECK" VARCHAR2(50), ',
'	"PASSWORT" VARCHAR2(20), ',
'	"TELEFON" VARCHAR2(20), ',
'	"PKW" VARCHAR2(10), ',
'	"ERFASST_AM" DATE, ',
'	"ANGEBOT_GUELTIG_BIS" DATE, ',
'	"BEMERKUNGEN" VARCHAR2(500), ',
'	"ADMIN" VARCHAR2(10), ',
'	"DATENSCHUTZ" VARCHAR2(5), ',
'    "MASKS_AVAILABLE" NUMBER,     ',
'	 CONSTRAINT "CORONA_HELP_PK" PRIMARY KEY ("ID")',
'  USING INDEX  ENABLE',
'   )',
'/',
'',
'CREATE TABLE  "COR_CATEGORIES" ',
'   (	"CAT_ID" NUMBER NOT NULL ENABLE, ',
'	"NAME" VARCHAR2(30), ',
'    "NAME_DEUTSCH" VARCHAR2(30), ',
' 	 CONSTRAINT "COR_CATEGORIES_PK" PRIMARY KEY ("CAT_ID")',
'  USING INDEX  ENABLE',
'   )',
'/',
'',
'CREATE OR REPLACE EDITIONABLE FUNCTION  "CORONA_AUTH_FUNCTION" ',
'(p_username in varchar2, p_password in varchar2)',
'RETURN BOOLEAN',
'AS',
'BEGIN',
'for c1 in (select 1 from CORONA_HELP where upper(email) = upper(p_username) and passwort = p_password ) loop',
'return true;',
'end loop;',
'return false;',
'end;',
'/',
'',
' CREATE SEQUENCE   "CORONA_HELP_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 ',
'/',
' CREATE SEQUENCE   "CORONA_HILFSDIENSTE_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 ',
'/',
' CREATE SEQUENCE   "CORONA_LEUTE_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 ',
'/',
' CREATE SEQUENCE   "COR_CATEGORIES_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1',
'/',
'CREATE OR REPLACE EDITIONABLE TRIGGER  "BI_CORONA_HELP" ',
'  before insert on "CORONA_HELP"               ',
'  for each row  ',
'begin   ',
'  if :NEW."ID" is null then ',
'    select "CORONA_HELP_SEQ".nextval into :NEW."ID" from sys.dual; ',
'  end if; ',
'end; ',
'',
'/',
'ALTER TRIGGER  "BI_CORONA_HELP" ENABLE',
'/',
'CREATE OR REPLACE EDITIONABLE TRIGGER  "BI_CORONA_HILFSDIENSTE" ',
'  before insert on "CORONA_HILFSDIENSTE"               ',
'  for each row  ',
'begin   ',
'  if :NEW."ID" is null then ',
'    select "CORONA_HILFSDIENSTE_SEQ".nextval into :NEW."ID" from sys.dual; ',
'  end if; ',
'end; ',
'',
'/',
'ALTER TRIGGER  "BI_CORONA_HILFSDIENSTE" ENABLE',
'/',
'CREATE OR REPLACE EDITIONABLE TRIGGER  "BI_CORONA_LEUTE" ',
'  before insert on "CORONA_LEUTE"               ',
'  for each row  ',
'begin   ',
'  if :NEW."ID" is null then ',
'    select "CORONA_LEUTE_SEQ".nextval into :NEW."ID" from sys.dual; ',
'  end if; ',
'end; ',
'',
'/',
'ALTER TRIGGER  "BI_CORONA_LEUTE" ENABLE',
'',
'/',
'',
'CREATE OR REPLACE EDITIONABLE TRIGGER  "BI_COR_CATEGORIES" ',
'  before insert on "COR_CATEGORIES"               ',
'  for each row  ',
'begin   ',
'  if :NEW."CAT_ID" is null then ',
'    select "COR_CATEGORIES_SEQ".nextval into :NEW."CAT_ID" from sys.dual; ',
'  end if; ',
'end; ',
'',
'/',
'ALTER TRIGGER  "BI_COR_CATEGORIES" ENABLE',
'/',
''))
);
end;
/
prompt --application/deployment/install/install_insert_admin_user_in_corona_help_table
begin
wwv_flow_api.create_install_script(
 p_id=>wwv_flow_api.id(218740948282318082)
,p_install_id=>wwv_flow_api.id(218740353638301769)
,p_name=>'Insert_Admin_user_in_corona_help_table'
,p_sequence=>20
,p_script_type=>'INSTALL'
,p_script_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'-- Insert data into CORONA_HELP ... these are the "helpers"engagers"',
'-- this first record is the ADMIN admin@coronahelp.net - Password: nomorecorona',
'',
'SET DEFINE OFF',
'',
'INSERT INTO CORONA_HELP (',
'name, vorname, email, admin, passwort)',
'',
'VALUES (''Helper'', ''corona'', ''admin@coronahelp.net'', ''Ja'',''nocorona'');',
'',
'INSERT INTO CORONA_HELP (',
'name, vorname, email, admin, passwort)',
'',
'VALUES (''Helper'', ''corona'', ''admin@coronahelp.net'', ''Yes'',''nocorona'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''shopping'', ''Einkauf'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''transportation'', ''Transport'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''baby sitting'', ''Kinderbetreuung'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''walk the dog'', ''Tierbetreuung'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''communication'',''Kommunikation'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''doctor consultation'', ''Arztbesuch'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''misc.'', ''Sonstiges'');',
'',
'insert into COR_CATEGORIES (name, name_deutsch)',
'values (''Masks'', ''Mundschutz'');',
'',
'Commit;',
'',
'',
''))
);
end;
/
prompt --application/deployment/checks
begin
null;
end;
/
prompt --application/deployment/buildoptions
begin
null;
end;
/
prompt --application/end_environment
begin
wwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false));
commit;
end;
/
set verify on feedback on define on
prompt  ...done
