"; $lnum = 0; foreach ($feeds as $feed) { $class = ($lnum % 2) ? "even" : "odd"; // if ($lnum == 2 || $lnum == 0) $feed = "$feed"; $feed = "$feed"; print "
  • $feed
  • "; ++$lnum; } print ""; } if ($op == "view") { $post = $_GET["post"]; $feed = $_GET["feed"]; print "

    $post

    "; print "

    $feed

    "; print "

    Blah blah blah blah blah

    "; } if ($op == "viewfeed") { $feed = $_GET["feed"]; $headlines = array("Linus Torvalds flies to the Moon", "SCO bankrupt at last", "OMG WTF ANOTHER HEADLINE", "Another clever headline from $feed", "I'm really not feeling creative today", "No, seriously"); $headlines = array_merge($headlines, $headlines); print ""; } ?>