\n";
}
// set img tag
$imgSRC = '
';
// get image size
$size = getimagesize("data/screenshots/".$ob->url);
// generate random tag for popup window
$randName = generate_passwd(5);
// set image link based on user pref
$img = ''.$imgSRC.'';
if (loggedin())
{
if ($_SESSION['current']->getpref("window:screenshot") == "no")
{
$img = ''.$imgSRC.'';
}
}
// display image
echo "\n";
echo html_frame_start(substr(stripslashes($ob->description),0,20),128,"",0);
echo $img;
//show admin delete link
if(loggedin() && (havepriv("admin") || isMaintainer($appId, $versionId)))
{
echo "";
}
echo html_frame_end(" ");
echo " | \n";
// end row if counter of 3
if ($c % 3 == 0) echo "