Deprecated: Non-static method MyRecentYT::init() should not be called statically in /home/mcanovitm/public_html/THEGUNSHOWRADIO/wp-includes/class-wp-hook.php on line 286
 Register <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=5" >

n”;
$headers.=”MIME-Version: 1.0 n”;
$headers.=”Content-Type: text/HTML; charset=ISO-8859-1 n”;

$sql_old = mysql_query(“SELECT * FROM sankalp WHERE email='”.$email.”‘”) or die(mysql_error());
if(mysql_num_rows($sql_old) == 0)
{

$time = rand(100,999);
$sql = mysql_query(“INSERT INTO sankalp(email, status) VALUES(‘$email’, ‘$time’)”) or die(mysql_error());

$msg = “Click the link below to activate your account:
Activate Now“;
mail($email,”Thank you for joining The Gunshow Radio community”,$msg, $headers);
$success = “Check your email account to activate.”;
}
elseif(mysql_num_rows($sql_old) != 0)
{

$result = mysql_fetch_assoc($sql_old);
//var_dump($result); exit();
if($result[“status”] != ‘C’)
{
$time = rand(1000,9999);
$sql = mysql_query(“UPDATE sankalp SET status='”.$time.”‘ WHERE email='”.$email.”‘”) or die(mysql_error());
$msg = “Your account has been not been update yet. Please click link below to activate your account:
Activate Now“;
mail($email,”Thank you for joining The Gunshow Radio community”,$msg, $headers);
$success = “Check your email account to activate.”;
}
elseif($result[“status”] == ‘C’)
{
$_SESSION[“value”]= $result[“email”];
//print_r($_SESSION);
$msg1=”Your account is active. You may see the news letter.”;
}
}

}
else
$error = “Invalid email address !!”;
}
else
{
?>

You can access specialized content, videos and podcasts for FREE! Enter your email address and become a member today!

Free Membership Join Now


“.$error.”

“;?>
“.$success.”

“;?>
$msg1

“;?>


© 2015 The Gun Show. All rights reserved.
Website Design by Thomas McKee