I'd like to make some code something like this:
Code: Select all
<!-- IF f=7 has UNREAD posts --><img src='#'><!-- ENDIF -->
This is so that I could display a small image (indicating unread posts in X forum) next to any forum links in my navigation bar.
Could anyone help me out with the PHP bit? I am comfortable implementing this into the template itself just not the actual function.