**计划聊天室_开奖直播程序源码段调试修改安装

      本人借用某XX聊科技PHP自动发送计划聊天室版本做了研究,发现程序PHP代码写得很好,整合了H5和CSS的设计,功能这一方面也不错。在今日智能机的时代,聊天室响应式也做的不错。管理方面也到位后台,界面美化如我发的图片一样,背景也可以换。娱乐功能红包-抽奖-视频这些都有。我个人真的喜欢,所以自己也分析一下他的构造,修改此聊天室变为自己的私人聊天室。

**计划聊天室_开奖直播程序源码段调试修改安装

  1.聊天室开奖视频代码改掉后成相册

在源文件-index.php首页代码337行

      <div id="idLotteryLive" style="overflow:hidden; overflow-y:scroll">
        <script type="text/javascript">
        var src = [
        'https://xx.xxxxx.com/view/video/PK10/video.html?1xxx',
         'http://xxxxxxxx.com/view/video/SSC/index.html?xxx',
         'http://xxxxxcom/view/video/jisuft_video/index.htmlxxx',
          'http://xxxxx.com/view/video/cqnc/index.html?10009',
          'http://xxxxcom/view/video/kuai3_video/Kuai3.html?100xxx'

        ];
        function setTab(name,cursel,n){
        var iframe = document.getElementsByTagName('iframe');
        for(k = 0; k < iframe.length;k++){
        console.log(iframe[k]);
        iframe[k].src = '';
        }
        for(i=1;i<=n;i++){
        var menu = document.getElementById( name + i);
        var con = document.getElementById("con_"+name+"_"+i);
        menu.className =i == cursel ? "curr" : "";
        con.style.display = i == cursel ? "block" : "none";
        iframe[cursel-1].src = src[cursel-1];
        }
        }
        </script>

解释一下,http的代表的是开奖视频的地址,属于嵌入式代码。如果你改相片或者FLSAH动画地址那么就变成了自己的相片展示地方了。

2.修改手机首页index.php改自己的相片或者FLASH动画代码在360行

<script>
  var barrage = false;
  var commonExpression, ISSHOWEGG = <?=$global['config']['goldegg']?> == '1' ? true : false;
  var registerUrl = '<?=$planurl?>';
  OnInit();
  $("body").on("click", ".redbagclose",
      function() { 
          $(this).parent().remove()
  });
  var headeH = document.getElementById('#head_1').offsetHeight,
      wH = document.body.offsetHeight,
      fH = $('#footer').height(),
      videoShowWrap = $('.video-show-wrap').height(),
      tabNav = $('.tab-nav').height(),
      videoH = $('.video-container').height();

  
  $("#video-hide").on("click", function() {
    headeH = document.getElementById('#head_1').offsetHeight;
    $(".video-container").height(0);
    $('.video-show-wrap').show();
    $('#video-hide').hide();
    $('#video-show').show();
    $('#video-win').hide();
    $('#video-win').empty();
    $('#mvMask').hide();

    $('section #publicChat').height(wH - fH - videoShowWrap - tabNav);
    $('#commonFrame .iframe-wrapper').height(wH - videoShowWrap - tabNav);
    $('#commonFrame .iframe-wrapper iframe').height(wH - videoShowWrap - tabNav);
    $('#adminContent').height(wH - videoShowWrap - tabNav);
  })

代码:
    $('#video-show').show();

这里指什么呢?    $('#video--代表视频阶段这个不用改,直接在show();代码里改show(这里填写你的相片或图片地址);

这样电脑和手机版改掉后就变成了自己相册或者FLASH显示聊天室里面了。

至于图片轮播或是FLASH插入代码

请参考:https://so.****.net/so/search/s.do?q=flash%E4%BB%A3%E7%A0%81&t=blog&u=weixin_43894663