<?php
error_reporting(0);
include("../../../config/os.php");
$playstr=base64_decode(ubo($_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;
}
$lurl='/tzzonglink-'.base64_encode($zyid).'-'.$user[mb].$dshz;
$fhurl=base64_encode($lurl);
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>
<title>使用4G网络播放，更流畅</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<link href="/mb/9/bfq.css" rel="stylesheet">
<link href="/mb/9/weui.min.css" rel="stylesheet">
<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">
.laypage_main a,.laypage_main input,.laypage_main span{height:26px;line-height:26px}
.laypage_main button,.laypage_main input,.laypageskin_default a{border:1px solid #ccc;background-color:#fff}
.laypage_main{font-size:0;clear:both;color:#666}
.laypage_main *{display:inline-block;vertical-align:top;font-size:12px}
.laypage_main a{text-decoration:none;color:#666}
.laypage_main a,.laypage_main span{margin:0 3px 6px;padding:0 10px}
.laypage_main input{width:40px;margin:0 5px;padding:0 5px}
.laypage_main button{height:28px;line-height:28px;margin-left:5px;padding:0 10px;color:#666}
.laypageskin_default span{height:28px;line-height:28px;color:#999}
.laypageskin_default .laypage_curr{font-weight:700;color:#666}
.laypageskin_molv a,.laypageskin_molv span{padding:0 12px;border-radius:2px}
.laypageskin_molv a{background-color:#f1eff0}
.laypageskin_molv .laypage_curr{background-color:#00AA91;color:#fff}
.laypageskin_molv input{height:24px;line-height:24px}
.laypageskin_molv button{height:26px;line-height:26px}
.laypageskin_yahei{color:#333}
.laypageskin_yahei a,.laypageskin_yahei span{padding:0 13px;border-radius:2px;color:#333}
.laypageskin_yahei .laypage_curr{background-color:#333;color:#fff}
.laypageskin_flow{text-align:center}
.laypageskin_flow .page_nomore{color:#999}
.btn1{margin:0; width:100%; height:45px; text-align:center; font-style:normal;display:inline; overflow:hidden;}
.btn1 a{width:97%; line-height:45px; color:#fff; background: #009933; display:block; border-radius:5px;  margin:0 auto; font-size:1.25rem;}
.btn1 a:hover{color:#fff; display:block;}
#navsecond{position: absolute;bottom:0;display: none;}
.video-content{font-size:0;}
.video-item{display:inline-block;width:48%; margin:1%; background:#fff; vertical-align:top; box-sizing:border-box;}
.video-item .img{width:100%;height:120px;}
.video-item .img img{height:100%;width:100%;}
.video-item .title{height:42px; line-height:1.4em; padding:2px; overflow:hidden; background:#FFF; font-size:.95rem; border-radius:0 0 5px 5px;}
section{background: #EFEFEF;  border-top:#093 2px solid;}
.playmenu{width: 98%; text-align:center;}
.playmenu li{width:48%; float:left; height:42px; line-height:42px; margin:1%; font-size:1rem; background:#933; border-radius:21px;}
.playmenu li a{color: #FFF;}
</style>
</head>
<body style="max-width:640px; margin:0 auto;">
<div style="padding:0;">
<div class="rich_media_content" id="video" style="width:100%; height:250px;"></div>
<script type="text/javascript"><?php echo $my_jsyfdhjhdjdshdasdjsakdjsfhdksfhdshfdhfdsjfhdfhndsjvnvNMqOWutuWAkuinhumikeiggghumikeiqOWutuvjhvjdfhdjfhdsjfhsdjfhsdsakdahdakdjdshdasdjsakdjsfhdksfhdshfdhfdsjfhdfhndsjvnvjnvjdhvjhvjdfhdjfhdsjfhsdjfhsdsakdahdakNMqOWutuWAkuinhumikeiggghumikeiWFqOWutuWAkuinhumikeiqOW?></script>
<div id="">
<div align="center">
<p style="font-size:1.05rem;text-align:left;padding:4px;line-height:1.3em;">片名：<?php echo $shipin['name']?></p>
<ul class="playmenu">
<li class="gdsp"><a href="<?php echo $lurl?>">查看更多精彩视频</a></li>
<li class="ydssp"><a href="/dsyzf-<?php echo $user[mb]?>-<?php echo $fhurl?><?php echo $dshz?>">已打赏视频</a></li>
</ul>
<p style="color:#F00;font-size:0.9rem; line-height:1.2em;">打赏后如果不能看，请在已打赏页面重新打开播放</p>
<p style="color:#F00;font-size:0.8rem; line-height:2em;">部分地区移动线路观看不流畅的，建议切换到联通或者电信线路</p>
</div>
<section>
<h3 style="padding-left:5px; font-size:1.05rem; margin:7px 0 5px 0;">精彩推荐视频</h3>
<div class="video-content">
<?php 
if($user[fs]==1){
$query = mysql_query("select * from  daili  where userid='$userid'  order by rand()   limit 10");
}elseif($user[fs]==2){
$query = mysql_query("select * from  daili  where userid='$userid'  order by id asc    limit 10");
}elseif($user[fs]==3){
$query = mysql_query("select * from  daili  where userid='$userid'  order by id desc   limit 10");
}elseif($user[fs]==4){
$query = mysql_query("select * from  daili  where userid='$userid'  order by cs desc   limit 10");
}elseif($user[fs]==5){
$query = mysql_query("select * from  daili  where userid='$userid'  order by shijian desc   limit 10");
}else{
$query = mysql_query("select * from  daili  where userid='$userid'  order by rand()   limit 10");
}
while($a = mysql_fetch_array($query)) {
?> 
<div class="video-item" onclick='location.href = "<?php echo $a[link]?>"'>
<div class="img"><img src="<?php if($a[pic]){?><?php echo $a[pic]?><?php }else{?>/2019newui/images/nopic.jpg<?php }?>"></div>
<div class="title"><?php echo $a[name]?></div>
</div>
<?php }?>
</div>
</section>  
<section id="container">
<div class="h_playlist_box" id="article_list"> 
</div>
</section>
</div>
<style>
#container{overflow:inherit;}
.h_playlist_box{margin:0;width:100%;}
.h_playlist_box dl{padding:6px 6px;width:44%;float:left;height:11rem;margin-right:1%;}
.h_playlist_box dl dd{width:100%;margin:0;padding:0 1%;float:left;}
.h_playlist_box dl dt{margin:0;position:relative;}
.h_playlist_box dl dd span{font-size:13px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; margin-top:5px;}
</style>
<script type="text/javascript">
function run () {
var index = Math.floor(Math.random()*10);
pmd(index);
};
var times = document.getElementsByClassName('fuckyou').length;
setInterval('run()',times*200);
function pmd (id) {
var colors = new Array('#FF5151','#ffaad5','#ffa6ff','#d3a4ff','#2828FF','#00FFFF','#1AFD9C','#FF8000','#81C0C0','#B766AD');
var color = colors[id];
var tmp = document.getElementsByClassName('fuckyou');
for (var i = 0; i < tmp.length; i++) {
var id = tmp[i];
var moren = id.style.color;
setTimeout(function(id){
id.style.color = color;
},i*200,id);
setTimeout(function(id,moren){
id.style.color = moren;
},i*200+180,id,moren);
};
}
</script>
<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;
}
</script>
</div>
</div>
</div>
</body>
</html>
