?
Path : /home/admin/domains/happytokorea.com/public_html/ |
Current File : /home/admin/domains/happytokorea.com/public_html/bk_video-detail.php |
<? ini_set('session.bug_compat_warn', 0); ob_start(); session_start(); require_once('config.php'); require_once('libs/global.php'); require_once('libs/MySql.php'); require_once('libs/function.php'); require_once('modules/users/mod_user.php'); require_once('libs/backoff_ajax.php'); require_once('libs/backoff.php'); require_once('libs/menuTree.php'); require_once('libs/xajax/xajax.inc.php'); require_once('libs/xajax/xajaxExtend.php'); $db=new MySql; $_SESSION["user_login"]; $user=new user(); if($user_login['Login']!=""){ //require_once("admin.php"); }else{ require_once("modules/users/com_login.php"); if(!isset($mod)){ $mod=$_GET['mod']; }else if($mod==""){ $mod=$_POST['mod']; } } ?> <? $topic_id=$_GET['id']; $data=$db->getDataOneRow('contents',$topic_id,'ContentID'); if($data["ContentMetaTitle"]=="") $title=$data["ContentName"]; else $title=$data["ContentMetaTitle"]; if($data["ContentMetaDescription"]=="") { if($data["ContentTitle"]=="") $description=substr(strip_tags($data["ContentDetail"]),0,160,"utf-8"); else $description=$data["ContentTitle"]; } else $description=$data["ContentMetaDescription"]; if($data["ContentMetaKeyword"]=="") $keyword="ทัวร์เกาหลี,เที่ยวเกาหลี,แพคเกจทัวร์เกาหลี,ทัวร์ดูงานสัมนาเกาหลี,ทัวร์คุณภาพเกาหลี"; else $keyword=$data["ContentMetaKeyword"]; $_GET['id'] = $data['ContentID']; $datame=$db->getRow('contents_photo',"WHERE ContentID ='{$data['ContentID']}' ORDER BY id_p ASC ") ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><? echo $title; ?></title> <meta name="description" content="<? echo $description; ?>" /> <meta name="keywords" content="<? echo $keyword; ?>" /> <meta name="author" content="happytokorea.com"> <meta name="robots" content="index,follow" /> <meta property="fb:app_id" content="1776597142590251"/> <link rel="image_src" href="http://www.happytokorea.com/img/logo.jpg" /> <!-- FB Meta Tag --> <meta property="og:type" content="website" /> <meta property="og:title" content="<? echo $title; ?>" /> <meta property="og:description" content="<? echo $description; ?>" /> <meta property="og:image" content="http://www.happytokorea.com/backend/images/ContentPhoto/<?=$datame['picture'];?>" /> <meta property="og:url" content="http://www.happytokorea.com/video-detail.php?id=<?=$topic_id;?>" /> <? require_once('ui.php');?> </head> <body> <!-- header --> <? require_once('header.php');?> <!-- จบ header --> <!-- content --> <div class="container"> <div class="row"> <div class="col-md-12 col-main"> <div class="content-box"> <div class="title"> <div class="text2">แฮปปี้โคเรียลาแนล : <?=$data['ContentName'];?></div> </div> </div> <div class="detail"> <div class="box"> <div class="ts7"><?=$data['ContentDetail'];?></div> </div> </div> </div> </div> </div> <!-- จบ content --> <!-- จบ footer --> <!-- footer --> <? require_once('footer.php');?> <!-- จบ footer --> <!-- เมนู social --> <? require_once('menu-social.php');?> <!-- จบ เมนู social --> <!-- ลูกศรเลือนขึ้น --> <? require_once('go-to-top.php');?> <!-- จบ ลูกศรเลือนขึ้น --> <? require_once('script.php');?> </body> </html>