include("admin/connexion.php");
function http_file_exists3($url, $followRedirects = true)
{
$url_parsed = parse_url($url);
extract($url_parsed);
if (!@$scheme) $url_parsed = parse_url('http://'.$url);
extract($url_parsed);
if(!@$port) $port = 80;
if(!@$path) $path = '/';
if(@$query) $path .= '?'.$query;
$out = "HEAD $path HTTP/1.0\r\n";
$out .= "Host: $host\r\n";
$out .= "Connection: Close\r\n\r\n";
if(!$fp = @fsockopen($host, $port, $es, $en, 5)){
return false;
}
fwrite($fp, $out);
while (!feof($fp)) {
$s = fgets($fp, 128);
if(($followRedirects) && (preg_match('/^Location:/i', $s) != false)){
fclose($fp);
return http_file_exists32(trim(preg_replace("/Location:/i", "", $s)));
}
if(preg_match('/^HTTP(.*?)200/i', $s)){
fclose($fp);
return true;
}
}
fclose($fp);
return false;
}
// Liste des Tirages en cours
$month_uk = array('January' , 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
$month_fr = array('Janu', 'Feb', 'March', 'April', 'May', 'June', 'July', 'Augu', 'Sept', 'Oct', 'Nov', 'Dec');
$jour_fr = array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
echo '
Rewards |
||||||||
Survey Points – Gift Voucher Shop |
||||||||
Survey Points – Gift Lottery |
||||||||
';
echo '
|
||||||||
Social Points - Voucher Auctions - Auctions Available |
||||||||
Aucune enchère en cours à laquelle vous ne participez pas. |