- improve application and related classes
- use application/version/vendor class in scripts - don't use a full table for queued appication but only one field in the application and version tables - simplify the code in many places
This commit is contained in:
@@ -41,9 +41,12 @@ if($_REQUEST['cmd'])
|
||||
*/
|
||||
$hResult = get_screenshots($_REQUEST['appId'], $_REQUEST['versionId']);
|
||||
apidb_header("Screenshots");
|
||||
$oApp = new Application($_REQUEST['appId']);
|
||||
$oVersion = new Version($_REQUEST['versionId']);
|
||||
|
||||
if($hResult && mysql_num_rows($hResult))
|
||||
{
|
||||
echo html_frame_start("Screenshot Gallery for ".lookup_app_name($_REQUEST['appId'])." ".lookup_version_name($_REQUEST['versionId']),500);
|
||||
echo html_frame_start("Screenshot Gallery for ".$oApp->sName." ".$oVersion->sName,500);
|
||||
|
||||
// display thumbnails
|
||||
$c = 1;
|
||||
|
||||
Reference in New Issue
Block a user