Fehler auf Suchseite behoben
This commit is contained in:
parent
5669869426
commit
8b8ac2356d
19
suche.php
19
suche.php
@ -134,15 +134,15 @@ if (!isset($show)) $show="";
|
||||
{
|
||||
if( $_REQUEST["search_word"] )
|
||||
{
|
||||
$show_filter = 'WHERE a.text LIKE "%'.$_REQUEST[search_word].'%"';
|
||||
$show_filter = 'WHERE a.text LIKE "%'.$_REQUEST["search_word"].'%"';
|
||||
|
||||
if( $_REQUEST["search_word_org"] )
|
||||
{
|
||||
$show_filter .= 'AND d.org_name LIKE "%'.$_REQUEST[search_word_org].'%"';
|
||||
$show_filter .= 'AND d.org_name LIKE "%'.$_REQUEST["search_word_org"].'%"';
|
||||
}
|
||||
}
|
||||
else{
|
||||
$show_filter = 'WHERE d.org_name LIKE "%'.$_REQUEST[search_word_org].'%"';
|
||||
$show_filter = 'WHERE d.org_name LIKE "%'.$_REQUEST["search_word_org"].'%"';
|
||||
}
|
||||
|
||||
}
|
||||
@ -184,6 +184,7 @@ if( $_REQUEST["search_what"] == 'ric' && $_REQUEST["search_ric"] != '' || $_REQU
|
||||
$bezeichnung = $row["bezeichnung"];
|
||||
|
||||
// Tageswechsel ausgeben
|
||||
if (!isset($lastday)) $lastday="";
|
||||
if( get_day($row["zeit"]) != $lastday )
|
||||
{
|
||||
$nextday = '
|
||||
@ -202,12 +203,12 @@ if( $_REQUEST["search_what"] == 'ric' && $_REQUEST["search_ric"] != '' || $_REQU
|
||||
if( !$bezeichnung && !$row["org_name"] ) $bezeichnung = 'Unbekannt';
|
||||
|
||||
// default Farben bestimmen
|
||||
if( !$row["bg_farbe"] ) $row["bg_farbe"] = 'white';
|
||||
if( !$row["text_farbe"] ) $row["text_farbe"] = 'black';
|
||||
if( !$row["text_farbe_text"] ) $row["text_farbe_text"] = 'black';
|
||||
if( !$row["bg_farbe_text"] ) $row["bg_farbe_text"] = '#CCCCCC';
|
||||
if( !$row["text_groesse"] ) $row["text_groesse"] = '13';
|
||||
if( !$row["text_groesse_text"] )$row["text_groesse_text"] = '12';
|
||||
if( !isset($row["bg_farbe"]) ) $row["bg_farbe"] = 'white';
|
||||
if( !isset($row["text_farbe"]) ) $row["text_farbe"] = 'black';
|
||||
if( !isset($row["text_farbe_text"]) ) $row["text_farbe_text"] = 'black';
|
||||
if( !isset($row["bg_farbe_text"]) ) $row["bg_farbe_text"] = '#CCCCCC';
|
||||
if( !isset($row["text_groesse"]) ) $row["text_groesse"] = '13';
|
||||
if( !isset($row["text_groesse_text"]) )$row["text_groesse_text"] = '12';
|
||||
|
||||
/* // pocsag in Array schreiben
|
||||
$thisday = $nextday.'
|
||||
|
Loading…
Reference in New Issue
Block a user