function printSearchData($searchData) { $this->SetFont('Helvetica', 'B', 11); $this->Cell(0, 5, "Suchkriterien"); $this->Ln(7); $this->SetFont('Helvetica', '', 10); if (array_key_exists('keywords', $searchData) && !empty($searchData["keywords"])) { $this->Cell(0, 5, utf8_decode("Stichwörter: " . $searchData["keywords"])); $this->Ln(5); } if (array_key_exists('district', $searchData)) { $this->Cell(0, 5, "Bezirk: " . utf8_decode(getSingleDistrict($searchData["district"])['district_name'])); $this->Ln(5); } $this->Ln(2); unset($searchData['district']); unset($searchData['keywords']); unset($searchData['image_category']); unset($searchData['image_tags']); foreach ($searchData as $sp) { $attribute = $sp[0]; $values = $sp[1]; if ($attribute > -1 and !empty($values)) { $this->Cell(0, 5, utf8_decode(Idp_Main::getAttributeName($attribute)[0] . ": ")); $this->Ln(5); $this->Cell(5); $count_values = count($values); $this->MultiAlignCell(0, 5, utf8_decode(implode(", ", $values))); $this->Ln(5); } } $this->Ln(5); $this->Hline(); }
" ><?php echo __('Show building', 'idp-plugin'); ?> </a> |</span> <span><a href="<?php echo get_page_link(155) . "?buildingid=" . $building->id; ?> "><?php echo __('Show PDF', 'idp-plugin'); ?> </a></span> </div> </td> <td class="column-col_building_district"> <?php echo getSingleDistrict($building->district)['district_name']; ?> </td> <td class="column-col_building_status"> <?php echo $building->status; ?> </td> <td class="column-col_building_updated"> <?php echo date("d.m.y, H:m", strtotime($building->update_date)) . " Uhr"; ?> </td>