| Server IP : 104.21.80.248 / Your IP : 172.71.28.155 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/news/move/url/ |
Upload File : |
<?php
$mysqli = new mysqli('localhost','root','sesao8@2558','url');
$mysqli->set_charset('utf8');
$table = "short_url";
$id = $mysqli->escape_string($_GET['id']);
$SQL1 = $mysqli->query("SELECT * FROM $table WHERE Id ='$id'");
$Row1 = mysqli_fetch_array($SQL1);
$url=$Row1['yurl'];
?>
<html>
<head>
<script src="../bootstrap/js/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" />
<script src="../bootstrap/js/jquery.dataTables.min.js"></script>
<script src="../bootstrap/js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="../bootstrap/css/dataTables.bootstrap.min.css" />
<script src="../bootstrap/js/bootstrap.min.js"></script>
<?php
preg_match('/[\\?\\&]v=([^\\?\\&]+)/', $url, $matches);
$ids = $matches[1];
$width = '100%';
$height = '550px';
?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?=$Row1['title'];?></title>
<meta property="og:title" content="<?=$Row1['title'];?>" />
<meta property="og:description" content="<?=$Row1['details'];?>" />
<meta property="og:type" content="video" >
<meta property="og:image" content="http://news.sesao8.go.th/url/photos/<?=$Row1['image'];?>" />
<meta property="og:video" content="<?=$Row1['yurl'];?>" />
<meta property="og:video:height" content="268" />
<meta property="og:video:width" content="480" />
</head>
<body>
<iframe id="ytplayer" type="text/html" width="<?php echo $width ?>" height="<?php echo $height ?>"
src="https://www.youtube.com/embed/<?php echo $ids ?>?version=3&autoplay=1&rel=0&showinfo=0&color=white&iv_load_policy=3"
frameborder="0" allowfullscreen></iframe> <br><br>
<div class="container">
<div class="form-group">
<label for="usr">URL Full Facebook:</label>
<input type="text" class="form-control" id="usr" value="http://news.sesao8.go.th/url/youtube.php?id=<?=$id;?>">
</div>
<div class="well well-sm"><?=$Row1['details'];?></div>
</div>
</body>
</html>