echo 'faild'; } break; case 'filterSettingWin': $curFiltersystemClassObj = new cmsOwnFiltersystem(); $data = $curFiltersystemClassObj->getSettingsForm(); echo $data; break; case 'vSaveOwnFilterPicGalChange': $curFiltersystemClassObj = new cmsOwnFiltersystem(); echo $curFiltersystemClassObj->saveImagesToFiltr($_POST['_selemID'], $_POST['_picGalImages'], $_POST['_picGalElemID']); break; case 'getProductsByFilter': $curFiltersystemClassObj = new cmsOwnFiltersystem(); $filters = $_POST['_filters']; $sites = $curFiltersystemClassObj->getSiteByFilter($filters); require_once $_SERVER['DOCUMENT_ROOT'] . '/templates/wildkogel/inc/mmClass.inc.php'; $mmFunctionsObj = new mmFunctionsLibrary(); $dataArr = $mmFunctionsObj->getChildsSitesAndElements($sites, array(74, 75), 1); $img = json_decode($dataArr['selemConfig']); $picOnce = $mmFunctionsObj->getPicOnceDataByIdMM($img->picGal); $bildMFile = ''; $curThumb = ''; if (is_file($_SERVER['DOCUMENT_ROOT'] . '/user_upload/' . $picOnce['bildFile'])) { // $curThumb = 'thumb_800/'; $bildMFile = 'user_upload/' . $curThumb . $picOnce['bildFile']; } foreach ($dataArr as $key => $value) { $img = $value['detailElemData'][74]['gallery'][0]['bildName']; $elemData = json_decode($value['detailElemData'][75]['selemInhalt']); $elemData1 = json_decode($value['detailElemData'][74]['selemInhalt']);