Пример #1
0
	<base href="http://<?php 
echo $_SERVER['SERVER_NAME'];
?>
/" />
    <meta http-equiv="content-language" content="vi, en" />
    <meta name="keywords" content="nha thep tien che, xay dung nha xuong, ket cau thep, pre engineered steel buildings, steel building, tps" />
    <meta name="robots" content="noodp,index,follow" />
    <meta name='revisit-after' content='1 days' />
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
	<?php 
if (isset($_GET['url'])) {
    $url = $_GET['url'];
    //echo $url;
    $idNews = $i->getIDNews($url);
    $meta = $i->GetMetaFB($idNews);
    $row_meta = mysql_fetch_assoc($meta);
    ?>
    <meta property="og:type" content="article">
    <meta content="https://www.facebook.com/truongphusteel2002" property="article:publisher">
    <meta property="og:title" content="<?php 
    echo $row_meta['name_vn'];
    ?>
" />
    <meta property="og:description" content="<?php 
    echo $row_meta['sum_vn'];
    ?>
" />
    <meta property="og:image" content="<?php 
    echo "http://" . $_SERVER['HTTP_HOST'] . $row_meta['img'];
    ?>