Tags In Thread: if else block is not working logically

User Name
Tagged By
Date