123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?php
- if(!defined('InEmpireCMS'))
- {
- exit();
- }
- ?><?php
- $livetime=strtotime($navinfor[livetime]);
- $time=time();
- ?>
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="referrer" content="no-referrer" />
- <meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta content="telephone=yes" name="format-detection"/>
- <meta name="apple-mobile-web-app-status-bar-style" content="white">
- <meta name="x5-fullscreen" content="true"/>
- <meta name="apple-touch-fullscreen" content="yes"/>
- <title>[!--pagetitle--]-<?=$public_r['add_www_jianzhan_com_name']?></title>
- <meta content="[!--pagekey--]" name="keywords">
- <meta content="[!--smalltext--]" name="description">
- <script type="text/javascript" src="/staticm/js/flexible.min.js"></script>
- <script type="text/javascript" src="/staticm/js/jquery-1.9.1.min.js"></script>
- <link href="/staticm/css/font.css" type="text/css" rel="stylesheet">
- <link href="/staticm/css/public.min.css" type="text/css" rel="stylesheet">
- <link href="/staticm/css/zhibo.min.css" type="text/css" rel="stylesheet">
- <link href="/staticm/css/swiper.4.0.5.css" type="text/css" rel="stylesheet">
- </head>
- <body data-domainwww="/" data-domainstatic="/staticm/" data-domainres="" data-scoredisplay="1">
- <div class="bodyboxtow">
- <div class="lq_tl_gg" id="tonglan">
- <div class="oneall"></div>
- <div class="twoall"></div>
- <div class="threeall"></div>
- </div>
- <div class="head_zhibo clearfix">
- <ul class="headtwo">
- <?php
- $bqno=0;
- $ecms_bq_sql=sys_ReturnEcmsLoopBq('select classid,classname,classpath from [!db.pre!]enewsclass where bclassid in(1) order by classid',0,24,0);
- if($ecms_bq_sql){
- while($bqr=$empire->fetch($ecms_bq_sql)){
- $bqsr=sys_ReturnEcmsLoopStext($bqr);
- $bqno++;
- ?>
- <li <? if($bqr['classid']==$GLOBALS['navclassid']){?> class="zbhover"<? } ?>><a href="/<?=$bqr[classpath]?>/"><?=$bqr[classname]?></a></li>
- <?php
- }
- }
- ?>
- </ul>
- </div>
- <div class="zbtwonav">
- <ul class="swiper-wrapper">
- <li class="swiper-slide"><a href="<?=sys_ReturnBqClassname($class_r[$GLOBALS[navclassid]],9)?>">全部</a></li>
- <?php
- $bqno=0;
- $ecms_bq_sql=sys_ReturnEcmsLoopBq('news',10,18,0,'firsttitle=9');
- if($ecms_bq_sql){
- while($bqr=$empire->fetch($ecms_bq_sql)){
- $bqsr=sys_ReturnEcmsLoopStext($bqr);
- $bqno++;
- ?>
- <li class="swiper-slide"><a <? if($bqr['id']==$GLOBALS['id']){?>class="zbtwohover"<? } ?> href="<?=$bqsr['titleurl']?>"><?=$bqr['title']?></a></li>
- <?php
- }
- }
- ?>
- </ul>
- </div>
- <!--最近直播-->
- <ul class="index_zhibo_wrap clearfix zhibolist">
- <?php
- $classid=$GLOBALS[navclassid];
- $week= array('星期日','星期一','星期二','星期三','星期四','星期五','星期六');
- $weekb= array('周日','周一','周二','周三','周四','周五','周六');
- $listr0="<span id='searchhtml'></span>";
- $listr1="<span id='searchhtml'></span>";;
- for($m=-1;$m<3;$m++) {
- $curdateline = strtotime('+' . $m . ' days');
- $curdate = date('Y-m-d H:i:s', $curdateline);
- $date=date('m月d日', $curdateline);
- $dated=date('Y年m月d日', $curdateline);
- $wk=$week[date('w', $curdateline)];
- if($m<0){
- $sql3 = "select * from {$dbtbpre}ecms_movie where typename like '%$navinfor[title]%' and to_days('" . $curdate . "')=to_days(newstime) and unix_timestamp(newstime)+9600>= " . time() . " order by newstime";
- $tr1=$empire->fetch1($sql3);
- if(!$tr1){
- continue;
- }else{
- $listr1='';
- }
- }
- if($m)
- $listr='';
- ?><? if ($m<1)
- $sql2 = "select * from {$dbtbpre}ecms_movie where typename like '%$navinfor[title]%' and to_days('" . $curdate . "')=to_days(livetime) and unix_timestamp(livetime)+9600>= " . time() . " order by livetime";
- else
- $sql2 = "select * from {$dbtbpre}ecms_movie where typename like '%$navinfor[title]%' and to_days('" . $curdate . "')=to_days(livetime) order by livetime";
- $key_sql = $empire->query($sql2);
- $j = 0;
- while ($tr = $empire->fetch($key_sql)) {
- $livetime = strtotime($tr[liveime]);
- if($tr[$classid]==1){
- $clurl='zuqiu';
- }else{
- $clurl='lanqiu';
- }
- if($time<$livetime){
- $liver="即将开始";
- $sq='none';
- $tq='';
- }elseif ($time>$livetime && $time<$newstime+9600){
- $liver="直播中";
- $sq='class="ztks"';
- $tq='start';
- }else{
- $liver="已结束";
- $sq='none';
- $tq='';
- }
- if ($tr[isgood]==0){
- $clss="";
- $ls="";
- }else{
- $clss='font-weight: bold';
- $ls='<img src="/picture/popular.png" style="margin-left: 6px;margin-bottom: 10px;">';
- }
- ?>
- <li data-matchtime="<?=date("Y-m-d H:i",$tr[newstime])?>" class="zb_time_new_span_wrap" data_timen="" tcid="1" data-ls="">
- <div class="zhibo_con_zuo">
- <p><?=date("H:i",$tr[newstime])?></p>
- <span><?=$tr[typename]?></span> </div><?php $fr=$empire->fetch1("select title,titleurl,titlepic from {$dbtbpre}ecms_qd where title like '$tr[zd]'"); ?>
- <div class="zhibo_con_zhong"> <a href="<?=$fr[titleurl]?>"><img src="<?=$public_r['add_www_jianzhanzj_com_url']?><?=$fr[titlepic]?$fr[titlepic]:'/style/pic/home.png' ?>" alt="<?=$tr[zd]?>">
- <p><?=$tr[zd]?></p><?php $fr=$empire->fetch1("select title,titleurl,titlepic from {$dbtbpre}ecms_qd where title like '$tr[kd]'"); ?>
- <span></span></a> <a href="<?=$fr[titleurl]?>"><img class="tu1" src="<?=$public_r['add_www_jianzhanzj_com_url']?><?=$fr[titlepic]?$fr[titlepic]:'/style/pic/guest.png' ?>" alt="<?=$tr[kd]?>">
- <p><?=$tr[kd]?></p>
- <span></span></a> </div>
- <div class="zhibo_con_right"> <a href="<?=$tr['titleurl']?>" <?=$sq?>> <img src="/staticm/img/gxz.png"> <span>高清直播</span> </a>
- <p class="z_cc"></p>
- </div>
- </li>
- <?php }?><?php
- }?>
- </ul>
- </div>
- <footer>
- <ul class="footernav">
- <li > <a href="/"> <cite class="dbdhimg_sy"></cite> <span>首页</span> </a> </li>
- <?php
- $bqno=0;
- $ecms_bq_sql=sys_ReturnEcmsLoopBq('select classid,classname,classpath from [!db.pre!]enewsclass where classid in(2,13,43,59) order by classid',0,24,0);
- if($ecms_bq_sql){
- while($bqr=$empire->fetch($ecms_bq_sql)){
- $bqsr=sys_ReturnEcmsLoopStext($bqr);
- $bqno++;
- ?>
-
- <li <? if($bqr['classid']==$GLOBALS['navclassid']){?>class="dbnavhover"<? } ?>> <a href="/<?=$bqr[classpath]?>/"> <cite class="dbdhimg_<?php if ($bqno==1){ echo 'zb';}if ($bqno==2){echo 'sp';}if ($bqno==3){echo 'zx';}if ($bqno==4){echo 'wd';}?>"></cite> <span><?=$bqr[classname]?></span> </a> </li>
- <?php
- }
- }
- ?>
-
- </ul>
- </footer>
- <div class="fandign"><i class="iconfont"></i></div>
- <script type="text/javascript" src="/staticm/js/common.min.js" data-cfasync="false"></script>
- <script type="text/javascript" src="/staticm/js/iscroll.js" data-cfasync="false"></script>
- <script type="text/javascript" src="/staticm/js/swiper.4.0.5.min.js" data-cfasync="false"></script>
- <script type="text/javascript" src="/staticm/js/zhibo.min.js" data-cfasync="false"></script>
- </body>
- </html>
|