Screenshot class cleanups. Move screenshot related functions into the class. Rename get_screenshot_img() to
get_random_screenshot_img() so the name of the function matches its purpose
This commit is contained in:
@@ -118,7 +118,8 @@ while ($oRow = mysql_fetch_object($Ids))
|
||||
// display thumbnail
|
||||
$oVersion = new version($oRow->versionId);
|
||||
$oApp = new Application($oVersion->iAppId);
|
||||
$img = get_thumbnail($oRow->id);
|
||||
$oScreenshot = new Screenshot($oRow->id);
|
||||
$img = $oScreenshot->get_thumbnail_img();
|
||||
echo "<td align=center>\n";
|
||||
echo $img;
|
||||
echo "<div align=center>". substr($oRow->description,0,20). "\n";
|
||||
|
||||
Reference in New Issue
Block a user