real_escape_string($_COOKIE['invite']);
$q = "select * from petitions where web_short_name = '$invite'";
$r = $petition->query($q);
$d = mysqli_fetch_array($r);
echo "
";
if ($d['social_phone'] != ''){
echo "
";
}
if ($d['social_email'] != '' && $d['social_phone'] == ''){
echo "
";
}
}
?>