Thanks for your help, I put the code on signup.php page and it shows
/signup.php
I tried using the code you provided, and it actually makes a lot of sense and was very helpful. But since I'm be calling it from "rightcolumn.tpl", the PHP code didn't work. I tried the following but it still didn't work, it still displayed the login box regardless of what page I was in.
{if $smarty.server.php_self != 'signup.php'}
{include file="login_rightside.tpl"}
{else}
Testing code
{/if}
What's interesting is that I then tried:
{if $smarty.server.php_self == 'signup.php'}
{include file="login_leftside.tpl"}
{else}
Testing code
{/if}
And it actually displayed the text "Testing code" on the right column, but it displayed that on every page (index.php, search.php etc), so I have no idea why that's happening...