It's a combined Neo-Geo/SFII layout. Often that 7th button is just a repeat of another button but you can make it a separate input as well if your encoder can handle it.
The 4th button on the 3rd and 4th players is for those couple of games that are 4P simo and support four action buttons (namely, the Dungeons & Dragons games.)