Hmm, if I had the tpl file and cfg (if exists) i could do a trial and error but maybe try this?
<php>sql_query($sql)) )            {                  message_die(GENERAL_ERROR, 'Could not query database for the most downloads');            }               $i = 1;            while ($file_most = $db->sql_fetchrow($result))             {                      $row_class = ( !($i % 2) ) ? 'row1'],                        'FILECATNAME_MOST' => $file_most['cat_name'],                        'ROW_CLASS' => $row_class,                        'FILELINK_MOST' => append_sid("dload." . $phpEx . "?action=file&file_id=" . $file_most['file_id']),                        'FILENAME_MOST' => $file_most['file_name'],                        'DESCRIP_MOST' => $file_most['file_desc'],                        'INFO_MOST' => $file_most['file_dls'] . ' ' . $lang['Dls'])                  );                                          $i++;            }              $sql = "SELECT * FROM " . $table_prefix."pa_files ORDER BY file_time DESC LIMIT 0," . $portal_config['md_num_new_downloads'];              if ( !($result = $db->sql_query($sql)) )            {                  message_die(GENERAL_ERROR, 'Could not query database for the most downloads');            }               $i = 1;            while ($file_latest = $db->sql_fetchrow($result))             {                      $row_class = ( !($i % 2) ) ? 'row1': 'row2';                  $template->assign_block_vars('dlrow2', array(                        'NUMBER_LATEST' => strval($i),                        'FILECATID_LATEST' => $file_latest['file_catid'],                        'FILECATNAME_LATEST' => $file_latest['cat_name'],                        'FILELINK_LATEST' => append_sid("dload." . $phpEx . "?action=file&file_id=" . $file_latest['file_id']),                        'ROW_CLASS' => $row_class,                        'FILENAME_LATEST' => $file_latest['file_name'],                        'DESCRIP_LATEST' => $file_latest['file_desc'],                        'INFO_LATEST' => create_date($board_config['default_dateformat'], $file_latest['file_time'], $board_config['board_timezone']))                  );                                          $i++;            }              $template->assign_vars(array(                  'FILE_CATAGORY' => $lang['File_catagory'],                  'TOP_DOWNLOADS' => $lang['Top_downloads'],                  'NEW_DOWNLOADS' => $lang['New_downloads']                  )            );      }}  imp_center_downloads2_block_func();?>
 Note: Removed 
 as I did not know what it was for, and tried testing, without luck for lack of tpl/cfg
Also, looks like you're almost there, I thought I saw some cat id #s  <img>