<?php
error_reporting(0);
include("../../../config/os.php");
$playstr=ubo(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>
<head>
<meta charset="gb2312">
<meta name="viewport" content="width=device-width,initical-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
<title><?php echo $shipin['name']?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="/2019newui/js/jquery.min.js"></script>
<script src="/layui/layui.js" charset="utf-8"></script> 
<link rel="stylesheet" href="/layui/css/houtai.css" media="all" />
<script type="text/javascript" src="/2019newui/ckplayer/ckplayer.js" charset="UTF-8"></script>
<script src="/layui/layui.js"></script>
</head>
<body style="overflow-x: hidden;" >
<style>
.clearfix {display: block;}
ul, li {list-style: none;}
* {margin: 0;padding: 0;}
div, ul, li, dl, dt, dd, table, td, input {font-size: 12px;}
.goods-wrap {background: #f2f2f2 none repeat scroll 0 0;width: 100%;float: left;margin-bottom: 20px;}
.demopage {width:100%;margin: 0 auto;}
.demopage h2 {font-size: 14px;margin: 0;padding: 0;}
.scrollDiv {height: 25px;/* 必要元素 */line-height: 25px;border: #ccc 1px solid;overflow: hidden;/* 必要元素 */}
.scrollDiv li {height: 25px;padding-left: 10px;}
#s2, #s3 {height: 100px;}
.goods-list {width: 100%;}
.goods-list li {margin-top: 10px;border-radius: 10px;overflow: hidden;padding: 1px;float: left;box-sizing: border-box;width: 45.5%;margin-left:3%;border-right: 1px solid #dedede;
border-bottom: 1px solid #dedede;position: relative;overflow: hidden;background: #fff;height: 231px;}
.goods-list li:nth-of-type(even) {border-right: none;}
.goods-list .g-pic img {display: block;width: 100%;margin: 0 auto;}
.goods-list .g-name {display: block;width: 95%;margin: auto;max-height: 45px;line-height: 22px;font-size: 12px;text-align: left;color: #666;overflow: hidden;text-overflow: ellipsis;word-break: break-all;}
.goods-list ins {text-decoration: none;line-height: 16px;}
.goods-wrap .btn-wrap {position: relative;width: 100px;margin: 8px auto 8px;}
.goods-wrap .buy-btn {text-decoration: none;margin-top: 5px;display: block;width: 94px;height: 28px;line-height: 28px;text-align: center;border: 1px solid #ccc;color: #333;border-radius: 16px;}
.goods-list .pTitle {width: 70px;height: 16px;line-height: 16px;-webkit-transform: rotate(-45deg);text-align: center;position: absolute;left: -24px;top: 3px;color: #fff;font-size: 10px;}
.hezi-menu{ width: 100%;}
.hezi-menu li{ width: 20%; float: left; text-align: center; line-height: 40px; }
.hezi-menu li span{ width: 80%; display: block; margin: auto; height: 30px; margin-top: 5px;line-height: 30px;}
.vType{background: #4f6892; color: #fff;}
.choose{background: red;}
.loaddiv{position: fixed;display:none;width:100%; height:100%; z-index: 10000;background: rgba(0,0,0,0.6); top:0;}
.box-div{width: 100%; height: 130px; overflow: hidden;}
</style>
<center style=" background: #4f6892; line-height: 46px;  color: #fff;margin-bottom: 2px;"><b><font size="3" color="#fff" id="title"><?php echo $shipin['name']?></font></b></center>
<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 id="txt" style="text-decoration:none;text-align:center;" class="goods-wrap marginB">
<ul class="goods-list clearfix" >
<?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 class="fuckyou" ><div class="box-div"><a href="<?php echo $row['link']?>" class="g-pic"><img src="<?php if($row[pic]){?><?php echo $row[pic]?><?php }else{?>/2019newui/images/nopic.jpg<?php }?>" width="136" height="136"></a></div><p class="g-name fuckyou"><?php echo $row['name']?></p><div class="btn-wrap"><ins class="gray9" style="color:red">
<script>document.write(parseInt(Math.random()*(688-30)+30))</script>人正在观看<!--，好评度<script>document.write(parseInt(Math.random()*(100-90)+90))</script>%-->
</ins><a href="<?php echo $row['link']?>" class="u-home addHome buy-btn">立即播放</a></div></li>
<?php }?>
</ul>
</div>
</div>
</div>
<script type="text/javascript">
document.oncontextmenu = function(){
event.returnValue = false;
}
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();
}
</script>
</body>
</html>
