' . $cfg['site_titel'] . ' | ' . $data['headline'] . '' . "\n"; $sql = 'SELECT CONCAT_WS(" ",bt.vorspann, bt.text) as text FROM imageseiten i LEFT JOIN boxes_layout bl ON i.id=bl.imageseiten_mitte LEFT JOIN boxes_text bt ON bt.id=bl.box_id WHERE i.id="' . $data['id'] . '" AND bl.type="text" LIMIT 1'; $res = mysql_query($sql) or die(mysql_error()); $data = @mysql_fetch_assoc($res); if ($data['text']) { echo '' . "\n"; } } else { $without_title = 0; } print_metatags($without_title, 'iso-8859-1', $_GET['vermieter_id']); ?> '; ?>