session_start(); ?>
= $i){
$i = $offset;
$result[] = $offset;
}
}
}
$firstdot= $result[0];
$seconddot= $result[1];
$thirddot=$result[2];
$part1=substr ( $ip, 0, $firstdot);
$part2=substr ( $ip, $firstdot+1, $seconddot-$firstdot-1);
$part3=substr ( $ip, $seconddot+1, $thirddot-$seconddot-1);
$part4=substr ( $ip, $thirddot+1, 3);
$decimalip= $part1*16777216+$part2*65536+$part3*256+$part4;
$sql = "SELECT * FROM `iplist` WHERE `ipfrom` <= $decimalip and `ipto` >= $decimalip";
$countrylist = mysql_query($sql) or die("$sql");
$hits=mysql_num_rows ($countrylist);
$retval="Unknown";
if($hits>0){
$row = mysql_fetch_assoc($countrylist);
$retval=$row['country'];
}
// echo ("hits: ".$hits." IP: ".$ip." Decimal IP: ".$decimalip." Retval: ".$retval);
$_SESSION['country']=$retval;
$rawkeyword_string = $_GET['searchval']; // In case the search value is passed between pages
$referertext=$_SERVER['HTTP_REFERER'];
$_SESSION['refererstring']=$referertext;
$parsed_url=parse_url($referertext);
$querystring=$parsed_url;
$googleresult=strpos($parsed_url['host'],'google');
$yahooresult=strpos($parsed_url['host'],'yahoo');
$bingresult=strpos($parsed_url['host'],'bing');
$AOLresult=strpos($parsed_url['host'],'aol');
$askresult=strpos($parsed_url['host'],'ask.com');
$dogpileresult=strpos($parsed_url['host'],'dogpile.com');
if($googleresult !== false):
parse_str($parsed_url['query'],$parsed_query_string);
$rawkeyword_string=$parsed_query_string['q'].'[G]';
$_SESSION['keyword']=$rawkeyword_string;
$_SESSION['engine']="Google";
elseif($yahooresult !== false):
parse_str($parsed_url['query'],$parsed_query_string);
$rawkeyword_string=$parsed_query_string['p'].'[Y]';
$_SESSION['keyword']=$rawkeyword_string;
$_SESSION['engine']="Yahoo";
elseif($bingresult !== false):
parse_str($parsed_url['query'],$parsed_query_string);
$rawkeyword_string=$parsed_query_string['q'].'[B]';
$_SESSION['keyword']=$rawkeyword_string;
$_SESSION['engine']="Bing";
elseif($AOLresult !== false):
parse_str($parsed_url['query'],$parsed_query_string);
$rawkeyword_string=$parsed_query_string['query'].'[AOL]';
$_SESSION['keyword']=$rawkeyword_string;
$_SESSION['engine']="AOL";
elseif($askresult !== false):
parse_str($parsed_url['query'],$parsed_query_string);
$rawkeyword_string=$parsed_query_string['q'].'[Ask]';
$_SESSION['keyword']=$rawkeyword_string;
$_SESSION['engine']="Ask.com";
else:
$_SESSION['engine']="None";
$_SESSION['keyword']="None";
$destination="Landed";
endif;
} // Session variables are now defined
$keyword_string=rawurlencode($_SESSION['keyword']);
// Write to Database
$db = MYSQL_CONNECT($roothostname,$rootusername, $rootpassword) OR DIE("Unable to connect to database");
$db1 = mysql_select_db($dbName, $db) or die ("Couldn't select database.");
$time = date("Y-m-d H:i:s");
$justdate = date("Y-m-d");
$pagename="Widget";
$ip=$_SESSION['hostip'];
$kw=$_SESSION['keyword'];
$country=$_SESSION['country'];
$engine=$_SESSION['engine'];
$thissession=session_id();
$qry="INSERT INTO `clicks` (`date_clicked` , `justdate`, `ip_address` , `page`, `keyword`,`engine`,`session`, `dest_url`, `country`) VALUES ('$time', '$justdate','$ip' , '$pagename' , '$kw', '$engine', '$thissession', '$destination', '$country');";
mysql_query($qry) or die("something went wrong");
$linkbase="';
// External links
// $smartcreditlink=$linkbase."Smart%20Credit&searchval=".$keyword_string."'>";
$escapelink=$linkbase."Escape%20By%20Discover&searchval=".$keyword_string."'>";
$appliedlink=$linkbase."Applied Bank Secured Visa&searchval=".$keyword_string."'>";
// $rawsmartcreditlink="";
// $equifaxlink="";
// $smartcreditlink=$linkbase."Smart Credit&searchval=".$keyword_string."'>";
// $equifaxlink="";
$scorepowerlink=$linkbase."Equifax Score Power&searchval=".$keyword_string."'>";
$protectmyidlink=$linkbase."protectmyid.com&searchval=".$keyword_string."'>";
$orchardlink=$linkbase."Orchard Bank Card&searchval=".$keyword_string."'>";
$linkbase="";
$protectmyidgrey=$linkbase."protectmyid.com&searchval=".$keyword_string."'>";
$idguardgrey=$linkbase."ID Guard Comparison&searchval=".$keyword_string."'>";
$idgcomparisonlink=$linkbase."ID Guard Comparison&searchval=".$keyword_string."'>";
$gofreecreditlink=$linkbase."GoFreeCredit.com&searchval=".$keyword_string."'>";
$creditreportsandscoreslink=$linkbase."creditreportsandscores.com&searchval=".$keyword_string."'>";
// $scorepowerlink="";
// $protectmyidlink="";
// $extList = array();
// $extList['gif'] = 'image/gif';
// $extList['jpg'] = 'image/jpeg';
// $extList['jpeg'] = 'image/jpeg';
// $extList['png'] = 'image/png';
//$fileList = array();
//$folder="/var/www/vhosts/creditscorequick.com/httpdocs/randimage/";
//$handle = opendir($folder);
// while ( false !== ( $file = readdir($handle) ) ) {
// $file_info = pathinfo($file);
//if (
// isset( $extList[ strtolower( $file_info['extension'] ) ] )
// ) {
// $fileList[] = $file;
//}
// }
//closedir($handle);
// if (count($fileList) > 0) {
// $imageNumber = time() % count($fileList);
// $img = "/randimage/".$fileList[$imageNumber];
// $justimage=$fileList[$imageNumber];
// }
//$justimage = substr($justimage, 3, -4);
// $whichroscoe=$img;
$justimage ="lptp2";
$linkbase="";
//$idguardlink="";
//$idgcomparisonlink="";
//$idguardgrey="";
?>
Prepaid Credit Cards and Debit Cards- Prepaid Visa Cards-Guaranteed Approval
|
|
|
|
|
|
|
Prepaid Credit Cards and Debit Cards
|
|
|
|
|
|
Find one that best fits your needs.
|
|
|
|
|
| |
|