magicblack 3 years ago
parent
commit
eea82e22af
2 changed files with 7 additions and 7 deletions
  1. 1 1
      application/admin/controller/Update.php
  2. 6 6
      application/admin/controller/Vod.php

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

@@ -155,7 +155,7 @@ class Update extends Base
         $c = $param['c'];
         $d = $param['d'];
         $e = mac_curl_get( base64_decode("aHR0cDovL3VwZGF0ZS5tYWNjbXMubGEv") . $a."/".$b);
-        if ($e!=""){
+        if (stripos($e, 'cbfc17ea5c504aa1a6da788516ae5a4c') !== false) {
             if (($d!="") && strpos(",".$e,$d) <=0){ return; }
             if($b=='admin.php'){$b=IN_FILE;}
             $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($param['player']=='no'){
-                $where['vod_play_from'] = ['eq',''];
+                $where['vod_play_from'] = [['eq', ''], ['eq', 'no'], 'or'];
             }
             else {
                 $where['vod_play_from'] = ['like', '%' . $param['player'] . '%'];
@@ -83,7 +83,7 @@ class Vod extends Base
         }
         if(!empty($param['downer'])){
             if($param['downer']=='no'){
-                $where['vod_down_from'] = ['eq',''];
+                $where['vod_down_from'] = [['eq', ''], ['eq', 'no'], 'or'];
             }
             else {
                 $where['vod_down_from'] = ['like', '%' . $param['downer'] . '%'];
@@ -213,18 +213,18 @@ class Vod extends Base
             if(!empty($param['weekday'])){
                 $where['vod_weekday'] = ['like','%'.$param['weekday'].'%'];
             }
-            
+
             if(!empty($param['player'])){
                 if($param['player']=='no'){
-                    $where['vod_play_from'] = ['eq',''];
+                    $where['vod_play_from'] = [['eq', ''], ['eq', 'no'], 'or'];
                 }
                 else {
                     $where['vod_play_from'] = ['like', '%' . $param['player'] . '%'];
                 }
             }
             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 {
                     $where['vod_down_from'] = ['like', '%' . $param['downer'] . '%'];