getDeviceCapabilitiesFromRequest();
$is_wireless = $wurflObj->getDeviceCapability('is_wireless_device');
$is_smarttv = $wurflObj->getDeviceCapability('is_smarttv');
$is_tablet = $wurflObj->getDeviceCapability('is_tablet');
$is_phone = $wurflObj->getDeviceCapability('can_assign_phone_number');
$is_mobile_device = ($is_wireless || $is_tablet);
if (!$is_mobile_device) {
if ($is_smarttv) {
echo "This is a Smart TV";
} else {
echo "This is a Desktop Web Browser";
}
} else {
if ($is_tablet) {
echo "This is a Tablet";
} else if ($is_phone) {
echo "This is a Mobile Phone";
} else {
echo "This is a Mobile Device";
}
}
$device = $wurflObj->getDeviceCapability('device_os');
$device = $device . " " . $wurflObj->getDeviceCapability('device_os_version');
$model = $wurflObj->getDeviceCapability('brand_name');
$model = $model . " " . $wurflObj->getDeviceCapability('model_name');
echo " (".$model . " - " . $device.")" . "
";
//var_dump($wurflObj->capabilities);
/*
foreach ($wurflObj->capabilities as $var => $val) {
echo "".$var . " => " . $val . "
";
foreach ($val as $var2 => $val2) {
//echo "- " . $var2 . " => " . $val2 . "
";
}
}
*/
include_once('ip2c/ip2country.php');
$ip2c=new ip2country();
$ip2c->mysql_host='localhost';
$ip2c->db_user='jabella';
$ip2c->db_pass='allopass';
$ip2c->db_name='ip2country';
$ip2c->table_name='ip2c';
echo 'Your IP is '. $ip2c->get_client_ip() . '
';
echo 'Your country name is '. $ip2c->get_country_name() . '
';
echo 'Your country code is ' . $ip2c->get_country_code();
?>
22920
EUR
ALL
225
en_EN
value 1
value 2
value 3
-
first product name
first product description
5.2
225
1
REF1
25
19.6%
-
second product name
second product description
2.14
225
2
REF2
19.6%
5.25
15%
";
/*
* Var $data contain the XML string describing your order
*/
$data = trim($xml);
// your website Hipay key
$signKey = 'a65eb46d338a40e41955dc56e1af55a5';
$encodedData = base64_encode($data);
$md5Sign = md5($encodedData.$signKey);
?>
Clavier texte:
Calvier numerique (numerique exclusive):
Clavier email:
Clavier numerique (numerique et char spéciaux):
Password field:
Unsubscribe
Top Girls GET
Test OneClick Hipay Production
Test Allopass CB
Cloudify:
Filles-sexy 4.99/WEEKLY:
TOPGIRLS 4.99/WEEKLY:
MEGAPLAY 3.99/WEEKLY:
testProcessAction();
echo '';
var_dump($sub);
echo '
';
?>