connect_error) { die("Connection failed: " . $conn->connect_error); } function test_input($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); $data = htmlentities($data); return $data; } $date = date("Y-m-d H:i:s"); $ip_address = $_SERVER['REMOTE_ADDR']; $season_date = date("Y-m-d"); $date_year = date("Y"); $spring_begin_date = date('Y-02-28 23:59:59'); $spring_end_date = date('Y-05-31 23:59:59'); $summer_begin_date = date('Y-06-21 23:59:59'); $summer_end_date = date('Y-09-23 23:59:59'); $fall_begin_date = date('Y-09-23 23:59:59'); $fall_end_date = date('Y-09-28 23:59:59'); $halloween_begin_date = date('Y-09-28 23:59:59'); $halloween_end_date = date('Y-11-02 23:59:59'); $thanksgiving_begin_date = date('Y-11-02 23:59:59'); $thanksgiving_end_date = date('Y-11-24 23:59:59'); $christmas_begin_date = date('Y-11-28 23:59:59'); $christmas_end_date = date('Y-12-26 23:59:59'); $new_year_begin_date = date('Y-12-26 23:59:59'); $new_year_end_date = date('Y-01-02 23:59:59'); if(isset($_GET["affiliate"])) { $affiliate = test_input($_GET["affiliate"]); } if(isset($_GET["automobile_flyer"])) { $automobile_flyer = test_input($_GET["automobile_flyer"]); } if(isset($_GET["a"])) { $a = test_input($_GET["a"]); } if(isset($_GET["auto"])) { $auto = test_input($_GET["auto"]); } if(isset($_GET["work_from_home_flyer"])) { $work_from_home_flyer = test_input($_GET["work_from_home_flyer"]); } if(isset($_GET["w"])) { $w = test_input($_GET["w"]); } if(isset($_SERVER['HTTP_REFERER'])) { $referral_address = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } if(isset($_GET["qr_code_medium"])) { $qr_code_medium = test_input($_GET["qr_code_medium"]); } if(isset($_GET["business_card_qr_code"])) { $business_card_qr_code = test_input($_GET["business_card_qr_code"]); } if(isset($_GET["work_from_home_flyer_qr_code"])) { $work_from_home_flyer_qr_code = test_input($_GET["work_from_home_flyer_qr_code"]); } function getVisIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { return $_SERVER['HTTP_CLIENT_IP']; } else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { return $_SERVER['HTTP_X_FORWARDED_FOR']; } else { return $_SERVER['REMOTE_ADDR']; } } // Store the IP address $ip = getVisIPAddr(); // Use JSON encoded string and converts // it into a PHP variable //$ipdat = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=" . $ip)); $country_name = $ipdat->geoplugin_countryName; $continent_name = $ipdat->geoplugin_continentName; // Variable initialization $site_name = ""; $page_name = ""; $ip_address = ""; $referer = ""; $browser = ""; // End variable initialization $date = date("Y-m-d H:i:s"); $site_name = "Hoover Products Corporation"; $page_name = "Home"; if(isset($_SERVER['REMOTE_ADDR'])) { $ip_address = test_input($_SERVER['REMOTE_ADDR']); } if(isset($_SERVER['HTTP_REFERER'])) { $referer = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } $rt_affiliate_id = mysqli_query($conn, "SELECT affiliate_id FROM user_traffic WHERE ip_address = '$ip_address' ORDER BY date ASC LIMIT 0, 1") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } if($affiliate_id == "") { $affiliate_id = $_COOKIE['affiliate_id']; if($affiliate_id == "") { $affiliate_id = $_GET['affiliate_id']; } } // Campaign tracking if(isset($_SERVER['REMOTE_ADDR'])) { $ip_address = test_input($_SERVER['REMOTE_ADDR']); } if(isset($_SERVER['HTTP_REFERER'])) { $referer = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } if(isset($_GET['campaign'])) { filter_var($_GET['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_GET['campaign']); } if(isset($_POST['campaign'])) { filter_var($_POST['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_POST['campaign']); } if(isset($_GET['campaign_tracking_variable'])) { filter_var($_GET['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_GET['campaign_tracking_variable']); } if(isset($_POST['campaign_tracking_variable'])) { filter_var($_POST['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_POST['campaign_tracking_variable']); } $visitor_id = rand(100000000000, 999999999999); $date_minus_five_days = date('Y-m-d', strtotime('-5 days')); if(isset($_SERVER['HTTP_USER_AGENT'])) { $user_agent = test_input($_SERVER['HTTP_USER_AGENT']); } // Search for Bot, Crawler or Robot if(strpos($user_agent, 'are', 'Bot', 'Crawler', 'Robot', 'Spider', 'Bots', 'Scraper', 'bot', 'crawler', 'robot', 'spider', 'bots', 'externalhit_uatext.php', 'searchengine', 'search', 'indexing', 'fetcher', 'testing', 'scraper', 'SemrushBot', 'SemrushBot/7~bl;') === false) { // Only keep 5 days of stats mysqli_query($conn, "DELETE FROM tracking_all_stats WHERE date < '$date_minus_five_days'") or die(mysqli_error()); mysqli_query($conn, "INSERT INTO tracking_all_stats (visitor_id, ip_address, site_name, page_name, referer, continent, country, browser, date) VALUES ('$visitor_id', '$ip_address', '$site_name', '$page_name', '$referer', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); if(isset($_GET['campaign'])) { $visitor_id = rand(100000000000, 999999999999); $rt_campaign_data = mysqli_query($conn, "select campaign, campaign_tracking_variable from campaign_test_variable where campaign = '$campaign' and campaign_tracking_variable = '$campaign_tracking_variable'") or die(mysqli_error()); $rt_campaign_data_rows = mysqli_num_rows($rt_campaign_data); if($rt_campaign_data_rows) { mysqli_query($conn, "insert into tracking_stats (visitor_id, ip_address, site_name, page_name, referer, campaign, campaign_tracking_variable, continent, country, browser, date) values ('$visitor_id', '$ip_address', '$site_name', '$page_name', '$referer', '$campaign', '$campaign_tracking_variable', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); } } if($affiliate_id) { //Set cookies if(!$sales_rep_id_cookie) { $rt_sales_rep_id = mysqli_query($conn, "select affiliate_id from user_traffic where ip_address = '$ip_address' order by date asc limit 0, 1") or die(mysqli_error()); $rt_sales_rep_id_rows = mysqli_num_rows($rt_sales_rep_id); if(!$rt_sales_rep_id_rows) { $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (105120000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (105120000 * 30), "/"); // 86400 = 1 day } } $rs_affiliate_id_verify = mysqli_query($conn, "SELECT affiliate_id FROM user_info WHERE affiliate_id = '$affiliate_id' LIMIT 0, 1") or die(mysqli_error()); $rs_affiliate_id_verify_rows = mysqli_num_rows($rs_affiliate_id_verify); if($rs_affiliate_id_verify_rows) { mysqli_query($conn, "INSERT INTO user_traffic (affiliate_id, product_id, ip_address, referral_address, continent, country, browser, date) VALUES ('$affiliate_id', '$medium_variable', '$ip_address', '$referral_address', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); } } } // Variable initialization $ip_address = ""; $referer = ""; $browser = ""; $campaign = ""; $campaign_tracking_variable = ""; // End variable initialization // Campaign tracking if(isset($_SERVER['REMOTE_ADDR'])) { $ip_address = test_input($_SERVER['REMOTE_ADDR']); } if(isset($_SERVER['HTTP_REFERER'])) { $referer = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } if(isset($_GET['campaign'])) { filter_var($_GET['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_GET['campaign']); } if(isset($_POST['campaign'])) { filter_var($_POST['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_POST['campaign']); } if(isset($_GET['campaign_tracking_variable'])) { filter_var($_GET['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_GET['campaign_tracking_variable']); } if(isset($_POST['campaign_tracking_variable'])) { filter_var($_POST['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_POST['campaign_tracking_variable']); } if(!$affiliate) { mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); $rt_sales_rep_id = mysqli_query($conn, "select affiliate_id from user_traffic where ip_address = '$ip_address' order by date asc limit 0, 1") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_sales_rep_id)) { $affiliate_id = $row['affiliate_id']; $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day } mysqli_query($conn, "unlock table") or die(mysqli_error()); } if($affiliate && $automobile_flyer != "1" && $auto != "1" && $work_from_home_flyer != "1" && $work_from_home_flyer_qr_code != "1" && $w != "1" && $a != "1" && $qr_code_medium != "Affiliate_Info_Mailing_Letter_QR_Code" && $business_card_qr_code != "1") { $affiliate = str_replace("&amp;", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Business Card Link', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> Hoover Products Corporation

$$$ Earn Money

X

Earn up to 75% commission plus residual, referral & performance bonuses.

Learn More

Home
Computer Programs
Free Classifieds
Free QR Code Generator
Affiliate Program
Affiliate Program Login for Affiliates
Affiliate Training Center
About
Contact

Hoover Products Corporation Logo

"Good products at a fair price!"



= "$spring_begin_date" && $date <= "$spring_end_date") { ?>Happy Spring! = "$summer_begin_date" && $date <= "$summer_end_date") { ?>Hot Summer = "$fall_begin_date" && $date <= "$fall_end_date") { ?>Happy Fall = "$halloween_begin_date" && $date <= "$halloween_end_date") { ?>Happy Halloween = "$thanksgiving_begin_date" && $date <= "$thanksgiving_end_date") { ?>Happy Thanksgiving = "$christmas_begin_date" && $date <= "$christmas_end_date") { ?>Merry Christmas = "$new_year_begin_date" && $date <= "$new_year_end_date") { ?>Happy New Year's

Administration System



Administration Affiliate Program

Our Family of Products:

Zerria Advertising



Zerria Search & Zerria Advertising.  Pay per click advertising of banners, text ads & video ads.  Earn 75%  Advertiser Signup  Publisher Signup

Chatz.us



Chat, Singles & Social Networking Platform.  Earn 50% monthly (residual) commission plus $.25 per free user referred.  Affiliate Program - Join today

The Free Classifieds Platform



Free classifieds for the world.  Advertise any product or service.  Purchase options added for upsell on ad styles & preferred placement.  Affiliate Program pays 30% plus 10% residual Join today

Computer Programs



Increase your customers and maximize your sales tenfold.   Affiliate Program pays 50% plus 10% residual (You are paid for the sales of affiliates you refer).  Join today

Opportunities Unlimited



Business Ideas.  Access 361 business ideas.  Includes bonuses and additional products you can sell today.  Affiliate Program pays 30% plus 10% residual Join today

Free Web Content Daily



Content supply source for authors and website owners.  Authors add articles and website owners stream the content on their website in article or newsletter form.  Updates daily - 100% free.  Affiliates can add the articles and newsletters to their website and earn commission.  Beta version

Investigator 2000



Search Tool.  Find information not found on search engines.  Sales rep program pays 30% commission per sale plus 10% residual commission on the sales of reps you sign up.  Join today

Links   Privacy Policy





Hoover Products Corporation Twitter



John D. Hoover YouTube Channel



Hoover Products Corporation Instagram