hi there friends i have been thinking on creating a bit in me settings so when the reg is turned off it takes the link off the login page i was going to use this but would not now what to change
$res=mysql_query("UPDATE users SET automsgs='".$id."' WHERE id='".getuid_sid($sid)."'");
if(($res)&&($id==1)){$main.="<img src=\"../images/ok.gif\" alt=\"o\"/><br/>Auto Msgs Are Now Enabled\n";}
else if(($res)&&($id==0)){$main.="<img src=\"../images/ok.gif\" alt=\"o\"/><br/>Auto Msgs Are Now Disabled\n";}
else{$main.="<img src=\"../images/error.gif\" alt=\"o\"/><br/>Database error!\n";}
can any one help me out please
i need to so it says when the reg is turned off it will say on the login page reg turned off please try later but want it so it can be turned off in the settings in the tools
$res=mysql_query("UPDATE users SET automsgs='".$id."' WHERE id='".getuid_sid($sid)."'");
if(($res)&&($id==1)){$main.="<img src=\"../images/ok.gif\" alt=\"o\"/><br/>Auto Msgs Are Now Enabled\n";}
else if(($res)&&($id==0)){$main.="<img src=\"../images/ok.gif\" alt=\"o\"/><br/>Auto Msgs Are Now Disabled\n";}
else{$main.="<img src=\"../images/error.gif\" alt=\"o\"/><br/>Database error!\n";}
can any one help me out please
i need to so it says when the reg is turned off it will say on the login page reg turned off please try later but want it so it can be turned off in the settings in the tools
Comment