} else { echo "<a href='".get_addfavorite_link("id=".$media['id'])."'><img src='image path' alt='' border='0' /></a>\n"; }