200 || $aClean['iNumVersions'] < 0) $aClean['iNumVersions'] = 25; apidb_header("Browse Newest Applications"); /* Selector for how many versions to view */ echo "
"; echo "How many versions to display:"; echo ""; echo ' '; echo '
'; echo '
'; /* Query the database for the n newest versions */ $hResult = query_parameters("SELECT appId, appName, description, submitTime FROM appFamily WHERE queued = 'false' ORDER BY appId DESC LIMIT ?", $aClean['iNumVersions']); if($hResult) { echo html_frame_start("", "90%", '', 0); echo html_table_begin("width=\"100%\" align=\"center\""); echo "\n"; echo "Submission Date\n"; echo "Application\n"; echo "Description\n"; $c = 1; while($row = mysql_fetch_object($hResult)) { $bgcolor = ($c % 2) ? "color0" : "color1"; $link = "appId\"> $row->appName "; echo ""; echo "".print_short_date(mysqltimestamp_to_unixtimestamp($row->submitTime))."\n"; echo "$link \n"; echo "$row->description \n"; $c++; } echo html_table_end(); echo html_frame_end(); } apidb_footer(); ?>