<?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;
}
$pdurl='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$fhurl=base64_encode(pdurl);
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">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="/mb/7/box_list.css">
<link rel="stylesheet" href="/mb/7/boostrap.css">
<link rel="stylesheet" type="text/css" href="/mb/7/weui.min.css">
<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 type="text/css">
* {margin: 0;padding: 0;}
a {text-decoration: none;}
img {max-width: 100%;height: auto;}
.weixin-tip {display: none;position: fixed;left: 0;top: 0;bottom: 0;background: rgba(0, 0, 0, 0.90);filter: alpha(opacity=80);height: 100%;width: 100%;z-index: 10002;}
.weixin-tip p {text-align: center;margin-top: 10%;padding: 0 5%;}
</style>
</head>
<body class="index" style="overflow:hidden;overflow-y:auto;">
<title><?php echo $shipin['name']?></title>
<section class="aui-flexView">
<section class="aui-scrollView">
<div class="aui-cell-box">
<div class="aui-cell-item">
<div class="aui-cell-item-stp">
<div class="aui-cell-item-text">
<h3><?php echo $shipin['name']?></h3>
</div>
</div><section class="aui-list-product">
<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>
</section>
<div class="aui-cell-item-stp">
<div class="aui-cell-item-image">
<img src="/mb/7/5b3127cfe37d6.png" alt=""></div>
<div class="aui-cell-item-text">
<h4>随机福利视频</h4>
</div>
</div>
<section class="aui-list-product">
<div class="aui-list-product-box aui-modular">
<?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)) {
?>
<a href="<?php echo $row['link']?>" >
<div class="aui-list-product-box-yuan ">
<div class="aui-cell-item-ad"><img src="<?php if($row[pic]){?><?php echo $row[pic]?><?php }else{?>/2019newui/images/nopic.jpg<?php }?>" alt="" style="width:100%; height: 100px;"></div>
<div class="aui-cell-item-title"><h4 style="font-size: 14px;height: 30px;"><?php echo $row['name']?></h4></div>
<div class="aui-icon-text clearfix"><span><i class="icon icon-zan"></i><em><script>document.write(parseInt(Math.random()*(6000-3000)+3000)); </script></em></span>
<span style="float:right; padding-right:0"><i class="icon icon-vipno"></i></span>
</div>
</div>
</a>
<?php }?>
</div>
</section>
</div>
</div>
<p align="center" style=" color: #e2e2e2;margin-top: 20px;margin-bottom: 20px;font-size: 10px;"></p>
</section>
</section>
<nav class="mui-bar mui-bar-tab"> 
<a class="mui-tab-item" href="<?php echo $pdurl?>"> <span class="mui-icon"> <img src="/mb/7/shouye.png" alt="" width="100%" /> </span> <span class="mui-tab-label">首页</span> </a> 
<span class="mui-tab-item" onclick="location.href='/fenlei-<?php echo $user[userid]?>-<?php echo $fhurl?><?php echo $dshz?>'"> <span class="mui-icon"> <img src="/mb/7/fenlei.png" alt="" width="100%" /> </span> <span class="mui-tab-label">分类</span></span> 
<span class="mui-tab-item" onclick="location.href='/dsyzf-<?php echo $user[mb]?>-<?php echo $fhurl?><?php echo $dshz?>'"> <span class="mui-icon"> <img src="/mb/7/wo.png" alt="" width="100%" /> </span> <span class="mui-tab-label">我的</span></span> 
</nav>  
<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>