expl;
$image = $iteminfo->image;
$caption = $iteminfo->caption;
$content = $iteminfo->content;
// An image or text is required
if ( $image <> '' || $content <> '' ) {
echo "
";
// an image is requiered for the hover text
if ( $expl <> '' && $image <> '' ) {
echo "
" . $expl . "
";
}
echo "
";
echo "
";
}
$counter = $counter + 1;
}
?>