Ba == "RKZ-S" || $productcode->Ba == "RHZ-S" || $productcode->Ba == "RDZ-S"){ $file ="CE_SerNr_SlotT1_RP." . $productcode->Za . ".rotiert.xml"; } elseif (($productcode->Ba == "KZ-S" || $productcode->Ba == "HZ-S" || $productcode->Ba == "DZ-S") && $productcode->Pf == "FLU"){ $file = "CE_SerNr_FLU_SlotT1_EP." . $productcode->Za . ".rotiert.xml"; } elseif ($productcode->Ba == "KZ-S" || $productcode->Ba == "HZ-S" || $productcode->Ba == "DZ-S"){ $file = "CE_SerNr_SlotT1_EP." . $productcode->Za . ".rotiert.xml"; } elseif ($productcode->Pk == "HA" && $productcode->Ba == "HM24-S" ){ $file = "CE_SerNr_SlotT1_HPM.xml"; } elseif ($productcode->Pk == "AI" && $productcode->Ba == "AZ25-FP" ){ $file = "CE_SerNr_SlotT1_AZ25-FP.rotiert.xml"; } elseif ($productcode->Pk == "SKI" || $productcode->Pk == "SKA" ){ $file = "CE_SerNr_SlotT1_SKA-SKI.xml"; } elseif ($productcode->Ba == "SKI" || $productcode->Ba == "SKA" ){ $file = "CE_SerNr_SlotT1_SKA-SKI.xml"; } elseif ($productcode->Pk == "HB" ){ $file = "CE_SerNr_SlotT1_" . $productcode->Ba . ".xml"; } echo json_encode($file); ?>