\"Mach"; } } else {$return_str = "GD Erweiterung fehlt!";} return $return_str; } // in bearbeitung // function um bilder mit wasserzeichen zu versehen /* function watersign_pic($orig_picurl,$watersign_picurl) { //alpha-wert des wasserzeichens $alpha = 50; // ist GD überhaupt installiert? if (extension_loaded('gd')) { $src_img = @imagecreatefromjpeg($orig_picurl); } } */ ?> $mabe){ // nimm den letzten eintrag, falls kein parameter bei aufruf von news-datei angegeben if ($s == ""){ $s = $count - $mabe; } //bilde menue $actual = ''.$actual_str.''; $oldest = "$oldest_str"; if($s > "0"){ $back = $s-$mabe; if($back < "0" || $back == "0"){ $back = "$back_str"; } else { $back = "$back_str"; } } else { $back = ''.$back_str.''; $oldest = ''.$oldest_str.''; } if($count > $mabe){ if($count == $s){ $next = ''.$next_str.''; } else { $next = $s+$mabe; if($count <= $next){ $next = ''.$next_str.''; } else { $next = "$next_str"; $actual = "$actual_str"; } } } else { $s = "0"; $next = ''.$next_str.''; } } else { $s = "0"; $back = ''.$back_str.''; $next = ''.$next_str.''; $oldest = ''.$oldest_str.''; $actual = ''.$actual_str.''; } $inc_news = "\n"; $sql = "SELECT * FROM $dbnews ORDER BY ID ASC LIMIT $s,$mabe"; $result = mysql_query($sql) OR die(mysql_error()); if(mysql_num_rows($result)) { while($row = mysql_fetch_assoc($result)) { $sql2 = "SELECT * FROM $dbsmilies"; $result2 = mysql_query($sql2) OR die(mysql_error()); if(mysql_num_rows($result2)) { while($row2 = mysql_fetch_assoc($result2)) { $row[Inhalt] = str_replace("$row2[Kurz]","",$row[Inhalt]); } } $row[Inhalt] = str_replace("[B]","",$row[Inhalt]); $row[Inhalt] = str_replace("[/B]","",$row[Inhalt]); $row[Inhalt] = str_replace("[U]","",$row[Inhalt]); $row[Inhalt] = str_replace("[/U]","",$row[Inhalt]); $row[Inhalt] = str_replace("[I]","",$row[Inhalt]); $row[Inhalt] = str_replace("[/I]","",$row[Inhalt]); $row[Inhalt] = str_replace("[IMG]","",$row[Inhalt]); $row[Inhalt] = nl2br($row[Inhalt]); $row[Inhalt] = set_link($row[Inhalt]); $row[Datum] = explode(" ",$row[Datum]); $formatted_date = explode("-",$row[Datum][0]); $formatted_time = substr($row[Datum][1],0,5); // bild $inc_news .= "
".resize_pic($row[Bild],$bildbreite)."
"; // bueroklammer $inc_news .= "
"; // textfeld $inc_news .= "

$row[Titel]


$row[Inhalt]
$row[Autor]
$formatted_date[2].$formatted_date[1].$formatted_date[0] - $formatted_time Uhr
"; /* $inc_news .= "\n"; $inc_news .= "\n"; $inc_news .= "\n"; $inc_news .= "\n"; $inc_news .= "\n"; $inc_news .= "
".resize_pic($row[Bild],$bildbreite)."

$row[Titel]


$row[Inhalt]
$row[Autor] $formatted_date[2].$formatted_date[1].$formatted_date[0] - $formatted_time Uhr
\n"; */ } } else { $inc_news .= "

Keine News vorhanden

"; } // ### Zuweisung der end-variablen $title = "News"; $backgroundfile = "b_surfer2.jpg"; $content = $inc_news; /*
".$inc_news."
";*/ $menue = $oldest." - ".$back." - News: $count - ".$next." - ".$actual; ?>
Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /srv/www/_reetz/_a.nimtz/web0012184/www/surfcore_de/html/func_counter.php on line 10

Warning: mysql_query(): No such file or directory in /srv/www/_reetz/_a.nimtz/web0012184/www/surfcore_de/html/func_counter.php on line 10

Warning: mysql_query(): A link to the server could not be established in /srv/www/_reetz/_a.nimtz/web0012184/www/surfcore_de/html/func_counter.php on line 10
No such file or directory