Added number of rows button in homepage

Changed index to php from html