pageIds = array( 1, 4, 16 ); if( preg_match( '/maxcura/', getenv( "SERVER_NAME" ) ) ) { $this->rootPageId = 60; $this->searchPageId = 62; $this->newsPageId = 96; } $this->pageIds = $this->rootPageId; if( $TSFE->id == $this->searchPageId ) { $this->scanIds( $this->rootPageId ); } } function scanIds( $mother ) { global $TSFE, $TYPO3_DB; $res = $TYPO3_DB->sql_query( "select uid from pages where pid=".$mother." order by uid") or die (mysql_error()); while( $row = mysql_fetch_assoc( $res ) ) { $this->pageIds .= ", ".$row["uid"]; $this->scanIds( $row["uid"] ); } } function searchForm(){ global $TSFE; if($GLOBALS['TSFE']->sys_language_uid == 0){ $out .= ''; return $out; } function searchBox(){ global $TSFE; if($GLOBALS['TSFE']->sys_language_uid == 0){ $out .= '
'; }else{ $out .= ''; } $out .= '
'; $out .= ''; $out .= ''; $out .= '
'; $out .= '
'; return $out; } function listSearch() { global $TSFE, $TYPO3_DB; $TSFE->set_no_cache(); //$out .= $this->pageIds."
"; //$out .= $this->rootPageId."
"; $_POST["search"] = trim( $_POST["search"] ); $Skeys = array(); $Skeys = explode(' ',$_POST['search']); if($GLOBALS['TSFE']->sys_language_uid == 0){ $count_cont = 'keine'; }else{ $count_cont = 'none'; } if( $_POST['search'] == '' ) { if($GLOBALS['TSFE']->sys_language_uid == 0){ $out_cont = '

Ihre Suchanfrage ist leer

'; $out_news = '

Ihre Suchanfrage ist leer

'; }else{ $out_cont = '

Your search query is empty

'; $out_news = '

Your search query is empty

'; } } else { if($GLOBALS['TSFE']->sys_language_uid == 0){ $out_cont = '

Keine Suchergebnisse in diesem Bereich.

'; $out_news = '

Keine Suchergebnisse in diesem Bereich.

'; }else{ $out_cont = '

No searchresults in this category

'; $out_news = '

No searchresults in this category

'; } } if($GLOBALS['TSFE']->sys_language_uid == 0){ $count_news = 'keine'; }else{ $count_news = 'no news'; } if( ($_POST['search'] != '') || ($_POST['jahr'] != '' && $_POST['monat'] != '')) { $Rkeys = "/(".preg_replace('/\s+/','|',$_POST['search']).")/i"; if( $_POST['search'] == '' ) { $Rkeys = '/asdfghjkl/'; } $tt_news = "select * from tt_news where hidden='0' and deleted='0' and pid in (".$this->pageIds.") and sys_language_uid = ".$GLOBALS['TSFE']->sys_language_uid; if( $GLOBALS['TSFE']->fe_user->user == "" ) { $tt_cont = "select tt_content.header,tt_content.bodytext,tt_content.pid from (tt_content JOIN pages on tt_content.pid = pages.uid) where tt_content.hidden='0' and tt_content.deleted='0' and pages.fe_group != '-2' and pages.uid in (".$this->pageIds.") AND sys_language_uid = ".$GLOBALS['TSFE']->sys_language_uid; } else { $tt_cont = "select tt_content.header,tt_content.bodytext,tt_content.pid from (tt_content JOIN pages on tt_content.pid = pages.uid) where tt_content.hidden='0' and tt_content.deleted='0' and pages.uid in (".$this->pageIds.") and sys_language_uid = ".$GLOBALS['TSFE']->sys_language_uid; } foreach( $Skeys as $key) { $tt_news .= " and (title like '%$key%' or short like '%$key%' or bodytext like '%$key%')"; $tt_cont .= " and (header like '%$key%' or bodytext like '%$key%')"; } if( $_POST['search'] == '' ) { $tt_cont .= " and header != '' "; } if( (preg_match('/^\d+$/',$_POST[jahr]) and $_POST[jahr] != 0) && (preg_match('/^\d+$/',$_POST[monat]) and $_POST[monat] != 0)){ $yearGiv = $_POST[jahr]; $monatGiv = $_POST[monat]; $yearNext = $yearGiv; $monatNext = $monatGiv + 1; if( $monatNext < 10 ) { $monatNext = '0'.$monatNext; } if( $monatNext > 12 ) { $monatNext = '01'; $yearNext++; } $tt_cont .= " and date(from_unixtime(tstamp)) > '$yearGiv-$monatGiv-01' and date(from_unixtime(tstamp)) < '$yearNext-$monatNext-01'"; $tt_news .= " and date(from_unixtime(crdate)) > '$yearGiv-$monatGiv-01' and date(from_unixtime(crdate)) < '$yearNext-$monatNext-01'"; } if( $_POST[suchart] == 'any' || $_POST[suchart] == '') { $tt_news .= " limit 10"; $tt_cont .= " limit 10"; } elseif( $_POST[suchart] == 'cont') { $tt_news .= " and 1 = 0"; $tt_cont .= " limit 20"; } elseif( $_POST[suchart] == 'news') { $tt_news .= " limit 20"; $tt_cont .= " and 1 = 0"; } $count_cont = 0; $tt_contRes = $TYPO3_DB->sql_query($tt_cont) or die (mysql_error()); while( $row = mysql_fetch_assoc( $tt_contRes ) ) { if ($count_cont == 0) { $out_cont = ''; } $key = strtolower($key); $tt_contTxt = "$row[bodytext] "; $tt_contTxt = preg_replace("/<.*?>/",'',$tt_contTxt); $tt_contTxtRaw = $tt_contTxt; $tt_contTxtPos = 0; foreach ($Skeys as $key) { $tt_contTxtPosNew = strpos($tt_contTxt,$key); if ($tt_contTxtPosNew > $tt_contTxtPos || $tt_contTxtPos == 0) { if ($tt_contTxtPosNew > 100) { $tt_contTxtPosNew2 = strpos($tt_contTxt,' ',$tt_contTxtPosNew-100)+1; if ($tt_contTxtPosNew2 > 50) { $tt_contTxtPosNew = $tt_contTxtPosNew2; } } if (($tt_contTxtPosNew < $tt_contTxtPos || $tt_contTxtPos == 0) && ($tt_contTxtPosNew > 100)) { $tt_contTxtPos = $tt_contTxtPosNew; } } } $tt_contTxtLen = strlen($tt_contTxt); $tt_contTxtLenR = strlen($tt_contTxt); if ($tt_contTxtLen > ($tt_contTxtPos+220)) { $tt_contTxtLen = strpos($tt_contTxt,' ',$tt_contTxtPos+220); } $tt_contTxt = substr($tt_contTxt,$tt_contTxtPos,$tt_contTxtLen-$tt_contTxtPos); if ($tt_contTxtPos != 0) { $tt_contTxt = '[…] '. $tt_contTxt; } if ($tt_contTxtLen != $tt_contTxtLenR) { $tt_contTxt .= ' […]'; } $tt_contTxt = preg_replace($Rkeys,'­$1­',$tt_contTxt); $row[header] = preg_replace($Rkeys,'­$1­',$row[header]); if($GLOBALS['TSFE']->sys_language_uid == 0){ $out_cont .= "

"; }else{ $out_cont .= '

'; } $out_cont .= ($row[header] != '') ? ($row[header]) : ('[ Kein Titel ]'); if($GLOBALS['TSFE']->sys_language_uid == 0){ $out_cont .= "

$tt_contTxt

lesen Sie mehr


"; }else{ $out_cont .= '

'.$tt_contTxt.'

more


'; } $count_cont++; } $count_news = 0; $tt_newsRes = $TYPO3_DB->sql_query($tt_news); while($row = mysql_fetch_assoc($tt_newsRes)) { if ($count_news == 0) { $out_news = ''; } $key = strtolower($key); $tt_newsTxt = "$row[short] "; $tt_newsTxt .= "$row[bodytext] "; //$tt_newsTxt .= "$row[tx_ttnewsfields_warum] "; //$tt_newsTxt .= "$row[tx_ttnewsfields_positiv] "; //$tt_newsTxt .= "$row[tx_ttnewsfields_umgang] "; //$tt_newsTxt .= "$row[tx_ttnewsfields_vermeidung] "; //$tt_newsTxt .= "$row[tx_ttnewsfields_was] "; $tt_newsTxtRaw = $tt_newsTxt; $tt_newsTxtPos = 0; foreach ($Skeys as $key) { $tt_newsTxtPosNew = strpos($tt_newsTxt,$key); if ($tt_newsTxtPosNew > $tt_newsTxtPos || $tt_newsTxtPos == 0) { if ($tt_newsTxtPosNew > 100) { $tt_newsTxtPosNew2 = strpos($tt_newsTxt,' ',$tt_newsTxtPosNew-100)+1; if ($tt_newsTxtPosNew2 > 50) { $tt_newsTxtPosNew = $tt_newsTxtPosNew2; } } if ($tt_newsTxtPosNew < $tt_newsTxtPos || $tt_newsTxtPos == 0) { $tt_newsTxtPos = $tt_newsTxtPosNew; } } } $tt_newsTxtLen = strlen($tt_newsTxt); $tt_newsTxtLenR = strlen($tt_newsTxt); if ($tt_newsTxtLen > ($tt_newsTxtPos+220)) { $tt_newsTxtLen = strpos($tt_newsTxt,' ',$tt_newsTxtPos+220); } $tt_newsTxt = substr($tt_newsTxt,$tt_newsTxtPos,$tt_newsTxtLen-$tt_newsTxtPos); if ($tt_newsTxtPos != 0) { $tt_newsTxt = '[…] '. $tt_newsTxt; } if ($tt_newsTxtLen != $tt_newsTxtLenR) { $tt_newsTxt .= ' […]'; } $tt_newsTxt = preg_replace($Rkeys,'­$1­',$tt_newsTxt); $row[title] = preg_replace($Rkeys,'­$1­',$row[title]); $out_news .= '

'.$row[title].'

'; $out_news .= "

$tt_newsTxt

"; $out_news .= '

lesen Sie mehr

'; $out_news .= "
"; $count_news++; } } if($GLOBALS['TSFE']->sys_language_uid == 0){ if ($_POST[suchart] != 'cont') { $out .= "

Suchergebnisse aus dem Bereich \"News\" (Ergebnisse: $count_news)

"; $out .= "$out_news"; } if ($_POST[suchart] != 'news') { $out .= "

Suchergebnisse aus allgemeinen Inhalten (Ergebnisse: $count_cont)

"; $out .= "$out_cont"; } }else{ if ($_POST[suchart] != 'cont') { $out .= "

Searchresults of the category \"news\" (Results: $count_news)

"; $out .= "$out_news"; } if ($_POST[suchart] != 'news') { $out .= "

Searchresults of the category \"general content\" (Results: $count_cont)

"; $out .= "$out_cont"; } } return $out; //return '
'.$out.'
'; } } ?> Impressum - Maxcura
Impressum

Maxcura MVZ GmbH

Hoheluftchausse 20
D-20253 Hamburg
Telefon: +49 40 7070769 - 00
Telefax: +49 40 7070769 - 69
E-Mail: info@maxcura.de

Ärztliche Leiterin

Dr. med. Kristina Sauter

Registergericht

Amtsgericht Hamburg
HRB 101474

Maxcura Physiotherapie GmbH

Hoheluftchausse 20
D-20253 Hamburg
Telefon: +49 40 7070769-20
Telefax: +49 40 7070769-69
E-Mail: info@maxcura.de

Geschäftsführer

Michael Ehlebracht

Registergericht

Amtsgericht Hamburg
HRB 100086

Haftungshinweis

Trotz sorgfältiger Kontrolle übernehmen wir keine Haftung für die Inhalte externer Links. Für den Inhalt der verlinkten Seiten sind ausschließlich deren Betreiber verantwortlich.


Pflichtangaben nach §6 Teledienstgesetz

Dr. med. Kristina Sauter

Ärztin für Allgemeinmedizin
Hoheluftchaussee 20

20253 Hamburg

Telefon: +49 40 7070769-50

E-Mail:   Kristina.Sauter@maxcura.de

Web:     http://www.maxcura.de

Zuständige Kammer: Ärztekammer Hamburg