-- MySQL dump 10.16  Distrib 10.1.44-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: Warpit_Webcati
-- ------------------------------------------------------
-- Server version	10.1.44-MariaDB-0+deb9u1

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `HFCS03_Konsum_script`
--

DROP TABLE IF EXISTS `HFCS03_Konsum_script`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `HFCS03_Konsum_script` (
  `id_question` int(11) NOT NULL,
  `id_event` int(11) NOT NULL,
  `script` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id_question`,`id_event`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `HFCS03_Konsum_script`
--

LOCK TABLES `HFCS03_Konsum_script` WRITE;
/*!40000 ALTER TABLE `HFCS03_Konsum_script` DISABLE KEYS */;
INSERT INTO `HFCS03_Konsum_script` VALUES (7,1,'$AHL0110 = reset(getVar(\"AHL0110\"));\n\n$address =  getAddress(\"HFCS_Base\");\n$questTxt = \"Können Sie mir bestätigen, dass \";\n$questTxt .= \"<b>\".$address[\"street\"].\", \".$address[\"plz\"].\" \".$address[\"ort\"].\"</b>\";\n$questTxt .= \" die korrekte Adresse des Haushalts ist?\";\n\nsaveVar(\"questtxt_1 = \'\".$questTxt.\"\'\");\n\n$instxt = \"\";\nif ($AHL0110 == 2) {\n    $instxt = \"Abweichung klären und gegebenenfalls Feldleitung informieren!\";\n}\nsetInstruction($instxt);\n'),(9,1,'\n'),(9,2,'$AHL0121 = reset(getVar(\"AHL0121\"));\n\n$instxt = \"Interviewer: Bitte bestätigen Sie, das jener Haushalt ausgewählt wurde, dem die Person angehört, \n    die das Infromationsschreiben erhalten hat (Interviewer führt eine Kopie mit sich).\";\nif ($AHL0121 == 2) {\n    $instxt .= \"<br><br>Interviewer: Suchen Sie den Haushalt auf, dem die Person angehört die das Infromationsschreiben erhalten hat.\";\n}\nsetInstruction($instxt);'),(19,1,'\n'),(19,2,'getQuestData();'),(20,2,'\ngetQuestData();\necho \"TEST\";\n'),(51,2,'\n'),(51,1,'if(!isProxy()) {\n    saveVar(\"refPers_1=\'\".reset(getVar(\"AHL0130_opn\")).\"\'\");\n}\n\n'),(38,2,'\n'),(130,1,'makePersList();'),(28,2,'        $anzPers = anzPers();\n        $questtxt = \"Sie haben folgende Haushaltsmitglieder angegeben. Ist dieser Auflistung korrekt?<br><br>\";\n        for ($pers=1;$pers<=$anzPers;$pers++) {\n            $questtxt .= reset(getVar(\"dumPers_\".$pers)).\"<br>\";\n        }\n        $questtxt .= \"<br>\";\nsetQuestion($questtxt);'),(131,1,'\n'),(131,2,'getQuestData();'),(38,3,'\nvar anzpers = document.getElementById(\"anzpers\").value;\nvar start = parseInt(anzpers)+1;\n//alert(start);\n\nvar it;\n    document.getElementById(\"ct_RA010x1\").disabled = true;\n    document.getElementById(\"ct_ARA091x1\").disabled = true;\n         \n\nfor (it=1;it<=15;it=it+1) {\n        //alert(\"ct_RA000x\"+it+\"_1\");\n    document.getElementById(\"ct_ARA092x\"+it+\"\")\n         .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"none\";\n    \n    document.getElementById(\"ct_ARA091x\"+it+\"\").addEventListener(\n         \'change\',\n        function(){\n            if(this.value==2) {\n                var res = this.id.substring(10, 12);\n            //alert(\"Wert: \"+this.value+\"<br>it: \"+res);\n                document.getElementById(\"ct_ARA092x\"+res+\"\")\n                 .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"block\";\n                }\n            if(this.value==1) {\n                var res = this.id.substring(10, 12);\n            //alert(\"Wert: \"+this.value+\"<br>it: \"+res);\n                document.getElementById(\"ct_ARA092x\"+res+\"\")\n                 .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"none\";\n                }\n        },\n         false\n    );\n}\n\nfor (it=start;it<=15;it=it+1) {\n        //alert(\"ct_RA000x\"+it+\"_1\");\n document.getElementById(\"ct_RA000x\"+it+\"_1\")\n     .parentNode.parentNode.parentNode.parentNode.parentNode\n     .parentNode.parentNode.parentNode.parentNode.parentNode\n     .parentNode.parentNode.parentNode.parentNode.parentNode\n     .parentNode.parentNode.parentNode.parentNode.parentNode.style.display=\"none\";\n    }\n\n'),(38,1,'$anzpers = reset(getVar(\"AHL0210_1\"));\nsaveVar(\"RA010x1=1\");\necho \'<input id=projname type=\"hidden\" name=\"for Ajax1\" value=\"\'.$_SESSION[\'projname\'].\'\">\';\necho \'<input id=idrecord type=\"hidden\" name=\"for Ajax2\" value=\"\'.$_SESSION[\'id_record\'].\'\">\';\necho \'<input id=anzpers type=\"hidden\" name=\"for Ajax3\" value=\"\'.$anzpers.\'\">\';\n\n'),(16,3,'/*\nbutton = document.getElementById(\"submitCallStatus\");\n\n\nbutton.onclick = function() {\n    window.close();\n}\n*/\n\n'),(14,1,'saveId();'),(154,1,'getQuestData(\"hfcs01xdummy\");\n'),(154,2,'\n'),(134,2,'getQuestData();'),(156,2,'getQuestData();'),(156,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(135,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(136,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(137,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(138,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(135,2,'getQuestData();'),(136,2,'getQuestData();\n'),(137,2,'getQuestData();'),(138,2,'getQuestData();'),(140,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);'),(140,2,'getQuestData();'),(142,2,'getQuestData();'),(142,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);\n'),(143,2,'getQuestData();\n'),(144,2,'getQuestData();'),(145,1,'\n'),(145,2,'getQuestData();\n'),(146,2,'getQuestData();'),(146,3,'var galerieSkript = document.createElement(\'script\');\ngalerieSkript.type = \'text/javascript\';\ngalerieSkript.src = \'../../webIfesProjects/CustomSkripts/euroloop.js\';\ndocument.getElementsByTagName(\'head\')[0].appendChild(galerieSkript);\n'),(148,1,'\n'),(148,2,'getQuestData();'),(156,1,'\n'),(153,2,'getQuestData();'),(150,2,'getQuestData();'),(151,2,'getQuestData();\n'),(155,1,'\n'),(155,2,'getQuestData();\n'),(155,3,'\n'),(16,1,'saveVar(\"ENDIV=1\");\n'),(16,2,'getQuestData(\"ENDIV\");'),(0,3,'setCustomDesignerText(\'custTitle\', \'HFCS 2020 - Konsumausgaben\');'),(139,2,'getQuestData();'),(160,2,'getQuestData();'),(161,2,'getQuestData();'),(162,2,'getQuestData();'),(163,2,'getQuestData();'),(164,2,'getQuestData();'),(165,2,'getQuestData();'),(166,2,'getQuestData();'),(167,2,'getQuestData();'),(168,2,'getQuestData();'),(169,2,'getQuestData();'),(170,2,'getQuestData();'),(171,2,'getQuestData();'),(172,2,'getQuestData();'),(173,2,'getQuestData();'),(174,2,'getQuestData();'),(175,2,'getQuestData();'),(176,2,'getQuestData();');
/*!40000 ALTER TABLE `HFCS03_Konsum_script` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2020-05-28 17:23:09
