<?php
$num_posts=5;
$fond='#ffffff';
$theme='light';
$ordre='time';
$largeur='470';
if (isset($_SERVER['HTTPS'] )){$http = 'https';}else {$http = 'http';}
$url = preg_replace('/www./','',$http."://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
?>
<div id="fb-root"></div>
<div class="fb-comments" data-notify="true" data-migrated="1" data-href="<?php echo $url; ?>" data-width="<?php echo $largeur; ?>" num_posts="<?php echo $num_posts; ?>" colorscheme='<?php echo $theme; ?>' style='background:<?php echo $fond; ?>'></div>