ready to go
This commit is contained in:
19
get.php
19
get.php
@ -54,8 +54,8 @@ elseif( $show_filter == 1 && $_SESSION["lastupdate"] != "" && isset($_GET["clean
|
||||
$show_filter = filter_zeit(1);
|
||||
$show_filter = " WHERE a.zeit > '$show_filter' ";
|
||||
}
|
||||
elseif( $show_filter != 1 ) {
|
||||
$show_filter = filter_zeit($filter);
|
||||
else { //if( $show_filter != 1 ) {
|
||||
$show_filter = filter_zeit((isset($filter) ? $filter : 1));
|
||||
$show_filter = " WHERE a.zeit > '$show_filter' ";
|
||||
}
|
||||
|
||||
@ -160,13 +160,13 @@ elseif( $show_filter != 1 ) {
|
||||
// Wenn ZVEI
|
||||
if( $row["REC_TYP"] == 'ZVEI' ) $row["funktion"] = $row["text"];
|
||||
|
||||
$row["bg_farbe"] = $formatierung[$row["formatierung_id"]]["bg_farbe"];
|
||||
$row["text_farbe"] = $formatierung[$row["formatierung_id"]]["text_farbe"];
|
||||
//$row["text_farbe_text"] = $formatierung[$row["formatierung_id"]]["text_farbe_text"];
|
||||
//$row["bg_farbe_text"] = $formatierung[$row["formatierung_id"]]["bg_farbe_text"];
|
||||
$row["text_groesse"] = $formatierung[$row["formatierung_id"]]["text_groesse"];
|
||||
$row["text_groesse_text"] = $formatierung[$row["formatierung_id"]]["text_groesse_text"];
|
||||
$row["text_format"] = $formatierung[$row["formatierung_id"]]["text_format"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["bg_farbe"])) $row["bg_farbe"] = $formatierung[$row["formatierung_id"]]["bg_farbe"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["text_farbe"])) $row["text_farbe"] = $formatierung[$row["formatierung_id"]]["text_farbe"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["text_farbe_text"])) $row["text_farbe_text"] = $formatierung[$row["formatierung_id"]]["text_farbe_text"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["bg_farbe_text"])) $row["bg_farbe_text"] = $formatierung[$row["formatierung_id"]]["bg_farbe_text"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["text_groesse"])) $row["text_groesse"] = $formatierung[$row["formatierung_id"]]["text_groesse"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["text_groesse_text"])) $row["text_groesse_text"] = $formatierung[$row["formatierung_id"]]["text_groesse_text"];
|
||||
if (isset($formatierung[$row["formatierung_id"]]["text_format"])) $row["text_format"] = $formatierung[$row["formatierung_id"]]["text_format"];
|
||||
|
||||
// default Farben bestimmen
|
||||
if( !isset($row["bg_farbe"]) ) $row["bg_farbe"] = 'white';
|
||||
@ -175,6 +175,7 @@ elseif( $show_filter != 1 ) {
|
||||
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';
|
||||
if( !isset($row["text_format"]) ) $row["text_format"] = '1';
|
||||
|
||||
// pocsag in Array schreiben
|
||||
//$thisday = $nextday.'
|
||||
|
Reference in New Issue
Block a user