Fotografie-News

Photography News

items as $item) { if($white == $style) { if($i % 2 == 0) $col = "#f0f0f0"; else $col = "#ffffff"; } else { if($i % 2 == 0) $col = "#101010"; else $col = "#000000"; } // else // echo ""; $title = $item[title]; $url = $item[link]; $description = $item[description]; // http://de2.php.net/manual/de/function.strtr.php $enctitle = strtr($title, $tr1, $tr2); $enctitle = rawurlencode($enctitle); $description = strtr($description, $tr1, $tr2); $title2 = strtr($title, $tr1, $tr2); $url2 = "/rss_" . $enctitle . ".html"; $title3 = $title; $max = 200; // $max = 18 * 3; // max 3 lines if(strlen($title3) > $max) { $title3 = substr($title3, 0, $max - 1) . "..."; } // if // echo "$title2
\n"; if($i > 0) echo "
"; echo "$title3\n"; $i++; // echo ""; } ?>

bereitgestellt von fotoinfo.de provided by dphoto1.com