[SOLVED] Problem with router

Hi. Help is needed. The content of all pages is formed by ajax request with substitution of the received data to the compiled template. When moving forward, everything works correctly, when moving back, the data of the wrong template is substituted. Version 1.7.1 Link: https://pay.brsc.ru/FW7.SP/Proba/

The problem is solved. The error was that the template was inserted into a non-unique HTML-selector.