Showing latest activity of thread in forum detail page

Now latest activity of thread is shown in forum details
- Recursive function is used to check the latest activity.