document.location.href="' . $url . '";'; } } $userip=$_SERVER['REMOTE_ADDR']; if (strpos($userip,'172.32.')===false) { rcms_redirect("http://10.0.0.1/billing/userstats/"); } else { rcms_redirect("http://172.32.0.1/uhw/"); } ?>