PHP Code:
if (!(cvar == 1))
This should be:
PHP Code:
if(get_pcvar_num(cvar) != 1)
That means if the value of the CVAR is not equal to 1. If you want to specify it only for 0 you can make it like this:
PHP Code:
if(get_pcvar_num(cvar) == 0)
Or:
PHP Code:
if(!get_pcvar_num(cvar))
__________________