Split template into two files
Get user ip, traffic and timestamps list from database