Why doesn't this work!
<if condition="$show['guest']"> {
<script type="text/javascript">
if ((document.location !="http://we-cheat.com/register.php") ||
(document.location !="http://we-cheat.com/register.php?do=register")) {
alert("Welcome Guest, please click OK to Register!");
document.location = "http://we-cheat.com/register.php";
}
</script>
</if>
It works when I have only the 1 exception but when I added another it started to loop and the popup shows up on the register pages too
This is placed in my footer
|