吾爱破解 - LCG - LSG |安卓破解|病毒分析|破解软件|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

搜索
查看: 294|回复: 18
上一主题 下一主题

[其他] 修复米酷不显示轮播图的解决办法!

[复制链接]
跳转到指定楼层
楼主
tmss 发表于 2019-10-10 20:07 回帖奖励
本帖最后由 tmss 于 2019-10-10 20:09 编辑




把以下代码复制替换到根目录:
  • 首页文件(default.php)
  • 电影文件(movie.php)
  • 综艺文件(zongyi.php)
  • 动漫文件(dongman.php)
  • 剧集文件(tv.php)


[PHP] 纯文本查看 复制代码
$szz='#data-bgimage="(.*?)"[\s]+?data-navcolor="(.*?)"[\s]+? __wind[\s]+?_stat="(.*?)"[\s]+?><span class="text text2" title="(.*?)" ><span class="title_text">(.*?)</span[\s]+?>(.*?)</span>#';
preg_match_all($szz,$rurl,$sarr);
$one=$sarr[5];//链接 



把上面的的3行代码替换到蓝色区域的代码保存即可(首页需要到后台清理缓存才会显示)。

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

推荐
一笑懸命桑 发表于 2019-10-11 09:20
本帖最后由 一笑懸命桑 于 2019-10-11 09:23 编辑

几百CB为大佬备着,这是根目录的
[PHP] 纯文本查看 复制代码
<?php include('system/inc.php');
$q=$_GET['wd'];
$seach=file_get_contents('https://so.360kan.com/index.php?kw='.$q);
$szz='#js-playicon" title="(.*?)"\s*data-logger#';
$szz1='#a href="(.*?)" class="g-playicon js-playicon"#';
$szz2='#<img src="(.*?)" alt="(.*?)" \/>#';
$szz3='#(<b>(.*?)</b><span>(.*?)</span></li></ul>)?<ul class="index-(.*?)-ul g-clear">(\n\s*)?<li>(\n\s*)?<b>类型:</b>(\n\s*)?<span>(.*?)</span>#';
$szz4='#<span class="playtype">[\s\S]*?</span>#';
$szz5='#<b>地区:</b>[\s\S]*?</li>#';
$szz6='#<div class="m-score">(.*?)</div>#';//评分
$szz7='#<b>导演:</b>(.*?)</li>#';//导演
$szz8='#<div class="m-description">[\s\S]*?</div>#';//简介
$mxzl="#<dl class='w-star-intro'><dt>介绍:</dt><dd>(.*?)</dd></dl>#";//简介
$mxss='#<li data-logger=(.*?) class=\'w-mfigure\'><a class=\'w-mfigure-imglink g-playicon js-playicon\' href=\'(.*?)\'> <img src=\'(.*?)\' data-src=\'(.*?)\' alt=\'(.*?)\'  /><span class=\'w-mfigure-hintbg\'>(.*?)</span><span class=\'w-mfigure-hint\'>(.*?)</span></a><h4><a class=\'w-mfigure-title\' href=\'(.*?)\'>(.*?)</a></h4></li>#';//模糊搜索结果
preg_match_all($szz,$seach,$sarr);
preg_match_all($szz8,$seach,$sarr8);
preg_match_all($szz1,$seach,$sarr1);
preg_match_all($szz2,$seach,$sarr2);
preg_match_all($szz3,$seach,$sarr3);
preg_match_all($szz4,$seach,$sarr4);
preg_match_all($szz5,$seach,$sarr5);
preg_match_all($szz6,$seach,$sarr6);
preg_match_all($szz7,$seach,$sarr7);
preg_match_all($mxss,$seach,$sarr10);
preg_match_all($mxzl,$seach,$sarr9);
$one=$sarr[1];//标题
$two=$sarr2[1];//图片
$three=$sarr3[3];//集数
$si=$sarr4[0];//类型
$wu=$sarr5[0];//年代
$liu=$sarr6[1];//评分
$qi=$sarr7[1];//导演
$ba=$sarr8[0];//简介
$nine =$sarr1[1];
$mingxing =$sarr10[2];
$mingxing1 =$sarr10[4];
$mingxing2 =$sarr10[5];
$mingxing3 =$sarr10[6];
$mingxing4 =$sarr9[1];
include 'data/bangdan.php';
include('moban/'.$mkcms_bdyun.'/seacher.php');
?>

这个是模板里的
[Asm] 纯文本查看 复制代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php  include 'head.php';?>
<title>搜索<?php echo $q?>-<?php echo $mkcms_seoname;?></title>
<meta name="keywords" content="<?php echo $q?>,<?php echo $mkcms_keywords;?>">
<meta name="description" content="<?php echo $mkcms_description;?>">
</head>

<body class="vod-search">
<?php  include 'header.php';?>
<div class="container">
        <div class="row">
                <div class="col-md-9 col-sm-12 hy-main-content">
                        <div class="hy-layout clearfix">
                                <div class="hy-video-head">
                                        <span class="text-muted pull-right hidden-xs"></span>
                                        <h4 class="margin-0">搜索到与<span class="text-color">“<?php echo $q?>”</span>相关的影片</h4>
                                </div>
                                <?php 

        $result = mysql_query('select * from mkcms_vod where d_name like "%'.$q.'%" order by d_id desc');
                while ($row = mysql_fetch_array($result))
{
$tupian=$row['d_picture'];
$cs=$row['d_name'];
$jianjie=$row['d_content'];
$cc="./bplay.php?play=";
$dd="./bplay/";
if ($mkcms_wei==1){
$chuandi=$dd.$row['d_id'];
$html=".html";
}
else{
$chuandi=$cc.$row['d_id'];
$html="";        
}        
?>
                                <div class="hy-video-details active clearfix">
                                        <div class="item clearfix">
                                                <dl class="content">
                                                        <dt><a class="videopic" href="<?php echo $chuandi?><?php echo $html?>" style="background: url(<?php echo $tupian?>) no-repeat; background-position:50% 50%; background-size: cover;"><span class="play hidden-xs"></span></a></dt>
                                                        <dd class="clearfix">
                                                        <div class="head">
                                                                <h3><?php echo $cs?></h3>
                                                        </div>
                                                        <div class="score">
                                                                <div class="star">
                                                                        <span class="star-cur" id="score-0"></span>
                                                                </div>
                                                                <span class="branch"></span>
                                                                <script type="text/javascript">
                                                                                                var str = "0%" 
                                                                                                document.getElementById("score-0").style.width = (str.replace(".", ""))
                                                                                    </script>
                                                        </div>
                                                        <ul>
                                                                <li><span><?php echo $row['d_zhuyan']?></span></li>
                                                                <li><span>类型:<?php echo get_channel_name($row['d_parent'])?></span></li>
<li><span class="text-muted">简介:</span><?php echo $jianjie?></li>

                                                        </ul>
                                                        <div class="block">
                                                                <a class="text-muted" href="<?php echo $chuandi?><?php echo $html?>">查看详情 <i class="icon iconfont icon-xiangyou"></i></a>
                                                        </div>
                                                        </dd>
                                                </dl>
                                        </div>
                                </div>
<?php } ?> 
<?php 
if (!empty($one)){
foreach ($one as $ni=>$cs){ 
$mvsrc1 = str_replace("http://www.360kan.com", "", "$nine[$ni]");
$pingfen = str_replace('<div class="b-tomato"><div class="rating-site yellow"><p class="value">评分:<span>', '', "$liu[$ni]");
$pingfen = str_replace('</span></p></div></div>', '', "$pingfen");
$pingfen = str_replace('    ', '', "$pingfen");
$pingfen = str_replace('<div class="cont">', '', "$pingfen");
$pingfen = str_replace('<h3 class="title">', '', "$pingfen");
$pingfen = str_replace(array("\r\n", "\r", "\n"), '', "$pingfen");
$pingfen = str_replace('<div class="b-tomato"><div class="rating-site red"><p class="value">评分:<span>', '', "$pingfen");
$pingfen = str_replace('<div class="b-tomato"><div class="rating-site green"><p class="value">评分:<span>', '', "$pingfen");
$jianjie= str_replace("data-desc='", '', "$ba[$ni]");
$jianjie= str_replace("'>", '', "$jianjie");
$jianjie= str_replace("<i>", "<span class=text-muted>", "$jianjie");
$jianjie= str_replace("</i>","</span>", "$jianjie"); 
$tupian=$two[$ni];
if ($mkcms_wei==1){
$chuandi='../../vod'.$mvsrc1;
}
else{
$chuandi='./play.php?play='.$mvsrc1;        
}//结束
$d_scontent=explode(',',$mkcms_shoufei);
for($i=0;$i<count($d_scontent);$i++)
{
if($cs==$d_scontent[$i]){
//提示错误值
$xianshi='style="display:none"';
     }        

}
?>
<div class="hy-video-details active clearfix" <?php echo $xianshi?>>
                                        <div class="item clearfix">
                                                <dl class="content">
                                                        <dt><a class="videopic" href="<?php echo $chuandi?>" style="background: url(<?php echo $tupian?>) no-repeat; background-position:50% 50%; background-size: cover;"><span class="play hidden-xs"></span></a></dt>
                                                        <dd class="clearfix">
                                                        <div class="head">
                                                                <h3><?php echo $cs?><?php echo $three[$ni]?><?php echo $si[$ni]?></h3>
                                                        </div>
                                                        <div class="score">
                                                                <div class="star">
                                                                        <span class="star-cur" id="score-<?php echo $pingfen?>"></span>
                                                                </div>
                                                                <span class="branch"><?php echo $pingfen?></span>
                                                                <script type="text/javascript">
                                                                                                var str = "<?php echo $pingfen?>%" 
                                                                                                document.getElementById("score-<?php echo $pingfen?>").style.width = (str.replace(".", ""))
                                                                                    </script>
                                                        </div>
                                                        <ul><li><?php echo $jianjie?></li></ul>
                                                        <div class="block">
                                                                <a class="text-muted" href="<?php echo $chuandi?>">查看详情 <i class="icon iconfont icon-xiangyou"></i></a>
                                                        </div>
                                                        </dd>
                                                </dl>
                                        </div>
                                </div>

<?php } 
}else{
        
foreach ($mingxing as $k=>$mx){ 
$mvsrc1 = str_replace("http://www.360kan.com", "", "$mingxing[$k]");
$tupian=$mingxing1[$k];
$title=$mingxing2[$k];
$jishu=$mingxing3[$k];
if ($mkcms_wei==1){
$chuandi='../../vod'.$mvsrc1;
}
else{
$chuandi='./play.php?play='.$mvsrc1;        
}//结束

?>
<div class="hy-video-details active clearfix">
                                        <div class="item clearfix">
                                                <dl class="content">
                                                        <dt><a class="videopic" href="<?php echo $chuandi?>" style="background: url(<?php echo $tupian?>) no-repeat; background-position:50% 50%; background-size: cover;"><span class="play hidden-xs"></span></a></dt>
                                                        <dd class="clearfix">
                                                        <div class="head">
                                                                <h3><?php echo $title?><?php echo $jishu?></h3>
                                                        </div>

                                                        <ul>
<li><span class="text-muted">主演:</span><?php echo $q?></li>
                                                        </ul>
                                                        <div class="block">
                                                                <a class="text-muted" href="<?php echo $chuandi ?>">查看详情 <i class="icon iconfont icon-xiangyou"></i></a>
                                                        </div>
                                                        </dd>
                                                </dl>
                                        </div>
                                </div>
<?php } ?> 
<?php } ?> 
                                </div>
                </div>
        <div class="col-md-3 col-sm-12 hy-main-side hidden-sm hidden-xs">
                        <div class="hy-layout clearfix">
                                <div class="hy-video-ranking side clearfix">
                                        <div class="head">
                                                <a class="text-muted pull-right" href="<?php echo $mkcms_domain;?>movie.php?m=/dianying/list.php?cat=all%26pageno=1">更多 <i class="icon iconfont icon-xiangyou"></i></a>
                                                <h4><i class="icon iconfont icon-top text-color"></i> 电影排行榜</h4>
                                        </div>
                                        <div class="item">
                                                <ul class="clearfix">
                                      <?php 
                                      include './data/bangdan.php';
                                      foreach ($bdArr['dy']['title'] as $k=>$title){
                                                
                                                $bdurl=$bdArr['dy']['url'][$k];//url
                                                $bdurl = str_replace("http://www.360kan.com", "", $bdurl);
                                                $bdnum=$bdArr['dy']['num'][$k];//num

                                                if ($mkcms_wei==1){
                                                        $chuandi='./vod'.$bdurl;
                                                }
                                                else{
                                                        $chuandi='./play.php?play='.$bdurl;        
                                                }
                                                  echo "<li class='text-overflow '><span class='pull-right text-color'>$bdnum</span><a href='$chuandi' title='$title'><em class='number active'>></em>$title</a></li>";

                                      }
                                      
                                      
                                      ?>
                                                </ul>
                                        </div>
                                </div>
                                <div class="hy-video-ranking side clearfix">
                                        <div class="head">
                                                <a class="text-muted pull-right" href="<?php echo $mkcms_domain;?>tv.php?u=/dianshi/list.php?cat=all%26pageno=1">更多 <i class="icon iconfont icon-xiangyou"></i></a>
                                                <h4><i class="icon iconfont icon-top text-color"></i> 剧集排行榜</h4>
                                        </div>
                                        <div class="item">
                                                <ul class="clearfix">
                                                <?php 
                                                 foreach ($bdArr['tv']['title'] as $k=>$title){
                                                
                                                $bdurl=$bdArr['tv']['url'][$k];//url
                                                $bdurl = str_replace("http://www.360kan.com", "", $bdurl);
                                                $bdnum=$bdArr['tv']['num'][$k];//num
                                                
                                                if ($mkcms_wei==1){
                                                        $chuandi='./vod'.$bdurl;
                                                }
                                                else{
                                                        $chuandi='./play.php?play='.$bdurl;        
                                                }
                                                  echo "<li class='text-overflow '><span class='pull-right text-color'>$bdnum</span><a href='$chuandi' title='$title'><em class='number active'>></em>$title</a></li>";

                                      }
      
      
                                              ?>        

                                                </ul>
                                        </div>
                                </div>
                        </div>
                </div>
        </div>
</div>
<script>
            var swiper = new Swiper('.hy-slide', {
                pagination: '.swiper-pagination',
                paginationClickable: true,
                autoplay: 3000,
            });            
            </script>
<?php  include 'footer.php';?>
推荐
 楼主| tmss 发表于 2019-10-10 21:35 <
艾诗迷 发表于 2019-10-10 21:33
能分享一下整套米酷的程序么。。。。我也一直在找这个程序。

【影视源码】MKCMS米酷影视[更新至6.2.3] http://blog.xfj.me/105.html

是这个吗?
沙发
马克 发表于 2019-10-10 20:49
楼主擅长php么,我有米酷6.2.3能帮忙改个东西么
3#
 楼主| tmss 发表于 2019-10-10 20:59 <
马克 发表于 2019-10-10 20:49
楼主擅长php么,我有米酷6.2.3能帮忙改个东西么

改什么?
4#
马克 发表于 2019-10-10 21:22
让它支持php7.2 再加个海报分享功能
5#
艾诗迷 发表于 2019-10-10 21:33
能分享一下整套米酷的程序么。。。。我也一直在找这个程序。
6#
 楼主| tmss 发表于 2019-10-10 21:34 <
马克 发表于 2019-10-10 21:22
让它支持php7.2 再加个海报分享功能

建议你找原作者。
8#
艾诗迷 发表于 2019-10-10 21:38
tmss 发表于 2019-10-10 21:35
【影视源码】MKCMS米酷影视[更新至6.2.3] http://blog.xfj.me/105.html

是这个吗?

这个是收费的吗
9#
一笑懸命桑 发表于 2019-10-10 21:44
我愿意重CB求楼主改一个mkcms5.0的php文件
楼主看成吗
10#
 楼主| tmss 发表于 2019-10-10 21:49 <

不收费的 我就是从这里下载的。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:禁止回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2019-10-14 22:05

Powered by Discuz!

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表