//If we can adopt the adoptable, show the image and adoption link...
$article_content = $article_content."
<a href='adopt.php?id=".$aid."'><img src='".$eggimage."' border='0'></a> ";
if($isloggedin == "yes"){
$article_content = $article_content." ";
}
else{
$article_content = $article_content."<p><img src='templates/icons/no.gif' border=0> <b>".$guesterror."</b></p>";
}
}
$i++;
} // End the looping out of all adoptables...