der Sprecher
Es ist schon ganz erstaunlich, wie vielen Firmen, Aktionen und Produkten man im Laufe von mehr a...
der Sänger
Das war bei mir schon immer ein zweischneidiges Schwert oder anders ausgedrückt - ich stand imme...
(.*?)#m', $xml, $parts, PREG_SET_ORDER);
$paragraphs = array();
foreach((array) $parts as $part) {
$paragraph = new stdClass();
$paragraph->image = $part[1];
$paragraph->color = $part[2];
$paragraph->imagesize = $part[3];
$paragraph->text = html_entity_decode($part[4], ENT_COMPAT, 'ISO-8859-1');
$paragraphs[] = $paragraph;
}
$orig[] = 'href="http';
$repl[] = 'target="_blank" href="http';
// Linkersetzung intern
foreach(file(VAR_FRONTENDUIDS) as $line) {
$parts = explode('|', $line);
$orig[] = 'href="' . 'uid:' . $parts[0];
$repl[] = 'href="' . VAR_BASEURL . substr(trim($parts[1]), 1);
}
// Alle Abs�tze durchgehen
foreach($paragraphs as $paragraph) {
if ($paragraph->color) {
$style = 'color: #' . $paragraph->color . ';';
} else {
$style = '';
}
if ($paragraph->text) {
$text = str_replace($orig, $repl, $paragraph->text);
$new_text = str_replace('
', '
', $text);
$new_text = str_replace('
image && $paragraph->imagesize) {
$image = $paragraph->image;
$imagesize = intval($paragraph->imagesize);
echo '

';
}
}
}
?>
Stefan Müller-Ruppert * Eberstadter Strasse 8 * 74722 Buchen * Tel.: 06281-3844 * Mobil: 0172-7118068
eMail: Stefan(at)Mueller-Ruppert.de