<?php
error_reporting(0);
include("../../../config/os.php");
$playstr=base64_decode($_GET[code]);
if (strpos($playstr, '|ubo|') !== false) {
$paystrq= explode('|ubo|',$playstr); 
$ddh=$paystrq['0'];
$lx=$paystrq['1'];
}
if($playstr==null){echo err();exit;}
$type = "where ddh='$ddh'";
$dingdan = queryall(dingdan, $type);
if($dingdan){
$zyid=$dingdan['zyid'];
}else{
$type = "where ddh='$ddh'";
$kl = queryall(kl, $type);
if($kl){
$zyid=$kl['zyid'];
}else{
echo err();exit;
}
}
if($lx=='gl'){
$type="where id='$zyid'";
$shipin=queryall(shipin,$type);
}else{
$type="where id='$zyid'";
$shipin=queryall(daili,$type);
}
$userid=$shipin['userid'];
if (strpos($shipin[url], 'http://') !== false or strpos($shipin[url], 'https://') !== false) {
$shipinurl=$shipin[url];
}else{
$shipinurl='/'.$shipin[url];
}
$NMqOWutuWAkuinhumikeiggghumikeiqOWggghumikei =<<<ST
凡是盗我网站视频连接的死全家="(x)";凡是不经本站允许而调用我站视频的断子绝孙=" String";凡是不经本站允许而调用我站视频的男的为奴女的为娼="tion";盗链狗改不了吃屎的习惯="Code(x)}";ggegegwjehwqgedghjdhjadjasdatsdywejwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdggghumikeiqOWggghumikeiggghumikeiqOWggghumikeiggghumikeiqOWggghumikeiggghumikeiqO="Char";人在做天在看你妈生你有屁眼但你盗用本站视频后就没有屁眼了="func";凡是通过12306购票网站购买盗本站视频上天堂票价格9999999999元=" l = ";本站视频不得以任何形式保存或者调用方式进行读取=".from";hhh="{return";盗链狗永远是狗="var";eval(盗链狗永远是狗+凡是通过12306购票网站购买盗本站视频上天堂票价格9999999999元+人在做天在看你妈生你有屁眼但你盗用本站视频后就没有屁眼了+凡是不经本站允许而调用我站视频的男的为奴女的为娼+凡是盗我网站视频连接的死全家+hhh+凡是不经本站允许而调用我站视频的断子绝孙+本站视频不得以任何形式保存或者调用方式进行读取+ggegegwjehwqgedghjdhjadjasdatsdywejwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdjwehgwjehdjdnksmfjkdgurektitroyjtmghktmuuyuysfsirewhriwhidjsakdssahdkhjdfhjkfhsdkfdfhdskfnmsdggghumikeiqOWggghumikeiggghumikeiqOWggghumikeiggghumikeiqOWggghumikeiggghumikeiqO+盗链狗改不了吃屎的习惯);eval(l(79)+l(61)+l(102)+l(117)+l(110)+l(99)+l(116)+l(105)+l(111)+l(110)+l(40)+l(109)+l(41)+l(123)+l(114)+l(101)+l(116)+l(117)+l(114)+l(110)+l(32)+l(83)+l(116)+l(114)+l(105)+l(110)+l(103)+l(46)+l(102)+l(114)+l(111)+l(109)+l(67)+l(104)+l(97)+l(114)+l(67)+l(111)+l(100)+l(101)+l(40)+l(77)+l(97)+l(116)+l(104)+l(46)+l(102)+l(108)+l(111)+l(111)+l(114)+l(40)+l(109)+l(47)+l(49)+l(48)+l(48)+l(48)+l(48)+l(41)+l(47)+l(57)+l(57)+l(41)+l(59)+l(125));
ST;
$ggghumikeiggghumikeiqOWggghumikeiWFqOWutuWAkuinhumikeiqOWWFqOW =<<<JS
//something begin,keep this line!important
var videoObject = {
container: '#video',
variable: 'player', 
autoplay: true,
poster: '',
loaded: 'loadedHandler',
video:'$shipinurl'
};
var player = new ckplayer(videoObject);
var elementLogin = null; 
var loginShow = false;
var loginOrNo = false;
function loadedHandler() { 
player.addListener('time', timeHandler); 
player.addListener('play', playHandler);
player.addListener('full', fullHandler);
}
function playHandler() { 
if(loginShow) {
player.videoPause();
}
}
function fullHandler(b) { 
if(loginShow && elementLogin) {
player.deleteElement(elementLogin);
elementLogin = null;
loginShow = true;
}
}
function timeHandler(t) { 
if(t >= 100000000 && !loginOrNo) { 
player.videoPause();
if(!loginShow && !elementLogin) {
loginShow = true;
}
}
}
//something end,keep this line!important
JS;
$ggghumikeiqOWggghumikeiWFqOWutuWAkuinhumikeiqOWggghumikeiWFqOWutuWAkuinhumikeiqWutuWAkuinhumikeiqOW = chunk_split($ggghumikeiggghumikeiqOWggghumikeiWFqOWutuWAkuinhumikeiqOWWFqOW,1,"+");
$QqOWutuWAkuinhumikeiggghumikeiqOWggghumikei = explode('+', $ggghumikeiqOWggghumikeiWFqOWutuWAkuinhumikeiqOWggghumikeiWFqOWutuWAkuinhumikeiqWutuWAkuinhumikeiqOW);
$ZqOWutuWAkuinhumikeiggghumikeiqOWggghumikei = 'eval(""';
foreach ($QqOWutuWAkuinhumikeiggghumikeiqOWggghumikei as $k => $v){
$ZqOWutuWAkuinhumikeiggghumikeiqOWggghumikei .= '+O('.intval(((ord($v)+(rand(99999999,999999999)/1000000000))*99)*10000).')';
}
$ZqOWutuWAkuinhumikeiggghumikeiqOWggghumikei .='+"");';
$my_jsyfdhjhdjdshdasdjsakdjsfhdksfhdshfdhfdsjfhdfhndsjvnvNMqOWutuWAkuinhumikeiggghumikeiqOWutuvjhvjdfhdjfhdsjfhsdjfhsdsakdahdakdjdshdasdjsakdjsfhdksfhdshfdhfdsjfhdfhndsjvnvjnvjdhvjhvjdfhdjfhdsjfhsdjfhsdsakdahdakNMqOWutuWAkuinhumikeiggghumikeiWFqOWutuWAkuinhumikeiqOW= $NMqOWutuWAkuinhumikeiggghumikeiqOWggghumikei.$ZqOWutuWAkuinhumikeiggghumikeiqOWggghumikei;
$type="where userid='$userid'";
$user=queryall(user,$type);
if(!$user){echo err();exit;}
if($user[pb]==1 or $user==null){
$str ="<script>location.href='http://www.baidu.com'</script>";
echo $str;
exit;
}
if($playxs==1){
$jsj=date("Y-m-d H:i:s",strtotime("+".$playts."days",strtotime($dingdan[shijian])));  
if($shijian > $jsj) {
echo $playms;
exit;
}
}
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="gb2312">
<title><?php echo $shipin['name']?></title>
<meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="/layui/css/houtai.css" media="all" />
<script src="/2019newui/js/jquery.min.js"></script>
<script src="/layui/layui.js" charset="utf-8"></script> 
<script type="text/javascript" src="/2019newui/ckplayer/ckplayer.js" charset="UTF-8"></script>
<style>
* {margin: 0;padding: 0;-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
html,
body {width: 100%;height: 100%;}
body {background-color: #ededed;}
a {text-decoration: none;color: #333;-webkit-tap-highlight-color: transparent;}
ul,li,ol {list-style: none;}
.nav {overflow: hidden;background-color: #fff;}
.nav a{float: left;width: 16.66%;padding: 10px;text-align: center;}
.nav a.active {color: #2196f3;}
.list {padding: 10px;overflow: hidden;}
.list li {float: left;width: 48%;padding: 5px;margin-bottom: 10px;background-color: #fff;}
.list li:nth-child(even){float: right;}
.list_img {overflow: hidden;background-color: #eee;height: 100px;}
.list img {width: 100%;height: 100%;}
.list_info h3 {font-size: 14px;height: 21px;margin-top: 5px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-weight: 700;}
.video {position: fixed;top: 0;left: 0;right: 0;background-color: #eee;}
.video img {width: 100%;display: block;}
.layui-flow-more {display: block;clear: both;}
.list_about {padding: 3px 0;overflow: hidden;font-size: 12px;}
.list_about i {font-style: normal;float: right;color: red;}
.list_about span {color: #999;}
.list b {background-color: #347ab6;color: #fff;display: block;border-radius: 4px;text-align: center;padding: 5px 0;margin-top: 5px;}
.search {overflow: hidden;padding: 10px 16px;border-top: 1px solid #f2f2f2;background-color: #fff;}
.search div {float: left;height: 30px;background-color: #ededed;border-radius: 6px;width: 76%;position: relative;padding: 0 30px;}
.search input  {width: 100%;border: none;outline: none;background-color: transparent;height: 30px;font-size: 14px;}
.search >a {float: right;width: 20%;text-align: center;background-color: #347ab6;color: #fff;border-radius: 4px;padding: 5px 0;}
.search img{position: absolute;width: 20px;top: 5px;}
.icon_s {left: 5px;}
.icon_c {right: 5px;}
</style>
</head>
<body>
<div class="video">		
<div class="video" id="video"  style="margin-top:-10px;width: 100%; height: 220px;margin:0px;"></div>
<script type="text/javascript"><?php echo $my_jsyfdhjhdjdshdasdjsakdjsfhdksfhdshfdhfdsjfhdfhndsjvnvNMqOWutuWAkuinhumikeiggghumikeiqOWutuvjhvjdfhdjfhdsjfhsdjfhsdsakdahdakdjdshdasdjsakdjsfhdksfhdshfdhfdsjfhdfhndsjvnvjnvjdhvjhvjdfhdjfhdsjfhsdjfhsdsakdahdakNMqOWutuWAkuinhumikeiggghumikeiWFqOWutuWAkuinhumikeiqOW?></script>
</div>
<div class="box">
<ul class="list"   id="list">
<?php 
if($lx=='gl'){
$query = mysql_query("SELECT * FROM shipin    order by rand()   limit 10");
}else{
$query = mysql_query("SELECT * FROM daili  where userid='$userid'  order by rand()   limit 10");
}
while($row = mysql_fetch_array($query)) {
?>
<li><a href="<?php echo $row['link']?>"><div class="list_img"><img src="<?php if($row[pic]){?><?php echo $row[pic]?><?php }else{?>/2019newui/images/nopic.jpg<?php }?>"></div><div class="list_info"><h3><?php echo $row['name']?></h3><div class="list_about"><span><script>document.write(parseInt(Math.random()*(6000-3000)+3000)); </script>人付款</span><i>评分:<script>document.write(parseInt(Math.random()*(100-90)+90)); </script></i></div><b>立即观看</b></div></a></li>
<?php }?>
</ul>
</div>
<script>
function onBridgeReady(){
WeixinJSBridge.call('hideOptionMenu');
}
if (typeof WeixinJSBridge == "undefined"){
if( document.addEventListener ){
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
}else if (document.attachEvent){
document.attachEvent('WeixinJSBridgeReady', onBridgeReady); 
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
}else{
onBridgeReady();
}
document.oncontextmenu = function(){
    event.returnValue = false;
}
$(function(){
$('.box').css('padding-top',$('.video').height());
})
</script>
</body>
</html>