\n";
$done = $each * $c;
for ($l = $done; $l < ($each * ($c + 1)); $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";
}
}
}
}
print "