attributes[0]["url"]; } $updated = implode(' ',$updated); // displaying the links in the specified number of columns for ($l = 0; $l < count($links); $l++) { if (isset($links[$l])) { // assign nicer variable names to link components $url = $links[$l]['url']; $extras = $links[$l]['extras']; $title = $links[$l]['title']; $status = $links[$l]['status']; // strip url to it's birthday suit to account for variations i.e. http://gazpachosoup.net vs http://www.gazpachosoup.net $naked = str_replace('http://www.','',$url); $naked = str_replace('http://','',$naked); // check if naked url exists in recently updated list $check = strpos($updated,$naked); // depending on whether or not it's recently updated, print it plain or peanut if ($check === false) { // plain - not recently updated //also, check if it's a public or private link and display private in italic if ($status == "0") { print "• $title
\n"; } else { print "• $title
\n"; } } else { // peanut - recently updated //also, check if it's a public or private link and display private in italic if ($status == "0") { print "$title
\n"; } else { print "$title
\n"; } } } } ?>