<stat>INSERT INTO p27293zu2022v1_language SET id = '3133',id_language = '60',id_question = '1239',id_text_type = '2',lngText = 'Wussten Sie, dass es ORF2 auch in HD gibt?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3134',id_language = '60',id_question = '1240',id_text_type = '2',lngText = '<div>Und können Sie ORF2 in HD auf diesem Fernsehgerät (das ist das meistgenutzte im Haushalt) empfangen?</div><div>(<span style=\"background-color: rgb(255, 255, 0);\">INTERVIEWERANWEISUNG</span>: FALLS RESPONDENT NICHT WEIß WAS HD IST, ERKLÄREN, ZB „auf einem anderen Sendeplatz, in besserer Bild- und Tonqualität“, oder helfen, falls der HD Empfang bei Frage 17 schon am Beispiel ORF überprüft wurde)</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3135',id_language = '60',id_question = '1241',id_text_type = '2',lngText = 'Schauen Sie ORF1 auf diesem Fernsehgerät (das ist das meistgenutzte im Haushalt) meistens in HD, meistens in SD (also nicht HD) oder teils/teils?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3136',id_language = '60',id_question = '1242',id_text_type = '2',lngText = 'Schauen Sie ORF2 auf diesem Fernsehgerät (das ist das meistgenutzte im Haushalt) meistens in HD, meistens in SD (also nicht HD) oder teils/teils?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3137',id_language = '60',id_question = '1243',id_text_type = '2',lngText = 'Schauen Sie auf einem anderen Fernsehgerät im Haushalt ORF1 bzw- ORF2 in HD? (MEHRFACHANTWORTEN)';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3138',id_language = '60',id_question = '1235',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3139',id_language = '60',id_question = '1234',id_text_type = '3',lngText = '1 ORF1 HD eingeschalten/2 ORF1 nicht HD eingeschalten/3 [keine Angabe, kann keinen ORF empfangen ⁄ ORF nicht eingestellt]';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3140',id_language = '60',id_question = '1236',id_text_type = '3',lngText = '1 ORF2 HD eingeschalten/2 ORF2 nicht HD eingeschalten/3 [keine Angabe, kann keinen ORF empfangen ⁄ ORF nicht eingestellt]';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3141',id_language = '60',id_question = '1237',id_text_type = '3',lngText = '1 ja/2 nein (auch inkl. weiß nicht, was HD ist)';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3142',id_language = '60',id_question = '1238',id_text_type = '3',lngText = '1 ja/2 nein/3 [weiß nicht]';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3143',id_language = '60',id_question = '1240',id_text_type = '3',lngText = '1 ja/2 nein/3 [weiß nicht]';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3144',id_language = '60',id_question = '1239',id_text_type = '3',lngText = '1 ja/2 nein (auch inkl. weiß nicht, was HD ist)';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3145',id_language = '60',id_question = '1241',id_text_type = '3',lngText = '1 meistens in HD/2 teils teils/3 meistens in SD (also nicht HD)/4 [ich schaue so gut wie nie ORF 1]/5 [keine Angabe]';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3146',id_language = '60',id_question = '1242',id_text_type = '3',lngText = '1 meistens in HD/2 teils teils/3 meistens in SD (also nicht HD)/4 [ich schaue so gut wie nie ORF 2]/5 [keine Angabe]';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3147',id_language = '60',id_question = '1243',id_text_type = '3',lngText = '1 Ja, mind. ein weiteres TV Gerät auf dem ORF1 in HD geschaut wird	/2 Ja, mind. ein weiteres TV Gerät auf dem ORF2 in HD geschaut wird	/3 Nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3266',id_language = '60',id_question = '1305',id_text_type = '2',lngText = 'Handelt es sich hier um das Produkt „A1 TV über Satellit“?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3267',id_language = '60',id_question = '1305',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: hat eine A1 Box, die Empfangsstation ist aber am Satelliten angeschlossen, der Fernsehempfang kommt über Satellit, über die A1 Box sind nicht die IPTV Angebote nutzbar, aber die Videothek, eine Aufnahmefunktion etc</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3268',id_language = '60',id_question = '1305',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3269',id_language = '60',id_question = '1306',id_text_type = '2',lngText = 'Handelt es sich hier um das Produkt „A1 TV über Satellit“?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3270',id_language = '60',id_question = '1306',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: hat eine A1 Box, die Empfangsstation ist aber am Satelliten angeschlossen, der Fernsehempfang kommt über Satellit, über die A1 Box sind nicht die IPTV Angebote nutzbar, aber die Videothek, eine Aufnahmefunktion etc</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3271',id_language = '60',id_question = '1306',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3272',id_language = '60',id_question = '1307',id_text_type = '2',lngText = 'Handelt es sich hier um das Produkt „A1 TV über Satellit“?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3273',id_language = '60',id_question = '1307',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: hat eine A1 Box, die Empfangsstation ist aber am Satelliten angeschlossen, der Fernsehempfang kommt über Satellit, über die A1 Box sind nicht die IPTV Angebote nutzbar, aber die Videothek, eine Aufnahmefunktion etc</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3274',id_language = '60',id_question = '1307',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3275',id_language = '60',id_question = '1308',id_text_type = '2',lngText = 'Handelt es sich hier um das Produkt „A1 TV über Satellit“?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3276',id_language = '60',id_question = '1308',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: hat eine A1 Box, die Empfangsstation ist aber am Satelliten angeschlossen, der Fernsehempfang kommt über Satellit, über die A1 Box sind nicht die IPTV Angebote nutzbar, aber die Videothek, eine Aufnahmefunktion etc</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3277',id_language = '60',id_question = '1308',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3278',id_language = '60',id_question = '1309',id_text_type = '2',lngText = 'Handelt es sich hier um das Produkt „A1 TV über Satellit“?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3279',id_language = '60',id_question = '1309',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: hat eine A1 Box, die Empfangsstation ist aber am Satelliten angeschlossen, der Fernsehempfang kommt über Satellit, über die A1 Box sind nicht die IPTV Angebote nutzbar, aber die Videothek, eine Aufnahmefunktion etc</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3280',id_language = '60',id_question = '1309',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3281',id_language = '60',id_question = '1310',id_text_type = '2',lngText = 'Handelt es sich hier um das Produkt „A1 TV über Satellit“?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3282',id_language = '60',id_question = '1310',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: hat eine A1 Box, die Empfangsstation ist aber am Satelliten angeschlossen, der Fernsehempfang kommt über Satellit, über die A1 Box sind nicht die IPTV Angebote nutzbar, aber die Videothek, eine Aufnahmefunktion etc</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3283',id_language = '60',id_question = '1310',id_text_type = '3',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3284',id_language = '60',id_question = '1311',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">VORLESEN, FRAGEN – Mediatheken sind damit nicht gemeint</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3285',id_language = '60',id_question = '1311',id_text_type = '2',lngText = 'Verschiedene Anbieter bieten die Möglichkeit, dass man das Fernsehprogramm der Sender in ihrem Programmpaket bis zu 7 Tage im Nachhinein zeitversetzt ansehen kann. Hat Ihr Haushalt eines oder mehrere der folgenden Angebote zum zeitversetzen Ansehen des Fernsehprogramms aktiviert? <span style=\"background-color: rgb(255, 255,0);\">[INT: Mehrfachantworten möglich; Achtung – Mediatheken sind damit NICHT gemeint]</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3286',id_language = '60',id_question = '1311',id_text_type = '3',lngText = '1 A1 View Control/2 Magenta Replay/3 Next TV (ehem. Liwest läuft)/4 simpliTV App  ⁄  simpliONE (ehem. simpliTV 7 Tage Replay)/5 Drei TV  ⁄  3 TV/6 anderes/7 nichts davon/8 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3287',id_language = '60',id_question = '1311',id_text_type = '8',lngText = '0,0,0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3290',id_language = '60',id_question = '1243',id_text_type = '8',lngText = '0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3291',id_language = '60',id_question = '1315',id_text_type = '3',lngText = '1';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3292',id_language = '60',id_question = '1316',id_text_type = '2',lngText = '<style> ul { list-style-type: none; margin: 0; padding: 0; } </style>


$image[IchWarDaFormular\\covid_sticker.PNG;width:2000px]
<br><br>
<p style=\"font-family:calibri;color:rgb(0, 38, 165);font-size:30px\">
Bitte kontrollieren Sie Ihre eingeblendeten Kontaktdaten und bestätigen Sie die angeführten Angaben mit Ihrer Unterschrift.</p>
<p style=\"font-family:calibri;color:rgb(0, 38, 165);font-size:24px\"><br>
Ihre Daten - Angaben zur befragten Person</p><p style=\"font-family:calibri;font-size:18px\">HINWEIS: Wird ausschließlich für das für Contact Tracing verwendet. 
</p><p></p><br><table style=\"margin-right:auto;margin-left:0px\">
<tbody><tr><td>Name (Vor- Zuname)</td><td><input size=\"65\" type=\"text\" name=\"resp_name\" id=\"resp_name\"></td></tr>
<tr><td>Adresse</td><td><input size=\"65\" type=\"text\" name=\"resp_adresse\" id=\"resp_adresse\"><br></td></tr>
<tr><td>Telefonnummer</td><td><input size=\"65\" type=\"text\" name=\"resp_telnr\" id=\"resp_telnr\"><br></td></tr>
</tbody></table>
<br>
<p style=\"font-family:calibri;color:rgb(0, 38, 165);font-size:24px\">
Allgemeine Informationen</p><br>
<table style=\"font-family:calibri;font-size:18px\">
<tr><td style=\"vertical-align:top\">&#9745;</td><td>Ja, ich habe das IFES-Schreiben \"Vielen herzlichen Dank für Ihre Unterstützung\" mit den Kontaktdaten des IFES (Adresse, Telefonnummer und E-Mail-Adresse) erhalten.</td></tr>
<tr><td style=\"vertical-align:top\">&#9745;</td><td>Ja, ich bestätige hiermit, dass während der Befragung durch IFES alle gesetzlichen Vorgaben im Rahmen der COVID-19-Sicherheitsmaßnahmen eingehalten wurden.</td></tr>
<tr><td style=\"vertical-align:top\">&#9745;</td><td>Ja, ich habe den Namen und die Interviewer-Nummer der IFES Feld Interviewerin/des IFES Feld Interviewers erhalten.</td></tr>
</table>
<table width=\"100%\">
<tbody><tr><td><div id=\"wrapper1\"><canvas style=\"border: 1px inset grey;\" name=\"canvas1\" id=\"canvas1\" width=\"500\" height=\"160\"></canvas></div></td> <td><br><br><br><br><br><br><br><div vertical-align=\"middle\"><input id=\"datum1\" name=\"datum1\" type=\"text\" input=\"\"></div></td></tr>
<tr><td><p style=\"font-family:calibri;font-size:18px\">Unterschrift der befragten Person </p></td><td><p style=\"font-family:calibri;font-size:18px\">Datum</p></td>
</tr></tbody></table><br>

 <button id=\"clear1\" type=\"button\">Unterschrift löschen</button>
 <button id=\"signpopup\" type=\"button\">Unterschriftfeld öffnen</button>
<br><br>
  
 <input id=\"structureid\" value=\"$structureid_1 \" type=\"hidden\"><br>
 <div id=\'wrapper2\'><canvas style=\"border: 1px inset grey; display:none\" name=\"canvas2\" id=\"canvas2\" width=\"500\" height=\"160\"></canvas></div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3293',id_language = '60',id_question = '1317',id_text_type = '3',lngText = '1 Projekname/2 structure_id/3 NICHT VERWENDET/4 intnr';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3294',id_language = '60',id_question = '1318',id_text_type = '3',lngText = '1 Vorname/2 Zuname/3 Adresse/4 Telnr/5 Datum';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3295',id_language = '60',id_question = '1319',id_text_type = '3',lngText = '1 IV_Nr/2 Vorname/3 Zuname';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3296',id_language = '60',id_question = '1321',id_text_type = '2',lngText = 'Frage bleibt hidden';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3297',id_language = '60',id_question = '1321',id_text_type = '3',lngText = '1 Unterschrift ok/2 Unterschrift nicht vorhanden';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3298',id_language = '60',id_question = '1322',id_text_type = '3',lngText = '1 Das Formular wurde korrekt ausgefüllt und unterschrieben/2 Respondent  ⁄  Respondentin hat die Unterschrift verweigert/3 Das Ausfüllen des Formulars war aus technischen Gründen nicht möglich';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3300',id_language = '60',id_question = '1322',id_text_type = '1',lngText = '<i><span style=\"background-color: rgb(0, 180,125);\">INT: Zuordnen</span></i>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3301',id_language = '60',id_question = '1326',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: FRAGEN:</span>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3302',id_language = '60',id_question = '1326',id_text_type = '2',lngText = 'Und greifen Sie zumindest gelegentlich mit diesem Gerät auf das Internet zu, egal ob mit Mobilfunk, WLAN oder einer fixen Internetanbindung?';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3303',id_language = '60',id_question = '1326',id_text_type = '3',lngText = '1 PC-Standgerät/2 Laptop/ Notebook/ Netbook/3 Tablet/4 Smartphone';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3304',id_language = '60',id_question = '1326',id_text_type = '4',lngText = '1 ja/2 nein';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3305',id_language = '60',id_question = '1326',id_text_type = '8',lngText = '0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3306',id_language = '60',id_question = '1327',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP1_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP1_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3307',id_language = '60',id_question = '1328',id_text_type = '2',lngText = 'Dummy LISTE DER FERNSEHGERÄTE';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3308',id_language = '60',id_question = '1328',id_text_type = '3',lngText = '1 TV1/2 TV2/3 TV3/4 TV4/5 TV5/6 TV6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3309',id_language = '60',id_question = '1327',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3310',id_language = '60',id_question = '1327',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3311',id_language = '60',id_question = '1327',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3312',id_language = '60',id_question = '1329',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP2_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP2_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3313',id_language = '60',id_question = '1329',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3314',id_language = '60',id_question = '1329',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3315',id_language = '60',id_question = '1329',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3316',id_language = '60',id_question = '1330',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP9_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP9_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3317',id_language = '60',id_question = '1330',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3318',id_language = '60',id_question = '1330',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3319',id_language = '60',id_question = '1330',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3320',id_language = '60',id_question = '1331',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP8_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP8_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3321',id_language = '60',id_question = '1331',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3322',id_language = '60',id_question = '1331',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3323',id_language = '60',id_question = '1331',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3324',id_language = '60',id_question = '1332',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP7_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP7_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3325',id_language = '60',id_question = '1332',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3326',id_language = '60',id_question = '1332',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3327',id_language = '60',id_question = '1332',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3328',id_language = '60',id_question = '1333',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP6_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP6_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3329',id_language = '60',id_question = '1333',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3330',id_language = '60',id_question = '1333',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3331',id_language = '60',id_question = '1333',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3332',id_language = '60',id_question = '1334',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP5_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP5_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3333',id_language = '60',id_question = '1334',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3334',id_language = '60',id_question = '1334',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3335',id_language = '60',id_question = '1334',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3336',id_language = '60',id_question = '1335',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP4_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP4_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3337',id_language = '60',id_question = '1335',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3338',id_language = '60',id_question = '1335',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3339',id_language = '60',id_question = '1335',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3340',id_language = '60',id_question = '1336',id_text_type = '2',lngText = '<div>Kommen wir jetzt zu Person $BEZxP3_1 .</div><div><br></div><div>An wie vielen Tagen in einer durchschnittlichen Woche nützt die Person [ $BEZxP3_1 ] folgendes Fernsehgerät?</div>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3341',id_language = '60',id_question = '1336',id_text_type = '3',lngText = '1 $DUMNUTZT_1/2 $DUMNUTZT_2/3 $DUMNUTZT_3/4 $DUMNUTZT_4/5 $DUMNUTZT_5/6 $DUMNUTZT_6';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3342',id_language = '60',id_question = '1336',id_text_type = '8',lngText = '0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3343',id_language = '60',id_question = '1336',id_text_type = '4',lngText = '1 7 von 7/2 6 von 7 /3 5 von 7/4 4 von 7/5 3 von 7/6 2 von 7/7 1 von 7/8 Nicht&nbsp;jede&nbsp;Woche, aber in den letzen 4 Wochen genutzt/9 Länger nicht genutzt/10 noch nie genutzt/11 Weiß nicht';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3380',id_language = '60',id_question = '1349',id_text_type = '8',lngText = '0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3381',id_language = '60',id_question = '1349',id_text_type = '1',lngText = '<span style=\"background-color: rgb(0, 180,125);\">INT.: ERHEBEN UND NACHFRAGEN:</span>​';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3382',id_language = '60',id_question = '1350',id_text_type = '2',lngText = 'Wer in Ihrem Haushalt ist Haushaltsvorstand? (Die Person, die vorwiegend die Entscheidungen im Haushalt trifft.)';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3383',id_language = '60',id_question = '1350',id_text_type = '3',lngText = '1 1. $LISTEPERS_opn1/2 2. $LISTEPERS_opn2/3 3. $LISTEPERS_opn3/4 4. $LISTEPERS_opn4/5 5. $LISTEPERS_opn5/6 6. $LISTEPERS_opn6/7 7. $LISTEPERS_opn7/8 8. $LISTEPERS_opn8/9 9. $LISTEPERS_opn9';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3384',id_language = '60',id_question = '1350',id_text_type = '8',lngText = '0,0,0,0,0,0,0,0,0<|><|>';
<stat>INSERT INTO p27293zu2022v1_language SET id = '3385',id_language = '60',id_question = '656',id_text_type = '2',lngText = '(KONTROLLCHECK) DVB-T wurde eingestellt. Derzeit ist der DVB-T2 Standard in Verwendung, der in Österreich unter simpliTV vertrieben wird. Bitte Kontrollieren 
Sie ob simpliTV genutzt wird.<br><br><div align=\"left\">
<img src=\"../../webIfesProjects/ProjFiles/Teletest/stepsbox.png\">
<img src=\"../../webIfesProjects/ProjFiles/Teletest/stepsmodule.png\" width=\"85px\">
<img src=\"../../webIfesProjects/ProjFiles/Teletest/simply1.jpg\" width=\"70px\">
<img src=\"../../webIfesProjects/ProjFiles/Teletest/simply2.jpg\" width=\"80px\">
<img src=\"../../webIfesProjects/ProjFiles/Teletest/simply3.jpg\" width=\"150px\">
</div><br><br>';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '71',id_event = '1',script = '    $txtchck = sprintf(\'TVFUNCxTV1_9,TVFUNCxTV1_10,TVFUNCxTV1_11,TVFUNCxTV1_12,TVFUNCxTV1_13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    saveVar(sprintf(\'tRCINTxTV1_9=NULL\'));
    saveVar(sprintf(\'tRCINTxTV1_10=NULL\'));
    saveVar(sprintf(\'tRCINTxTV1_11=NULL\'));
    saveVar(sprintf(\'tRCINTxTV1_12=NULL\'));
    saveVar(sprintf(\'tRCINTxTV1_13=NULL\'));
    saveVar(sprintf(\'tRCINTxTV1_1=NULL\'));
    
    
        if ($TVFUNCxTV1_9 == 9) {            
            saveVar(sprintf(\'tRCINTxTV1_9=9\'));
            saveVar(sprintf(\'tRCINTxTV1_1=1\'));
        }
        if ($TVFUNCxTV1_10 == 10) {            
            saveVar(sprintf(\'tRCINTxTV1_10=10\'));
            saveVar(sprintf(\'tRCINTxTV1_1=1\'));
        }
        if ($TVFUNCxTV1_11 == 11) {            
            saveVar(sprintf(\'tRCINTxTV1_11=11\'));
            saveVar(sprintf(\'tRCINTxTV1_1=1\'));
        }
        if ($TVFUNCxTV1_12 == 12) {            
            saveVar(sprintf(\'tRCINTxTV1_12=12\'));
            saveVar(sprintf(\'tRCINTxTV1_1=1\'));
        }
        if ($TVFUNCxTV1_13 == 13) {            
            saveVar(sprintf(\'tRCINTxTV1_13=13\'));
            saveVar(sprintf(\'tRCINTxTV1_1=1\'));
        }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '59',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP1_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP1_1 < 10) {   
        saveVar(sprintf(\'STANDxP1=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '55',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP1 == 12) {  
        saveVar(sprintf(\'BERUFxP1=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '56',id_event = '1',script = '    $txtchck = sprintf(\'ANZGRP_1,ANZGRP_2,ANZGRP_3,ANZGRP_4,Projektdaten_24\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    
    $countp = 0;
    if ($ANZGRP_1 != 99)  { $grp1 = $ANZGRP_1; } else { $grp1 = 0; }
    if ($ANZGRP_2 != 99)  { $grp2 = $ANZGRP_2; } else { $grp2 = 0; }
    if ($ANZGRP_3 != 99)  { $grp3 = $ANZGRP_3; } else { $grp3 = 0; }
    if ($ANZGRP_4 != 99)  { $grp4 = $ANZGRP_4; } else { $grp4 = 0; }

$countp = $grp1 + $grp2 + $grp3 + $grp4;
//if ($ANZGRP_3 == 9) {$countp = \'\"\'.$countp.\'+\"\';}
//echo $countp;
    saveVar(\"ANZGES_1=$countp\");

// Anzahl für Statistik
    // ANZSTAT_1 - Anzahl Alter und Geschlecht
    // ANZSTAT_\" - Anzahl Rest
// Altersbeschränkungen setzen
    // Befragungsalter
    // Alter ab dem Statistik ausgefüllt wird
        if ($Projektdaten_24 == 1) {
            saveVar(\"ANZSTAT_1=$countp\"); //TTM Alle
            saveVar(\"ANZSTAT_2=$countp\"); //TTM Alle
            saveVar(sprintf(\'MINAGE_1=15\')); // derzeit bei allen Studien gleich
            saveVar(sprintf(\'MINAGE_2=0\')); // TTM für ALLE
        } else {
            saveVar(\"ANZSTAT_1=$ANZGRP_1\"); //AKI/MTU ab 15
            saveVar(\"ANZSTAT_2=1\"); //AKI/MTU max 2, wird nach Frage zum HHV geändert
            saveVar(sprintf(\'MINAGE_1=15\')); // derzeit bei allen Studien gleich
            saveVar(sprintf(\'MINAGE_2=15\')); // AKI/MTU ab 15
        }

// Text für Alter mal Geschlecht setzen
    for($i_tmp=1;$i_tmp<=9;$i_tmp++) {
      $txt_agesex = \"\";  
      if ($countp >= $i_tmp) {
         $txt_agesex2 = \" (IM ALTER UNTER 2 JAHRE)\";
         $i_min = 0;
         $i_max = 1; 
         if ( $i_tmp <= $grp1+$grp2+$grp3) {
         $txt_agesex2 = \" (IM ALTER VON 2 BIS 5 JAHRE)\";
         $i_min = 2;
         $i_max = 5; 
         }
         if ( $i_tmp <= $grp1+$grp2) {
         $txt_agesex2 = \" (IM ALTER VON 6 BIS 14 JAHRE)\";
         $i_min = 6;
         $i_max = 14; 
         }
         if ( $i_tmp <= $ANZGRP_1) {
         $txt_agesex2 = \" (IM ALTER 15+)\";
         $i_min = 15;
         $i_max = 99; 
         }    
         $txt_agesex = $i_tmp.\". Person\".$txt_agesex2;   
      }  
      saveVar(sprintf(\'BEZxAxS_%d=\"%s\"\',$i_tmp,$txt_agesex));  
      saveVar(sprintf(\'MINxAGE_%d=\"%d\"\',$i_tmp,$i_min)); 
      saveVar(sprintf(\'MAXxAGE_%d=\"%d\"\',$i_tmp,$i_max));         
    }    


';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '60',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP1_1 == 12) {   
        saveVar(sprintf(\'EDUCxP1=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '132',id_event = '1',script = 'for($i=1;$i<=9;$i++) {
            
    $txtchck = sprintf(\'AGExP%d_1,SEXxP%d,ANZGES_1\',$i,$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
//        printf(\"%s=%s<br>\", $itemvar, $checkvar[$itemvar]);
    }
       
    $txtliste = \"\";
       
    if ($i<= $checkvar[\'ANZGES_1\']) {
        $age = sprintf(\'AGExP%d_1\',$i);
        $sex = sprintf(\'SEXxP%d\',$i);
            if ($checkvar[$sex] == 1) {
              $sextxt = \"männlich\";
            } else {
              $sextxt = \"weiblich\"; 
            }      
        $txtliste = sprintf(\"%d, %s\",$checkvar[$age],$sextxt);
//        echo $txtliste.\"<br>\";
    }
    saveVar(sprintf(\"LISTEPERS_opn%d = \'%s\'\",$i,$txtliste));
//    echo \"<hr>\";
}

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '134',id_event = '1',script = '
$i_userid = reset(getVar(\"user_id\"));
$i_info = getVarFromTable(\"_Interviewer\", \"username\", \"WHERE id = $i_userid\");

if (count($i_info) == 1)
    saveVar(\"intnr_1=\'\" . $i_info[0][\"username\"] . \"\'\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '142',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP2 <> 12) {  
        saveVar(sprintf(\'BERUFxP2=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '143',id_event = '1',script = '    $txtchck = sprintf(\'AGExP2_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($AGExP2_1 < 10) {   
        saveVar(sprintf(\'STANDxP2=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '144',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP2_1 = 12) {   
        saveVar(sprintf(\'EDUCxP2=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '153',id_event = '1',script = '    $txtchck = sprintf(\'TVFUNCxTV2_9,TVFUNCxTV2_10,TVFUNCxTV2_11,TVFUNCxTV2_12,TVFUNCxTV2_13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    saveVar(sprintf(\'tRCINTxTV2_9=NULL\'));
    saveVar(sprintf(\'tRCINTxTV2_10=NULL\'));
    saveVar(sprintf(\'tRCINTxTV2_11=NULL\'));
    saveVar(sprintf(\'tRCINTxTV2_12=NULL\'));
    saveVar(sprintf(\'tRCINTxTV2_13=NULL\'));
    saveVar(sprintf(\'tRCINTxTV2_1=NULL\'));
    
    
        if ($TVFUNCxTV2_9 == 9) {            
            saveVar(sprintf(\'tRCINTxTV2_9=9\'));
            saveVar(sprintf(\'tRCINTxTV2_1=1\'));
        }
        if ($TVFUNCxTV2_10 == 10) {            
            saveVar(sprintf(\'tRCINTxTV2_10=10\'));
            saveVar(sprintf(\'tRCINTxTV2_1=1\'));
        }
        if ($TVFUNCxTV2_11 == 11) {            
            saveVar(sprintf(\'tRCINTxTV2_11=11\'));
            saveVar(sprintf(\'tRCINTxTV2_1=1\'));
        }
        if ($TVFUNCxTV2_12 == 12) {            
            saveVar(sprintf(\'tRCINTxTV2_12=12\'));
            saveVar(sprintf(\'tRCINTxTV2_1=1\'));
        }
        if ($TVFUNCxTV2_13 == 13) {            
            saveVar(sprintf(\'tRCINTxTV2_13=13\'));
            saveVar(sprintf(\'tRCINTxTV2_1=1\'));
        }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '7',id_event = '4',script = 'saveVar(\"ANZTV_1=\" . rand(1,6));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '5',id_event = '4',script = 'saveVar(\"HHV=1\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '6',id_event = '4',script = '$i_tmp = rand(1, 2);
     if($i_tmp == 1) {
        saveVar(\"HHFERN=1\");
     }
     if($i_tmp == 2) {
        saveVar(\"HHFERN=3\");
     }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '192',id_event = '1',script = '// FRAGEBOGEN ART
    $FRABO_ART = reset(getVar(\"Projektdaten_24\"));
// Zielperson setzen
    $j = reset(getVar(\"NRRESP\"));
    saveVar(sprintf(\"LPERS2_opn1 = \'%s\'\",$j));

// HEB Setzen
    $k = reset(getVar(\"NRHHV\"));
    if($j<>$k) { //ZP ist nicht HRHHV
        saveVar(sprintf(\"LPERS2_opn2 = \'%s\'\",$k));
     // Anzahl für Statistik
        // Anzahl Rest
        $ANZSTAT_tmp = reset(getVar(\"ANZSTAT_2\"));
        if ($ANZSTAT_tmp == 1 && ($FRABO_ART == 2 || $FRABO_ART == 3)) {
            saveVar(\"ANZSTAT_2=2\"); //AKI/MTU max 2, wird nach Frage zum HHV geändert 
        }    
    }

// Restlichen Personen anfügen
for($i=1;$i<=9;$i++) {
            
    $txtchck = sprintf(\'AGExP%d_1,SEXxP%d,ANZGES_1\',$i,$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
//        printf(\"%s=%s<br>\", $itemvar, $checkvar[$itemvar]);
    }
       
    $txtliste = \"\";
       
    if ($i<= $checkvar[\'ANZGES_1\']) {
        $age = sprintf(\'AGExP%d_1\',$i);
        $sex = sprintf(\'SEXxP%d\',$i);
            if ($checkvar[$sex] == 1) {
              $sextxt = \"männlich\";
            } else {
              $sextxt = \"weiblich\";
            }      
        $txtliste = sprintf(\"%d, %s\",$checkvar[$age],$sextxt);
//        echo $txtliste.\"<br>\";
    }
    if ($j<>$k) {
        $i_korr = 2;
        if ($i>$j) { $i_korr -= 1;}
        if ($i>$k) { $i_korr -= 1;}
        $l = $i+$i_korr;
        if ($i == $k) {
            $l = 2;
            $txtliste .= \"(Haupteinkommensbezieher)\";
        }
    } else {
        $i_korr = 1;
        if ($i>$j) { $i_korr -= 1;}
        $l = $i+$i_korr; 
    }
    if ($i == $j) {
        $l = 1;
        $txtliste .= \"(befragte Person)\";
    }
    if ($l <= 9) { 
    saveVar(sprintf(\"ALTERxP%d_1 = \'%s\'\",$l,$checkvar[$age]));
    saveVar(sprintf(\"GESCHLxP%d = \'%s\'\",$l,$checkvar[$sex]));
    saveVar(sprintf(\"BEZxP%d_1 = \'%s\'\",$l,$txtliste));
    saveVar(sprintf(\"LPERS2_opn%d = %d\",$l,$i));        
//    saveVar(sprintf(\"LISTEPERS_opn%d = \'%s\'\",$i,$txtliste));
//    echo \"<hr>\";
    }
}
    

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '200',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP2 == 12) {  
        saveVar(sprintf(\'BERUFxP2=15\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '201',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP2_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP2_1 < 10) {   
        saveVar(sprintf(\'STANDxP2=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '202',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP2_1 == 12) {   
        saveVar(sprintf(\'EDUCxP2=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '23',id_event = '4',script = 'saveVar(\"ANZRECxTV1_1=\" . rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '162',id_event = '4',script = 'saveVar(\"ANZRECxTV2_1=\" . rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '104',id_event = '4',script = 'saveVar(\"ANZGRP_1=\" . rand(1,4));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '308',id_event = '1',script = 'for ($i=1;$i<=5;$i++) {      // Schleife für Empfangsarten, kurze Liste
            saveVar(sprintf(\'HHEMPF_%d=NULL\',$i));
            saveVar(sprintf(\'HHEMPFxNr_%d=0\',$i));
}
for ($i=1;$i<=7;$i++) {      // Schleife für Empfangsarten erweiterte Liste
            saveVar(sprintf(\'HHEMPFplus_%d=NULL\',$i));
            saveVar(sprintf(\'HHEMPFplusxNr_%d=0\',$i));

  for ($j=1;$j<=6;$j++) {    // Schleife für Fernseher, 6 wenn fertig derzeit auf 1 gesetzt
    $txtchck = sprintf(\'TVEMPFxTV%d_%d,HHEMPFplus_%d,HHEMPFplusxNr_%d\',$j,$i,$i,$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
       }
 $result = eval(sprintf(\'return ($TVEMPFxTV%d_%d == %d and HHEMPFplus_%d <> %d);\', $j, $i, $i, $i, $i));
      if ($result) {            
            saveVar(sprintf(\'HHEMPFplus_%d=%d\',$i,$i));
            //Werte für kurze Liste setzen
            $korr = $i;
            if ($i>4) $korr--;
            if ($i>6) $korr--;
            saveVar(sprintf(\'HHEMPF_%d=%d\',$korr,$korr));
        }
 $result2 = eval(sprintf(\'return ($TVEMPFxTV%d_%d == %d);\', $j, $i, $i));
        if ($result) {
            $EMPFplus = sprintf(\'HHEMPFplusxNr_%d\',$i);
            $anzEMPFplus = $$EMPFplus;
            $anzEMPFplus ++;
            //echo $anzEMPF.\"<br>\";
            saveVar(sprintf(\'HHEMPFplusxNr_%d=%d\',$i,$anzEMPFplus));
            
            //Werte für kurze Liste setzen
            $korr = $i;
            if ($i>4) $korr--;
            if ($i>6) $korr--;
            $EMPF = sprintf(\'HHEMPFxNr_%d\',$korr);
            $anzEMPF = $$EMPF;
            $anzEMPF ++;
            saveVar(sprintf(\'HHEMPFxNr_%d=%d\',$korr,$anzEMPF));
        }
   }

}

    ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '306',id_event = '1',script = '$checkvar = getVar(\"HHEMPFxNr_1,HHEMPFxNr_2,HHEMPFxNr_3,HHEMPFxNr_4,HHEMPFxNr_5\");
$allvars = \"HHEMPFxNr_1,HHEMPFxNr_2,HHEMPFxNr_3,HHEMPFxNr_4,HHEMPFxNr_5\";
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
//    echo $itemvar.\"-\".$$itemvar.\" \";   
         }
  $StartSendePlatzGruppe = 1; //1 = die esten 10 oder 20; 2 = die zweiten 10 oder 20
  $txtfs1 = \'FERNSEHGERÄT - DAS IM HAUSHALT HAUPTSÄCHLICH GENUTZT WIRD\'; 
  $txtfs2 = \'0\';
  $txtsp1 = \'HAUPTFERNSEHGERÄT\';
  $txtfs3 = \'Die Programme der Sendeplätze 1 bis 20 angeben\';

    if ($HHEMPFxNr_3 >= 1) {
        if ($HHEMPFxNr_3 >= 2) $haupt = \"HAUPTSÄCHLICH GENUTZTE \";
  $txtsp1 = $haupt.\'FERNSEHGERÄT MIT KABELEMPFANG\';
  $txtfs1 = $haupt.\'FERNSEHGERÄT - DAS ÜBER KABEL EMPFÄNGT\';
  $txtfs2 = \'10\';
    }
    if ($HHEMPFxNr_2 >= 1) {
        if ($HHEMPFxNr_2 >= 2) $haupt = \"HAUPTSÄCHLICH GENUTZTE \";
  $txtsp1 = $haupt.\'FERNSEHGERÄT MIT DVB-T/T2 EMPFANG\';
  $txtfs1 = $haupt.\'FERNSEHGERÄT - DAS MIT DEM DVB-T/T2 RECEIVER VERBUNDEN IST\';
  $txtfs2 = \'10\' ;
     }
    if ($HHEMPFxNr_4 >= 1) {
        if ($HHEMPFxNr_4 >= 2) $haupt = \"HAUPTSÄCHLICH GENUTZTE \";
  $txtsp1 = $haupt.\'FERNSEHGERÄT MIT DVB-C EMPFANG\';
  $txtfs1 = $haupt.\'FERNSEHGERÄT - DAS MIT DEM DVB-C RECEIVER VERBUNDEN IST\';
  $txtfs2 = \'10\';
     }
    if ($HHEMPFxNr_5 >= 1) {
        if ($HHEMPFxNr_5 >= 2) $haupt = \"HAUPTSÄCHLICH GENUTZTE \";
  $txtsp1 = $haupt.\'FERNSEHGERÄT MIT IPTV EMPFANG\';
  $txtfs1 = $haupt.\'FERNSEHGERÄT - DAS MIT DEM IPTV RECEIVER VERBUNDEN IST\';
  $txtfs2 = \'10\';
    }
    if ($HHEMPFxNr_1 >= 1) {
        if ($HHEMPFxNr_1 >= 2) $haupt = \"HAUPTSÄCHLICH GENUTZTE \";
  $txtsp1 = $haupt.\'FERNSEHGERÄT MIT DVB-S EMPFANG\';
  $txtfs1 = $haupt.\'FERNSEHGERÄT - DAS MIT DEM DVB-S RECEIVER VERBUNDEN IST\';
  $txtfs2 = \'20\';
    }
  $startSendePl = 1;
  $endeSendePl = $txtfs2;
  $addSendePL = 0;
  if ($StartSendePlatzGruppe == 2) { 
      $startSendePl += $txtfs2;
      $endeSendePl += $txtfs2;
      $addSendePL = $txtfs2;
    }
$txtfs3 = \'Die Programme der Sendeplätze \'.$startSendePl.\' bis \'.$endeSendePl.\' angeben\';

for ($i_count = 1;$i_count <= $txtfs2;$i_count++) {
    $txtsendpl = \'\'.($i_count+$addSendePL).\'.Sendeplatz\';
//    echo $txtsendpl;
    saveVar(sprintf(\'DUMSENPL_%d=\"%s\"\',$i_count,$txtsendpl));
    }


           saveVar(sprintf(\'DUMSENPL_22=%d\',$txtfs2));
           saveVar(sprintf(\'DUMSENPL_21=\"%s\"\',$txtfs1));
           saveVar(sprintf(\'DUMSENPL_23=\"%s\"\',$txtfs3));

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '27',id_event = '2',script = '$i_txtrcint = \"Was trifft auf den <1>.Receiver am <1>. Fernsehgerät zu? (KONTROLLCHECK) (INT: VORLESEN)\";

    $txtchck = sprintf(\'RCINTxTV1,ZSRECxTV1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV1 == 1 and $ZSRECxTV1 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV1 == 1 and ($ZSRECxTV1 == 1 or $ZSRECxTV1 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV1 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \"
    am <1>. Fernsehgerät zu? (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";      }

setQuestion($i_txtrcint);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '27',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//    if ($RCINTxTV1 == 1 and ($ZSRECxTV1 == 1 or $ZSRECxTV1 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV1 == 1) {        //Sobald int rec vorhanden
    for ($i=1;$i<=19;$i++) {      // Schleife für Empfangsarten
    //            saveVar(sprintf(\'TVFUNC_%d=NULL\',$i));
    
        $txtchck = sprintf(\'TVFUNCxTV1_%d\',$i);
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
     $result = eval(sprintf(\'return ($TVFUNCxTV1_%d == %d);\', $i,$i));
            if ($result) {            
                saveVar(sprintf(\'RCFUNCxTV1x1_%d=%d\',$i,$i));
            }
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '174',id_event = '2',script = '$i_txtrcint = \"Was trifft auf den <1>.Receiver am <2>. Fernsehgerät zu? (KONTROLLCHECK) (INT: VORLESEN)\";

    $txtchck = sprintf(\'RCINTxTV2,ZSRECxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV2 == 1 and $ZSRECxTV2 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \"
    am <2>. Fernsehgerät zu? (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '72',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '32',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '959',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP1_11\"),
        tbLabel = $(\"#op_STAATSBxP1_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '26',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV1,ZSRECxTV1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

//    if ($RCINTxTV1 == 1 and ($ZSRECxTV1 == 1 or $ZSRECxTV1 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV1 == 1) {        //Sobald int rec vorhanden
        for ($i=1;$i<=6;$i++) {      // Schleife für Empfangsarten
            $txtchck = sprintf(\'TVRECxTV1_%d\',$i);
            $checkvar = getVar($txtchck);
            $allvars = $txtchck;
                foreach (explode(\",\",$allvars) as $itemvar) {
                   $i_chktvrec = $checkvar[$itemvar] ;
                }
            saveVar(sprintf(\'RCARTxTV1x1_%d=%d\',$i,$i_chktvrec));
        }
   }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '26',id_event = '2',script = '
$i_txtrcint = \"Was trifft auf den Receiver <1> zu? (KONTROLLCHECK)
    (RECEIVER KANN MEHRERE EMPFANGSARTEN UNTERSTÜTZEN) (MEHRFACHNENNUNG MÖGLICH)\";


    $txtchck = sprintf(\'RCINTxTV1,ZSRECxTV1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV1 == 1 and $ZSRECxTV1 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV1 == 1 and ($ZSRECxTV1 == 1 or $ZSRECxTV1 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV1 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \" zu?
    (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";        
    }

setQuestion($i_txtrcint);
 ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '171',id_event = '2',script = '
$i_txtrcint = \"Was trifft auf den Receiver <1> zu? (KONTROLLCHECK)
    (RECEIVER KANN MEHRERE EMPFANGSARTEN UNTERSTÜTZEN) (MEHRFACHNENNUNG MÖGLICH)\";


    $txtchck = sprintf(\'RCINTxTV2,ZSRECxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV2 == 1 and $ZSRECxTV2 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \" zu?
    (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";        
    }

setQuestion($i_txtrcint);
 ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '171',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV2,ZSRECxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
        for ($i=1;$i<=6;$i++) {      // Schleife für Empfangsarten
            $txtchck = sprintf(\'TVRECxTV2_%d\',$i);
            $checkvar = getVar($txtchck);
            $allvars = $txtchck;
                foreach (explode(\",\",$allvars) as $itemvar) {
                   $i_chktvrec = $checkvar[$itemvar] ;
                }
            saveVar(sprintf(\'RCARTxTV2x1_%d=%d\',$i,$i_chktvrec));
        }
   }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '315',id_event = '1',script = '$i_userid = reset(getVar(\"user_id\"));

//1 Projektname
            saveVar(\'Projektdaten_1=\"TeleTest Monitoring 2022\"\');
            //saveVar(\"Projektdaten_1=\'\". $i_address[0][\"capi_hhid\"] . \"\'\");
//3 Verrechnungsnummer
            saveVar(\'Projektdaten_3=\"27293125\"\');
            //saveVar(\"Projektdaten_3=\'\". $i_address[0][\"capi_hhidf2\"] . \"\'\");
//24 Fragebogen ART
     //Fragebogenart(1 = TTM ohne Einschaltung, 2 = AKI ohne Einschaltung, 3 = MTU, 4 = mit Einschaltung
            saveVar(\'Projektdaten_24=\"1\"\');
//15 Version
            
            saveVar(\'Projektdaten_15=\"9.0.1\"\');   // GKZ
            //saveVar(\'Projektdaten_15=\"8.0.1\"\');   // Korrekturen KOSTREAM Item Disney+ hinzugefügt
            // saveVar(\'Projektdaten_15=\"8.0\"\'); // Erstversion Server 2021
            //saveVar(\'Projektdaten_15=\"7.1.1\"\'); // Zusätzlich Antisemitismus Fragen deaktiviert
            //saveVar(\'Projektdaten_15=\"6.1.1\"\'); // Zusätzlich Antisemitismus Fragen
            //saveVar(\'Projektdaten_15=\"5.1.1\"\'); // Zusätzlich HD Fragen
            //saveVar(\'Projektdaten_15=\"4.1.1\"\'); // R-Frage
            //saveVar(\'Projektdaten_15=\"3.1.1\"\'); // NEUE FRAGEBOGENVERSION 2HJ 2019
            //saveVar(\'Projektdaten_15=\"2.1.1\"\'); // FILTER BEI TV_REC ENTFERNT
            //saveVar(\'Projektdaten_15=\"1.1.1\"\'); // Länderliste aktiviert, keine Änderung im Fragebogen
            //saveVar(\'Projektdaten_15=\"1.0.1\"\'); // Startversion 22.Jänner 2019
            //saveVar(\'Projektdaten_15=\"0.0.1\"\'); // Testversion Jan 2019

if ($i_userid != 0)
 {
$i_table_id = reset(getVar(\"id_capi_table\"));
$i_address_id = reset(getVar(\"id_capi_address\"));
$i_sample_id = reset(getVar(\"id_capi_sample\"));

// Interviewernummer eintragen
$i_userid = reset(getVar(\"user_id\"));
$i_info = getVarFromTable(\"_Interviewer\", \"username\", \"WHERE id = $i_userid\");

if (count($i_info) == 1)
    saveVar(\"intnr_1=\'\" . $i_info[0][\"username\"] . \"\'\");

if ($i_table_id != null)
{
    $i_table_name = getVarFromTable(\"_CapiTables\", \"name\", \"WHERE id = \".$i_table_id);
    if (count($i_table_name) == 1)
    {    
        $i_sample_table = \"capi___\" . $i_table_name[0][\"name\"];
    
//        $i_address = getVarFromTable($i_sample_table, \"id_municipality, municipality, id_settlement, capi_BL, capi_PB, capi_OG, name, street, zip, town, capi_vorwahl, capi_telnr\", \"WHERE id = \".$i_address_id);
        $i_address = getVarFromTable($i_sample_table, \"id, id_municipality, municipality, id_settlement, id_street, capi_BL, capi_PB, capi_OG, capi_ID_POST, name, street, capi_hnr, capi_gkz, zip, town\", \"WHERE id = \".$i_address_id);
        if (count($i_address) == 1)
        {
//2 Welle
            //saveVar(\'Projektdaten_2=\"1\"\');
            saveVar(\"Projektdaten_2=\'\". $i_address[0][\"id_municipality\"] . \"\'\");
//4 Listennummer
            saveVar(\"Projektdaten_4=\'\". $i_address[0][\"municipality\"] . \"\'\");
//5 Lfd Nummer
            saveVar(\"Projektdaten_5=\'\". $i_address[0][\"id_settlement\"] . \"\'\");
//6 Bundesland
            saveVar(\"Projektdaten_6=\'\". $i_address[0][\"capi_BL\"]. \"\'\");
//7 Politischer Bezirk
            saveVar(\"Projektdaten_7=\'\". $i_address[0][\"capi_PB\"]. \"\'\");            
//8 Größenklasse
            saveVar(\"Projektdaten_8=\'\". $i_address[0][\"capi_OG\"]. \"\'\");            
//9 Name
            saveVar(\"Projektdaten_9=\'\". $i_address[0][\"name\"]. \"\'\");            
//10 Vorname
            //saveVar(\"Projektdaten_10=\'\". $i_address[0][\"capi_hhnrb2\"]. \"\'\");        
//11 Adresse
            saveVar(\"Projektdaten_11=\'\". $i_address[0][\"street\"]. \"\'\");
//12 PLZ
            saveVar(\"Projektdaten_12=\'\". $i_address[0][\"zip\"]. \"\'\");            
//13 Ort
            saveVar(\"Projektdaten_13=\'\". $i_address[0][\"town\"]. \"\'\");            
//14 Telefonnummer
            saveVar(\"Projektdaten_14=\'\". $i_address[0][\"capi_vorwahl\"]. $i_address[0][\"capi_telnr\"]. \"\'\");            
//16 Kontrollvariable
            //saveVar(\"Projektdaten_16=\'ver\'\");  wir für die Kontaktdaten gesetzt
//17 Adresstyp
           saveVar(\"Projektdaten_17=\'\". $i_address[0][\"id_street\"] . \"\'\");      
//18 ID_POST
            saveVar(\"Projektdaten_18=\'\". $i_address[0][\"capi_ID_POST\"]. \"\'\");            
//19 Straße Zusatz (Hausnummer etc.)
           saveVar(\"Projektdaten_19=\'\". $i_address[0][\"capi_hnr\"] . \"\'\");      
//25 GKZ
        saveVar(\"Projektdaten_25=\'\". $i_address[0][\"capi_gkz\"] . \"\'\");  
    }}}     
 }
//20 RESERVIERT FÜR ABGLEICHDATUM
//21 RESERVIERT FÜR STATUS INKL KONTAKTBLATT
//22 RESERVIERT FÜR QS DATEN
//23 RESERVIERT FÜR LIVE UPDATE VERSION
//24 RESERVIERT FÜR Fragebogen ART - Wird am Skriptanfang gesetzt


$i_bld = reset(getVar(\"Projektdaten_6\"));    
if ($i_bld == \"\") {saveVar(\"Projektdaten_6=\'9\'\");};
$i_linr = reset(getVar(\"Projektdaten_4\"));    
if ($i_linr == \"\") {
    saveVar(\"Projektdaten_4=\'099999\'\");
    saveVar(\"Projektdaten_2=1\");
};
$i_id = reset(getVar(\"id\"));
$i_lfdnr = reset(getVar(\"Projektdaten_5\"));  
if ($i_lfdnr == \"\") {saveVar(\"Projektdaten_5=\".$i_id);};

            







';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1114',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP2_11\"),
        tbLabel = $(\"#op_STAATSBxP2_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '325',id_event = '4',script = 'saveVar(\"AGE_1=\" . rand(15, 99));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '101',id_event = '4',script = 'saveVar(\"AGExP1_1=\" . rand(15, 99));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '160',id_event = '2',script = '$allvars = \"TVRECxTV2_1,TVRECxTV2_2,TVRECxTV2_3,TVRECxTV2_4,TVRECxTV2_5,TVEMPFxTV2_1,TVEMPFxTV2_2,TVEMPFxTV2_3,TVEMPFxTV2_4,TVEMPFxTV2_5,TVEMPFxTV2_6,TVEMPFxTV2_7\";
$checkvar = getVar($allvars);
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
//    echo $itemvar.\"-\".$$itemvar.\" \";   
         }

    $i_rec = \"\";
    $i_TV = \"\";   

if (($TVRECxTV2_2 == 2 or $TVRECxTV2_5 == 5)   and  $TVEMPFxTV2_1 == 1) {
    $i_rec .= \"- DVB-S -\";
    $i_TV .= \"- DVB-S -\";
    }
    
if  (($TVRECxTV2_1 == 1 or $TVRECxTV2_5 == 5)   and  $TVEMPFxTV2_2 == 2) {
    $i_rec .= \"- DVB-T/T2 -\";
    $i_TV .= \"- DVB-T, DVB-T2/ SimpliTV -\";
    }
if  (($TVRECxTV2_3 == 3 or $TVRECxTV2_5 == 5)   and  ($TVEMPFxTV2_4 == 4 || $TVEMPFxTV2_5 == 5)) {
    $i_rec .= \"- DVB-C -\";
    $i_TV .= \"- DVB-C -\";
    }
if  ($TVRECxTV2_4 == 4   and  ($TVEMPFxTV2_6 == 6 || $TVEMPFxTV2_7 == 7)) {
    $i_rec .= \"- IP-TV -\";
    $i_TV .= \"- Fernsehen über Telefonleitung (IPTV) -\";
    }
if ($TVRECxTV2_5 == 5) {
    $i_rec .= \"- Tripletuner -\";    
}
 $textzs = sprintf(\'Benutzen Sie den eingebauten Receiver (%s)
     oder einen externen Receiver für den Empfang von %s an diesem Fernsehgerät?\',$i_rec,$i_TV);
 setQuestion($textzs);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '531',id_event = '1',script = '$txtchck = sprintf(\'Projektdaten_6,Projektdaten_9,Projektdaten_10,Projektdaten_11,Projektdaten_12,Projektdaten_13,Projektdaten_14,Projektdaten_16,Projektdaten_19,kondata_5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
    }
if ($Projektdaten_16 <> \'ver\' && ($Projektdaten_17 == 1 || $Projektdaten_17 == 0)) {
    saveVar(sprintf(\'kondata_1=\"%s\"\',$Projektdaten_9));
    saveVar(sprintf(\'kondata_2=\"%s\"\',$Projektdaten_12));
    saveVar(sprintf(\'kondata_3=\"%s\"\',$Projektdaten_11));
    saveVar(sprintf(\'kondata_4=\"%s\"\',$Projektdaten_19));
    saveVar(sprintf(\'kondata_5=\"%s\"\',$Projektdaten_13));
    saveVar(sprintf(\'kondata_6=\"%s\"\',$Projektdaten_14));
}

saveVar(\"Projektdaten_16=\'ver\'\");

$bld = $Projektdaten_6;
$bldstat = array(\"ges\",8,7,5,4,2,6,1,3,9);
/*
if ($Projektdaten_6 != \"\" and $Projektdaten_11 != \"\" and $Projektdaten_12 != \"\") {
    $plz = $Projektdaten_12;
    $table = \"strassen_ges\";
    $filter = \"WHERE `Straßenname` = \'\".$Projektdaten_11.\"\' and Postleitzahl = \".$plz.\" and bld = \".$bldstat[$bld];
    
    $Variable = getVarFromTable( $table , \"id\", $filter);

    if (isset($Variable[0][\"id\"])) {
        $id_street = $Variable[0][\"id\"];
    } else {
         $id_street = 0;
    }
}
*/
if ($Projektdaten_17 == 1 || $Projektdaten_17 == 0) {
    $id_street = 0;
}
if ($Projektdaten_11== \"Blumenweg\" and $Projektdaten_12 == 1811) {
     $id_street = 999999;
    }
/*
if ($kontakt[\"kondata_5\"] == null) {
    saveVar(\"kondata_3=\".$Projektdaten_12); //PLZ
    saveVar(\"kondata_4=\'\".$Projektdaten_11.\"\'\"); // Straße
    saveVar(\"kondata_5=\'\".$Projektdaten_19.\"\'\"); // Straße_Zusatz
    saveVar(\"kondata_6=\'\".$Projektdaten_13.\"\'\"); // Ort
    saveVar(\"kondata_9=\".$id_street); // idStreet
}
*/
$projname = $_SESSION[\"projname\"];
$questname = \"strasse\";
//echo \'<input id=plzID type=\"hidden\" name=\"forStreet\" value=\"\'.$plz.\'\">\';
echo \'<input id=bldID type=\"hidden\" name=\"forStreet\" value=\"\'.$bld.\'\">\';
echo \'<input id=frageID type=\"hidden\" name=\"forStreet\" value=\"\'.$questname.\'\">\';

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '361',id_event = '2',script = '$allvars = \"TVRECxTV3_1,TVRECxTV3_2,TVRECxTV3_3,TVRECxTV3_4,TVRECxTV3_5,TVEMPFxTV3_1,TVEMPFxTV3_2,TVEMPFxTV3_3,TVEMPFxTV3_4,TVEMPFxTV3_5,TVEMPFxTV3_6,TVEMPFxTV3_7\";
$checkvar = getVar($allvars);
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
//    echo $itemvar.\"-\".$$itemvar.\" \";   
         }

    $i_rec = \"\";
    $i_TV = \"\";   

if (($TVRECxTV3_2 == 2 or $TVRECxTV3_5 == 5)   and  $TVEMPFxTV3_1 == 1) {
    $i_rec .= \"- DVB-S -\";
    $i_TV .= \"- DVB-S -\";
    }
    
if  (($TVRECxTV3_1 == 1 or $TVRECxTV3_5 == 5)   and  $TVEMPFxTV3_2 == 2) {
    $i_rec .= \"- DVB-T/T2 -\";
    $i_TV .= \"- DVB-T, DVB-T2/ SimpliTV -\";
    }
if  (($TVRECxTV3_3 == 3 or $TVRECxTV3_5 == 5)   and  ($TVEMPFxTV3_4 == 4 || $TVEMPFxTV3_5 == 5)) {
    $i_rec .= \"- DVB-C -\";
    $i_TV .= \"- DVB-C -\";
    }
if  ($TVRECxTV3_4 == 4   and  ($TVEMPFxTV3_6 == 6 || $TVEMPFxTV3_7 == 7)) {
    $i_rec .= \"- IP-TV -\";
    $i_TV .= \"- Fernsehen über Telefonleitung (IPTV) -\";
    }
if ($TVRECxTV3_5 == 5) {
    $i_rec .= \"- Tripletuner -\";    
}
 $textzs = sprintf(\'Benutzen Sie den eingebauten Receiver (%s)
     oder einen externen Receiver für den Empfang von %s an diesem Fernsehgerät?\',$i_rec,$i_TV);
 setQuestion($textzs);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '382',id_event = '2',script = '$allvars = \"TVRECxTV4_1,TVRECxTV4_2,TVRECxTV4_3,TVRECxTV4_4,TVRECxTV4_5,TVEMPFxTV4_1,TVEMPFxTV4_2,TVEMPFxTV4_3,TVEMPFxTV4_4,TVEMPFxTV4_5,TVEMPFxTV4_6,TVEMPFxTV4_7\";
$checkvar = getVar($allvars);
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
//    echo $itemvar.\"-\".$$itemvar.\" \";   
         }

    $i_rec = \"\";
    $i_TV = \"\";   

if (($TVRECxTV4_2 == 2 or $TVRECxTV4_5 == 5)   and  $TVEMPFxTV4_1 == 1) {
    $i_rec .= \"- DVB-S -\";
    $i_TV .= \"- DVB-S -\";
    }
    
if  (($TVRECxTV4_1 == 1 or $TVRECxTV4_5 == 5)   and  $TVEMPFxTV4_2 == 2) {
    $i_rec .= \"- DVB-T/T2 -\";
    $i_TV .= \"- DVB-T, DVB-T2/ SimpliTV -\";
    }
if  (($TVRECxTV4_3 == 3 or $TVRECxTV4_5 == 5)   and  ($TVEMPFxTV4_4 == 4 || $TVEMPFxTV4_5 == 5)) {
    $i_rec .= \"- DVB-C -\";
    $i_TV .= \"- DVB-C -\";
    }
if  ($TVRECxTV4_4 == 4   and  ($TVEMPFxTV4_6 == 6 || $TVEMPFxTV4_7 == 7)) {
    $i_rec .= \"- IP-TV -\";
    $i_TV .= \"- Fernsehen über Telefonleitung (IPTV) -\";
    }
if ($TVRECxTV4_5 == 5) {
    $i_rec .= \"- Tripletuner -\";    
}
 $textzs = sprintf(\'Benutzen Sie den eingebauten Receiver (%s)
     oder einen externen Receiver für den Empfang von %s an diesem Fernsehgerät?\',$i_rec,$i_TV);
 setQuestion($textzs);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '403',id_event = '2',script = '$allvars = \"TVRECxTV5_1,TVRECxTV5_2,TVRECxTV5_3,TVRECxTV5_4,TVRECxTV5_5,TVEMPFxTV5_1,TVEMPFxTV5_2,TVEMPFxTV5_3,TVEMPFxTV5_4,TVEMPFxTV5_5,TVEMPFxTV5_6,TVEMPFxTV5_7\";
$checkvar = getVar($allvars);
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
//    echo $itemvar.\"-\".$$itemvar.\" \";   
         }

    $i_rec = \"\";
    $i_TV = \"\";   

if (($TVRECxTV5_2 == 2 or $TVRECxTV5_5 == 5)   and  $TVEMPFxTV5_1 == 1) {
    $i_rec .= \"- DVB-S -\";
    $i_TV .= \"- DVB-S -\";
    }
    
if  (($TVRECxTV5_1 == 1 or $TVRECxTV5_5 == 5)   and  $TVEMPFxTV5_2 == 2) {
    $i_rec .= \"- DVB-T/T2 -\";
    $i_TV .= \"- DVB-T, DVB-T2/ SimpliTV -\";
    }
if  (($TVRECxTV5_3 == 3 or $TVRECxTV5_5 == 5)   and  ($TVEMPFxTV5_4 == 4 || $TVEMPFxTV5_5 == 5)) {
    $i_rec .= \"- DVB-C -\";
    $i_TV .= \"- DVB-C -\";
    }
if  ($TVRECxTV5_4 == 4   and  ($TVEMPFxTV5_6 == 6 || $TVEMPFxTV5_7 == 7)) {
    $i_rec .= \"- IP-TV -\";
    $i_TV .= \"- Fernsehen über Telefonleitung (IPTV) -\";
    }
if ($TVRECxTV5_5 == 5) {
    $i_rec .= \"- Tripletuner -\";    
}
 $textzs = sprintf(\'Benutzen Sie den eingebauten Receiver (%s)
     oder einen externen Receiver für den Empfang von %s an diesem Fernsehgerät?\',$i_rec,$i_TV);
 setQuestion($textzs);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '429',id_event = '2',script = '$allvars = \"TVRECxTV6_1,TVRECxTV6_2,TVRECxTV6_3,TVRECxTV6_4,TVRECxTV6_5,TVEMPFxTV6_1,TVEMPFxTV6_2,TVEMPFxTV6_3,TVEMPFxTV6_4,TVEMPFxTV6_5,TVEMPFxTV6_6,TVEMPFxTV6_7\";
$checkvar = getVar($allvars);
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
//    echo $itemvar.\"-\".$$itemvar.\" \";   
         }

    $i_rec = \"\";
    $i_TV = \"\";   

if (($TVRECxTV6_2 == 2 or $TVRECxTV6_5 == 5)   and  $TVEMPFxTV6_1 == 1) {
    $i_rec .= \"- DVB-S -\";
    $i_TV .= \"- DVB-S -\";
    }
    
if  (($TVRECxTV6_1 == 1 or $TVRECxTV6_5 == 5)   and  $TVEMPFxTV6_2 == 2) {
    $i_rec .= \"- DVB-T/T2 -\";
    $i_TV .= \"- DVB-T, DVB-T2/ SimpliTV -\";
    }
if  (($TVRECxTV6_3 == 3 or $TVRECxTV6_5 == 5)   and  ($TVEMPFxTV6_4 == 4 || $TVEMPFxTV6_5 == 5)) {
    $i_rec .= \"- DVB-C -\";
    $i_TV .= \"- DVB-C -\";
    }
if  ($TVRECxTV6_4 == 4   and  ($TVEMPFxTV6_6 == 6 || $TVEMPFxTV6_7 == 7)) {
    $i_rec .= \"- IP-TV -\";
    $i_TV .= \"- Fernsehen über Telefonleitung (IPTV) -\";
    }
if ($TVRECxTV6_5 == 5) {
    $i_rec .= \"- Tripletuner -\";    
}
 $textzs = sprintf(\'Benutzen Sie den eingebauten Receiver (%s)
     oder einen externen Receiver für den Empfang von %s an diesem Fernsehgerät?\',$i_rec,$i_TV);
 setQuestion($textzs);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '424',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV3,ZSRECxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
        for ($i=1;$i<=6;$i++) {      // Schleife für Empfangsarten
            $txtchck = sprintf(\'TVRECxTV3_%d\',$i);
            $checkvar = getVar($txtchck);
            $allvars = $txtchck;
                foreach (explode(\",\",$allvars) as $itemvar) {
                   $i_chktvrec = $checkvar[$itemvar] ;
                }
            saveVar(sprintf(\'RCARTxTV3x1_%d=%d\',$i,$i_chktvrec));
        }
   }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '424',id_event = '2',script = '
$i_txtrcint = \"Was trifft auf den Receiver <1> zu? (KONTROLLCHECK)
    (RECEIVER KANN MEHRERE EMPFANGSARTEN UNTERSTÜTZEN) (MEHRFACHNENNUNG MÖGLICH)\";


    $txtchck = sprintf(\'RCINTxTV3,ZSRECxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV3 == 1 and $ZSRECxTV3 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \" zu?
    (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";        
    }

setQuestion($i_txtrcint);
 ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '437',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV4,ZSRECxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
        for ($i=1;$i<=6;$i++) {      // Schleife für Empfangsarten
            $txtchck = sprintf(\'TVRECxTV4_%d\',$i);
            $checkvar = getVar($txtchck);
            $allvars = $txtchck;
                foreach (explode(\",\",$allvars) as $itemvar) {
                   $i_chktvrec = $checkvar[$itemvar] ;
                }
            saveVar(sprintf(\'RCARTxTV4x1_%d=%d\',$i,$i_chktvrec));
        }
   }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '437',id_event = '2',script = '
$i_txtrcint = \"Was trifft auf den Receiver <1> zu? (KONTROLLCHECK)
    (RECEIVER KANN MEHRERE EMPFANGSARTEN UNTERSTÜTZEN) (MEHRFACHNENNUNG MÖGLICH)\";


    $txtchck = sprintf(\'RCINTxTV4,ZSRECxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV4 == 1 and $ZSRECxTV4 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \" zu?
    (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";        
    }

setQuestion($i_txtrcint);
 ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '442',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV5,ZSRECxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
        for ($i=1;$i<=6;$i++) {      // Schleife für Empfangsarten
            $txtchck = sprintf(\'TVRECxTV5_%d\',$i);
            $checkvar = getVar($txtchck);
            $allvars = $txtchck;
                foreach (explode(\",\",$allvars) as $itemvar) {
                   $i_chktvrec = $checkvar[$itemvar] ;
                }
            saveVar(sprintf(\'RCARTxTV5x1_%d=%d\',$i,$i_chktvrec));
        }
   }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '442',id_event = '2',script = '
$i_txtrcint = \"Was trifft auf den Receiver <1> zu? (KONTROLLCHECK)
    (RECEIVER KANN MEHRERE EMPFANGSARTEN UNTERSTÜTZEN) (MEHRFACHNENNUNG MÖGLICH)\";


    $txtchck = sprintf(\'RCINTxTV5,ZSRECxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV5 == 1 and $ZSRECxTV5 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \" zu?
    (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";        
    }

setQuestion($i_txtrcint);
 ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '447',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV6,ZSRECxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
        for ($i=1;$i<=6;$i++) {      // Schleife für Empfangsarten
            $txtchck = sprintf(\'TVRECxTV6_%d\',$i);
            $checkvar = getVar($txtchck);
            $allvars = $txtchck;
                foreach (explode(\",\",$allvars) as $itemvar) {
                   $i_chktvrec = $checkvar[$itemvar] ;
                }
            saveVar(sprintf(\'RCARTxTV6x1_%d=%d\',$i,$i_chktvrec));
        }
   }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '447',id_event = '2',script = '
$i_txtrcint = \"Was trifft auf den Receiver <1> zu? (KONTROLLCHECK)
    (RECEIVER KANN MEHRERE EMPFANGSARTEN UNTERSTÜTZEN) (MEHRFACHNENNUNG MÖGLICH)\";


    $txtchck = sprintf(\'RCINTxTV6,ZSRECxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV6 == 1 and $ZSRECxTV6 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \" zu?
    (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";        
    }

setQuestion($i_txtrcint);
 ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '451',id_event = '2',script = '$i_txtrcint = \"Was trifft auf den <1>.Receiver am <3>. Fernsehgerät zu? (KONTROLLCHECK) (INT: VORLESEN)\";

    $txtchck = sprintf(\'RCINTxTV3,ZSRECxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV3 == 1 and $ZSRECxTV3 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \"
    am <3>. Fernsehgerät zu? (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '457',id_event = '2',script = '$i_txtrcint = \"Was trifft auf den <1>.Receiver am <4>. Fernsehgerät zu? (KONTROLLCHECK) (INT: VORLESEN)\";

    $txtchck = sprintf(\'RCINTxTV4,ZSRECxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV4 == 1 and $ZSRECxTV4 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \"
    am <1>. Fernsehgerät zu? (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '463',id_event = '2',script = '$i_txtrcint = \"Was trifft auf den <1>.Receiver am <5>. Fernsehgerät zu? (KONTROLLCHECK) (INT: VORLESEN)\";

    $txtchck = sprintf(\'RCINTxTV5,ZSRECxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV5 == 1 and $ZSRECxTV5 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \"
    am <5>. Fernsehgerät zu? (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '469',id_event = '2',script = '$i_txtrcint = \"Was trifft auf den <1>.Receiver am <6>. Fernsehgerät zu? (KONTROLLCHECK) (INT: VORLESEN)\";

    $txtchck = sprintf(\'RCINTxTV6,ZSRECxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV6 == 1 and $ZSRECxTV6 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"(EINGABE ÜBERPRÜFEN) Was trifft auf den integrierten Receiver\" . $i_txtrcintnv . \"
    am <6>. Fernsehgerät zu? (KONTROLLCHECK)(MEHRFACHNENNUNG MÖGLICH)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '22',id_event = '2',script = '$allvars = \"TVRECxTV1_1,TVRECxTV1_2,TVRECxTV1_3,TVRECxTV1_4,TVRECxTV1_5,TVEMPFxTV1_1,TVEMPFxTV1_2,TVEMPFxTV1_3,TVEMPFxTV1_4,TVEMPFxTV1_5,TVEMPFxTV1_6,TVEMPFxTV1_7\";
$checkvar = getVar($allvars);
     foreach (explode(\",\",$allvars) as $itemvar) {
            $$itemvar = $checkvar[$itemvar] ;
 //    echo $itemvar.\"-\".$$itemvar.\" \";   
          }
     $i_rec = \"\";
 if (($TVRECxTV1_2 == 2 or $TVRECxTV1_5 == 5)   and  $TVEMPFxTV1_1 <> 1) {
     $i_rec .= \"- DVB-S -\";
     $i_TV = \"DVB-S – digitaler Sat-Receiver mit 100 Fernsehprogrammen und mehr und eventuell Pay-TV-Angeboten\";
     }
     
 if  (($TVRECxTV1_1 == 1 or $TVRECxTV1_5 == 5)   and  $TVEMPFxTV1_2 <> 2) {
     $i_rec .= \"- DVB-T/T2 -\";
     $i_TV = \"DVB-T, DVB-T2/ SimpliTV - digitales Antennenfernsehen\";
     }
 if  (($TVRECxTV1_3 == 3 or $TVRECxTV1_5 == 5)   and  !($TVEMPFxTV1_4 == 4 || $TVEMPFxTV1_5 == 5)) {
     $i_rec .= \"- DVB-C -\";
     $i_TV = \"DVB-C - digitaler Kabel-Receiver mit mehr als 70 Fernsehprogrammen und eventuell Pay-TV-Angeboten\";
     }
 if  ($TVRECxTV1_4 == 4   and  !($TVEMPFxTV1_6 == 6 || $TVEMPFxTV1_7 == 7)) {
     $i_rec .= \"- IP-TV -\";
     $i_TV = \"Fernsehen über Telefonleitung (IPTV) wie z.B. A1 TV (aon TV) oder inext.TV\";
     }
 //if ($TVRECxTV1_5 == 5) {
 //    $i_rec = \"Tripletuner\";    
 //}
  $textzs = sprintf(\'Benutzen Sie die Empfangsmöglichkeit von %s des eingebauten Receiver?\',$i_rec);
  setQuestion($textzs);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '161',id_event = '2',script = '$allvars = \"TVRECxTV2_1,TVRECxTV2_2,TVRECxTV2_3,TVRECxTV2_4,TVRECxTV2_5,TVEMPFxTV2_1,TVEMPFxTV2_2,TVEMPFxTV2_3,TVEMPFxTV2_4,TVEMPFxTV2_5,TVEMPFxTV2_6,TVEMPFxTV2_7\";
$checkvar = getVar($allvars);
     foreach (explode(\",\",$allvars) as $itemvar) {
            $$itemvar = $checkvar[$itemvar] ;
 //    echo $itemvar.\"-\".$$itemvar.\" \";   
          }
     $i_rec = \"\";
 if (($TVRECxTV2_2 == 2 or $TVRECxTV2_5 == 5)   and  $TVEMPFxTV2_1 <> 1) {
     $i_rec .= \"- DVB-S -\";
     $i_TV = \"DVB-S – digitaler Sat-Receiver mit 100 Fernsehprogrammen und mehr und eventuell Pay-TV-Angeboten\";
     }
     
 if  (($TVRECxTV2_1 == 1 or $TVRECxTV2_5 == 5)   and  $TVEMPFxTV2_2 <> 2) {
     $i_rec .= \"- DVB-T/T2 -\";
     $i_TV = \"DVB-T, DVB-T2/ SimpliTV - digitales Antennenfernsehen\";
     }
 if  (($TVRECxTV2_3 == 3 or $TVRECxTV2_5 == 5)   and  !($TVEMPFxTV2_4 == 4 || $TVEMPFxTV2_5 == 5)) {
     $i_rec .= \"- DVB-C -\";
     $i_TV = \"DVB-C - digitaler Kabel-Receiver mit mehr als 70 Fernsehprogrammen und eventuell Pay-TV-Angeboten\";
     }
 if  ($TVRECxTV2_4 == 4   and  !($TVEMPFxTV2_6 == 6 || $TVEMPFxTV2_7 == 7)) {
     $i_rec .= \"- IP-TV -\";
     $i_TV = \"Fernsehen über Telefonleitung (IPTV) wie z.B. A1 TV (aon TV) oder inext.TV\";
     }
 //if ($TVRECxTV2_5 == 5) {
 //    $i_rec = \"Tripletuner\";    
 //}
  $textzs = sprintf(\'Benutzen Sie die Empfangsmöglichkeit von %s des eingebauten Receiver?\',$i_rec);
  setQuestion($textzs);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '362',id_event = '2',script = '$allvars = \"TVRECxTV3_1,TVRECxTV3_2,TVRECxTV3_3,TVRECxTV3_4,TVRECxTV3_5,TVEMPFxTV3_1,TVEMPFxTV3_2,TVEMPFxTV3_3,TVEMPFxTV3_4,TVEMPFxTV3_5,TVEMPFxTV3_6,TVEMPFxTV3_7\";
$checkvar = getVar($allvars);
     foreach (explode(\",\",$allvars) as $itemvar) {
            $$itemvar = $checkvar[$itemvar] ;
 //    echo $itemvar.\"-\".$$itemvar.\" \";   
          }
     $i_rec = \"\";
 if (($TVRECxTV3_2 == 2 or $TVRECxTV3_5 == 5)   and  $TVEMPFxTV3_1 <> 1) {
     $i_rec .= \"- DVB-S -\";
     $i_TV = \"DVB-S – digitaler Sat-Receiver mit 100 Fernsehprogrammen und mehr und eventuell Pay-TV-Angeboten\";
     }
     
 if  (($TVRECxTV3_1 == 1 or $TVRECxTV3_5 == 5)   and  $TVEMPFxTV3_2 <> 2) {
     $i_rec .= \"- DVB-T/T2 -\";
     $i_TV = \"DVB-T, DVB-T2/ SimpliTV - digitales Antennenfernsehen\";
     }
 if  (($TVRECxTV3_3 == 3 or $TVRECxTV3_5 == 5)   and  !($TVEMPFxTV3_4 == 4 || $TVEMPFxTV3_5 == 5)) {
     $i_rec .= \"- DVB-C -\";
     $i_TV = \"DVB-C - digitaler Kabel-Receiver mit mehr als 70 Fernsehprogrammen und eventuell Pay-TV-Angeboten\";
     }
 if  ($TVRECxTV3_4 == 4   and  !($TVEMPFxTV3_6 == 6 || $TVEMPFxTV3_7 == 7)) {
     $i_rec .= \"- IP-TV -\";
     $i_TV = \"Fernsehen über Telefonleitung (IPTV) wie z.B. A1 TV (aon TV) oder inext.TV\";
     }
 //if ($TVRECxTV3_5 == 5) {
 //    $i_rec = \"Tripletuner\";    
 //}
  $textzs = sprintf(\'Benutzen Sie die Empfangsmöglichkeit von %s des eingebauten Receiver?\',$i_rec);
  setQuestion($textzs);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '383',id_event = '2',script = '$allvars = \"TVRECxTV4_1,TVRECxTV4_2,TVRECxTV4_3,TVRECxTV4_4,TVRECxTV4_5,TVEMPFxTV4_1,TVEMPFxTV4_2,TVEMPFxTV4_3,TVEMPFxTV4_4,TVEMPFxTV4_5,TVEMPFxTV4_6,TVEMPFxTV4_7\";
$checkvar = getVar($allvars);
     foreach (explode(\",\",$allvars) as $itemvar) {
            $$itemvar = $checkvar[$itemvar] ;
 //    echo $itemvar.\"-\".$$itemvar.\" \";   
          }
     $i_rec = \"\";
 if (($TVRECxTV4_2 == 2 or $TVRECxTV4_5 == 5)   and  $TVEMPFxTV4_1 <> 1) {
     $i_rec .= \"- DVB-S -\";
     $i_TV = \"DVB-S – digitaler Sat-Receiver mit 100 Fernsehprogrammen und mehr und eventuell Pay-TV-Angeboten\";
     }
     
 if  (($TVRECxTV4_1 == 1 or $TVRECxTV4_5 == 5)   and  $TVEMPFxTV4_2 <> 2) {
     $i_rec .= \"- DVB-T/T2 -\";
     $i_TV = \"DVB-T, DVB-T2/ SimpliTV - digitales Antennenfernsehen\";
     }
 if  (($TVRECxTV4_3 == 3 or $TVRECxTV4_5 == 5)   and  !($TVEMPFxTV4_4 == 4 || $TVEMPFxTV4_5 == 5)) {
     $i_rec .= \"- DVB-C -\";
     $i_TV = \"DVB-C - digitaler Kabel-Receiver mit mehr als 70 Fernsehprogrammen und eventuell Pay-TV-Angeboten\";
     }
 if  ($TVRECxTV4_4 == 4   and  !($TVEMPFxTV4_6 == 6 || $TVEMPFxTV4_7 == 7)) {
     $i_rec .= \"- IP-TV -\";
     $i_TV = \"Fernsehen über Telefonleitung (IPTV) wie z.B. A1 TV (aon TV) oder inext.TV\";
     }
 //if ($TVRECxTV4_5 == 5) {
 //    $i_rec = \"Tripletuner\";    
 //}
  $textzs = sprintf(\'Benutzen Sie die Empfangsmöglichkeit von %s des eingebauten Receiver?\',$i_rec);
  setQuestion($textzs);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '404',id_event = '2',script = '$allvars = \"TVRECxTV5_1,TVRECxTV5_2,TVRECxTV5_3,TVRECxTV5_4,TVRECxTV5_5,TVEMPFxTV5_1,TVEMPFxTV5_2,TVEMPFxTV5_3,TVEMPFxTV5_4,TVEMPFxTV5_5,TVEMPFxTV5_6,TVEMPFxTV5_7\";
$checkvar = getVar($allvars);
     foreach (explode(\",\",$allvars) as $itemvar) {
            $$itemvar = $checkvar[$itemvar] ;
 //    echo $itemvar.\"-\".$$itemvar.\" \";   
          }
     $i_rec = \"\";
 if (($TVRECxTV5_2 == 2 or $TVRECxTV5_5 == 5)   and  $TVEMPFxTV5_1 <> 1) {
     $i_rec .= \"- DVB-S -\";
     $i_TV = \"DVB-S – digitaler Sat-Receiver mit 100 Fernsehprogrammen und mehr und eventuell Pay-TV-Angeboten\";
     }
     
 if  (($TVRECxTV5_1 == 1 or $TVRECxTV5_5 == 5)   and  $TVEMPFxTV5_2 <> 2) {
     $i_rec .= \"- DVB-T/T2 -\";
     $i_TV = \"DVB-T, DVB-T2/ SimpliTV - digitales Antennenfernsehen\";
     }
 if  (($TVRECxTV5_3 == 3 or $TVRECxTV5_5 == 5)   and  !($TVEMPFxTV5_4 == 4 || $TVEMPFxTV5_5 == 5)) {
     $i_rec .= \"- DVB-C -\";
     $i_TV = \"DVB-C - digitaler Kabel-Receiver mit mehr als 70 Fernsehprogrammen und eventuell Pay-TV-Angeboten\";
     }
 if  ($TVRECxTV5_4 == 4   and  !($TVEMPFxTV5_6 == 6 || $TVEMPFxTV5_7 == 7)) {
     $i_rec .= \"- IP-TV -\";
     $i_TV = \"Fernsehen über Telefonleitung (IPTV) wie z.B. A1 TV (aon TV) oder inext.TV\";
     }
 //if ($TVRECxTV5_5 == 5) {
 //    $i_rec = \"Tripletuner\";    
 //}
  $textzs = sprintf(\'Benutzen Sie die Empfangsmöglichkeit von %s des eingebauten Receiver?\',$i_rec);
  setQuestion($textzs);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '430',id_event = '2',script = '$allvars = \"TVRECxTV6_1,TVRECxTV6_2,TVRECxTV6_3,TVRECxTV6_4,TVRECxTV6_5,TVEMPFxTV6_1,TVEMPFxTV6_2,TVEMPFxTV6_3,TVEMPFxTV6_4,TVEMPFxTV6_5,TVEMPFxTV6_6,TVEMPFxTV6_7\";
$checkvar = getVar($allvars);
     foreach (explode(\",\",$allvars) as $itemvar) {
            $$itemvar = $checkvar[$itemvar] ;
 //    echo $itemvar.\"-\".$$itemvar.\" \";   
          }
     $i_rec = \"\";
 if (($TVRECxTV6_2 == 2 or $TVRECxTV6_5 == 5)   and  $TVEMPFxTV6_1 <> 1) {
     $i_rec .= \"- DVB-S -\";
     $i_TV = \"DVB-S – digitaler Sat-Receiver mit 100 Fernsehprogrammen und mehr und eventuell Pay-TV-Angeboten\";
     }
     
 if  (($TVRECxTV6_1 == 1 or $TVRECxTV6_5 == 5)   and  $TVEMPFxTV6_2 <> 2) {
     $i_rec .= \"- DVB-T/T2 -\";
     $i_TV = \"DVB-T, DVB-T2/ SimpliTV - digitales Antennenfernsehen\";
     }
 if  (($TVRECxTV6_3 == 3 or $TVRECxTV6_5 == 5)   and  !($TVEMPFxTV6_4 == 4 || $TVEMPFxTV6_5 == 5)) {
     $i_rec .= \"- DVB-C -\";
     $i_TV = \"DVB-C - digitaler Kabel-Receiver mit mehr als 70 Fernsehprogrammen und eventuell Pay-TV-Angeboten\";
     }
 if  ($TVRECxTV6_4 == 4   and  !($TVEMPFxTV6_6 == 6 || $TVEMPFxTV6_7 == 7)) {
     $i_rec .= \"- IP-TV -\";
     $i_TV = \"Fernsehen über Telefonleitung (IPTV) wie z.B. A1 TV (aon TV) oder inext.TV\";
     }
 //if ($TVRECxTV6_5 == 5) {
 //    $i_rec = \"Tripletuner\";    
 //}
  $textzs = sprintf(\'Benutzen Sie die Empfangsmöglichkeit von %s des eingebauten Receiver?\',$i_rec);
  setQuestion($textzs);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '353',id_event = '1',script = '    $txtchck = sprintf(\'TVFUNCxTV3_9,TVFUNCxTV3_10,TVFUNCxTV3_11,TVFUNCxTV3_12,TVFUNCxTV3_13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    saveVar(sprintf(\'tRCINTxTV3_9=NULL\'));
    saveVar(sprintf(\'tRCINTxTV3_10=NULL\'));
    saveVar(sprintf(\'tRCINTxTV3_11=NULL\'));
    saveVar(sprintf(\'tRCINTxTV3_12=NULL\'));
    saveVar(sprintf(\'tRCINTxTV3_13=NULL\'));
    saveVar(sprintf(\'tRCINTxTV3_1=NULL\'));
    
    
        if ($TVFUNCxTV3_9 == 9) {            
            saveVar(sprintf(\'tRCINTxTV3_9=9\'));
            saveVar(sprintf(\'tRCINTxTV3_1=1\'));
        }
        if ($TVFUNCxTV3_10 == 10) {            
            saveVar(sprintf(\'tRCINTxTV3_10=10\'));
            saveVar(sprintf(\'tRCINTxTV3_1=1\'));
        }
        if ($TVFUNCxTV3_11 == 11) {            
            saveVar(sprintf(\'tRCINTxTV3_11=11\'));
            saveVar(sprintf(\'tRCINTxTV3_1=1\'));
        }
        if ($TVFUNCxTV3_12 == 12) {            
            saveVar(sprintf(\'tRCINTxTV3_12=12\'));
            saveVar(sprintf(\'tRCINTxTV3_1=1\'));
        }
        if ($TVFUNCxTV3_13 == 13) {            
            saveVar(sprintf(\'tRCINTxTV3_13=13\'));
            saveVar(sprintf(\'tRCINTxTV3_1=1\'));
        }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '374',id_event = '1',script = '    $txtchck = sprintf(\'TVFUNCxTV4_9,TVFUNCxTV4_10,TVFUNCxTV4_11,TVFUNCxTV4_12,TVFUNCxTV4_13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    saveVar(sprintf(\'tRCINTxTV4_9=NULL\'));
    saveVar(sprintf(\'tRCINTxTV4_10=NULL\'));
    saveVar(sprintf(\'tRCINTxTV4_11=NULL\'));
    saveVar(sprintf(\'tRCINTxTV4_12=NULL\'));
    saveVar(sprintf(\'tRCINTxTV4_13=NULL\'));
    saveVar(sprintf(\'tRCINTxTV4_1=NULL\'));
    
    
        if ($TVFUNCxTV4_9 == 9) {            
            saveVar(sprintf(\'tRCINTxTV4_9=9\'));
            saveVar(sprintf(\'tRCINTxTV4_1=1\'));
        }
        if ($TVFUNCxTV4_10 == 10) {            
            saveVar(sprintf(\'tRCINTxTV4_10=10\'));
            saveVar(sprintf(\'tRCINTxTV4_1=1\'));
        }
        if ($TVFUNCxTV4_11 == 11) {            
            saveVar(sprintf(\'tRCINTxTV4_11=11\'));
            saveVar(sprintf(\'tRCINTxTV4_1=1\'));
        }
        if ($TVFUNCxTV4_12 == 12) {            
            saveVar(sprintf(\'tRCINTxTV4_12=12\'));
            saveVar(sprintf(\'tRCINTxTV4_1=1\'));
        }
        if ($TVFUNCxTV4_13 == 13) {            
            saveVar(sprintf(\'tRCINTxTV4_13=13\'));
            saveVar(sprintf(\'tRCINTxTV4_1=1\'));
        }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '395',id_event = '1',script = '    $txtchck = sprintf(\'TVFUNCxTV5_9,TVFUNCxTV5_10,TVFUNCxTV5_11,TVFUNCxTV5_12,TVFUNCxTV5_13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    saveVar(sprintf(\'tRCINTxTV5_9=NULL\'));
    saveVar(sprintf(\'tRCINTxTV5_10=NULL\'));
    saveVar(sprintf(\'tRCINTxTV5_11=NULL\'));
    saveVar(sprintf(\'tRCINTxTV5_12=NULL\'));
    saveVar(sprintf(\'tRCINTxTV5_13=NULL\'));
    saveVar(sprintf(\'tRCINTxTV5_1=NULL\'));
    
    
        if ($TVFUNCxTV5_9 == 9) {            
            saveVar(sprintf(\'tRCINTxTV5_9=9\'));
            saveVar(sprintf(\'tRCINTxTV5_1=1\'));
        }
        if ($TVFUNCxTV5_10 == 10) {            
            saveVar(sprintf(\'tRCINTxTV5_10=10\'));
            saveVar(sprintf(\'tRCINTxTV5_1=1\'));
        }
        if ($TVFUNCxTV5_11 == 11) {            
            saveVar(sprintf(\'tRCINTxTV5_11=11\'));
            saveVar(sprintf(\'tRCINTxTV5_1=1\'));
        }
        if ($TVFUNCxTV5_12 == 12) {            
            saveVar(sprintf(\'tRCINTxTV5_12=12\'));
            saveVar(sprintf(\'tRCINTxTV5_1=1\'));
        }
        if ($TVFUNCxTV5_13 == 13) {            
            saveVar(sprintf(\'tRCINTxTV5_13=13\'));
            saveVar(sprintf(\'tRCINTxTV5_1=1\'));
        }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '416',id_event = '1',script = '    $txtchck = sprintf(\'TVFUNCxTV6_9,TVFUNCxTV6_10,TVFUNCxTV6_11,TVFUNCxTV6_12,TVFUNCxTV6_13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    saveVar(sprintf(\'tRCINTxTV6_9=NULL\'));
    saveVar(sprintf(\'tRCINTxTV6_10=NULL\'));
    saveVar(sprintf(\'tRCINTxTV6_11=NULL\'));
    saveVar(sprintf(\'tRCINTxTV6_12=NULL\'));
    saveVar(sprintf(\'tRCINTxTV6_13=NULL\'));
    saveVar(sprintf(\'tRCINTxTV6_1=NULL\'));
    
    
        if ($TVFUNCxTV6_9 == 9) {            
            saveVar(sprintf(\'tRCINTxTV6_9=9\'));
            saveVar(sprintf(\'tRCINTxTV6_1=1\'));
        }
        if ($TVFUNCxTV6_10 == 10) {            
            saveVar(sprintf(\'tRCINTxTV6_10=10\'));
            saveVar(sprintf(\'tRCINTxTV6_1=1\'));
        }
        if ($TVFUNCxTV6_11 == 11) {            
            saveVar(sprintf(\'tRCINTxTV6_11=11\'));
            saveVar(sprintf(\'tRCINTxTV6_1=1\'));
        }
        if ($TVFUNCxTV6_12 == 12) {            
            saveVar(sprintf(\'tRCINTxTV6_12=12\'));
            saveVar(sprintf(\'tRCINTxTV6_1=1\'));
        }
        if ($TVFUNCxTV6_13 == 13) {            
            saveVar(sprintf(\'tRCINTxTV6_13=13\'));
            saveVar(sprintf(\'tRCINTxTV6_1=1\'));
        }

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '136',id_event = '1',script = '$txtchck = sprintf(\'verng2,verng2_opn,intnr_1,methode\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
if ($verng2 == 2) {
    
        saveVar(sprintf(\'vernr_1=\"%s\"\',$verng2_opn));
    
    } else {
 
       saveVar(sprintf(\'vernr_1=\"%s\"\',$intnr_1));       
        
        }
if ($methode==2) setQuestion(\"Tragen Sie die pool_id der verwendeten Pool Nummer ein. Sollten sie keine Pool Nummer verwendet haben, tragen Sie bitte 0 ein.\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '29',id_event = '2',script = '$i_txtrcint = \"Wurde auf diesem Receiver <1> die Original-Senderliste beibelassen?
    (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";

    $txtchck = sprintf(\'RCINTxTV1,ZSRECxTV1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV1 == 1 and $ZSRECxTV1 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV1 == 1 and ($ZSRECxTV1 == 1 or $ZSRECxTV1 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV1 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Wurde auf diesem integrierten Receiver\" . $i_txtrcintnv . \"
     die Original-Senderliste beibelassen? (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '30',id_event = '2',script = '$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem <1>.Receiver
    am <1>.Fernsehgerät durchgeführt?\";

    $txtchck = sprintf(\'RCINTxTV1,ZSRECxTV1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV1 == 1 and $ZSRECxTV1 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV1 == 1 and ($ZSRECxTV1 == 1 or $ZSRECxTV1 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV1 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem integrierten Receiver\"
    . $i_txtrcintnv . \"am <1>.Fernsehgerät durchgeführt?\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '253',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP3 == 12) {  
        saveVar(sprintf(\'BERUFxP3=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '992',id_event = '1',script = 'saveVar(\"TV2_1=2\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1048',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"300px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '174',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
    for ($i=1;$i<=19;$i++) {      // Schleife für Empfangsarten
    //            saveVar(sprintf(\'TVFUNC_%d=NULL\',$i));
    
        $txtchck = sprintf(\'TVFUNCxTV2_%d\',$i);
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
     $result = eval(sprintf(\'return ($TVFUNCxTV2_%d == %d);\', $i,$i));
            if ($result) {            
                saveVar(sprintf(\'RCFUNCxTV2x1_%d=%d\',$i,$i));
            }
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '451',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
    for ($i=1;$i<=19;$i++) {      // Schleife für Empfangsarten
    //            saveVar(sprintf(\'TVFUNC_%d=NULL\',$i));
    
        $txtchck = sprintf(\'TVFUNCxTV3_%d\',$i);
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
     $result = eval(sprintf(\'return ($TVFUNCxTV3_%d == %d);\', $i,$i));
            if ($result) {            
                saveVar(sprintf(\'RCFUNCxTV1x3_%d=%d\',$i,$i));
            }
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '457',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
    for ($i=1;$i<=19;$i++) {      // Schleife für Empfangsarten
    //            saveVar(sprintf(\'TVFUNC_%d=NULL\',$i));
    
        $txtchck = sprintf(\'TVFUNCxTV4_%d\',$i);
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
     $result = eval(sprintf(\'return ($TVFUNCxTV4_%d == %d);\', $i,$i));
            if ($result) {            
                saveVar(sprintf(\'RCFUNCxTV4x1_%d=%d\',$i,$i));
            }
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '463',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
    for ($i=1;$i<=19;$i++) {      // Schleife für Empfangsarten
    //            saveVar(sprintf(\'TVFUNC_%d=NULL\',$i));
    
        $txtchck = sprintf(\'TVFUNCxTV5_%d\',$i);
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
     $result = eval(sprintf(\'return ($TVFUNCxTV5_%d == %d);\', $i,$i));
            if ($result) {            
                saveVar(sprintf(\'RCFUNCxTV5x1_%d=%d\',$i,$i));
            }
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '469',id_event = '1',script = '    $txtchck = sprintf(\'RCINTxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
    for ($i=1;$i<=19;$i++) {      // Schleife für Empfangsarten
    //            saveVar(sprintf(\'TVFUNC_%d=NULL\',$i));
    
        $txtchck = sprintf(\'TVFUNCxTV6_%d\',$i);
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
     $result = eval(sprintf(\'return ($TVFUNCxTV6_%d == %d);\', $i,$i));
            if ($result) {            
                saveVar(sprintf(\'RCFUNCxTV6x1_%d=%d\',$i,$i));
            }
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '176',id_event = '2',script = '$i_txtrcint = \"Wurde auf diesem Receiver <1> die Original-Senderliste beibelassen?
    (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";

    $txtchck = sprintf(\'RCINTxTV2,ZSRECxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV2 == 1 and $ZSRECxTV2 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Wurde auf diesem integrierten Receiver\" . $i_txtrcintnv . \"
     die Original-Senderliste beibelassen? (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '453',id_event = '2',script = '$i_txtrcint = \"Wurde auf diesem Receiver <1> die Original-Senderliste beibelassen?
    (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";

    $txtchck = sprintf(\'RCINTxTV3,ZSRECxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV3 == 1 and $ZSRECxTV3 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Wurde auf diesem integrierten Receiver\" . $i_txtrcintnv . \"
     die Original-Senderliste beibelassen? (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '459',id_event = '2',script = '$i_txtrcint = \"Wurde auf diesem Receiver <1> die Original-Senderliste beibelassen?
    (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";

    $txtchck = sprintf(\'RCINTxTV4,ZSRECxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV4 == 1 and $ZSRECxTV4 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Wurde auf diesem integrierten Receiver\" . $i_txtrcintnv . \"
     die Original-Senderliste beibelassen? (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '465',id_event = '2',script = '$i_txtrcint = \"Wurde auf diesem Receiver <1> die Original-Senderliste beibelassen?
    (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";

    $txtchck = sprintf(\'RCINTxTV5,ZSRECxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV5 == 1 and $ZSRECxTV5 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Wurde auf diesem integrierten Receiver\" . $i_txtrcintnv . \"
     die Original-Senderliste beibelassen? (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '471',id_event = '2',script = '$i_txtrcint = \"Wurde auf diesem Receiver <1> die Original-Senderliste beibelassen?
    (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";

    $txtchck = sprintf(\'RCINTxTV6,ZSRECxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV6 == 1 and $ZSRECxTV6 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Wurde auf diesem integrierten Receiver\" . $i_txtrcintnv . \"
     die Original-Senderliste beibelassen? (Wurden die Sender nicht nach eigenen Wünschen umsortiert?)\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '177',id_event = '2',script = '$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem <1>.Receiver
    am <2>.Fernsehgerät durchgeführt?\";

    $txtchck = sprintf(\'RCINTxTV2,ZSRECxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV2 == 1 and $ZSRECxTV2 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem integrierten Receiver\"
    . $i_txtrcintnv . \"am <2>.Fernsehgerät durchgeführt?\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '454',id_event = '2',script = '$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem <1>.Receiver
    am <3>.Fernsehgerät durchgeführt?\";

    $txtchck = sprintf(\'RCINTxTV3,ZSRECxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV3 == 1 and $ZSRECxTV3 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem integrierten Receiver\"
    . $i_txtrcintnv . \"am <3>.Fernsehgerät durchgeführt?\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '460',id_event = '2',script = '$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem <1>.Receiver
    am <4>.Fernsehgerät durchgeführt?\";

    $txtchck = sprintf(\'RCINTxTV4,ZSRECxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV4 == 1 and $ZSRECxTV4 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem integrierten Receiver\"
    . $i_txtrcintnv . \"am <4>.Fernsehgerät durchgeführt?\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '466',id_event = '2',script = '$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem <1>.Receiver
    am <5>.Fernsehgerät durchgeführt?\";

    $txtchck = sprintf(\'RCINTxTV5,ZSRECxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV5 == 1 and $ZSRECxTV5 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem integrierten Receiver\"
    . $i_txtrcintnv . \"am <5>.Fernsehgerät durchgeführt?\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '472',id_event = '2',script = '$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem <1>.Receiver
    am <6>.Fernsehgerät durchgeführt?\";

    $txtchck = sprintf(\'RCINTxTV6,ZSRECxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV6 == 1 and $ZSRECxTV6 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Haben Sie schon einmal ein Update der Kanal-/Senderliste bei Ihrem integrierten Receiver\"
    . $i_txtrcintnv . \"am <6>.Fernsehgerät durchgeführt?\";      }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '179',id_event = '2',script = '$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie eine solche Smartcard? (SMARTCARD-TYP NOTIEREN)\";

    $txtchck = sprintf(\'RCINTxTV2,ZSRECxTV2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV2 == 1 and $ZSRECxTV2 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV2 == 1 and ($ZSRECxTV2 == 1 or $ZSRECxTV2 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV2 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie bei Ihrem integrierten Receiver\". $i_txtrcintnv . \" eine solche Smartcard?
    (SMARTCARD-TYP NOTIEREN)\";      
    }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '474',id_event = '2',script = '$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie eine solche Smartcard? (SMARTCARD-TYP NOTIEREN)\";

    $txtchck = sprintf(\'RCINTxTV6,ZSRECxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV6 == 1 and $ZSRECxTV6 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV6 == 1 and ($ZSRECxTV6 == 1 or $ZSRECxTV6 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV6 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie bei Ihrem integrierten Receiver\". $i_txtrcintnv . \" eine solche Smartcard?
    (SMARTCARD-TYP NOTIEREN)\";      
    }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '456',id_event = '2',script = '$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie eine solche Smartcard? (SMARTCARD-TYP NOTIEREN)\";

    $txtchck = sprintf(\'RCINTxTV3,ZSRECxTV3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV3 == 1 and $ZSRECxTV3 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV3 == 1 and ($ZSRECxTV3 == 1 or $ZSRECxTV3 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV3 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie bei Ihrem integrierten Receiver\". $i_txtrcintnv . \" eine solche Smartcard?
    (SMARTCARD-TYP NOTIEREN)\";      
    }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '462',id_event = '2',script = '$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie eine solche Smartcard? (SMARTCARD-TYP NOTIEREN)\";

    $txtchck = sprintf(\'RCINTxTV4,ZSRECxTV4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV4 == 1 and $ZSRECxTV4 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV4 == 1 and ($ZSRECxTV4 == 1 or $ZSRECxTV4 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV4 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie bei Ihrem integrierten Receiver\". $i_txtrcintnv . \" eine solche Smartcard?
    (SMARTCARD-TYP NOTIEREN)\";      
    }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '468',id_event = '2',script = '$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie eine solche Smartcard? (SMARTCARD-TYP NOTIEREN)\";

    $txtchck = sprintf(\'RCINTxTV5,ZSRECxTV5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
    $i_txtrcintnv = \"\";
if ($RCINTxTV5 == 1 and $ZSRECxTV5 == 2) {
    $i_txtrcintnv = \", den Sie nicht verwenden, \";
    }
//    if ($RCINTxTV5 == 1 and ($ZSRECxTV5 == 1 or $ZSRECxTV5 == 3)) { // Wenn internerner Rec in Verwendung
    if ($RCINTxTV5 == 1) {        //Sobald int rec vorhanden
$i_txtrcint = \"Es gibt ja einige Sender, die nicht frei empfangbar sind, sondern verschlüsselt
    ausgestrahlt werden. Um diese Sender sehen zu können, benötigt man eine so genannte Smartcard.
    Diese sieht in etwa aus wie die e-Card und muss in den Digitalreceiver gesteckt werden.
    Benutzen Sie bei Ihrem integrierten Receiver\". $i_txtrcintnv . \" eine solche Smartcard?
    (SMARTCARD-TYP NOTIEREN)\";      
    }

setQuestion($i_txtrcint);';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '363',id_event = '4',script = 'saveVar(\"ANZRECxTV3_1=\" . rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '384',id_event = '4',script = 'saveVar(\"ANZRECxTV4_1=\" . rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '405',id_event = '4',script = 'saveVar(\"ANZRECxTV5_1=\" . rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '431',id_event = '4',script = 'saveVar(\"ANZRECxTV6_1=\" . rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '211',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=1;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '47',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=0;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }
    
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '212',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=2;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '213',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=3;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '214',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=4;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '215',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=5;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '216',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=6;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '217',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=7;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '218',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=8;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '219',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=9;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '220',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=10;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '221',id_event = '1',script = 'for ($j=1;$j<=42;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=11;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '222',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=12;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '223',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=13;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '224',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=14;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '225',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=15;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '226',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=16;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '227',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=17;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '228',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=18;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '229',id_event = '1',script = 'for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=19;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '679',id_event = '1',script = '/*
for ($j=1;$j<=43;$j++) {
       saveVar(sprintf(\'SENDPLx00_%d=0\',$j));
    }
for ($i=1;$i<=0;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,SENDPLx1\',$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
              if ( $$itemvar <> 37 and $$itemvar <> 42 and $$itemvar <> 0) //\'SKY\' und \'nichts davon\' ausnehmen
               {
                 saveVar(sprintf(\'SENDPLx00_%d=%d\',$$itemvar,$$itemvar));
              }
    }
}
*/';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '682',id_event = '1',script = 'for ($i=1;$i<=1;$i++) {
    $txtchck = sprintf(\'SENDPLx%d,HDx%d,ATDEx%d\',$i,$i,$i);
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        if ($$itemvar != NULL) {
//        echo $itemvar.\" = \".$$itemvar.\"<br>\"; 
        }
    }
}
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '795',id_event = '1',script = '    $txtchck = sprintf(\'kf14x1_1,kf14x1_2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($kf14x1_1 == 1) {
        saveVar(sprintf(\'ksnipf16=1\'));
    }
    elseif ($kf14x1_2 == 2) {
        saveVar(sprintf(\'ksnipf16=2\'));
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '797',id_event = '1',script = '    $txtchck = sprintf(\'kf14x1_1,kf14x1_2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($kf14x1_1 == 1) {
        saveVar(sprintf(\'ksnipf17=1\'));
    }
    elseif ($kf14x1_2 == 2) {
        saveVar(sprintf(\'ksnipf17=2\'));
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '793',id_event = '1',script = '    $txtchck = sprintf(\'kf14x1_1,kf14x1_2\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($kf14x1_1 == 1) {
        saveVar(sprintf(\'ksnipf15=1\'));
    }
    elseif ($kf14x1_2 == 2) {
        saveVar(sprintf(\'ksnipf15=2\'));
    }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '945',id_event = '2',script = '/*
Inhalt der Spalte Variable1 (z.B. f1_1) aus der Structure-Tabelle auslesen
und in $Variable ($f1_1) speichern
*/
    $txtchck = sprintf(\'cf13\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

 $i_IVins_txt = \'Falls derzeit berufstätig: Wie sehr trifft das Folgende auf Sie zu?
     (Falls früher berufstätig gewesen/falls in Zukunft berufstätig:  
     Wie sehr traf das Folgende auf Sie zu: Ich musste .../ Ich werde… müssen….) (Karte)(Durchfragen)\';
 /*
In den php Block beforedisplay einbauen,
sonst wird der Text auch eingeblendet wenn die Frage z.B. durch einen Filter in nicht angezeigt wird
*/
    if ($cf13 == 1) {
        $i_IVins_txt = \'Wie sehr trifft das Folgende auf Sie zu?\';
    } else if ($cf13 == 2) {
        $i_IVins_txt = \'Wie sehr traf das Folgende auf Sie zu?<br><span style=\"background-color: rgb(255, 255, 0);\">(Fragen umformulieren:)</span> Ich musste ...\';
    } else if ($cf13 == 3) {
        $i_IVins_txt = \'Wie sehr trifft das Folgende auf Sie zu?<br><span style=\"background-color: rgb(255, 255, 0);\">(Fragen umformulieren:)</span> Ich werde ... müssen ... .\';
    }
    

setQuestion($i_IVins_txt);

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '101',id_event = '1',script = '    $txtchck = sprintf(\'AGE_1,SEX\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }


        saveVar(sprintf(\'AGExP1_1=%d\',$AGE_1));
        saveVar(sprintf(\'SEXxP1=%d\',$SEX));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '106',id_event = '1',script = 'saveVar(sprintf(\'NRRESP=1\'));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '948',id_event = '1',script = '$txtchck = sprintf(\'Projektdaten_6,Projektdaten_9,Projektdaten_10,Projektdaten_11,Projektdaten_12,Projektdaten_13,Projektdaten_14,Projektdaten_16,Projektdaten_19,Projektdaten_25,kondata_5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
    }
if ($Projektdaten_16 <> \'ver\' && ($Projektdaten_17 == 1 || $Projektdaten_17 == 0)) {
    saveVar(sprintf(\'kondata_1=\"%s\"\',$Projektdaten_9));
    saveVar(sprintf(\'kondata_2=\"%s\"\',$Projektdaten_12));
    saveVar(sprintf(\'kondata_3=\"%s\"\',$Projektdaten_11));
    saveVar(sprintf(\'kondata_4=\"%s\"\',$Projektdaten_19));
    saveVar(sprintf(\'kondata_5=\"%s\"\',$Projektdaten_13));
    saveVar(sprintf(\'kondata_6=\"%s\"\',$Projektdaten_14));
    saveVar(sprintf(\'kondata_9=\"%s\"\',$Projektdaten_25));
}

saveVar(\"Projektdaten_16=\'ver\'\");

$bld = $Projektdaten_6;
$bldstat = array(\"ges\",8,7,5,4,2,6,1,3,9);
/*
if ($Projektdaten_6 != \"\" and $Projektdaten_11 != \"\" and $Projektdaten_12 != \"\") {
    $plz = $Projektdaten_12;
    $table = \"strassen_ges\";
    $filter = \"WHERE `Straßenname` = \'\".$Projektdaten_11.\"\' and Postleitzahl = \".$plz.\" and bld = \".$bldstat[$bld];
    
    $Variable = getVarFromTable( $table , \"id\", $filter);

    if (isset($Variable[0][\"id\"])) {
        $id_street = $Variable[0][\"id\"];
    } else {
         $id_street = 0;
    }
}
*/
if ($Projektdaten_17 == 1 || $Projektdaten_17 == 0) {
    $id_street = 0;
}
if ($Projektdaten_11== \"Blumenweg\" and $Projektdaten_12 == 1811) {
     $id_street = 999999;
    }
/*
if ($kontakt[\"kondata_5\"] == null) {
    saveVar(\"kondata_3=\".$Projektdaten_12); //PLZ
    saveVar(\"kondata_4=\'\".$Projektdaten_11.\"\'\"); // Straße
    saveVar(\"kondata_5=\'\".$Projektdaten_19.\"\'\"); // Straße_Zusatz
    saveVar(\"kondata_6=\'\".$Projektdaten_13.\"\'\"); // Ort
    saveVar(\"kondata_9=\".$id_street); // idStreet
}
*/
$projname = $_SESSION[\"projname\"];
$questname = \"strasse\";
//echo \'<input id=plzID type=\"hidden\" name=\"forStreet\" value=\"\'.$plz.\'\">\';
echo \'<input id=bldID type=\"hidden\" name=\"forStreet\" value=\"\'.$bld.\'\">\';
echo \'<input id=frageID type=\"hidden\" name=\"forStreet\" value=\"\'.$questname.\'\">\';

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '948',id_event = '2',script = '//var_dump($_SESSION);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '948',id_event = '3',script = '$(\"#ct_kondata_8\").parent().parent().hide();
$(\"#ct_kondata_9\").parent().parent().hide();
console.log($(\"#bldID\").val());
$(function() {
    var tbID = $(\"#ct_kondata_8\"),
        gkz = $(\"#ct_kondata_9\"),
        tbStrn = $(\"#ct_kondata_3\"),
        plz = $(\"#ct_kondata_2\"),
        ort = $(\"#ct_kondata_5\"),
        bld = $(\"#bldID\"),
        frage = $(\"#frageID\");
    tbStrn.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_street_gkz.php\",
                dataType: \"json\",
                data: {
                    query: request.term,
                    bld: bld.val(),
                    plz: plz.val()
                },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.value);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbStrn.val(ui.item.str_ret);
            plz.val(ui.item.plz_ret);
            ort.val(ui.item.ort_ret);
            gkz.val(ui.item.gkz_ret);
            return false;
        }
    });
    
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });

    if (found.length > 0) {
//        tbStrn.parent().prev().html(\"Straßenname: \" + found[0].label);
        tbStrn.parent().prev().html(\"<p id=\\\"strassenname\\\">Bitte nach Straßenname suchen...</p>\");
    } else {
        tbStrn.parent().prev().html(\"<p id=\\\"strassenname\\\">Bitte nach Straßenname suchen...<br>\"+
                                    \"Geben Sie zumindest drei Buchstaben des Straßennames ein um die Suche zu starten</p>\");
    }
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '18',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"300px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '950',id_event = '2',script = '$txtchck = sprintf(\'user_id,Projektdaten_2,Projektdaten_4,Projektdaten_5\');
$checkvar = getVar($txtchck);
$allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
    }
$i_userid = reset(getVar(\"user_id\"));
$i_projectid = $_SESSION[\"id_project\"];
if ($i_userid==0) {
    $i_projectid = 309; //Test MTU 2.HJ 2017
    $i_userid = 57; // 135 test, 57 Boden
    $Projektdaten_4 = 820919;
    }

if ($user_id == 0) {$visitsTable = \"_Capi_interviewer_visits\"; } else {$visitsTable = \"_capi_interviewer_visits\"; }
if ($user_id == 0) {$ProjectsTable = \"_Projects\"; } else {$ProjectsTable = \"_projects\"; }
if ($user_id == 0) {$AddressTables = \"_CapiTables\"; } else {$AddressTables = \"_capitables\"; }

$i_tableIds = getVarFromTable($ProjectsTable, \"proj_name,naziv_proj,id_capiTable\", \"WHERE id = \".$i_projectid);
$i_AddressTableInfo = getVarFromTable($AddressTables, \"name\", \"WHERE id = \".$i_tableIds[0][\"id_capiTable\"]);

$s_projname = $_SESSION[\"proj_name\"];
$s_structure = $s_projname.\"_structure\";
$s_sample = $s_projname.\"___sample\";
$s_address = \"capi___\".$i_AddressTableInfo[0][\"name\"];
/*
echo \"<pre>\";
//var_dump($_SESSION);
echo \'$i_userid:\'.$i_userid.\"<br>\";
echo \'$i_projectid:\'.$i_projectid.\"<br>\";
echo \'$s_projname:\'.$s_projname.\"<br>\";
echo \'$user_id:\'.$user_id.\"<br>\";
echo \'$Projektdaten_2:\'.$Projektdaten_2.\"<br>\";
echo \'$Projektdaten_4:\'.$Projektdaten_4.\"-\".$Projektdaten_5.\"<br>\";
echo \"</pre>\";
*/
$i_address = getVarFromTable($s_address, \"id,municipality,id_settlement,name\",
    \"WHERE id_municipality= \".$Projektdaten_2.
    \" and municipality= \".$Projektdaten_4);

$questtxt = \"<table  align=\'left\' style=\'text-align: center;font-size:70%;\'>
    <tr><th>Listennummer: \".$Projektdaten_4.\"</th></tr>\";
$questtxt .=\"
    <tr><th style=\'padding-left: 15px;padding-right: 15px;\'>LfdNr.</th>
    <th style=\'padding-left: 15px;padding-right: 15px;\'>Name.</th>
    <th style=\'padding-left: 15px;padding-right: 15px;\'>Anzahl Kontakte</th>
    <th style=\'padding-left: 15px;padding-right: 15px;\'>letzter Kontakt</th></tr>\";

foreach ($i_address as $adresse) {
    //var_dump($kontakt);
    if ($user_id == 0) {$s_sample = \"p27293105___sample\"; } // TEST
    $i_sample = getVarFromTable($s_sample, \"id,user_id\",
        \"WHERE id_sample= \".$adresse[\"id\"]);
    $i_contacts = getVarFromTable($visitsTable, \"sample_point,cas_obiska,status_obiska,id_structure,user_id\",
    \"WHERE user_id =\".$i_userid.
    \" and id_project = \".$i_projectid.
     \" and sample_point = \".$i_sample[0][\"id\"]);
if ($i_sample[0][\"user_id\"] == $user_id || $user_id == 0 ) {
$questtxt .= \"<tr><td>\".$adresse[\"id_settlement\"] .\"</td><td style=\'text-align: left;\'>\"
          . $adresse[\"name\"].\"</td>\";
  
    if ($i_contacts) {
       $i_count_con = 0;
        foreach ($i_contacts as $Kontakt) {
            $i_count_con ++;
            switch($Kontakt[status_obiska]) {
                case 1:
                    $kontxt = \"Interview abgeschlossen\";
                    break;
                case 9:
                    $kontxt = \"Interview unterbrochen\";
                    break;
                case 21:
                    $kontxt = \"Niemand erreicht/angetroffen\";
                    break;
                case 22:
                    $kontxt = \"Rückruf\";
                    break;
                case 8:
                    $kontxt = \"Terminvereinbarung\";
                    break;
                case 23:
                    $kontxt = \"Verweigerung bei 1.Kontakt\";
                    break;
                case 24:
                    $kontxt = \"Verweigerung\";
                    break;
                case 31:
                    $kontxt = \"kritische Verweigerung\";
                    break;
                case 32:
                    $kontxt = \"keine geeignete ZP\";
                    break;
                case 33:
                    $kontxt = \"Adresse unauffindbar\";
                    break;
                case 34:
                    $kontxt = \"ungültige Adresse\";
                    break;
                case 35:
                    $kontxt = \"Adresse unbearbeitet abgelegt\";
                    break;
                default:                    
                    $kontxt = \"unbekannt\";
                }
         }
$questtxt .= \"<td>\".$i_count_con.\"</td><td>\".$kontxt.\"</td>\";        
    }
$questtxt .= \"</tr>\";
    }

 }

$questtxt .= \"</table>\";

setQuestion($questtxt);
saveVar(\"questtext_1=\'\".$txtQuest.\"\'\");


';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '949',id_event = '2',script = '//echo \"TEST\";
$i_userid = reset(getVar(\"user_id\"));
if ($i_userid==0) $i_userid = 135;

/*
$txtchck = sprintf(\'KvNr,KvTxt_1,KvTxt_2,KvTxt_3,KvTxt_4,KvTxt_5,KvTxt_6,KvTxt_7,KvAnz_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
$icount = 7;
for ($i = 7; $i >= 1; $i--)
     {
        $test = sprintf(\'KvTxt_%d\',$i);
//       echo $test.\"-\".$$test.\"<br>\";
        if (strlen($$test) <= 5)
        {
            $icount = $i-1;
        }
//        echo  $i.\"-\".$$test.\"-\".strlen($$test).\"<br>\";
    }
//echo $icount;
if ($KvAnz_1 == NULL) saveVar(sprintf(\'KvAnz_1=0\'));
 if ($KvNr==99) {
    saveVar(sprintf(\'KvAnz_1=%d\', $icount));
}
// Vorherige Eingaben löschen
$txtchck = sprintf(\'KvNr,kondate_1,konart,konres,konerg,rekondate_1,konver_1,konver_2,konver_3,konver_4,konver_5,konver_6,konver_7,konver_8,konver_9,konver_10,konver_11,konver_12,konver_13,konver_14,konver_opn14,konne,konabschl\');
$allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
        $test = sprintf(\"$itemvar=NULL\");
        saveVar($test);
    }
*/

$txtchck = sprintf(\'Projektdaten_17,Projektdaten_9,Projektdaten_10,Projektdaten_11,Projektdaten_12,Projektdaten_13,Projektdaten_14,Projektdaten_19\');
$checkvar = getVar($txtchck);
$allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
    }
if ($Projektdaten_17 == 1 or $Projektdaten_17 == 0) {
    $txtQuest = \'Sie bearbeiten gerade folgende Adresse:<br>\'.
        \"&nbsp;&nbsp;\".$Projektdaten_9.\" \".$Projektdaten_10.\"<br>\".
        \"&nbsp;&nbsp;\".$Projektdaten_11.\" \".$Projektdaten_19.\"<br>\".
        \"&nbsp;&nbsp;\".$Projektdaten_12.\" \".$Projektdaten_13.\"<br>\".
        \"&nbsp;&nbsp;\".$Projektdaten_14;
} else if ($Projektdaten_17 == \"2\") {
    $txtQuest = \'Sie führen ein bezahltes Interview durch.<br>\'.
        \'Tragen Sie am Interviewende die korrekte Adresse ein.<br>\'.
        \'Nicht den Vorgaben entsprechende Interviews,<br>\'.
        \'können nicht berücksichtigt werden\';
} else if ($Projektdaten_17 == \"3\") {
    $txtQuest = \'Sie führen eines von max. 4 bezahlten Einsteigerinterviews durch<br>\'.
        \'Tragen Sie am Interviewende die korrekte Adresse ein\';
} else {
    $txtQuest = \'Sie führen ein unbezahltes Testinterview durch<br>\';
}

$txtchck = sprintf(\'user_id,Projektdaten_4\');
$checkvar = getVar($txtchck);
$allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
    }

$i_cmplts = getVarFromTable($_SESSION[\'projname\'].\"_structure\", \"Projektdaten_4,Projektdaten_5,Projektdaten_17,AGE_1,SEX\",
    \"WHERE user_id =\".$user_id.
    \" and Projektdaten_4 = \'\".$Projektdaten_4.\"\'\".
    \" and flag_bad = 1\");
echo \"<pre>\";
//var_dump($i_cmplts);
echo \"</pre>\";
$lfdsInLinr = array();
$count_linr = 0;
$cmplt_linr = 0;
$count_him = 0;
$count_her = 0;
$count_young = 0;
$count_old = 0;
if(count($i_cmplts)) {
    foreach ($i_cmplts as $key => $value) {
        if(!in_array($value[\"Projektdaten_5\"],$lfdsInLinr)) {
           $cmplt_linr++;
           $lfdsInLinr[] = $value[\"Projektdaten_5\"];
               if ($value[\"Projektdaten_17\"] == \"2\" || $value[\"Projektdaten_17\"] == \"0\") {
                   if($value[\"SEX\"] == \"1\") {
                       $count_him++;
                   } else if ($value[\"SEX\"] == \"2\") {
                       $count_her++;
                   }
                   if($value[\"AGE_1\"] > 15 && $value[\"AGE_1\"] <= 45) {
                       $count_young ++;
                   } else if ($value[\"AGE_1\"] >= 46 || $value[\"AGE_1\"] <= 99) {
                       $count_old ++;
                   }
            }
        }
    }
}

$txtQuest .= \"<br><br>Sie bearbeiten aktuell folgende Liste \".$Projektdaten_4.\":<br>\".
   \"&nbsp;&nbsp;\".\"Darauf wurden bereits \".$cmplt_linr.\" Interview(s) durchgeführt.\";
//$txtQuest .= \"<br>&nbsp;&nbsp;Insgesamt \".$count_linr.\" Adressen sind bereits abgeschlossen.\";
if ($Projektdaten_17 == 2 || ($Projektdaten_17 == 0 && $i_userid == 135)) {
    $txtQuest .= \"<br><br>Alter und Geschlechtsverteilung:<br>&nbsp;&nbsp;\";
    if ($count_him > $count_her+1) $txtQuest .= \'<font color=\"red\">\';
    $txtQuest .=$count_him.\" Männer<br>&nbsp;&nbsp;\";
    if ($count_him > $count_her+1) $txtQuest .= \"</font>\";
    if ($count_her> $count_him +1) $txtQuest .= \'<font color=\"red\">\';
    $txtQuest .=$count_her.\" Frauen<br>&nbsp;&nbsp;\";
    if ($count_her> $count_him +1) $txtQuest .= \"</font>\";
    if ($count_young> $count_old+1) $txtQuest .= \'<font color=\"red\">\';
    $txtQuest .=$count_young.\" unter 45<br>&nbsp;&nbsp;\";
    if ($count_young> $count_old+1) $txtQuest .= \"</font>\";
    if ($count_old> $count_young+1) $txtQuest .= \'<font color=\"red\">\';
    $txtQuest .=$count_old.\" 45 oder älter<br>\";
    if ($count_old> $count_young+1) $txtQuest .= \"</font>\";
}
    $txtQuest .= \"<br>\";
setQuestion($txtQuest);
saveVar(\"questtext_1=\'\".$txtQuest.\"\'\");



';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '953',id_event = '1',script = '
$i_userid = reset(getVar(\"user_id\"));
 if ($i_userid != 0)
 {
$i_table_id = reset(getVar(\"id_capi_table\"));
$i_address_id = reset(getVar(\"id_capi_address\"));
$i_sample_id = reset(getVar(\"id_capi_sample\"));

            $projdata[\"Projektname\"]=\"TeleTest Monitoring 2022\";
            $projdata[\"Verrechnungsnummer\"]=\"27293125\";
            $projdata[\"Version\"]=\"9.1\";

$i_userid = reset(getVar(\"user_id\"));
$i_info = getVarFromTable(\"_Interviewer\", \"username\", \"WHERE id = $i_userid\");

if (count($i_info) == 1)
    saveVar(\"intnr_1=\'\" . $i_info[0][\"username\"] . \"\'\");

if ($i_table_id != null)
{
    $i_table_name = getVarFromTable(\"_CapiTables\", \"name\", \"WHERE id = \".$i_table_id);
    if (count($i_table_name) == 1)
    {    
        $i_sample_table = \"capi___\" . $i_table_name[0][\"name\"];
    
        $i_address = getVarFromTable($i_sample_table, \"id, id_municipality, municipality, id_settlement, id_street, capi_BL, capi_PB, capi_OG, capi_ID_POST, name, street, addon_address, zip, town\", \"WHERE id = \".$i_address_id);
        if (count($i_address) == 1)
        {
            //$projdata[\"\"]=\"\";
            $projdata[\"Welle\"]=$i_address[0][\"id_municipality\"];
            $projdata[\"LNr\"]=$i_address[0][\"municipality\"];
            $projdata[\"lfdNR\"]=$i_address[0][\"id_settlement\"];
            $projdata[\"BLD\"]=$i_address[0][\"capi_BL\"];
            $projdata[\"PB\"]=$i_address[0][\"capi_PB\"];
            $projdata[\"GK\"]=$i_address[0][\"capi_OG\"];
            $projdata[\"Name\"]=$i_address[0][\"name\"];
            $projdata[\"Vorname\"]=\"\";
            $projdata[\"Adresse\"]=$i_address[0][\"street\"];
            $projdata[\"PLZ\"]=$i_address[0][\"zip\"];
            $projdata[\"Ort\"]=$i_address[0][\"town\"];
            $projdata[\"Telefonnummer\"]=$i_address[0][\"capi_vorwahl\"]. $i_address[0][\"capi_telnr\"];
            $projdata[\"Kontrollvariable\"]=\"\";
            $projdata[\"Adresstyp\"]=$i_address[0][\"id_street\"];
            $projdata[\"ID_POST\"]=$i_address[0][\"capi_ID_POST\"];
            $projdata[\"Hnr\"]=$i_address[0][\"addon_address\"];
        }}}     
 }

if (!($projdata[\"BLD\"] >= 1 && $projdata[\"BLD\"] <= 9)) {
    $projdata[\"BLD\"] = 9;
}
if ($projdata[\"LNr\"] == \"\") {
    $projdata[\"LNr\"]=\"099999\";
    $projdata[\"Adresstyp\"]=1;
};
$i_id = reset(getVar(\"id\"));
if ($projdata[\"lfdNR\"] == \"\") {
    $projdata[\"lfdNR\"]=$i_id;
}
$projdata_json = json_encode($projdata);
saveVar(\"projdata_1=\'\".$projdata_json.\"\'\");

            







';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '9',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '45',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '960',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP1_11\"),
        tbLabel = $(\"#op_GEBLANDxP1_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '962',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP1_11\"),
        tbLabel = $(\"#op_GLMUTTxP1_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '961',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP1_11\"),
        tbLabel = $(\"#op_GLVATxP1_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1049',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"300px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1050',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"300px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1051',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"300px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1052',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"300px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1083',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1093',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1084',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1094',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1085',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1095',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1086',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1096',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1087',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1097',id_event = '3',script = 'var inputs = document.getElementsByTagName(\"input\");
for (var i = 0; i < inputs.length; i++) {
    var inpId =  inputs[i].id;
    if (inpId.length>5 & inpId.substring(0, 2)==\"op\") {
        //alert(inpId + \" - \"+ inpId.substring(0, 2));
        document.getElementById(inpId ).style.width = \"500px\";
        document.getElementById(inpId ).style.fontSize = \"14pt\";
    }
}
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1115',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP3_11\"),
        tbLabel = $(\"#op_STAATSBxP3_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1116',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP4_11\"),
        tbLabel = $(\"#op_STAATSBxP4_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1117',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP5_11\"),
        tbLabel = $(\"#op_STAATSBxP5_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1118',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP6_11\"),
        tbLabel = $(\"#op_STAATSBxP6_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1119',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP7_11\"),
        tbLabel = $(\"#op_STAATSBxP7_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1120',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP8_11\"),
        tbLabel = $(\"#op_STAATSBxP8_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1121',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_STAATSBxP9_11\"),
        tbLabel = $(\"#op_STAATSBxP9_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '267',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP4 == 12) {  
        saveVar(sprintf(\'BERUFxP4=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '274',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP5 == 12) {  
        saveVar(sprintf(\'BERUFxP5=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '281',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP6 == 12) {  
        saveVar(sprintf(\'BERUFxP6=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '288',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP7\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP7 == 12) {  
        saveVar(sprintf(\'BERUFxP7=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '295',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP8\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP8 == 12) {  
        saveVar(sprintf(\'BERUFxP8=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '302',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP9\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP9 == 12) {  
        saveVar(sprintf(\'BERUFxP9=15\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '259',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP3_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP3_1 < 10) {   
        saveVar(sprintf(\'STANDxP3=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '268',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP4_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP4_1 < 10) {   
        saveVar(sprintf(\'STANDxP4=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '275',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP5_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP5_1 < 10) {   
        saveVar(sprintf(\'STANDxP5=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '282',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP6_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP6_1 < 10) {   
        saveVar(sprintf(\'STANDxP6=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '289',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP7_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP7_1 < 10) {   
        saveVar(sprintf(\'STANDxP7=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '296',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP8_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP8_1 < 10) {   
        saveVar(sprintf(\'STANDxP8=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '303',id_event = '1',script = '    $txtchck = sprintf(\'ALTERxP9_1\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($ALTERxP9_1 < 10) {   
        saveVar(sprintf(\'STANDxP9=1\'));
        }
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '260',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP3\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP3_1 == 12) {   
        saveVar(sprintf(\'EDUCxP3=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '269',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP4\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP4_1 == 12) {   
        saveVar(sprintf(\'EDUCxP4=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '276',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP5\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP5_1 == 12) {   
        saveVar(sprintf(\'EDUCxP5=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '283',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP6_1 == 12) {   
        saveVar(sprintf(\'EDUCxP6=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '290',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP7\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP7_1 == 12) {   
        saveVar(sprintf(\'EDUCxP7=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '297',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP8\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP8_1 == 12) {   
        saveVar(sprintf(\'EDUCxP8=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '304',id_event = '1',script = '    $txtchck = sprintf(\'TAETxP9\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }

    if ($TAETxP9_1 == 12) {   
        saveVar(sprintf(\'EDUCxP9=1\'));
        }';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1123',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP2_11\"),
        tbLabel = $(\"#op_GEBLANDxP2_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1126',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP3_11\"),
        tbLabel = $(\"#op_GEBLANDxP3_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1129',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP4_11\"),
        tbLabel = $(\"#op_GEBLANDxP4_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1132',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP5_11\"),
        tbLabel = $(\"#op_GEBLANDxP5_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1135',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP6_11\"),
        tbLabel = $(\"#op_GEBLANDxP6_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1138',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP7_11\"),
        tbLabel = $(\"#op_GEBLANDxP7_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1141',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP8_11\"),
        tbLabel = $(\"#op_GEBLANDxP8_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1144',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GEBLANDxP9_11\"),
        tbLabel = $(\"#op_GEBLANDxP9_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1124',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP2_11\"),
        tbLabel = $(\"#op_GLMUTTxP2_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1127',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP3_11\"),
        tbLabel = $(\"#op_GLMUTTxP3_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1130',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP4_11\"),
        tbLabel = $(\"#op_GLMUTTxP4_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1133',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP5_11\"),
        tbLabel = $(\"#op_GLMUTTxP5_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1136',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP6_11\"),
        tbLabel = $(\"#op_GLMUTTxP6_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1139',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP7_11\"),
        tbLabel = $(\"#op_GLMUTTxP7_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1142',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP8_11\"),
        tbLabel = $(\"#op_GLMUTTxP8_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1145',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLMUTTxP9_11\"),
        tbLabel = $(\"#op_GLMUTTxP9_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1125',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP2_11\"),
        tbLabel = $(\"#op_GLVATxP2_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1128',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP3_11\"),
        tbLabel = $(\"#op_GLVATxP3_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1131',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP4_11\"),
        tbLabel = $(\"#op_GLVATxP4_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1134',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP5_11\"),
        tbLabel = $(\"#op_GLVATxP5_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1137',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP6_11\"),
        tbLabel = $(\"#op_GLVATxP6_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1140',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP7_11\"),
        tbLabel = $(\"#op_GLVATxP7_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1143',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP8_11\"),
        tbLabel = $(\"#op_GLVATxP8_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1146',id_event = '3',script = '$(function() {
    var tbID = $(\"#op_GLVATxP9_11\"),
        tbLabel = $(\"#op_GLVATxP9_11\");
    tbLabel.autocomplete({
        minLength: 3,
        source: function(request, response) {
            $.ajax({
                url: \"../../webIfesProjects/CustomSkripts/lookups/lookup_iso3166.php\",
                dataType: \"json\",
                data: {
                    query: request.term
                 },
                success: function(data) {
                    response(data);
                }
            });
        },
        focus: function(event, ui) {
            tbID.val(ui.item.label);
            return false;
        },
        select: function(event, ui) {
            tbID.val(ui.item.value);
            tbLabel.val(ui.item.label);
            return false;
        }
    });
     
    var found = $.grep(data, function(element) {
        return (element.value == tbID.val());
    });
});';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '325',id_event = '1',script = 'saveVar(\"questtext_1=NULL\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1177',id_event = '1',script = '$welle = reset(getVar(\"Projektdaten_2\"));
/*
if ($welle == 1) {
    saveVar(\"farbsplit=2\");
} elseif ($welle == 2) {
    saveVar(\"farbsplit=2\");
} else {
    saveVar(\"farbsplit=2\");
}
*/
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1191',id_event = '1',script = '//Statistik-Daten aus Frabo holen
$stat_given = reset(getVar(\"AGE_1\"));

//Statistik-Daten speichern
saveVar(\"rage_1=\'\".$stat_given.\"\'\");
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1192',id_event = '1',script = '//Statistik-Daten aus Frabo holen
$stat_given = reset(getVar(\"SEX\"));

//Statistik-Daten speichern
saveVar(\"rsex=\'\".$stat_given.\"\'\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '328',id_event = '2',script = '//echo \"<pre>\";
//var_dump($_SERVER);

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '2',id_event = '1',script = '//saveVar(\'structureid_1=\'.($_SESSION[\'id_record\']));

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '2',id_event = '2',script = '
/*
$methode = reset(getVar(\'methode\'));
$questtext = \'ENDE DES INTERVIEWS\';
if ($methode == 2) {
    $questtext = \'Vielen Dank für Ihre Teilnahme!\';
    echo \'<input id=doCorona type=\"hidden\" name=\"forCorona\" value=\"0\">\';
} else {

    echo \'<pre>\';
    //var_dump($_COOKIE);
    echo \'</pre>\';
     $txtchck = sprintf(\'kondata_1,kondata_2,kondata_3,kondata_4,kondata_5,kondata_6,intnr_1,user_id\');
        $checkvar = getVar($txtchck);
        $allvars = $txtchck;
            foreach (explode(\",\",$allvars) as $itemvar) {
                   $$itemvar = $checkvar[$itemvar] ;
            }
    
    
    if($intnr_1==NULL) $intnr_1=\"99998\";
    echo \'<input id=doCorona type=\"hidden\" name=\"forCorona\" value=\"1\">\';
    echo \'<input id=projName type=\"hidden\" name=\"forCorona\" value=\"\'.$_SESSION[\'projname\'].\'\">\';
    echo \'<input id=respName type=\"hidden\" name=\"forCorona\" value=\"\'.$kondata_1.\'\">\';
    echo \'<input id=respPLZ type=\"hidden\" name=\"forCorona\" value=\"\'.$kondata_2.\'\">\';
    echo \'<input id=respStreet type=\"hidden\" name=\"forCorona\" value=\"\'.$kondata_3.\'\">\';
    echo \'<input id=respHNr type=\"hidden\" name=\"forCorona\" value=\"\'.$kondata_4.\'\">\';
    echo \'<input id=respCity type=\"hidden\" name=\"forCorona\" value=\"\'.$kondata_5.\'\">\';
    echo \'<input id=respTel type=\"hidden\" name=\"forCorona\" value=\"\'.$kondata_6.\'\">\';
    echo \'<input id=intNr type=\"hidden\" name=\"forCorona\" value=\"\'.$intnr_1.\'\">\';
    echo \'<input id=structureid type=\"hidden\" name=\"forCorona\" value=\"\'.$_SESSION[\'id_record\'].\'\">\';
    echo \'<input id=userid type=\"hidden\" name=\"forCorona\" value=\"\'.$user_id.\'\">\';
    
    global $db;
    $db->ChangeDatabase(DB_WARPIT_WEBCATI_BASE);
    $urlPath = $GLOBALS[\"paths\"][\"warpit_www\"];
    
    $loginSID1 = reset(getVarFromTable(\"_www_ids\",\"loginSID\",\"WHERE user_type=3 and id_project=785\"));
    //echo $urlPath.\"<br>\";
    //echo $loginSID1[\"loginSID\"];

    $questtext .= \'<br><br><a href=\"\'.$urlPath.\'survey/index.php?loginSID=\'.$loginSID1[\"loginSID\"].\'\" id=\"coronalink\">Zum Corona - Formular</a>\';
}
setQuestion($questtext);

//echo \"TEST\";
*/

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '2',id_event = '3',script = '
/*
var doCorona = document.getElementById(\'doCorona\').value;

var structureId = document.getElementById(\'structureid\').value;
console.log(structureId);
    document.cookie = \'structureid=\'+ structureId + \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';


function deleteAllCookies() {
    var cookies = document.cookie.split(\";\");

    for (var i = 0; i < cookies.length; i++) {
        var cookie = cookies[i];
        var eqPos = cookie.indexOf(\"=\");
        var name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;
        document.cookie = name + \"=;expires=Thu, 01 Jan 1970 00:00:00 GMT\";
    }
}

deleteAllCookies();

if (doCorona==\"1\") {
    var coronalink = document.getElementById(\'coronalink\');

    coronalink.addEventListener(\'click\', function(event) {
        var structureId = document.getElementById(\'structureid\').value;
        var userId= document.getElementById(\'userid\').value;
        var projName= document.getElementById(\'projName\').value;
        var respName= document.getElementById(\'respName\').value;
        var respPLZ= document.getElementById(\'respPLZ\').value;
        var respStreet= document.getElementById(\'respStreet\').value;
        var respHNr= document.getElementById(\'respHNr\').value;
        var respCity= document.getElementById(\'respCity\').value;
        var respTel= document.getElementById(\'respTel\').value;
        var intNr= document.getElementById(\'intNr\').value;
        
        console.log(\"userId\");
        
        document.cookie = \'structureid=\'+ structureId + \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'userid=\'+ userId + \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'projName=\'+ projName+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'respName=\'+ respName+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'respPLZ=\'+ respPLZ+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'respStreet=\'+ respStreet+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'respHNr=\'+ respHNr+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'respCity=\'+ respCity+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'respTel=\'+ respTel+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
        document.cookie = \'intNr=\'+ intNr+ \'; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/\';
    });
}
*/

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1200',id_event = '1',script = '   

$txtchck = sprintf(\'NRRESP,NRHHV,ALTERxP1_1,STAATSBxP1,ALTERxP2_1,STAATSBxP2,ANZTV_1,HHEMPF_1,HHEMPF_2,HHEMPF_3,HHEMPF_4,HHEMPF_5,HHEMPF_6,HHEMPF_7\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }
//$ineligible = 0;
$ineligible =1; // TEIL DERZEIT DEAKTIVIERT

if ($NRRESP==$NRHHV) saveVar(\"tt3=1\"); else saveVar(\"tt3=2\");
if ($NRRESP==$NRHHV) {
    if ($ALTERxP1_1<40 && $ALTERxP1_1>15) saveVar(\"tt4=1\"); else {
        saveVar(\"tt4=2\");
        $ineligible =1;
        //echo \"ALTER P1<br>\";
    }
    if ($STAATSBxP1==1) saveVar(\"tt5=1\");
    if ($STAATSBxP1!=12 && $STAATSBxP1!=1) {
        saveVar(\"tt5=2\");
        $ineligible =1;
        //echo \"STB P1<br>\";
    }
    if ($STAATSBxP1==12) {
        saveVar(\"tt5=3\");
        $ineligible =1;
        //echo \"STB P1<br>\";
    }
} else {
    if ($ALTERxP2_1<40 && $ALTERxP2_1>15) saveVar(\"tt4=1\"); else {
        saveVar(\"tt4=2\");
        $ineligible =1;
        //echo \"ALTER P2<br>\";
    }
    if ($STAATSBxP2==1) saveVar(\"tt5=1\");
    if ($STAATSBxP2!=12 && $STAATSBxP2!=1) {
        saveVar(\"tt5=2\");
        $ineligible =1;
        //echo \"STB P2<br>\";
    }
    if ($STAATSBxP2==12) {
        saveVar(\"tt5=3\");
        $ineligible =1;
        //echo \"STB P2<br>\";
    }
}
if ($ANZTV_1==0) {
     saveVar(\"tt1=1\");
     $ineligible =1;   
} else if ($ANZTV_1==1)  {
     saveVar(\"tt1=2\");   
} else if ($ANZTV_1>=2)  {
     saveVar(\"tt1=3\");   
}

if ($HHEMPF_1 == 1 || $HHEMPF_2 == 2 ||$HHEMPF_3 == 3 ||$HHEMPF_4 == 5 ||$HHEMPF_5 == 5) {
     saveVar(\"tt2_1=\'\".$HHEMPF_1.\"\'\");   
     saveVar(\"tt2_2=\'\".$HHEMPF_2.\"\'\");   
     saveVar(\"tt2_3=\'\".$HHEMPF_3.\"\'\");   
     saveVar(\"tt2_4=\'\".$HHEMPF_4.\"\'\");   
     saveVar(\"tt2_5=\'\".$HHEMPF_5.\"\'\");   
}   else {
     saveVar(\"tt2_6=\'\".$HHEMPF_6.\"\'\");
     saveVar(\"tt2_7=\'\".$HHEMPF_7.\"\'\");  
     $ineligible = 1;   
}
    
    
    
    
if ($ineligible ==1) {
    saveVar(\"ttstart=2\");
    setQuestion(\"Nächster Teil\");
} else {
    saveVar(\"ttstart=1\");
}
    
//saveVar(\"ttstart=1\"); //überschreibt ganzes skript und macht person eligebil. nur um den teil zu testen.

$methode = reset(getVar(\'methode\'));
if ($methode == 2) {
	saveVar(\"ttstart=2\");
	} // CATI - Interviews werden von der Crossrekrutierung ausgeschlossen

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1202',id_event = '2',script = '$f1 = reset(getVar(\"tt1\"));
$tt2_3 = reset(getVar(\"tt2_3\"));
$tt2_4 = reset(getVar(\"tt2_4\"));
$tt2_6 = reset(getVar(\"tt2_6\"));
$tt2_7 = reset(getVar(\"tt2_7\"));
if($f1 == 2) $questText =\"Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. Was trifft auf Ihr Fensehgerät zu? Empfängt dieses Fernsehgerät über...? \";
if($f1 == 3) $questText =\"Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. Was trifft auf Ihre Fernsehgeräte zu? Empfängt zumindest eines dieser Fernsehgeräte über...?\";

if ($tt2_3 ==3 || $tt2_4 == 4 ) {
    $questText .= \"<br><br>Nachfragen ob der Kabelempfang über Magenta / UPC erfolgt und entsprechend eine der zwei Antworten auswählen\"; 
}   
if ($tt2_6 ==6 || $tt2_7 == 7 ) {
    $questText .= \"<br><br>Nachfragen ob der IPTV-Empfang über A1-TV erfolgt und entsprechend eine der zwei Antworten auswählen\"; 
}  
    
    setQuestion($questText);
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1204',id_event = '2',script = '$f3 = reset(getVar(\"tt3\"));

if($f3 == 1) setQuestion(\"Sind Sie…\");
if($f3 > 1) setQuestion(\"Ist der/die Haupteinkommensbezieher/in in diesem Haushalt…\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1205',id_event = '2',script = '$f3 = reset(getVar(\"tt3\"));

if($f3 == 1) setQuestion(\"Welche Staatsbürgerschaft haben Sie?\");
if($f3 > 1) setQuestion(\"Welche Staatsbürgerschaft hat der Haupteinkommensbezieher in diesem Haushalt?\");';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1245',id_event = '2',script = '$ANZTV_1 = reset(getVar(\"ANZTV_1\"));
if ($ANZTV_1 == 1) setQuestion(\"Nocheinmal kurz zu Ihrem Fernsehgerät.\");
else setQuestion(\"Gehen wir bitte noch mal zum am meisten genutzten Fernsehgerät im Haushalt\");
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1235',id_event = '1',script = '    $txtchck = sprintf(\'ANZTV_1,TVHDxTV1_4,HDCKxTV1,TVHDxTV2_4,HDCKxTV2,TVHDxTV3_4,HDCKxTV3,TVHDxTV4_4,HDCKxTV4,TVHDxTV5_4,HDCKxTV5,TVHDxTV6_4,HDCKxTV6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
        foreach (explode(\",\",$allvars) as $itemvar) {
               $$itemvar = $checkvar[$itemvar] ;
        }


if (($ANZTV_1>=1 && ($TVHDxTV1_4!=4 || $HDCKxTV1==1)) || 
    ($ANZTV_1>=2 && ($TVHDxTV2_4!=4 || $HDCKxTV2==1)) ||
    ($ANZTV_1>=3 && ($TVHDxTV3_4!=4 || $HDCKxTV3==1)) ||
    ($ANZTV_1>=4 && ($TVHDxTV4_4!=4 || $HDCKxTV4==1)) ||
    ($ANZTV_1>=5 && ($TVHDxTV5_4!=4 || $HDCKxTV5==1)) ||
    ($ANZTV_1>=6 && ($TVHDxTV6_4!=4 || $HDCKxTV6==1))) 
{
        saveVar(\"HDzu0=1\");
} else {
        saveVar(\"HDzu0=2\");
}
';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1256',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1257',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1259',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1260',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1261',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1275',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1278',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1283',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1291',id_event = '3',script = 'var quest = $(\'#desElementId_115\').text();
console.log(quest );
var diffLength = 1;
 
$(\'#answTable_\'+quest).css(\"table-layout\",\"fixed\");
max = $(\'#answTable_\'+quest+\' tr:first td\').length;
max = max-1;
 
if (max<=6) {
    var widthText=1000-(100*(max-1));
}else {
    var widthText=400;
}
if (diffLength==1) {
    var widths=\"80\";
    var widthl=\"100\";
} else {
    var widths=\"100\";
    var widthl=\"100\";
}
var padding=\"5\";
   
 
count=0;
$(\'#answTable_\'+quest+\' tr:first td\').each(function(index){
  count++;
  if (count==1) {
      $(this).css(\"width\",\"\"+widthText+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
    }
  if (count>2 && count<max) {
      $(this).css(\"width\",\"\"+widths+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
  if (count==2 || count==max) {
      $(this).css(\"width\",\"\"+widthl+\"px\");
      $(this).css(\"padding\",\"\"+padding+\"px\");
      $(this).css(\"border-left\",\"1px dotted grey\");
      $(this).css(\"vertical-align\",\"bottom\");
    }
     
  });';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1300',id_event = '1',script = 'var_dump($_SESSION);


saveVar(\"f24=\".reset(getVar(\"SEX\")));
saveVar(\"f25_1=\".reset(getVar(\"AGE_1\")));
saveVar(\"f34=\".reset(getVar(\"Projektdaten_6\")));

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1276',id_event = '1',script = 'saveVar(\"split5=\".rand(1,5));';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1279',id_event = '1',script = '//$foo = $_SESSION[\'ansRotation\'][\'firstQuestion\'];
//var_dump($_SESSION[\'ansRotation\'][\'f14\']);

$foo = reset(end($_SESSION[\'ansRotation\'][\'f14\']));
$foo2 = end(end($_SESSION[\'ansRotation\'][\'f14\']));
//echo \'<br><br>\'.$foo2;
saveVar(\"f15dummy_4=\'\".$foo2.\"\'\");

switch ($foo) {
case 1:
    saveVar(\"f15dummy_3=1\");
    saveVar(\"f15dummy_1=\'Fallen Ihnen da Beispiele ein, was Juden zum kulturellen Leben beigetragen haben?\'\");
    break;
case 2:
    saveVar(\"f15dummy_3=2\");
    saveVar(\"f15dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören?\'\");
    break;
case 3:
    saveVar(\"f15dummy_3=3\");
    saveVar(\"f15dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören?\'\");
    saveVar(\"f15dummy_2=\'Wieso kann man Ihrer Ansicht nach nicht erwarten, dass ein Jude anständig ist?\'\");
    break;
case 4:
    saveVar(\"f15dummy_3=4\");
    saveVar(\"f15dummy_1=\'Woran merken Sie das? Können Sie da Beispiele nennen?\'\");
    break;
case 5:
    saveVar(\"f15dummy_3=5\");
    saveVar(\"f15dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören?\'\");
    break;
case 6:
    saveVar(\"f15dummy_3=6\");
    saveVar(\"f15dummy_1=\'Woran zeigt sich das Ihrer Meinung nach? Können Sie da Beispiele nennen?\'\");
    saveVar(\"f15dummy_2=\'Woher bekommen Sie Informationen, die Ihnen das zeigen?\'\");
    break;
case 7:
    saveVar(\"f15dummy_3=7\");
    saveVar(\"f15dummy_1=\'Woran zeigt sich das Ihrer Meinung nach? Können Sie da Beispiele nennen?\'\");
    saveVar(\"f15dummy_2=\'Diese Informationen, wieviel Einfluss Juden haben, woher beziehen Sie die? Welchem Medium oder welcher Informationsquelle vertrauen Sie da, dass Sie korrekt informiert werden?\'\");
    break;       
case 8:
    saveVar(\"f15dummy_3=8\");
    saveVar(\"f15dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören?\'\");
    saveVar(\"f15dummy_2=\'Diese Informationen, was für eine Politik Israel macht, woher beziehen Sie die? Welchem Medium oder welcher Informationsquelle vertrauen Sie da, dass Sie korrekt informiert werden?\'\");
    break;        
case 9:
    saveVar(\"f15dummy_3=9\");
    saveVar(\"f15dummy_1=\'Was verstehen Sie in dem Fall unter Behandlung? Wie behandelt Ihrer Ansicht nach Israel die Palästinenser, was passiert dort?\'\");
    saveVar(\"f15dummy_2=\'Diese Informationen, wie Israel die Palästinenser behandelt - woher beziehen Sie die? Welchem Medium oder welcher Informationsquelle vertrauen Sie da, dass sie korrekt informiert werden?\'\");
    break;       
case 10:
    saveVar(\"f15dummy_3=10\");
    saveVar(\"f15dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören?\'\");
    saveVar(\"f15dummy_2=\'Was wäre besser ohne den Staat Israel? \'\");
    break;        
  default:
    saveVar(\"f15dummy_3=1\");
} ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1284',id_event = '1',script = '//$foo = $_SESSION[\'ansRotation\'][\'firstQuestion\'];
//var_dump($_SESSION[\'ansRotation\'][\'f14\']);

$foo = reset(end($_SESSION[\'ansRotation\'][\'f17\']));
$foo2 = end(end($_SESSION[\'ansRotation\'][\'f17\']));
//echo \'<br><br>\'.$foo;
saveVar(\"f18dummy_4=\'\".$foo2.\"\'\");

switch ($foo) {
case 1:
    saveVar(\"f18dummy_3=1\");
    saveVar(\"f18dummy_1=\'Fallen Ihnen da Beispiele ein, inwiefern sich Juden nicht integrieren?\'\");
    break;
case 2:
    saveVar(\"f18dummy_3=2\");
    saveVar(\"f18dummy_1=\'Inwiefern sind sie da selbst daran schuld?\'\");
    break;
case 3:
    saveVar(\"f18dummy_3=3\");
    saveVar(\"f18dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören!\'\");
    break;
case 4:
    saveVar(\"f18dummy_3=4\");
    saveVar(\"f18dummy_1=\'An welche Vorteile denken Sie da?\'\");
    saveVar(\"f18dummy_2=\'Diese Informationen, welche Vorteile Juden haben - woher beziehen Sie die? Welchem Medium oder welcher Informationsquelle vertrauen Sie da, dass sie korrekt informiert werden?\'\");
    break;
case 5:
    saveVar(\"f18dummy_3=5\");
    saveVar(\"f18dummy_1=\'Warum sind Sie da dagegen?\'\");
    break;
case 6:
    saveVar(\"f18dummy_3=6\");
    saveVar(\"f18dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören!\'\");
    break;
case 7:
    saveVar(\"f18dummy_3=7\");
    saveVar(\"f18dummy_1=\'Was ist Ihrer Meinung nach übertrieben dargestellt?\'\");
    saveVar(\"f18dummy_2=\'Welchem Medium oder welcher Informationsquelle vertrauen Sie da, dass diese Dinge korrekt dargestellt werden?\'\");
    break;       
case 8:
    saveVar(\"f18dummy_3=8\");
    saveVar(\"f18dummy_1=\'Woher haben Sie Hinweise, dass das so ist? Welchem Medium oder welcher Informationsquelle vertrauen Sie da am meisten?  \'\");
    break;        
case 9:
    saveVar(\"f18dummy_3=9\");
    saveVar(\"f18dummy_1=\'Bitte geben Sie an, was Ihnen durch den Kopf geht, wenn Sie diese Aussage hören!\'\");
    break;       
case 10:
    saveVar(\"f18dummy_3=10\");
    saveVar(\"f18dummy_1=\'Woher haben Sie Hinweise, dass das so ist? Welchem Medium oder welcher Informationsquelle vertrauen Sie da am meisten?  \'\");
    break;        
  default:
    saveVar(\"f18dummy_3=1\");
} ';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '0',id_event = '3',script = 'setCustomDesignerText(\'custTitle\',\'Teletest Zusatz 2022\');';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '7',id_event = '3',script = 'document.getElementById(\'ct_ANZTV_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_ANZTV_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_ANZTV_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '325',id_event = '3',script = 'document.getElementById(\'ct_AGE_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGE_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGE_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '117',id_event = '3',script = 'document.getElementById(\'ct_AGExP3_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP3_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP3_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '115',id_event = '3',script = 'document.getElementById(\'ct_AGExP2_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP2_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP2_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '101',id_event = '3',script = 'document.getElementById(\'ct_AGExP1_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP1_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP1_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '119',id_event = '3',script = 'document.getElementById(\'ct_AGExP4_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP4_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP4_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '121',id_event = '3',script = 'document.getElementById(\'ct_AGExP5_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP5_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP5_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '123',id_event = '3',script = 'document.getElementById(\'ct_AGExP6_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP6_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP6_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '125',id_event = '3',script = 'document.getElementById(\'ct_AGExP7_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP7_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP7_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '127',id_event = '3',script = 'document.getElementById(\'ct_AGExP8_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP8_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP8_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '129',id_event = '3',script = 'document.getElementById(\'ct_AGExP9_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_AGExP9_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_AGExP9_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '62',id_event = '1',script = 'document.getElementById(\'ct_ANZVER_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_ANZVER_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_ANZVER_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '62',id_event = '3',script = 'document.getElementById(\'ct_ANZVER_1\').parentNode.style = \'width:98%;font-size:16px;vertical-align:middle;font-family:Arial;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px;text-align:left;\';
document.getElementById(\'ct_ANZVER_1\').parentNode.previousSibling.style.width = \'4%\';
document.getElementById(\'ct_ANZVER_1\').style.width = \'60px\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '20',id_event = '2',script = '$A1TVSATchk = reset(getVar(\'A1TVSATxTV1\'));

if ($A1TVSATchk == 1) 
{setQuestion(\'<span style=\"background-color: rgb(255,0,0);\">Sie haben angegeben, \"A1 TV über Satellit\" zu nutzen. Dabei erfolgt der Empfang über Satellit, und nicht über IPTV. Bitte korrigieren Sie Ihre Angabe bezüglich IPTV.</span><br>Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. <br>Was trifft auf Gerät &lt;1&gt; zu? Empfängt dieses Fernsehgerät über ...? <span style=\"background-color: rgb(255, 255, 0);\">(Mehrfachantworten möglich)</span><br><span style=\"background-color: rgb(255, 255, 0);\">(INTERVIEWER: WELCHE EMPFANGSEBENEN KÖNNEN TATSÄCHLICH ZUM FERNSCHAUEN GENUTZT WERDEN)</span><br>\');}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1073',id_event = '2',script = '$A1TVSATchk = reset(getVar(\'A1TVSATxTV2\'));

if ($A1TVSATchk == 1) 
{setQuestion(\'<span style=\"background-color: rgb(255,0,0);\">Sie haben angegeben, \"A1 TV über Satellit\" zu nutzen. Dabei erfolgt der Empfang über Satellit, und nicht über IPTV. Bitte korrigieren Sie Ihre Angabe bezüglich IPTV.</span><br>Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. <br>Was trifft auf Gerät &lt;1&gt; zu? Empfängt dieses Fernsehgerät über ...? <span style=\"background-color: rgb(255, 255, 0);\">(Mehrfachantworten möglich)</span><br><span style=\"background-color: rgb(255, 255, 0);\">(INTERVIEWER: WELCHE EMPFANGSEBENEN KÖNNEN TATSÄCHLICH ZUM FERNSCHAUEN GENUTZT WERDEN)</span><br>\');}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1074',id_event = '2',script = '$A1TVSATchk = reset(getVar(\'A1TVSATxTV3\'));

if ($A1TVSATchk == 1) 
{setQuestion(\'<span style=\"background-color: rgb(255,0,0);\">Sie haben angegeben, \"A1 TV über Satellit\" zu nutzen. Dabei erfolgt der Empfang über Satellit, und nicht über IPTV. Bitte korrigieren Sie Ihre Angabe bezüglich IPTV.</span><br>Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. <br>Was trifft auf Gerät &lt;1&gt; zu? Empfängt dieses Fernsehgerät über ...? <span style=\"background-color: rgb(255, 255, 0);\">(Mehrfachantworten möglich)</span><br><span style=\"background-color: rgb(255, 255, 0);\">(INTERVIEWER: WELCHE EMPFANGSEBENEN KÖNNEN TATSÄCHLICH ZUM FERNSCHAUEN GENUTZT WERDEN)</span><br>\');}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1075',id_event = '2',script = '$A1TVSATchk = reset(getVar(\'A1TVSATxTV4\'));

if ($A1TVSATchk == 1) 
{setQuestion(\'<span style=\"background-color: rgb(255,0,0);\">Sie haben angegeben, \"A1 TV über Satellit\" zu nutzen. Dabei erfolgt der Empfang über Satellit, und nicht über IPTV. Bitte korrigieren Sie Ihre Angabe bezüglich IPTV.</span><br>Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. <br>Was trifft auf Gerät &lt;1&gt; zu? Empfängt dieses Fernsehgerät über ...? <span style=\"background-color: rgb(255, 255, 0);\">(Mehrfachantworten möglich)</span><br><span style=\"background-color: rgb(255, 255, 0);\">(INTERVIEWER: WELCHE EMPFANGSEBENEN KÖNNEN TATSÄCHLICH ZUM FERNSCHAUEN GENUTZT WERDEN)</span><br>\');}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1076',id_event = '2',script = '$A1TVSATchk = reset(getVar(\'A1TVSATxTV5\'));

if ($A1TVSATchk == 1) 
{setQuestion(\'<span style=\"background-color: rgb(255,0,0);\">Sie haben angegeben, \"A1 TV über Satellit\" zu nutzen. Dabei erfolgt der Empfang über Satellit, und nicht über IPTV. Bitte korrigieren Sie Ihre Angabe bezüglich IPTV.</span><br>Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. <br>Was trifft auf Gerät &lt;1&gt; zu? Empfängt dieses Fernsehgerät über ...? <span style=\"background-color: rgb(255, 255, 0);\">(Mehrfachantworten möglich)</span><br><span style=\"background-color: rgb(255, 255, 0);\">(INTERVIEWER: WELCHE EMPFANGSEBENEN KÖNNEN TATSÄCHLICH ZUM FERNSCHAUEN GENUTZT WERDEN)</span><br>\');}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1310',id_event = '2',script = '$A1TVSATchk = reset(getVar(\'A1TVSATxTV6\'));

if ($A1TVSATchk == 1) 
{setQuestion(\'<span style=\"background-color: rgb(255,0,0);\">Sie haben angegeben, \"A1 TV über Satellit\" zu nutzen. Dabei erfolgt der Empfang über Satellit, und nicht über IPTV. Bitte korrigieren Sie Ihre Angabe bezüglich IPTV.</span><br>Es gibt verschiedene Möglichkeiten für den Empfang von Fernsehprogrammen. <br>Was trifft auf Gerät &lt;1&gt; zu? Empfängt dieses Fernsehgerät über ...? <span style=\"background-color: rgb(255, 255, 0);\">(Mehrfachantworten möglich)</span><br><span style=\"background-color: rgb(255, 255, 0);\">(INTERVIEWER: WELCHE EMPFANGSEBENEN KÖNNEN TATSÄCHLICH ZUM FERNSCHAUEN GENUTZT WERDEN)</span><br>\');}';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1316',id_event = '2',script = '//var_dump($_SESSION);


$txtchck = sprintf(\'SEX,Projektdaten_1,Projektdaten_3,Projektdaten_4,Projektdaten_5,kondata_1,kondata_2,kondata_3,kondata_4,kondata_5,kondata_6\');
    $checkvar = getVar($txtchck);
    $allvars = $txtchck;
    foreach (explode(\",\",$allvars) as $itemvar) {
           $$itemvar = $checkvar[$itemvar] ;
    }


$i_userid = reset(getVar(\"user_id\"));
if ($i_userid == 0 ) {$i_userid = 10;}
$i_info = getVarFromTable(\"_Interviewer\", \"username\", \"WHERE id = $i_userid\");
if (count($i_info) == 1) {$intnr = $i_info[0][\"username\"];}
    

$respGeschl = $SEX;
$projNum = $_SESSION[\'proj_name\'];
$projName  = $Projektdaten_1;
$projTxt  = $projName . \' (\' . $projNum .\')\';


saveVar(\'structureid_1=\'.($_SESSION[\'id_record\']));
saveVar(\'user_id=\'.($_SESSION[\'id_user\']));
saveVar(\'source_2=\'.($_SESSION[\'id_record\']));
saveVar(\'source_1=\"\'.$projTxt.\'\"\');


    echo \'<input id=respGeschl  type=\"hidden\"    name=\"forCorona\" value=\"\'.$respGeschl.\'\">\';
    echo \'<input id=respName    type=\"hidden\"    name=\"forCorona\" value=\"\'.$kondata_1.\'\">\';
    echo \'<input id=respPLZ     type=\"hidden\"    name=\"forCorona\" value=\"\'.$kondata_2.\'\">\';
    echo \'<input id=respStreet  type=\"hidden\"    name=\"forCorona\" value=\"\'.$kondata_3.\'\">\';
    echo \'<input id=respHNr     type=\"hidden\"    name=\"forCorona\" value=\"\'.$kondata_4.\'\">\';
    echo \'<input id=respCity    type=\"hidden\"    name=\"forCorona\" value=\"\'.$kondata_5.\'\">\';
    echo \'<input id=respTel     type=\"hidden\"    name=\"forCorona\" value=\"\'.$kondata_6.\'\">\';
    
    echo \'<input id=listNr      type=\"hidden\"    name=\"forCorona\" value=\"\'.$Projektdaten_4.\'\">\';
    echo \'<input id=lfdNr       type=\"hidden\"    name=\"forCorona\" value=\"\'.$Projektdaten_5.\'\">\'; 
    
    echo \'<input id=projNr      type=\"hidden\"    name=\"forCorona\" value=\"\'.$projNum.\'\">\'; 
    echo \'<input id=intNr       type=\"hidden\"    name=\"forCorona\" value=\"\'.$intnr.\'\">\'; 

';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1316',id_event = '3',script = '
</script>

<link rel=\"stylesheet\" href=\"/../webIfesProjects/IchWarDaFormular/datepicker.min.css\">
<script language=\"javascript\" type=\"text/javascript\" src=\"/../webIfesProjects/IchWarDaFormular/signature_pad.min.js\"></script>
<script language=\"javascript\" type=\"text/javascript\" src=\"/../webIfesProjects/IchWarDaFormular/datepicker.min.js\"></script>
<script language=\"javascript\" type=\"text/javascript\" src=\"/../webIfesProjects/IchWarDaFormular/jspdf.min.js\"></script>

<script src=\"https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.0.272/jspdf.debug.js\"></script>

<script type=\"text/javascript\">




function touchHandler(event) {
    var touch = event.changedTouches[0];

    var simulatedEvent = document.createEvent(\"MouseEvent\");
    simulatedEvent.initMouseEvent({
            touchstart: \"mousedown\",
            touchmove: \"mousemove\",
            touchend: \"mouseup\"
        }[event.type], true, true, window, 1,
        touch.screenX, touch.screenY,
        touch.clientX, touch.clientY, false,
        false, false, false, 0, null);

    touch.target.dispatchEvent(simulatedEvent);
   // event.preventDefault();// you can remove preventDefault if it creates problem with other functionalities
}


function init() {
    document.addEventListener(\"touchstart\", touchHandler, true);
    document.addEventListener(\"touchmove\", touchHandler, true);
    document.addEventListener(\"touchend\", touchHandler, true);
    document.addEventListener(\"touchcancel\", touchHandler, true);
}    

init();
  

var canv1 = document.getElementById(\'canvas1\');
var signaturePad1 = new SignaturePad(canv1);
signaturePad1.id = \'sigPad1\';
$(\"canvas1\").append(signaturePad1);

clearButton = document.getElementById(\'clear1\');
clearButton.addEventListener(\'click\', function(event) {
    //console.log(document.getElementsByClassName(\'SignaturePad\'));
    $(\'#wrapper1 canvas\').each(function(idx, item) {
        var context = item.getContext(\"2d\");
        context.clearRect(0, 0, item.width, item.height);
        context.beginPath();        
    });
});



var signaturedialog = document.createElement(\'table\');
signaturedialog.id = \'signaturedialog\';

var canv2 = document.getElementById(\'canvas2\')
var signaturePad2 = new SignaturePad(canv2);
signaturePad2.id= \'sigPad2\';
$(\"canvas2\").append(signaturePad2);


document.body.appendChild(signaturedialog);

popupButton = document.getElementById(\'signpopup\');
popupButton.addEventListener(\'click\', function(event) {
    $(\"#canvas1\").hide();
    $(\"#canvas2\").appendTo(\"#signaturedialog\");

    $(\"#canvas2\").show();  
    $( \"#signaturedialog\" ).dialog({
        \'width\':\'auto\',
        \'title\':\'Bitte unterschreiben Sie hier!\',
            \'buttons\': {
        \'Unterschrift bestätigen\': function(event) {
            $(\"#canvas1\").replaceWith($(\'#canvas2\'));
            $(\"#canvas2\").clone().appendTo(\"#wrapper2\");
           document.getElementById(\'wrapper1\').firstChild.id = \'canvas1\';        
           //console.log(document.getElementById(\'wrapper1\').firstChild);
            
            var canv2 = document.getElementById(\'canvas2\')
            var signaturePad2 = new SignaturePad(canv2);
            signaturePad2.id = \'sigPad2\';
            $(\"canvas2\").append(signaturePad2);
            $(\"#canvas2\").hide();
            $(\"#signaturedialog\").dialog(\'close\');
            
            }
                }
    });
 
    });


//ENTFERNEN WENN FERTIG EINGERICHTET!
function getCookieValue(a) {
   const b = document.cookie.match(\'(^|;)\\\\s*\' + a + \'\\\\s*=\\\\s*([^;]+)\');
   return b ? b.pop() : \'\';
}


//console.log (\"respstreet \" + getCookieValue(\"respstreet\"));
var txtGeschl = \'\';
var respGeschl = document.getElementById(\'respGeschl\').value;
console.log(respGeschl);
if (respGeschl == \'1\') {txtGeschl = \'Herr \';}
if (respGeschl == \'2\') {txtGeschl = \'Frau \';}

document.getElementById(\'resp_adresse\').value=document.getElementById(\"respStreet\").value+ \" \"+document.getElementById(\"respHNr\").value+ \" \"+document.getElementById(\"respPLZ\").value+ \" \"+document.getElementById(\"respCity\").value;
document.getElementById(\'resp_name\').value=txtGeschl+\"\"+document.getElementById(\"respName\").value;
document.getElementById(\'resp_telnr\').value=document.getElementById(\"respTel\").value;

/* NACH EINRICHTEN LÖSCHEN
//console.log(document.cookie);
document.getElementById(\'desElementId_1041\').style.background = \'white\';
document.getElementById(\'desElementId_148\').remove();
document.getElementById(\'desElementId_150\').remove();
//document.getElementById(\'desElementId_153\').remove();
*/


$(\"submitCallStatus\").prop(\"onclick\", null).off(\"click\");

var eventListener = document.getElementById(\'submitCallStatus\');
   eventListener.removeAttribute(\"onclick\");
                                
const picker1 = datepicker(document.querySelector(\'#datum1\'),{startDay: 1});

var today = new Date();
var dd = String(today.getDate()).padStart(2, \'0\');
dd = parseInt(dd);
var mm = String(today.getMonth() + 1).padStart(2, \'0\');
mm = parseInt(mm);
var yyyy = today.getFullYear();

today = dd + \'.\' + mm + \'.\' + yyyy;

document.getElementById(\'datum1\').value = today;

submitAll = document.getElementById(\'submitCallStatus\');



submitAll.addEventListener(\'click\', function(event) {

    var structureId = document.getElementById(\'structureid\').value;
    var respName    = document.getElementById(\'resp_name\').value;
    var respAdresse = document.getElementById(\'resp_adresse\').value;
    var respTelnr   = document.getElementById(\'resp_telnr\').value;
    var respDatum   = document.getElementById(\'datum1\').value;
    var projName    = document.getElementById(\'projNr\').value;
    var intNr      = document.getElementById(\'intNr\').value;

    var listNr      = document.getElementById(\'listNr\').value;
    var lfdNr       = document.getElementById(\'lfdNr\').value;
    var respNameU = respName.split(\" \").join(\"_\");
    var w = window.open(\'about:blank\',\'pdfForm\');
    var c = document.getElementById(\"canvas1\");
    var d = c.toDataURL(\"image/png\"); 
    var htmldoc     = w.document.getElementById(\"htmldoc\");
	var htmltitle   = String(\'CoVid-Formular_\'+projName+\'_\'+listNr+\'_\'+lfdNr+\'_\'+intNr+\'_\'+respNameU+\'_\'+structureId);
    var htmlcontent;
    
        
  $.ajax({
         data: { structureId:structureId,respName:respName,respAdresse:respAdresse,respTelnr:respTelnr,respDatum:respDatum,projName:projName,intNr:intNr},
         type: \"post\",
         url: \"/../webIfesProjects/IchWarDaFormular/updatedata.php\",
         
            success: function(data){

         htmlcontent = \'<style type=\"text/css\" media=\"print\"> @page {size:  auto;margin: 0mm;} html {background-color: #FFFFFF; margin: 0px;} body {border: solid 1px white ; margin: 10mm 15mm 10mm 15mm; } </style><title>\'+htmltitle+\'</title><img src=\"../covid_sticker.PNG\"><style> ul { list-style-type: none; margin: 0; padding: 0; } </style><div style=\"font-family:calibri;color:rgb(0, 38, 165);font-size:32px\">Bitte kontrollieren Sie Ihre eingeblendeten Kontaktdaten und bestätigen Sie die angeführten Angaben mit Ihrer Unterschrift.</div><br><br><p style=\"font-family:calibri;color:rgb(0, 38, 165);font-size:24px;line-height:0%\">Ihre Daten - Angaben zur befragten Person</p><p style=\"font-family:calibri;font-size:18px;\">HINWEIS: Wird ausschließlich für das für Contact Tracing verwendet.</p><br><table style=\"margin-right:auto;margin-left:0px\"><tr><td><p style=\"font-family:calibri;font-size:18px\"><b>Name (Vor-, Zuname)</b> </p></td><td><p style=\"font-family:calibri;font-size:18px\"><u>\'+respName+\'</u></p></td></tr><tr><td><p style=\"font-family:calibri;font-size:18px\"><b>Adresse</b></p></td><td><p style=\"font-family:calibri;font-size:18px\"><u>\'+respAdresse+\'</u></p></td></tr><tr><td><p style=\"font-family:calibri;font-size:18px\"><b>Telefonnummer</b></p></td><td><p style=\"font-family:calibri;font-size:18px\"><u>\'+respTelnr+\'</u></p></td></tr></table><p style=\"font-family:calibri;color:rgb(0, 38, 165);font-size:24px;\">Allgemeine Informationen</p><table style=\"font-family:calibri;font-size:18px\"><tr><td style=\"vertical-align:top\">&#9745;</td><td>Ja, ich habe das IFES-Schreiben \"Vielen herzlichen Dank für Ihre Unterstützung\" mit den Kontaktdaten des IFES (Adresse, Telefonnummer und E-Mail-Adresse) erhalten.</td></tr><tr><td style=\"vertical-align:top\">&#9745;</td><td>Ja, ich bestätige hiermit, dass während der Befragung durch IFES alle gesetzlichen Vorgaben im Rahmen der COVID-19-Sicherheitsmaßnahmen eingehalten wurden.</td></tr><tr><td style=\"vertical-align:top\">&#9745;</td><td>Ja, ich habe den Namen und die Interviewer-Nummer der IFES Feld Interviewerin/des IFES Feld Interviewers erhalten.</td></tr></table><table width=\"100%\"><tr><td><img src=\"\'+d+\'\"/></td> <td><br><br><br><br><br><div vertical-align=\"middle\"><p style=\"font-family:calibri;font-size:18px;\"><b>\'+respDatum+\'</b></p></div></td></tr><tr><td><p style=\"font-family:calibri;font-size:18px\"><span style=\"text-decoration:overline\">Unterschrift der befragten Person</span></p></td><td><p style=\"font-family:calibri;font-size:18px\"><span style=\"text-decoration:overline\">Datum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p></td></td></table><br><br><br><div style=\"font-family:calibri;font-size:18px\"><div>IFES Intern:</div><br><div>Projektnummer: \'+projName+\'</div><div>Listennummer: \'+listNr+\'</div><div>Laufnummer: \'+lfdNr+\'</div><div>Interviewer-Nummer: \'+intNr+\'</div><div id=\"statustxt\">Status: vom Respondent unterschrieben</div></div>\';
         w.document.write(htmlcontent);
         //w.print(); 
         w.close();
         htmlcontent = htmlcontent + \'<<<|||>>>\' + htmltitle;
         var data = new FormData();
         data.append(\"html\" , htmlcontent);
         data.append(\"projname\" , projName);
         var xhr = new XMLHttpRequest();
         xhr.open( \'POST\', \'/../webIfesProjects/IchWarDaFormular/writeform.php\', true );
         xhr.send(data);
         
            },
            
          failure: function(data){
              alert(\"FEHLER!\");
         },
      });


alert(\"Daten erfasst!\");       
recodeClickEvents(this,3); 
    
});


';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1321',id_event = '1',script = '
$formdata   = reset(getVar(\'formdata_1\'));
$checkq     = reset(getVar(\'checkq\'));
$status1 = \'vom Respondent unterschrieben\';
$status2 = \'Respondent verweigert Unterschrift\';
$status3 = \'Unterschrift technisch nicht möglich\';

if ($checkq == 1) {
    $formdata = str_replace($status2,$status1, $formdata);
    $formdata = str_replace($status3,$status1, $formdata);
}
if ($checkq == 2) {
    $formdata = str_replace($status1,$status2, $formdata);
    $formdata = str_replace($status3,$status2, $formdata);
}
if ($checkq == 3) {
    $formdata = str_replace($status1,$status3, $formdata);
    $formdata = str_replace($status2,$status3, $formdata);
}

saveVar(\"formdata_1=\'\".$formdata.\"\'\");
saveVar(\'checkdummy=2\');
if (strlen($formdata) > 4000) saveVar(\'checkdummy=1\');';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1322',id_event = '3',script = '
document.getElementById(\'questBack\').style.visibility=\'hidden\';';
<stat>INSERT INTO p27293zu2022v1_script SET id_question = '1328',id_event = '1',script = '$anztv = reset(getVar(\"ANZTV_1\"));
if ($anztv>=6) $anztv=6;
 for ($iter=1;$iter<=$anztv;$iter++) {
    //echo \"<br><br><br><br><br><br><br>\";
    $TVORTA = reset(getVar(\"TVORTAxTV\".$iter));
    ///echo $TVORTA.\"<br>\";
    $ort = getAnswerText(\"TVORTAxTV\".$iter.\"\",$TVORTA);
    //echo $ort.\"<br>\";
    saveVar(\"DUMNUTZT_\".$iter.\"=\'Fernsehgerät \".$iter.\", Standort: \".$ort.\"\'\");
 }';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '7',id_sup = '48',id_question = '7',orderBy = '2',idLab = 'ANZTV',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '8',id_sup = '48',id_question = '8',orderBy = '4',idLab = 'INTNET',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '9',id_sup = '48',id_question = '9',orderBy = '5',idLab = 'INTART',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '10',id_sup = '24',id_question = '10',orderBy = '1',idLab = 'TVlpStartxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '11',id_sup = '24',id_question = '11',orderBy = '2',idLab = 'TVARTCxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '12',id_sup = '24',id_question = '12',orderBy = '4',idLab = 'TVDIAGxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '14',id_sup = '24',id_question = '14',orderBy = '5',idLab = 'TVORTAxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '15',id_sup = '24',id_question = '15',orderBy = '11',idLab = 'TVFUNCxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '16',id_sup = '24',id_question = '16',orderBy = '7',idLab = 'RCINTxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '17',id_sup = '24',id_question = '17',orderBy = '14',idLab = 'TVRECxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '18',id_sup = '24',id_question = '18',orderBy = '10',idLab = 'TVPLUGxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '19',id_sup = '24',id_question = '19',orderBy = '9',idLab = 'SPEICHxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '20',id_sup = '24',id_question = '20',orderBy = '15',idLab = 'TVEMPFxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '21',id_sup = '24',id_question = '21',orderBy = '8',idLab = 'ZSRECxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '23',id_sup = '24',id_question = '23',orderBy = '6',idLab = 'RCEXTxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '24',id_sup = '48',id_question = '0',orderBy = '11',idLab = 'TV1',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '32',id_sup = '24',id_question = '32',orderBy = '20',idLab = 'DIGICRDxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '34',id_sup = '24',id_question = '34',orderBy = '22',idLab = 'HBBCKxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '35',id_sup = '24',id_question = '35',orderBy = '21',idLab = 'INTCKxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '37',id_sup = '48',id_question = '37',orderBy = '22',idLab = 'SKY',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '38',id_sup = '48',id_question = '38',orderBy = '23',idLab = 'SKYHD',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '43',id_sup = '48',id_question = '43',orderBy = '25',idLab = 'SIMP',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '44',id_sup = '48',id_question = '44',orderBy = '8',idLab = 'DEVTVHH',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '45',id_sup = '48',id_question = '45',orderBy = '9',idLab = 'KOSTSTREAM',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '48',id_sup = '0',id_question = '0',orderBy = '3',idLab = 'TTM',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '49',id_sup = '0',id_question = '0',orderBy = '5',idLab = 'STATISTIK',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '50',id_sup = '48',id_question = '50',orderBy = '53',idLab = 'HHBES',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '51',id_sup = '49',id_question = '51',orderBy = '22',idLab = 'NRHHV',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '52',id_sup = '49',id_question = '52',orderBy = '23',idLab = 'NRHHF',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '53',id_sup = '49',id_question = '0',orderBy = '26',idLab = 'PERSON1',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '54',id_sup = '53',id_question = '54',orderBy = '5',idLab = 'TAETxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '55',id_sup = '53',id_question = '55',orderBy = '7',idLab = 'BERUFxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '56',id_sup = '49',id_question = '56',orderBy = '2',idLab = 'ANZGES',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '59',id_sup = '53',id_question = '59',orderBy = '9',idLab = 'STANDxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '60',id_sup = '53',id_question = '60',orderBy = '10',idLab = 'EDUCxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '61',id_sup = '49',id_question = '61',orderBy = '18',idLab = 'ANZU14',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '62',id_sup = '49',id_question = '62',orderBy = '36',idLab = 'ANZVER',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '63',id_sup = '49',id_question = '63',orderBy = '37',idLab = 'ZPNETT',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '64',id_sup = '49',id_question = '64',orderBy = '38',idLab = 'HHNETT',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '66',id_sup = '49',id_question = '66',orderBy = '39',idLab = 'TELCON',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '69',id_sup = '230',id_question = '69',orderBy = '1',idLab = 'BREAK',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '70',id_sup = '48',id_question = '70',orderBy = '6',idLab = 'DEVHH',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '72',id_sup = '24',id_question = '72',orderBy = '18',idLab = 'KABANBxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '77',id_sup = '24',id_question = '77',orderBy = '24',idLab = 'PROXYxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '92',id_sup = '48',id_question = '0',orderBy = '12',idLab = 'TV2',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '100',id_sup = '49',id_question = '0',orderBy = '9',idLab = 'AGExSEXxP1',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '101',id_sup = '100',id_question = '101',orderBy = '1',idLab = 'AGExP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '102',id_sup = '100',id_question = '102',orderBy = '2',idLab = 'SEXxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '103',id_sup = '48',id_question = '103',orderBy = '24',idLab = 'AUT',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '104',id_sup = '49',id_question = '104',orderBy = '1',idLab = 'ANZGRP',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '105',id_sup = '49',id_question = '105',orderBy = '3',idLab = 'ANZSTAT',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '106',id_sup = '49',id_question = '106',orderBy = '20',idLab = 'NRRESP',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '107',id_sup = '49',id_question = '0',orderBy = '10',idLab = 'AGExSEXxP2',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '108',id_sup = '49',id_question = '0',orderBy = '11',idLab = 'AGExSEXxP3',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '109',id_sup = '49',id_question = '0',orderBy = '12',idLab = 'AGExSEXxP4',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '110',id_sup = '49',id_question = '0',orderBy = '13',idLab = 'AGExSEXxP5',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '111',id_sup = '49',id_question = '0',orderBy = '14',idLab = 'AGExSEXxP6',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '112',id_sup = '49',id_question = '0',orderBy = '15',idLab = 'AGExSEXxP7',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '113',id_sup = '49',id_question = '0',orderBy = '16',idLab = 'AGExSEXxP8',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '114',id_sup = '49',id_question = '0',orderBy = '17',idLab = 'AGExSEXxP9',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '115',id_sup = '107',id_question = '115',orderBy = '1',idLab = 'AGExP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '116',id_sup = '107',id_question = '116',orderBy = '2',idLab = 'SEXxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '117',id_sup = '108',id_question = '117',orderBy = '1',idLab = 'AGExP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '118',id_sup = '108',id_question = '118',orderBy = '2',idLab = 'SEXxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '119',id_sup = '109',id_question = '119',orderBy = '1',idLab = 'AGExP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '120',id_sup = '109',id_question = '120',orderBy = '2',idLab = 'SEXxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '121',id_sup = '110',id_question = '121',orderBy = '1',idLab = 'AGExP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '122',id_sup = '110',id_question = '122',orderBy = '2',idLab = 'SEXxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '123',id_sup = '111',id_question = '123',orderBy = '1',idLab = 'AGExP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '124',id_sup = '111',id_question = '124',orderBy = '2',idLab = 'SEXxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '125',id_sup = '112',id_question = '125',orderBy = '1',idLab = 'AGExP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '126',id_sup = '112',id_question = '126',orderBy = '2',idLab = 'SEXxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '127',id_sup = '113',id_question = '127',orderBy = '1',idLab = 'AGExP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '128',id_sup = '113',id_question = '128',orderBy = '2',idLab = 'SEXxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '129',id_sup = '114',id_question = '129',orderBy = '1',idLab = 'AGExP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '130',id_sup = '114',id_question = '130',orderBy = '2',idLab = 'SEXxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '131',id_sup = '49',id_question = '131',orderBy = '4',idLab = 'MINAGE',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '132',id_sup = '49',id_question = '132',orderBy = '19',idLab = 'LISTEPERS',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '133',id_sup = '137',id_question = '133',orderBy = '4',idLab = 'vernr',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '134',id_sup = '137',id_question = '134',orderBy = '5',idLab = 'intnr',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '135',id_sup = '137',id_question = '135',orderBy = '6',idLab = 'verng2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '136',id_sup = '137',id_question = '136',orderBy = '8',idLab = 'verng1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '137',id_sup = '0',id_question = '0',orderBy = '9',idLab = 'VER',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '138',id_sup = '230',id_question = '138',orderBy = '2',idLab = 'ENDIV',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '139',id_sup = '49',id_question = '139',orderBy = '5',idLab = 'CHKANZP',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '140',id_sup = '49',id_question = '0',orderBy = '27',idLab = 'PERSON2',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '145',id_sup = '48',id_question = '145',orderBy = '3',idLab = 'timevdbstart',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '146',id_sup = '49',id_question = '146',orderBy = '35',idLab = 'timevdbend',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '192',id_sup = '49',id_question = '192',orderBy = '24',idLab = 'LPERS2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '193',id_sup = '53',id_question = '193',orderBy = '1',idLab = 'ALTERxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '194',id_sup = '53',id_question = '194',orderBy = '2',idLab = 'GESCHLxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '195',id_sup = '53',id_question = '195',orderBy = '4',idLab = 'BEZxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '196',id_sup = '140',id_question = '196',orderBy = '1',idLab = 'ALTERxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '197',id_sup = '140',id_question = '197',orderBy = '2',idLab = 'GESCHLxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '198',id_sup = '140',id_question = '198',orderBy = '4',idLab = 'BEZxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '199',id_sup = '140',id_question = '199',orderBy = '5',idLab = 'TAETxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '200',id_sup = '140',id_question = '200',orderBy = '7',idLab = 'BERUFxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '201',id_sup = '140',id_question = '201',orderBy = '9',idLab = 'STANDxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '202',id_sup = '140',id_question = '202',orderBy = '10',idLab = 'EDUCxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '203',id_sup = '53',id_question = '203',orderBy = '6',idLab = 'TAETFxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '208',id_sup = '53',id_question = '208',orderBy = '8',idLab = 'BEAMTExP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '230',id_sup = '0',id_question = '0',orderBy = '10',idLab = 'END',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '231',id_sup = '0',id_question = '0',orderBy = '2',idLab = 'Start',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '232',id_sup = '140',id_question = '232',orderBy = '6',idLab = 'TAETFxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '241',id_sup = '49',id_question = '0',orderBy = '28',idLab = 'PERSON3',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '242',id_sup = '49',id_question = '0',orderBy = '29',idLab = 'PERSON4',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '243',id_sup = '49',id_question = '0',orderBy = '30',idLab = 'PERSON5',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '244',id_sup = '49',id_question = '0',orderBy = '31',idLab = 'PERSON6',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '245',id_sup = '49',id_question = '0',orderBy = '32',idLab = 'PERSON7',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '246',id_sup = '49',id_question = '0',orderBy = '33',idLab = 'PERSON8',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '247',id_sup = '49',id_question = '0',orderBy = '34',idLab = 'PERSON9',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '248',id_sup = '241',id_question = '248',orderBy = '1',idLab = 'ALTERxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '249',id_sup = '241',id_question = '249',orderBy = '2',idLab = 'GESCHLxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '250',id_sup = '241',id_question = '250',orderBy = '4',idLab = 'BEZxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '251',id_sup = '241',id_question = '251',orderBy = '5',idLab = 'TAETxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '253',id_sup = '241',id_question = '253',orderBy = '6',idLab = 'BERUFxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '259',id_sup = '241',id_question = '259',orderBy = '7',idLab = 'STANDxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '260',id_sup = '241',id_question = '260',orderBy = '8',idLab = 'EDUCxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '263',id_sup = '242',id_question = '263',orderBy = '1',idLab = 'ALTERxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '264',id_sup = '242',id_question = '264',orderBy = '2',idLab = 'GESCHLxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '265',id_sup = '242',id_question = '265',orderBy = '4',idLab = 'BEZxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '266',id_sup = '242',id_question = '266',orderBy = '5',idLab = 'TAETxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '267',id_sup = '242',id_question = '267',orderBy = '6',idLab = 'BERUFxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '268',id_sup = '242',id_question = '268',orderBy = '7',idLab = 'STANDxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '269',id_sup = '242',id_question = '269',orderBy = '8',idLab = 'EDUCxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '270',id_sup = '243',id_question = '270',orderBy = '1',idLab = 'ALTERxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '271',id_sup = '243',id_question = '271',orderBy = '2',idLab = 'GESCHLxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '272',id_sup = '243',id_question = '272',orderBy = '4',idLab = 'BEZxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '273',id_sup = '243',id_question = '273',orderBy = '5',idLab = 'TAETxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '274',id_sup = '243',id_question = '274',orderBy = '6',idLab = 'BERUFxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '275',id_sup = '243',id_question = '275',orderBy = '7',idLab = 'STANDxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '276',id_sup = '243',id_question = '276',orderBy = '8',idLab = 'EDUCxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '277',id_sup = '244',id_question = '277',orderBy = '1',idLab = 'ALTERxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '278',id_sup = '244',id_question = '278',orderBy = '2',idLab = 'GESCHLxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '279',id_sup = '244',id_question = '279',orderBy = '4',idLab = 'BEZxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '280',id_sup = '244',id_question = '280',orderBy = '5',idLab = 'TAETxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '281',id_sup = '244',id_question = '281',orderBy = '6',idLab = 'BERUFxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '282',id_sup = '244',id_question = '282',orderBy = '7',idLab = 'STANDxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '283',id_sup = '244',id_question = '283',orderBy = '8',idLab = 'EDUCxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '284',id_sup = '245',id_question = '284',orderBy = '1',idLab = 'ALTERxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '285',id_sup = '245',id_question = '285',orderBy = '2',idLab = 'GESCHLxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '286',id_sup = '245',id_question = '286',orderBy = '4',idLab = 'BEZxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '287',id_sup = '245',id_question = '287',orderBy = '5',idLab = 'TAETxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '288',id_sup = '245',id_question = '288',orderBy = '6',idLab = 'BERUFxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '289',id_sup = '245',id_question = '289',orderBy = '7',idLab = 'STANDxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '290',id_sup = '245',id_question = '290',orderBy = '8',idLab = 'EDUCxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '291',id_sup = '246',id_question = '291',orderBy = '1',idLab = 'ALTERxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '292',id_sup = '246',id_question = '292',orderBy = '2',idLab = 'GESCHLxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '293',id_sup = '246',id_question = '293',orderBy = '4',idLab = 'BEZxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '294',id_sup = '246',id_question = '294',orderBy = '5',idLab = 'TAETxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '295',id_sup = '246',id_question = '295',orderBy = '6',idLab = 'BERUFxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '296',id_sup = '246',id_question = '296',orderBy = '7',idLab = 'STANDxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '297',id_sup = '246',id_question = '297',orderBy = '8',idLab = 'EDUCxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '298',id_sup = '247',id_question = '298',orderBy = '1',idLab = 'ALTERxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '299',id_sup = '247',id_question = '299',orderBy = '2',idLab = 'GESCHLxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '300',id_sup = '247',id_question = '300',orderBy = '4',idLab = 'BEZxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '301',id_sup = '247',id_question = '301',orderBy = '5',idLab = 'TAETxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '302',id_sup = '247',id_question = '302',orderBy = '6',idLab = 'BERUFxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '303',id_sup = '247',id_question = '303',orderBy = '7',idLab = 'STANDxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '304',id_sup = '247',id_question = '304',orderBy = '8',idLab = 'EDUCxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '305',id_sup = '49',id_question = '305',orderBy = '6',idLab = 'BEZxAxS',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '306',id_sup = '48',id_question = '306',orderBy = '27',idLab = 'DUMSENPL',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '308',id_sup = '48',id_question = '308',orderBy = '17',idLab = 'HHEMPF',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '313',id_sup = '49',id_question = '313',orderBy = '7',idLab = 'MINxAGE',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '314',id_sup = '49',id_question = '314',orderBy = '8',idLab = 'MAXxAGE',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '315',id_sup = '964',id_question = '315',orderBy = '2',idLab = 'Projektdaten',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '316',id_sup = '48',id_question = '316',orderBy = '10',idLab = 'einlende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '317',id_sup = '24',id_question = '317',orderBy = '25',idLab = 'tv1ende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '319',id_sup = '48',id_question = '319',orderBy = '54',idLab = 'mainende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '320',id_sup = '49',id_question = '320',orderBy = '40',idLab = 'statende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '321',id_sup = '137',id_question = '321',orderBy = '7',idLab = 'verende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '322',id_sup = '230',id_question = '322',orderBy = '3',idLab = 'fbende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '323',id_sup = '48',id_question = '323',orderBy = '1',idLab = 'tmstart',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '324',id_sup = '231',id_question = '0',orderBy = '5',idLab = 'age & sex',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '325',id_sup = '324',id_question = '325',orderBy = '1',idLab = 'AGE',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '326',id_sup = '324',id_question = '326',orderBy = '2',idLab = 'SEX',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '328',id_sup = '231',id_question = '328',orderBy = '2',idLab = 'TEST',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '607',id_sup = '570',id_question = '607',orderBy = '1',idLab = 'agexpf',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '619',id_sup = '630',id_question = '619',orderBy = '1',idLab = 'ang8x1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '631',id_sup = '630',id_question = '631',orderBy = '2',idLab = 'ang8x2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '632',id_sup = '630',id_question = '632',orderBy = '3',idLab = 'ang8x3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '633',id_sup = '630',id_question = '633',orderBy = '4',idLab = 'ang8x4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '634',id_sup = '630',id_question = '634',orderBy = '5',idLab = 'ang8x5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '635',id_sup = '630',id_question = '635',orderBy = '6',idLab = 'ang8x6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '636',id_sup = '630',id_question = '636',orderBy = '7',idLab = 'ang8x7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '637',id_sup = '630',id_question = '637',orderBy = '8',idLab = 'ang8x8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '656',id_sup = '48',id_question = '656',orderBy = '26',idLab = 'SIMPLYCHK',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '659',id_sup = '48',id_question = '0',orderBy = '32',idLab = 'SENDx01',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '660',id_sup = '48',id_question = '0',orderBy = '33',idLab = 'SENDx02',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '661',id_sup = '48',id_question = '0',orderBy = '34',idLab = 'SENDx03',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '662',id_sup = '48',id_question = '0',orderBy = '35',idLab = 'SENDx04',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '663',id_sup = '48',id_question = '0',orderBy = '36',idLab = 'SENDx05',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '664',id_sup = '48',id_question = '0',orderBy = '37',idLab = 'SENDx06',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '665',id_sup = '48',id_question = '0',orderBy = '38',idLab = 'SENDx07',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '666',id_sup = '48',id_question = '0',orderBy = '39',idLab = 'SENDx08',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '667',id_sup = '48',id_question = '0',orderBy = '40',idLab = 'SENDx09',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '668',id_sup = '48',id_question = '0',orderBy = '41',idLab = 'SENDx10',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '669',id_sup = '48',id_question = '0',orderBy = '42',idLab = 'SENDx11',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '670',id_sup = '48',id_question = '0',orderBy = '43',idLab = 'SENDx12',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '671',id_sup = '48',id_question = '0',orderBy = '44',idLab = 'SENDx13',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '672',id_sup = '48',id_question = '0',orderBy = '45',idLab = 'SENDx14',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '673',id_sup = '48',id_question = '0',orderBy = '46',idLab = 'SENDx15',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '674',id_sup = '48',id_question = '0',orderBy = '47',idLab = 'SENDx16',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '675',id_sup = '48',id_question = '0',orderBy = '48',idLab = 'SENDx17',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '676',id_sup = '48',id_question = '0',orderBy = '49',idLab = 'SENDx18',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '677',id_sup = '48',id_question = '0',orderBy = '50',idLab = 'SENDx19',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '678',id_sup = '48',id_question = '0',orderBy = '51',idLab = 'SENDx20',node_img = '',is_leaf = '0',showTogether = '1';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '679',id_sup = '659',id_question = '679',orderBy = '1',idLab = 'SENDPLx1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '680',id_sup = '659',id_question = '680',orderBy = '2',idLab = 'HDx1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '681',id_sup = '659',id_question = '681',orderBy = '3',idLab = 'ATDEx1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '682',id_sup = '660',id_question = '682',orderBy = '1',idLab = 'SENDPLx2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '683',id_sup = '660',id_question = '683',orderBy = '2',idLab = 'HDx2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '684',id_sup = '660',id_question = '684',orderBy = '3',idLab = 'ATDEx2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '685',id_sup = '678',id_question = '685',orderBy = '1',idLab = 'SENDPLx20',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '686',id_sup = '678',id_question = '686',orderBy = '2',idLab = 'HDx20',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '687',id_sup = '678',id_question = '687',orderBy = '3',idLab = 'ATDEx20',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '688',id_sup = '661',id_question = '688',orderBy = '1',idLab = 'SENDPLx3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '689',id_sup = '661',id_question = '689',orderBy = '2',idLab = 'HDx3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '690',id_sup = '661',id_question = '690',orderBy = '3',idLab = 'ATDEx3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '691',id_sup = '662',id_question = '691',orderBy = '1',idLab = 'SENDPLx4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '692',id_sup = '662',id_question = '692',orderBy = '2',idLab = 'HDx4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '693',id_sup = '662',id_question = '693',orderBy = '3',idLab = 'ATDEx4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '694',id_sup = '663',id_question = '694',orderBy = '1',idLab = 'SENDPLx5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '695',id_sup = '663',id_question = '695',orderBy = '2',idLab = 'HDx5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '696',id_sup = '663',id_question = '696',orderBy = '3',idLab = 'ATDEx5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '698',id_sup = '664',id_question = '698',orderBy = '2',idLab = 'HDx6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '699',id_sup = '664',id_question = '699',orderBy = '3',idLab = 'ATDEx6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '700',id_sup = '665',id_question = '700',orderBy = '1',idLab = 'SENDPLx7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '701',id_sup = '665',id_question = '701',orderBy = '2',idLab = 'HDx7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '702',id_sup = '665',id_question = '702',orderBy = '3',idLab = 'ATDEx7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '703',id_sup = '666',id_question = '703',orderBy = '1',idLab = 'SENDPLx8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '704',id_sup = '666',id_question = '704',orderBy = '2',idLab = 'HDx8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '705',id_sup = '666',id_question = '705',orderBy = '3',idLab = 'ATDEx8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '706',id_sup = '667',id_question = '706',orderBy = '1',idLab = 'SENDPLx9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '707',id_sup = '667',id_question = '707',orderBy = '2',idLab = 'HDx9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '708',id_sup = '667',id_question = '708',orderBy = '3',idLab = 'ATDEx9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '709',id_sup = '668',id_question = '709',orderBy = '1',idLab = 'SENDPLx10',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '710',id_sup = '668',id_question = '710',orderBy = '2',idLab = 'HDx10',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '711',id_sup = '668',id_question = '711',orderBy = '3',idLab = 'ATDEx10',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '712',id_sup = '669',id_question = '712',orderBy = '1',idLab = 'SENDPLx11',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '713',id_sup = '669',id_question = '713',orderBy = '2',idLab = 'HDx11',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '714',id_sup = '669',id_question = '714',orderBy = '3',idLab = 'ATDEx11',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '715',id_sup = '670',id_question = '715',orderBy = '1',idLab = 'SENDPLx12',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '716',id_sup = '670',id_question = '716',orderBy = '2',idLab = 'HDx12',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '717',id_sup = '670',id_question = '717',orderBy = '3',idLab = 'ATDEx12',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '718',id_sup = '671',id_question = '718',orderBy = '1',idLab = 'SENDPLx13',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '719',id_sup = '671',id_question = '719',orderBy = '2',idLab = 'HDx13',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '720',id_sup = '671',id_question = '720',orderBy = '3',idLab = 'ATDEx13',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '721',id_sup = '672',id_question = '721',orderBy = '1',idLab = 'SENDPLx14',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '722',id_sup = '672',id_question = '722',orderBy = '2',idLab = 'HDx14',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '723',id_sup = '672',id_question = '723',orderBy = '3',idLab = 'ATDEx14',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '724',id_sup = '673',id_question = '724',orderBy = '1',idLab = 'SENDPLx15',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '725',id_sup = '673',id_question = '725',orderBy = '2',idLab = 'HDx15',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '726',id_sup = '673',id_question = '726',orderBy = '3',idLab = 'ATDEx15',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '727',id_sup = '674',id_question = '727',orderBy = '1',idLab = 'SENDPLx16',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '728',id_sup = '674',id_question = '728',orderBy = '2',idLab = 'HDx16',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '729',id_sup = '674',id_question = '729',orderBy = '3',idLab = 'ATDEx16',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '730',id_sup = '675',id_question = '730',orderBy = '1',idLab = 'SENDPLx17',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '731',id_sup = '675',id_question = '731',orderBy = '2',idLab = 'HDx17',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '732',id_sup = '675',id_question = '732',orderBy = '3',idLab = 'ATDEx17',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '733',id_sup = '676',id_question = '733',orderBy = '1',idLab = 'SENDPLx18',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '734',id_sup = '676',id_question = '734',orderBy = '2',idLab = 'HDx18',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '735',id_sup = '676',id_question = '735',orderBy = '3',idLab = 'ATDEx18',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '736',id_sup = '677',id_question = '736',orderBy = '1',idLab = 'SENDPLx19',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '737',id_sup = '677',id_question = '737',orderBy = '2',idLab = 'HDx19',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '738',id_sup = '677',id_question = '738',orderBy = '3',idLab = 'ATDEx19',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '767',id_sup = '0',id_question = '0',orderBy = '4',idLab = 'SCREEN',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '768',id_sup = '767',id_question = '768',orderBy = '1',idLab = 'screen1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '769',id_sup = '767',id_question = '769',orderBy = '2',idLab = 'screen2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '948',id_sup = '137',id_question = '948',orderBy = '1',idLab = 'kondata',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '949',id_sup = '231',id_question = '949',orderBy = '1',idLab = 'KvNr',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '950',id_sup = '231',id_question = '950',orderBy = '3',idLab = 'Liste',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '951',id_sup = '137',id_question = '951',orderBy = '2',idLab = 'streetname',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '952',id_sup = '48',id_question = '952',orderBy = '29',idLab = 'FAVLST',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '953',id_sup = '964',id_question = '953',orderBy = '3',idLab = 'projdata',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '954',id_sup = '24',id_question = '954',orderBy = '12',idLab = 'TVHDxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '955',id_sup = '24',id_question = '955',orderBy = '13',idLab = 'HDCKxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '956',id_sup = '24',id_question = '956',orderBy = '17',idLab = 'TVCKxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '957',id_sup = '24',id_question = '957',orderBy = '19',idLab = 'TVLISTxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '959',id_sup = '53',id_question = '959',orderBy = '11',idLab = 'STAATSBxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '960',id_sup = '53',id_question = '960',orderBy = '12',idLab = 'GEBLANDxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '961',id_sup = '53',id_question = '961',orderBy = '14',idLab = 'GLVATxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '962',id_sup = '53',id_question = '962',orderBy = '13',idLab = 'GLMUTTxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '963',id_sup = '664',id_question = '963',orderBy = '1',idLab = 'SENDPLx6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '964',id_sup = '0',id_question = '0',orderBy = '1',idLab = 'DUMMY',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '965',id_sup = '964',id_question = '965',orderBy = '1',idLab = 'questtext',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '966',id_sup = '48',id_question = '966',orderBy = '52',idLab = 'UPCCK',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '967',id_sup = '48',id_question = '0',orderBy = '13',idLab = 'TV3',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '968',id_sup = '48',id_question = '0',orderBy = '14',idLab = 'TV4',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '969',id_sup = '48',id_question = '0',orderBy = '15',idLab = 'TV5',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '991',id_sup = '92',id_question = '991',orderBy = '25',idLab = 'tv2ende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '999',id_sup = '48',id_question = '0',orderBy = '16',idLab = 'TV6',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1000',id_sup = '48',id_question = '1000',orderBy = '31',idLab = 'SENDPLxINS',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1001',id_sup = '48',id_question = '1001',orderBy = '19',idLab = 'HHEMPFxNr',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1002',id_sup = '48',id_question = '1002',orderBy = '21',idLab = 'PAYTV',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1004',id_sup = '967',id_question = '1004',orderBy = '25',idLab = 'tv3endex',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1005',id_sup = '968',id_question = '1005',orderBy = '25',idLab = 'tv4endex',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1006',id_sup = '969',id_question = '1006',orderBy = '25',idLab = 'tv5endex',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1007',id_sup = '999',id_question = '1007',orderBy = '25',idLab = 'tv6endex',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1008',id_sup = '92',id_question = '1008',orderBy = '1',idLab = 'TVlpStartxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1009',id_sup = '967',id_question = '1009',orderBy = '1',idLab = 'TVlpStartxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1010',id_sup = '968',id_question = '1010',orderBy = '1',idLab = 'TVlpStartxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1011',id_sup = '969',id_question = '1011',orderBy = '1',idLab = 'TVlpStartxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1012',id_sup = '999',id_question = '1012',orderBy = '1',idLab = 'TVlpStartxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1013',id_sup = '92',id_question = '1013',orderBy = '2',idLab = 'TVARTCxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1014',id_sup = '967',id_question = '1014',orderBy = '2',idLab = 'TVARTCxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1015',id_sup = '968',id_question = '1015',orderBy = '2',idLab = 'TVARTCxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1016',id_sup = '969',id_question = '1016',orderBy = '2',idLab = 'TVARTCxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1017',id_sup = '999',id_question = '1017',orderBy = '2',idLab = 'TVARTCxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1018',id_sup = '92',id_question = '1018',orderBy = '4',idLab = 'TVDIAGxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1019',id_sup = '967',id_question = '1019',orderBy = '4',idLab = 'TVDIAGxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1020',id_sup = '968',id_question = '1020',orderBy = '4',idLab = 'TVDIAGxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1021',id_sup = '969',id_question = '1021',orderBy = '4',idLab = 'TVDIAGxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1022',id_sup = '999',id_question = '1022',orderBy = '4',idLab = 'TVDIAGxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1023',id_sup = '92',id_question = '1023',orderBy = '5',idLab = 'TVORTAxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1024',id_sup = '967',id_question = '1024',orderBy = '5',idLab = 'TVORTAxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1025',id_sup = '968',id_question = '1025',orderBy = '5',idLab = 'TVORTAxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1026',id_sup = '969',id_question = '1026',orderBy = '5',idLab = 'TVORTAxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1027',id_sup = '999',id_question = '1027',orderBy = '5',idLab = 'TVORTAxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1028',id_sup = '92',id_question = '1028',orderBy = '6',idLab = 'RCEXTxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1029',id_sup = '967',id_question = '1029',orderBy = '6',idLab = 'RCEXTxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1030',id_sup = '968',id_question = '1030',orderBy = '6',idLab = 'RCEXTxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1031',id_sup = '969',id_question = '1031',orderBy = '6',idLab = 'RCEXTxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1032',id_sup = '999',id_question = '1032',orderBy = '6',idLab = 'RCEXTxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1033',id_sup = '92',id_question = '1033',orderBy = '7',idLab = 'RCINTxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1034',id_sup = '967',id_question = '1034',orderBy = '7',idLab = 'RCINTxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1035',id_sup = '968',id_question = '1035',orderBy = '7',idLab = 'RCINTxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1036',id_sup = '969',id_question = '1036',orderBy = '7',idLab = 'RCINTxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1037',id_sup = '999',id_question = '1037',orderBy = '7',idLab = 'RCINTxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1038',id_sup = '92',id_question = '1038',orderBy = '8',idLab = 'ZSRECxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1039',id_sup = '967',id_question = '1039',orderBy = '8',idLab = 'ZSRECxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1040',id_sup = '968',id_question = '1040',orderBy = '8',idLab = 'ZSRECxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1041',id_sup = '969',id_question = '1041',orderBy = '8',idLab = 'ZSRECxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1042',id_sup = '999',id_question = '1042',orderBy = '8',idLab = 'ZSRECxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1043',id_sup = '92',id_question = '1043',orderBy = '9',idLab = 'SPEICHxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1044',id_sup = '967',id_question = '1044',orderBy = '9',idLab = 'SPEICHxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1045',id_sup = '968',id_question = '1045',orderBy = '9',idLab = 'SPEICHxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1046',id_sup = '969',id_question = '1046',orderBy = '9',idLab = 'SPEICHxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1047',id_sup = '999',id_question = '1047',orderBy = '9',idLab = 'SPEICHxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1048',id_sup = '92',id_question = '1048',orderBy = '10',idLab = 'TVPLUGxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1049',id_sup = '967',id_question = '1049',orderBy = '10',idLab = 'TVPLUGxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1050',id_sup = '968',id_question = '1050',orderBy = '10',idLab = 'TVPLUGxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1051',id_sup = '969',id_question = '1051',orderBy = '10',idLab = 'TVPLUGxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1052',id_sup = '999',id_question = '1052',orderBy = '10',idLab = 'TVPLUGxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1053',id_sup = '92',id_question = '1053',orderBy = '11',idLab = 'TVFUNCxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1054',id_sup = '967',id_question = '1054',orderBy = '11',idLab = 'TVFUNCxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1055',id_sup = '968',id_question = '1055',orderBy = '11',idLab = 'TVFUNCxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1056',id_sup = '969',id_question = '1056',orderBy = '11',idLab = 'TVFUNCxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1057',id_sup = '999',id_question = '1057',orderBy = '11',idLab = 'TVFUNCxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1058',id_sup = '92',id_question = '1058',orderBy = '12',idLab = 'TVHDxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1059',id_sup = '967',id_question = '1059',orderBy = '12',idLab = 'TVHDxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1060',id_sup = '968',id_question = '1060',orderBy = '12',idLab = 'TVHDxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1061',id_sup = '969',id_question = '1061',orderBy = '12',idLab = 'TVHDxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1062',id_sup = '999',id_question = '1062',orderBy = '12',idLab = 'TVHDxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1063',id_sup = '92',id_question = '1063',orderBy = '13',idLab = 'HDCKxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1064',id_sup = '967',id_question = '1064',orderBy = '13',idLab = 'HDCKxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1065',id_sup = '968',id_question = '1065',orderBy = '13',idLab = 'HDCKxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1066',id_sup = '969',id_question = '1066',orderBy = '13',idLab = 'HDCKxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1067',id_sup = '999',id_question = '1067',orderBy = '13',idLab = 'HDCKxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1068',id_sup = '92',id_question = '1068',orderBy = '14',idLab = 'TVRECxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1069',id_sup = '967',id_question = '1069',orderBy = '14',idLab = 'TVRECxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1070',id_sup = '968',id_question = '1070',orderBy = '14',idLab = 'TVRECxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1071',id_sup = '969',id_question = '1071',orderBy = '14',idLab = 'TVRECxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1072',id_sup = '999',id_question = '1072',orderBy = '14',idLab = 'TVRECxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1073',id_sup = '92',id_question = '1073',orderBy = '15',idLab = 'TVEMPFxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1074',id_sup = '967',id_question = '1074',orderBy = '15',idLab = 'TVEMPFxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1075',id_sup = '968',id_question = '1075',orderBy = '15',idLab = 'TVEMPFxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1076',id_sup = '969',id_question = '1076',orderBy = '15',idLab = 'TVEMPFxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1077',id_sup = '999',id_question = '1077',orderBy = '15',idLab = 'TVEMPFxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1078',id_sup = '92',id_question = '1078',orderBy = '17',idLab = 'TVCKxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1079',id_sup = '967',id_question = '1079',orderBy = '17',idLab = 'TVCKxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1080',id_sup = '968',id_question = '1080',orderBy = '17',idLab = 'TVCKxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1081',id_sup = '969',id_question = '1081',orderBy = '17',idLab = 'TVCKxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1082',id_sup = '999',id_question = '1082',orderBy = '17',idLab = 'TVCKxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1083',id_sup = '92',id_question = '1083',orderBy = '18',idLab = 'KABANBxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1084',id_sup = '967',id_question = '1084',orderBy = '18',idLab = 'KABANBxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1085',id_sup = '968',id_question = '1085',orderBy = '18',idLab = 'KABANBxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1086',id_sup = '969',id_question = '1086',orderBy = '18',idLab = 'KABANBxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1087',id_sup = '999',id_question = '1087',orderBy = '18',idLab = 'KABANBxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1088',id_sup = '92',id_question = '1088',orderBy = '19',idLab = 'TVLISTxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1089',id_sup = '967',id_question = '1089',orderBy = '19',idLab = 'TVLISTxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1090',id_sup = '968',id_question = '1090',orderBy = '19',idLab = 'TVLISTxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1091',id_sup = '969',id_question = '1091',orderBy = '19',idLab = 'TVLISTxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1092',id_sup = '999',id_question = '1092',orderBy = '19',idLab = 'TVLISTxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1093',id_sup = '92',id_question = '1093',orderBy = '20',idLab = 'DIGICRDxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1094',id_sup = '967',id_question = '1094',orderBy = '20',idLab = 'DIGICRDxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1095',id_sup = '968',id_question = '1095',orderBy = '20',idLab = 'DIGICRDxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1096',id_sup = '969',id_question = '1096',orderBy = '20',idLab = 'DIGICRDxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1097',id_sup = '999',id_question = '1097',orderBy = '20',idLab = 'DIGICRDxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1098',id_sup = '92',id_question = '1098',orderBy = '21',idLab = 'INTCKxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1099',id_sup = '967',id_question = '1099',orderBy = '21',idLab = 'INTCKxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1100',id_sup = '968',id_question = '1100',orderBy = '21',idLab = 'INTCKxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1101',id_sup = '969',id_question = '1101',orderBy = '21',idLab = 'INTCKxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1102',id_sup = '999',id_question = '1102',orderBy = '21',idLab = 'INTCKxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1103',id_sup = '92',id_question = '1103',orderBy = '22',idLab = 'HBBCKxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1104',id_sup = '967',id_question = '1104',orderBy = '22',idLab = 'HBBCKxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1105',id_sup = '968',id_question = '1105',orderBy = '22',idLab = 'HBBCKxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1106',id_sup = '969',id_question = '1106',orderBy = '22',idLab = 'HBBCKxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1107',id_sup = '999',id_question = '1107',orderBy = '22',idLab = 'HBBCKxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1108',id_sup = '92',id_question = '1108',orderBy = '24',idLab = 'PROXYxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1109',id_sup = '967',id_question = '1109',orderBy = '24',idLab = 'PROXYxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1110',id_sup = '968',id_question = '1110',orderBy = '24',idLab = 'PROXYxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1111',id_sup = '969',id_question = '1111',orderBy = '24',idLab = 'PROXYxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1112',id_sup = '999',id_question = '1112',orderBy = '24',idLab = 'PROXYxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1113',id_sup = '140',id_question = '1113',orderBy = '8',idLab = 'BEAMTExP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1114',id_sup = '140',id_question = '1114',orderBy = '11',idLab = 'STAATSBxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1115',id_sup = '241',id_question = '1115',orderBy = '9',idLab = 'STAATSBxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1116',id_sup = '242',id_question = '1116',orderBy = '9',idLab = 'STAATSBxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1117',id_sup = '243',id_question = '1117',orderBy = '9',idLab = 'STAATSBxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1118',id_sup = '244',id_question = '1118',orderBy = '9',idLab = 'STAATSBxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1119',id_sup = '245',id_question = '1119',orderBy = '9',idLab = 'STAATSBxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1120',id_sup = '246',id_question = '1120',orderBy = '9',idLab = 'STAATSBxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1121',id_sup = '247',id_question = '1121',orderBy = '9',idLab = 'STAATSBxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1123',id_sup = '140',id_question = '1123',orderBy = '12',idLab = 'GEBLANDxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1124',id_sup = '140',id_question = '1124',orderBy = '13',idLab = 'GLMUTTxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1125',id_sup = '140',id_question = '1125',orderBy = '14',idLab = 'GLVATxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1126',id_sup = '241',id_question = '1126',orderBy = '10',idLab = 'GEBLANDxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1127',id_sup = '241',id_question = '1127',orderBy = '11',idLab = 'GLMUTTxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1128',id_sup = '241',id_question = '1128',orderBy = '12',idLab = 'GLVATxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1129',id_sup = '242',id_question = '1129',orderBy = '10',idLab = 'GEBLANDxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1130',id_sup = '242',id_question = '1130',orderBy = '11',idLab = 'GLMUTTxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1131',id_sup = '242',id_question = '1131',orderBy = '12',idLab = 'GLVATxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1132',id_sup = '243',id_question = '1132',orderBy = '10',idLab = 'GEBLANDxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1133',id_sup = '243',id_question = '1133',orderBy = '11',idLab = 'GLMUTTxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1134',id_sup = '243',id_question = '1134',orderBy = '12',idLab = 'GLVATxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1135',id_sup = '244',id_question = '1135',orderBy = '10',idLab = 'GEBLANDxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1136',id_sup = '244',id_question = '1136',orderBy = '11',idLab = 'GLMUTTxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1137',id_sup = '244',id_question = '1137',orderBy = '12',idLab = 'GLVATxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1138',id_sup = '245',id_question = '1138',orderBy = '10',idLab = 'GEBLANDxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1139',id_sup = '245',id_question = '1139',orderBy = '11',idLab = 'GLMUTTxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1140',id_sup = '245',id_question = '1140',orderBy = '12',idLab = 'GLVATxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1141',id_sup = '246',id_question = '1141',orderBy = '10',idLab = 'GEBLANDxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1142',id_sup = '246',id_question = '1142',orderBy = '11',idLab = 'GLMUTTxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1143',id_sup = '246',id_question = '1143',orderBy = '12',idLab = 'GLVATxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1144',id_sup = '247',id_question = '1144',orderBy = '10',idLab = 'GEBLANDxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1145',id_sup = '247',id_question = '1145',orderBy = '11',idLab = 'GLMUTTxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1146',id_sup = '247',id_question = '1146',orderBy = '12',idLab = 'GLVATxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1147',id_sup = '0',id_question = '0',orderBy = '6',idLab = 'STATPOL',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1149',id_sup = '1147',id_question = '1149',orderBy = '1',idLab = 'poln9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1152',id_sup = '1147',id_question = '1152',orderBy = '4',idLab = 'poln12',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1153',id_sup = '1147',id_question = '1153',orderBy = '5',idLab = 'poln13',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1161',id_sup = '1147',id_question = '1161',orderBy = '6',idLab = 'poln19',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1162',id_sup = '1147',id_question = '1162',orderBy = '7',idLab = 'poln20',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1164',id_sup = '1147',id_question = '1164',orderBy = '9',idLab = 'poln22',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1165',id_sup = '1147',id_question = '1165',orderBy = '10',idLab = 'polende',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1178',id_sup = '24',id_question = '1178',orderBy = '23',idLab = 'APPSxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1179',id_sup = '92',id_question = '1179',orderBy = '23',idLab = 'APPSxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1180',id_sup = '967',id_question = '1180',orderBy = '23',idLab = 'APPSxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1181',id_sup = '968',id_question = '1181',orderBy = '23',idLab = 'APPSxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1182',id_sup = '969',id_question = '1182',orderBy = '23',idLab = 'APPSxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1183',id_sup = '999',id_question = '1183',orderBy = '23',idLab = 'APPSxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1184',id_sup = '48',id_question = '1184',orderBy = '18',idLab = 'HHEMPFplus',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1185',id_sup = '48',id_question = '1185',orderBy = '20',idLab = 'HHEMPFplusxNr',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1188',id_sup = '0',id_question = '0',orderBy = '8',idLab = 'rStat',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1189',id_sup = '1188',id_question = '1189',orderBy = '1',idLab = 'r1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1190',id_sup = '1188',id_question = '1190',orderBy = '2',idLab = 'r2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1191',id_sup = '1188',id_question = '1191',orderBy = '3',idLab = 'rage',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1192',id_sup = '1188',id_question = '1192',orderBy = '4',idLab = 'rsex',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1193',id_sup = '1188',id_question = '1193',orderBy = '5',idLab = 'redu',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1194',id_sup = '1188',id_question = '1194',orderBy = '6',idLab = 'rjob',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1195',id_sup = '1147',id_question = '1195',orderBy = '8',idLab = 'poln20a',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1196',id_sup = '1147',id_question = '1196',orderBy = '2',idLab = 'poln10',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1197',id_sup = '1147',id_question = '1197',orderBy = '3',idLab = 'poln11',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1198',id_sup = '231',id_question = '1198',orderBy = '4',idLab = 'methode',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1199',id_sup = '0',id_question = '0',orderBy = '7',idLab = 'TT Crossrekrutierung',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1200',id_sup = '1199',id_question = '1200',orderBy = '1',idLab = 'ttstart',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1201',id_sup = '1199',id_question = '1201',orderBy = '2',idLab = 'tt1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1202',id_sup = '1199',id_question = '1202',orderBy = '3',idLab = 'tt2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1203',id_sup = '1199',id_question = '1203',orderBy = '4',idLab = 'tt3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1204',id_sup = '1199',id_question = '1204',orderBy = '5',idLab = 'tt4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1205',id_sup = '1199',id_question = '1205',orderBy = '6',idLab = 'tt5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1206',id_sup = '1199',id_question = '1206',orderBy = '7',idLab = 'tt6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1207',id_sup = '1199',id_question = '1207',orderBy = '8',idLab = 'tt6a',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1208',id_sup = '1199',id_question = '1208',orderBy = '9',idLab = 'tt7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1209',id_sup = '1199',id_question = '1209',orderBy = '11',idLab = 'tt9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1210',id_sup = '1199',id_question = '1210',orderBy = '12',idLab = 'tt10',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1211',id_sup = '1199',id_question = '1211',orderBy = '13',idLab = 'tt11',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1212',id_sup = '1199',id_question = '1212',orderBy = '14',idLab = 'tt12',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1213',id_sup = '1199',id_question = '1213',orderBy = '15',idLab = 'ttend',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1214',id_sup = '1199',id_question = '0',orderBy = '10',idLab = 'tt8',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1215',id_sup = '1214',id_question = '1215',orderBy = '1',idLab = 'tt8x1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1216',id_sup = '1214',id_question = '1216',orderBy = '2',idLab = 'tt8ax1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1217',id_sup = '1214',id_question = '1217',orderBy = '3',idLab = 'tt8x2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1218',id_sup = '1214',id_question = '1218',orderBy = '4',idLab = 'tt8ax2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1219',id_sup = '1214',id_question = '1219',orderBy = '5',idLab = 'tt8x3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1220',id_sup = '1214',id_question = '1220',orderBy = '6',idLab = 'tt8ax3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1221',id_sup = '1214',id_question = '1221',orderBy = '7',idLab = 'tt8x4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1222',id_sup = '1214',id_question = '1222',orderBy = '8',idLab = 'tt8ax4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1223',id_sup = '1214',id_question = '1223',orderBy = '9',idLab = 'tt8x5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1224',id_sup = '1214',id_question = '1224',orderBy = '10',idLab = 'tt8ax5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1225',id_sup = '1214',id_question = '1225',orderBy = '11',idLab = 'tt8x6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1226',id_sup = '1214',id_question = '1226',orderBy = '12',idLab = 'tt8ax6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1227',id_sup = '1214',id_question = '1227',orderBy = '13',idLab = 'tt8x7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1228',id_sup = '1214',id_question = '1228',orderBy = '14',idLab = 'tt8ax7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1229',id_sup = '1214',id_question = '1229',orderBy = '15',idLab = 'tt8x8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1230',id_sup = '1214',id_question = '1230',orderBy = '16',idLab = 'tt8ax8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1231',id_sup = '1214',id_question = '1231',orderBy = '17',idLab = 'tt8x9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1232',id_sup = '1214',id_question = '1232',orderBy = '18',idLab = 'tt8ax9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1233',id_sup = '48',id_question = '0',orderBy = '30',idLab = 'HD ZUsatz',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1234',id_sup = '1244',id_question = '1234',orderBy = '1',idLab = 'HDzu1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1235',id_sup = '1233',id_question = '1235',orderBy = '1',idLab = 'HDzu0',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1236',id_sup = '1244',id_question = '1236',orderBy = '2',idLab = 'HDzu2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1237',id_sup = '1233',id_question = '1237',orderBy = '4',idLab = 'HDzu3A',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1238',id_sup = '1233',id_question = '1238',orderBy = '5',idLab = 'HDzu3B',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1239',id_sup = '1233',id_question = '1239',orderBy = '6',idLab = 'HDzu4A',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1240',id_sup = '1233',id_question = '1240',orderBy = '7',idLab = 'HDzu4B',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1241',id_sup = '1233',id_question = '1241',orderBy = '8',idLab = 'HDzu5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1242',id_sup = '1233',id_question = '1242',orderBy = '9',idLab = 'HDzu6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1243',id_sup = '1233',id_question = '1243',orderBy = '10',idLab = 'HDzu7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1244',id_sup = '1233',id_question = '0',orderBy = '3',idLab = 'HDzu1o2',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1245',id_sup = '1233',id_question = '1245',orderBy = '2',idLab = 'HD0ins',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1305',id_sup = '24',id_question = '1305',orderBy = '16',idLab = 'A1TVSATxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1306',id_sup = '92',id_question = '1306',orderBy = '16',idLab = 'A1TVSATxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1307',id_sup = '967',id_question = '1307',orderBy = '16',idLab = 'A1TVSATxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1308',id_sup = '968',id_question = '1308',orderBy = '16',idLab = 'A1TVSATxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1309',id_sup = '969',id_question = '1309',orderBy = '16',idLab = 'A1TVSATxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1310',id_sup = '999',id_question = '1310',orderBy = '16',idLab = 'A1TVSATxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1311',id_sup = '48',id_question = '1311',orderBy = '28',idLab = 'TVBACK',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1314',id_sup = '137',id_question = '0',orderBy = '3',idLab = 'Covid_Kontaktform',node_img = '',is_leaf = '0',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1315',id_sup = '1314',id_question = '1315',orderBy = '1',idLab = 'structureid',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1316',id_sup = '1314',id_question = '1316',orderBy = '2',idLab = 'formular',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1317',id_sup = '1314',id_question = '1317',orderBy = '3',idLab = 'source',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1318',id_sup = '1314',id_question = '1318',orderBy = '4',idLab = 'resp',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1319',id_sup = '1314',id_question = '1319',orderBy = '5',idLab = 'iv',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1320',id_sup = '1314',id_question = '1320',orderBy = '6',idLab = 'formdata',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1321',id_sup = '1314',id_question = '1321',orderBy = '8',idLab = 'checkdummy',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1322',id_sup = '1314',id_question = '1322',orderBy = '7',idLab = 'checkq',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1323',id_sup = '1314',id_question = '1323',orderBy = '9',idLab = 'CoronaTS',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1326',id_sup = '48',id_question = '1326',orderBy = '7',idLab = 'DEVINT',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1327',id_sup = '53',id_question = '1327',orderBy = '3',idLab = 'NUTZTxP1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1328',id_sup = '49',id_question = '1328',orderBy = '25',idLab = 'DUMNUTZT',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1329',id_sup = '140',id_question = '1329',orderBy = '3',idLab = 'NUTZTxP2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1330',id_sup = '247',id_question = '1330',orderBy = '3',idLab = 'NUTZTxP9',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1331',id_sup = '246',id_question = '1331',orderBy = '3',idLab = 'NUTZTxP8',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1332',id_sup = '245',id_question = '1332',orderBy = '3',idLab = 'NUTZTxP7',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1333',id_sup = '244',id_question = '1333',orderBy = '3',idLab = 'NUTZTxP6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1334',id_sup = '243',id_question = '1334',orderBy = '3',idLab = 'NUTZTxP5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1335',id_sup = '242',id_question = '1335',orderBy = '3',idLab = 'NUTZTxP4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1336',id_sup = '241',id_question = '1336',orderBy = '3',idLab = 'NUTZTxP3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1344',id_sup = '24',id_question = '1344',orderBy = '3',idLab = 'TVALTERxTV1',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1345',id_sup = '92',id_question = '1345',orderBy = '3',idLab = 'TVALTERxTV2',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1346',id_sup = '967',id_question = '1346',orderBy = '3',idLab = 'TVALTERxTV3',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1347',id_sup = '968',id_question = '1347',orderBy = '3',idLab = 'TVALTERxTV4',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1348',id_sup = '969',id_question = '1348',orderBy = '3',idLab = 'TVALTERxTV5',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1349',id_sup = '999',id_question = '1349',orderBy = '3',idLab = 'TVALTERxTV6',node_img = '',is_leaf = '1',showTogether = '0';
<stat>INSERT INTO p27293zu2022v1_tree SET id = '1350',id_sup = '49',id_question = '1350',orderBy = '21',idLab = 'NRHHVNEU',node_img = '',is_leaf = '1',showTogether = '0';