$von_comp, JL_TR_PERSON => $von_person, JL_AD_STREET => $von_ad_street, JL_TR_HSNO => $von_ad_hsno, JL_AD_ZIPCODE => $von_ad_zipcode, JL_AD_CITY => $von_ad_city, JL_AD_COUNTRY => $von_ad_country, JL_TR_REMARK => $von_remark)); endif; // csc_id2: if ($csc_id2 != ""): list($nach_ad_id, $nach_ad_hsno, $nach_comp, $nach_remark, $nach_person) = insertAddress("", "", "", $csc_id2); list($nach_ad_city, $nach_ad_zipcode, $nach_ad_street, $nach_ad_country) = getFieldsValueFromId( "address", "ad_id", $nach_ad_id, array("ad_city", "ad_zipcode", "ad_street", "ad_country")); $javascript .= setJavascriptOpenerJobList("curTourNo + 1", array(JL_TR_COMP => $nach_comp, JL_TR_PERSON => $nach_person, JL_AD_STREET => $nach_ad_street, JL_TR_HSNO => $nach_ad_hsno, JL_AD_ZIPCODE => $nach_ad_zipcode, JL_AD_CITY => $nach_ad_city, JL_AD_COUNTRY => $nach_ad_country, JL_TR_REMARK => $nach_remark)); endif; $javascript .= javascriptOpenerRefreshAndClose(); // Inhalt des temporären Fensters erzeugen und ausgeben //$tpl = new HTML_Template_IT(); //$tpl->loadTemplatefile(GETDATAHTMLTPL, true, true); //$tpl->setCurrentBlock("javascript"); //$tpl->setVariable("_javascript_", $javascript); //$tpl->parseCurrentBlock("javascript"); //$tpl->show(); $output = file_get_contents(GETDATAHTMLTPL); $output = str_replace("{_javascript_}", $javascript, $output); echo $output; ?>