Bad Request. We have noted your IP." ,$fglobal);
}
else{ //check if it exist
$login_st = checkdb($rid);
if (count($login_st)>0){
$_SESSION['rid'] = $rid;
header('Location: jax_regr.php');
exit;
}
else{
$form_t = file_get_contents("themes/jaxtheme/jax_reg.html");
$fglobal = file_get_contents("themes/jaxtheme/globalt.html");
$fglobal = str_replace("%mytitle%","Registration",$fglobal);
$fglobal = str_replace("%h%","",$fglobal);
$fglobal = str_replace("%r%","class='active'",$fglobal);
$fglobal = str_replace("%s%","",$fglobal);
$fglobal = str_replace("%l%","",$fglobal);
$newc = '
UNSUCCESSFUL
Invalid ID. Please if any issue, contact 08057991601.
';
$fglobal = str_replace("%content%",$newc . " " . $form_t,$fglobal);
echo $fglobal;
}
}
}
else{
$form_t = file_get_contents("themes/jaxtheme/jax_reg.html");
$fglobal = file_get_contents("themes/jaxtheme/globalt.html");
$fglobal = str_replace("%mytitle%","Registration",$fglobal);
$fglobal = str_replace("%h%","",$fglobal);
$fglobal = str_replace("%r%","class='active'",$fglobal);
$fglobal = str_replace("%s%","",$fglobal);
$fglobal = str_replace("%l%","",$fglobal);
$fglobal = str_replace("%content%",$form_t,$fglobal);
echo $fglobal;
}
?>