add video template 4

This commit is contained in:
make
2025-05-10 15:08:28 +08:00
parent 7627c37879
commit 309c4ed098
54 changed files with 11207 additions and 1386 deletions

View File

@@ -181,7 +181,7 @@
<div class="col-xs-1"> <div class="col-xs-1">
<div class="myui-content__thumb"> <div class="myui-content__thumb">
<a class="myui-vodlist__thumb picture" <a class="myui-vodlist__thumb picture"
href="#" title="{$arrVideo.v_name}"> href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}' title="{$arrVideo.v_name}">
<img class="lazyload" <img class="lazyload"
src="{$arrVideo.v_pic}" src="{$arrVideo.v_pic}"
data-original="{$arrVideo.v_pic}"> data-original="{$arrVideo.v_pic}">

View File

@@ -517,6 +517,7 @@
</script> </script>
<script> <script>
const strMaxPlayHeight = '480px'
const strVideoId = `{$arrVideo.v_id}`; const strVideoId = `{$arrVideo.v_id}`;
const arrVideo = { const arrVideo = {
'v_id': `{$arrVideo['v_id']}`, 'v_id': `{$arrVideo['v_id']}`,

View File

@@ -155,7 +155,7 @@
</div> </div>
<div class="col-pd clearfix"> <div class="col-pd clearfix">
<div class="stui-content__thumb"> <div class="stui-content__thumb">
<a style="color: rgb(213, 234, 5)" class="stui-vodlist__thumb picture v-thumb" href="" <a style="color: rgb(213, 234, 5)" class="stui-vodlist__thumb picture v-thumb" href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
title="{$arrVideo.v_name}"> title="{$arrVideo.v_name}">
<img class="lazyload" src="{$arrVideo.v_pic}" data-original="{$arrVideo.v_pic}" /> <img class="lazyload" src="{$arrVideo.v_pic}" data-original="{$arrVideo.v_pic}" />
<span class="play active hidden-xs"></span> <span class="play active hidden-xs"></span>

View File

@@ -337,6 +337,7 @@
</div> </div>
<script> <script>
const strMaxPlayHeight = '480px'
const strVideoId = `{$arrVideo.v_id}`; const strVideoId = `{$arrVideo.v_id}`;
const arrVideo = { const arrVideo = {
'v_id': `{$arrVideo['v_id']}`, 'v_id': `{$arrVideo['v_id']}`,

View File

@@ -183,7 +183,7 @@
<div class="a193f5 lvshicms-panel-box clearfix"> <div class="a193f5 lvshicms-panel-box clearfix">
<div class="dea615 col-xs-1 detail-box"> <div class="dea615 col-xs-1 detail-box">
<div class="b97972 lvshicms-content__thumb"> <div class="b97972 lvshicms-content__thumb">
<a class="f2880b lvshicms-vodlist__thumb video-info-lvshicms-vodlist__thumb picture" href="javascript::" <a class="f2880b lvshicms-vodlist__thumb video-info-lvshicms-vodlist__thumb picture" href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
title="{$arrVideo.v_name}"> title="{$arrVideo.v_name}">
<img class="f20604 lazyload" src="{$arrVideo.v_pic}"> <img class="f20604 lazyload" src="{$arrVideo.v_pic}">
<span class="c5512d detail-icon play"></span> <span class="c5512d detail-icon play"></span>

View File

@@ -373,6 +373,7 @@
</div> </div>
<script> <script>
const strMaxPlayHeight = '480px'
const strVideoId = `{$arrVideo.v_id}`; const strVideoId = `{$arrVideo.v_id}`;
const arrVideo = { const arrVideo = {
'v_id': `{$arrVideo['v_id']}`, 'v_id': `{$arrVideo['v_id']}`,

View File

@@ -12,14 +12,19 @@
<meta name="keywords" content='{block name="keywords"}{/block}'> <meta name="keywords" content='{block name="keywords"}{/block}'>
<meta name="description" content='{block name="description"}{/block}'> <meta name="description" content='{block name="description"}{/block}'>
<link rel="shortcut icon" href="/template/videodingzhu/images/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="/template/videolaoniu/images/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/template/videodingzhu/css/plugins.css" type="text/css"> <link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/swiper-bundle.min.css">
<link rel="stylesheet" href="/template/videodingzhu/css/global.css" type="text/css"> <link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/global.css">
<link rel="stylesheet" href="/template/videodingzhu/css/style.css" type="text/css"> <link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/style.css">
{// <!--
<!-- <link rel="stylesheet" href="/template/videodingzhu/css/color.css" type="text/css" name="default"> --> <script>var maccms = { "path": "", "mid": "", "url": "www.xgcs8888.com", "wapurl": "", "mob_status": "0" };</script>
<!-- <link rel="stylesheet" href="/public/layer/layer.css?v=3.5.1" id="layuicss-layer"> --> <script src="/template/videolaoniu/js/jquery.min.js"></script>
} <script src="/template/videolaoniu/js/jquery.lazyload.min.js"></script>
<script src="/template/videolaoniu//static/js/home.js"></script>
<script src="/template/videolaoniu/js/swiper-bundle.min.js"></script>
<script src="/template/videolaoniu/js/ewave-global.js"></script>
<script src="/template/videolaoniu/js/ewave-common.js"></script> -->
{block name="head"}{/block} {block name="head"}{/block}
{block name="head-css"}{/block} {block name="head-css"}{/block}
{block name="head-js"}{/block} {block name="head-js"}{/block}
@@ -29,141 +34,73 @@
</head> </head>
<body class="f9eb6d active {block name='body-class'}{/block}" id="{block name='body-id'}{/block}"> <body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<header class="a23db0 lvshicms-header__top" id="header-top"> <header class="c4782f header-top top-fixed home vod">
<div class="c6f1a2 container"> <div class="c5a271 container">
<div class="d3071b row"> <h2 class="f6e567 header-logo">
<div class="b6bfb3 lvshicms-header__logo"> <a class="ec3e4d " href="/" title="{$DomainModel->d_name}">
<a class="f1c0ad logo" href="/">
{$DomainModel->d_name} {$DomainModel->d_name}
</a> </a>
</div> </h2>
<div <div
class="d55436 lvshicms-header__menu hidden-sm hidden-xs swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode"> class="b2f179 header-menu hidden-xs hidden-sm swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="c308d4 swiper-wrapper" id="swiper-wrapper-15acf77edda9621f" aria-live="polite" <ul class="cd86bd swiper-wrapper" id="swiper-wrapper-bcd0b11121af738e" aria-live="polite"
style="transition-duration: 300ms;"> style="transition-duration: 0ms;">
<li class="c1afb6 swiper-slide {if $Request.route.strParentCategory == ''}active{/if}"><a href="/">首页</a></li> <li class="f823b1 swiper-slide hidden-sm hidden-xs {if $Request.route.strParentCategory == ''}active{/if}"><a href="/">首页</a></li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
<li class='ac50b3 swiper-slide dropdown-hover {if $val.v_category_en == $Request.route.strParentCategory}active{/if}'>
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
<div class="bed39b dropdown-box bottom fadeInDown clearfix" style="padding-top: 0;">
<ul class="e7213a item nav-list clearfix" style="width: 190px;">
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li class="b6abc3 col-md-2 col-sm-2 col-xs-1" style="padding: 6px;"><a
class="c11c57 btn btn-sm btn-block btn-default"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
{$arrChildrenCategory.v_category}
</a>
</li>
{/foreach}
</ul>
</div>
</li>
{/video:categorytype}
<li class="a2d382 swiper-slide "> <a href="{$strRankUrlTemp}">榜单</a> </li>
</ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div>
<ul class="e4dd97 lvshicms-header__user">
<li class="f7ad8a hist slide-search-toggle hidden-xs hidden-sm">
<form action="{$strSearchListUrlTemp}">
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
<button class="d3b134 mobile-search-button" type="submit"><i
class="b2a8c7 fa fa-search"></i></button>
</form>
</li>
<li class="f37351 hist dropdown-hover">
<a href="{$strHistoryUrlTemp}" title="播放记录">
<i class="afd2b2 fa fa-clock-o"></i>
</a>
</li>
</ul>
<div class="d9ad47 mobile-search hidden-md hidden-lg">
<form action="{$strSearchListUrlTemp}">
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
<button class="d3b134 mobile-search-button" type="submit"><i
class="b2a8c7 fa fa-search"></i></button>
</form>
</div>
<div
class="ab3059 nav-box hidden-md hidden-lg swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode swiper-backface-hidden">
<ul class="f34760 swiper-wrapper" id="swiper-wrapper-cc8105579edaa1a3" aria-live="polite">
<li class="a4f250 nav-item swiper-slide {if $Request.route.strParentCategory == ''}active swiper-slide-active{/if}" role="group"
aria-label="1 / 8">
<a href="/">
<i class="bd0907 nav-item-icon home"></i>
<span class="b08159 nav-item-text">首页</span>
</a>
</li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class='e544e2 nav-item swiper-slide swiper-slide-next {if $val.v_category_en == $Request.route.strParentCategory}active swiper-slide-active{/if}' role="group" aria-label="2 / 8">
<a href='{site:vciurl parent_category="$val.v_category_en" /}'> <a href='{site:vciurl parent_category="$val.v_category_en" /}'>
<i class="afd4ea nav-item-icon dy"></i> {$val.v_category}
<span class="d8f67b nav-item-text">{$val.v_category}</span>
</a> </a>
</li> </li>
{/video:categorytype} {/video:categorytype}
<li class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
<li class="d0f97c nav-item swiper-slide" role="group" aria-label="7 / 8"> <a href='{$strRankUrlTemp}'>
<a href="{$strRankUrlTemp}"> 排行榜
<i class="c739f9 nav-item-icon bd"></i>
<span class="e34e2d nav-item-text">热播</span>
</a> </a>
</li> </li>
</ul> </ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span> <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div> </div>
</div> <div class="f2d13f header-search">
</div> <form id="formsearch" action="{$strSearchListUrlTemp}">
<div class="f075db lvshicms-header__top_bg hidden-sm hidden-xs"></div> <input type="search" name="keyword" placeholder="输入影片名或演员" autocomplete="off">
</header> <button type="submit" class="c46a69 search-submit"><i class="ef1c92 iconfont icon-sousuo"></i><span
class="c290af none">搜索</span></button>
<div class="d61dbe slide-search">
<header class="a8408b slide-search-header">
<a class="b4a13d slide-search-close" href="javascript:;">
<i class="f8d4d2 fa fa-chevron-left"></i>
</a>
搜索
</header>
<div class="da8a21 slide-search-body">
<form class="a40443 slide-search-form" method="get" action="{$strSearchListUrlTemp}">
<input type="text" name="keyword" class="d05fc1 slide-search-input" value="" placeholder="搜索免费高清电影或主演"
autocomplete="off">
<button type="submit" class="b6ce5d slide-search-submit"><i class="b004bd fa fa-search"></i></button>
</form> </form>
</div>
<ul class="ab08b9 slide-search-list"> <div id="user-playlog" class="b7004f user-playlog dropdown-hover mac_history">
<li class="bfcc70 slide-search-title">热门搜索</li> <a href="{$strHistoryUrlTemp}">
{video:list count="6" <i class="abe38c iconfont icon-shijian"></i>
sort_type="news" <span class="dd3ef2 none">观看记录</span>
d_key="key" d_val="Video"
cache_life="86400"}
<li class="cbc4a0 slide-search-item">
<a href='{site:vsurl key="$Video.v_name" p="1"/}'>
<em class="f1a98e slide-search-icon">NO</em>
<em class="bd65b9 slide-search-num slide-search-num1">{$key}</em>
<span class="ddcfc6 slide-search-name">{$Video.v_name}</span>
</a> </a>
</li>
{/video:list}
</ul>
</div> </div>
</div> </div>
<div class="e2b25c slide-search-bg"></div> </header>
<div class="f5dea7 header-top-ok color"></div>
<div class="ca3379 index-icon-wrapper hidden-md hidden-lg">
<nav class="eb2619 index-icon-box container">
<a href="/">
<img src="/template/videolaoniu/images/icon/home.png" class="e1eb57 index-icon">
<span class="d1f768 sTit">首页</span>
</a>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
<img src="/template/videolaoniu/images/icon/{$val.v_category_en}.png" class="b7693d index-icon">
<span class="eb9286 sTit"> {$val.v_category}</span>
</a>
{/video:categorytype}
<a href="{$strRankUrlTemp}">
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
<span class="eb9286 sTit">排行榜</span>
</a>
</nav>
</div>
{block name="main"} {block name="main"}
{/block} {/block}

View File

@@ -2,9 +2,9 @@
{block name="get-data"} {block name="get-data"}
{video:listexp count="8" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400" export_name="arrVideoTuijian" {video:listexp count="10" sort_type="tuijian" d_key="key" d_val="Video" cache_life="86400" export_name="arrVideoTuijian"
/} /}
{video:listexp count="17" sort_type="piaofang" d_key="key" d_val="Video" cache_life="86400" {video:listexp count="10" sort_type="piaofang" d_key="key" d_val="Video" cache_life="86400"
export_name="arrVideoPiaofang" /} export_name="arrVideoPiaofang" /}
{site:grm page_code="h5_index" diff="0" num="100" g_key="arrGrm" /} {site:grm page_code="h5_index" diff="0" num="100" g_key="arrGrm" /}
@@ -133,91 +133,47 @@ export_name="arrVideoPiaofang" /}
{block name="main"} {block name="main"}
<div class="a5da29 container">
<div class="bc22cc container">
<div class="eb5be5 row ">
<h1 class="view-title"> <h1 class="view-title">
<a href="/">{$DomainModel->d_name}</a>-{$DomainModel->d_text_logo} <a href="/">{$DomainModel->d_name}</a>-{$DomainModel->d_text_logo}
</h1> </h1>
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4> <h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4>
<div class="dac4a5 layout-box">
<div class="a16ee4 box-title"><span class="c681ae iconfont icon-remen"></span>
<h2>热门推荐</h2>
</div> </div>
<div class="eb5be5 row"> <div class="d752db row">
<div class="fb7647 col-xs-1 col-md-wide-75"> <ul class="e72f7b img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
<div class="eceb3c lvshicms-panel lvshicms-panel-bg clearfix">
<div class="b173ae lvshicms-panel-box clearfix">
<div class="f66d8c lvshicms-panel_bd clearfix">
<div class="bf9492 lvshicms-panel_hd">
<div class="be8a1c lvshicms-panel__head bottom-line active clearfix">
<h2 class="a1100b title"> 热门推荐 </h2>
<a class="ec883e more text-muted right bg" href='{site:vclurl parent_category="all" category="all" area="all" lang="all" year="all" order="tuijian" page="1"/}'>更多推荐 <i
class="fbbd96 fa fa-angle-right"></i></a>
</div>
</div>
<ul class="d9e43b lvshicms-vodlist clearfix">
{foreach $arrVideoTuijian as $key=>$Video } {foreach $arrVideoTuijian as $key=>$Video }
{include file="public/video-list-shu" start="0" col-lg="4"/} {include file="public/video-list-shu" start="10" col-md="5"/}
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
</div> </div>
<div class="dac4a5 layout-box">
<div class="a16ee4 box-title"><span class="c681ae iconfont icon-remen"></span>
<h2>好莱坞大片</h2>
</div> </div>
</div> <div class="d752db row">
<div class="a51b92 hidden-xs hidden-sm col-md-wide-25"> <ul class="e72f7b img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
<div class="cc593d lvshicms-panel lvshicms-panel-bg clearfix">
<div class="dcb74d lvshicms-panel-box clearfix">
<div class="dae8b0 lvshicms-panel_hd">
<div class="d7bedc lvshicms-panel__head active bottom-line clearfix">
<h2 class="f48698 title"> 好莱坞榜单 </h2>
<a class="c502a3 more text-muted right bg" href="javascript::">票房(亿) </a>
</div>
</div>
<div class="a0c205 lvshicms-panel_bd">
<ul class="f39a35 lvshicms-vodlist__text col-pd clearfix">
{foreach $arrVideoPiaofang as $key=>$Video } {foreach $arrVideoPiaofang as $key=>$Video }
{include file="public/video-list-phb" start="27" /} {include file="public/video-list-shu-pf" start="0" col-md="5"/}
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
</div> </div>
</div>
</div>
</div>
<div class="bd998f row">
<div class="c9d5a5 col-xs-1">
<div class="d739ec lvshicms-panel lvshicms-panel-bg clearfix">
<div class="f2c9c4 lvshicms-panel-box clearfix">
<div class="aa80ce lvshicms-panel_hd">
<div class="c49f14 lvshicms-panel__head bottom-line active clearfix">
<h2 class="a9d97c title">最新上映</h2>
</div>
</div>
<div class="a27622 lvshicms-panel_bd clearfix">
<ul class="bbf222 lvshicms-vodlist clearfix">
{video:list count="6"
sort_type="news"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="0" col-lg="6"/}
{/video:list}
</ul>
</div>
</div>
</div>
</div>
</div>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
{include file="public/video-panel" /} {include file="public/video-panel" /}
{/video:categorytype} {/video:categorytype}
</div> </div>
{/block} {/block}
{block name="customize"} {block name="customize"}

View File

@@ -1,49 +1,46 @@
<div class="df0a63 lvshicms-foot clearfix" style="padding-top:0px;"> <footer class="eef3f2 footer text-center">
<div class="fa6207 container"> <div class="a73f1c footer-nav hidden-xs">
<div class="f8fa68 row"> <!-- <a rel="nofollow" href="/map.html" target="_blank">网站地图</a>
<div class="d4ce18 col-xs-1"> -
<div class="be974b lvshicms-panel lvshicms-panel-bg clearfix"> <a href="/rss/index.xml" target="_blank">RSS地图</a>
<div class="cbdc99 lvshicms-panel-box clearfix"> -
<div class="f98dfa lvshicms-panel_hd">
<div class="bd50fd lvshicms-panel__head clearfix">
<h3 class="f7c1b4 title"> 友情链接 </h3>
</div>
</div>
<div class="f9bdb5 lvshicms-panel_bd clearfix">
<div class="f358be col-xs-1">
<ul class="a085fb lvshicms-link__text clearfix">
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="aa00ab col-xs-1">
<div class="cea0ad col-pd text-center">
<p>
<!-- <a href="/rss/index.xml" target="_blank">RSS地图</a>
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a> <a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
-
<a href="/rss/so.xml" target="_blank">360Sitemap</a> <a href="/rss/so.xml" target="_blank">360Sitemap</a>
<a href="/rss/google.xml" target="_blank">谷歌Sitemap</a> --> -
<a href="/rss/google.xml" target="_blank">谷歌Sitemap</a>-->
<a href="/sitemap_index.xml" target="_blank">XML地图</a> <a href="/sitemap_index.xml" target="_blank">XML地图</a>
-
<a href="/robots.txt" target="_blank">网站地图</a> <a href="/robots.txt" target="_blank">网站地图</a>
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"} {ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi} <a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
</a> </a>
{/ad:list} {/ad:list}
</p> </div>
<p>Copyright © 2025 {$DomainModel->d_name} <a href="/"> {$DomainModel->d_domain}</a>All Rights Reserved .</p> <p>Copyright © 2020-2025 <b style=" font:Verdana, Arial, Helvetica, sans-serif"><a href="/">
<p>若本站收录内容侵犯了您的权益,请给我们留言,本站将第一时间处理。</p> <font color="#CC0000">{$DomainModel->d_domain}</font>
</a></b> .All Rights Reserved .</p>
<p>本网站所有内容均来源于互联网,若收录的节目无意侵犯了贵司版权,请给我们留言,我们会第一时间处理!</p>
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p> <p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
</div> </footer>
</div> <ul class="b3f942 top-tool">
</div> <li class="decc5c back-top mask"><span class="d2c1bf iconfont icon-top font18"></span></li>
</div>
</div>
<ul class="b3f1cb lvshicms-extra clearfix">
<li> <a class="fb9d99 backtop" href="javascript:scroll(0,0)" title="返回顶部" style="display: none;"><i
class="f6e490 fa fa-angle-up"></i></a> </li>
</ul> </ul>
<script>
(function () {
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>

View File

@@ -1,21 +1,13 @@
<li> <li>
<?php $key ++ ?>
<i>{$key}</i>
<span class="eed7e3 text-color pull-right">{$Video.v_box_office ?? 0}</span>
{if !empty($arrGrm[$key + [start]])} {if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw} {$arrGrm[$key+[start]]|raw}
{/if} {/if}
<?php $key ++ ?>
<a class="ae5cfc text-overflow" href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' <a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}"> title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">{$Video.v_name}</a>
<span class='c4df4f pull-right text-muted visible-lg '>
{$Video.v_box_office ?? 0}
</span>
<span class='dd3e38 badge
{eq name="$key" value="1"}badge-first {/eq}
{eq name="$key" value="2"}badge-second {/eq}
{eq name="$key" value="3"}badge-third {/eq}'>
{$key}
</span>
{$Video.v_name}
</a>
</li> </li>

View File

@@ -0,0 +1,24 @@
<li class="f88537 col-md-5 col-sm-3 col-xs-2 pb-xs-0 ">
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<a class="b02e75 img-pic thumb pic60 lazyload"
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
data-src="{$Video.v_pic ?? ''}"
style="background-image: url(&quot;/static/img/load.png&quot;);">
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}"
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
<span class="e31f51 score">{$Video.v_box_office ?? 0}亿</span>
<span class="c1e321 vname">{$Video.v_name}</span>
<span class="c68e08 vtitle text-right">{$Video.v_remarks}</span>
</a>
<div class="ac00f9 name text-overflow">
<a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">{$Video.v_name}</a>
</div>
<div class="e2a75d sname text-muted text-overflow hidden"></div>
</li>

View File

@@ -1,25 +1,28 @@
<li class="f88537 col-md-[col-md] col-sm-3 col-xs-2 pb-xs-0 ">
<li class="fc7a7d col-lg-[col-lg] col-md-4 col-sm-3 col-xs-2">
<div class="a9a18d lvshicms-vodlist__box">
{if !empty($arrGrm[$key + [start]])} {if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw} {$arrGrm[$key+[start]]|raw}
{/if} {/if}
<a class="d0ff14 lvshicms-vodlist__thumb" <a class="b02e75 img-pic thumb pic60 lazyload-bg"
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}"> title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
<img class="lazyload-img" src="/static/img/load.png"
data-src="{$Video.v_pic ?? ''}" data-src="{$Video.v_pic ?? ''}"
style="background-image: url(&quot;/static/img/load.png&quot;);">
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}"
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"> alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
<span class="c3b20e play hidden-xs"></span> <span class="bb17e9 iconfont icon-play play hidden-xs"></span>
<span class="bf637e pic-text text-right">{$Video.v_remarks}</span> <span class="e31f51 score">{$Video.v_score}</span>
<span class="c1e321 vname">{$Video.v_name}</span>
<span class="c68e08 vtitle text-right">{$Video.v_remarks}</span>
</a> </a>
<div class="dbbcf6 lvshicms-vodlist__detail"> <h3 class="ac00f9 name text-overflow">
<h3 class="c9c8c4 title text-overflow">
<a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' <a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}">{$Video.v_name}</a></h3> title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">{$Video.v_name}</a>
<p class="ed925a text text-overflow text-muted hidden-xs">简介:{$Video.v_description|raw}</p> </h3>
</div> <div class="e2a75d sname text-muted text-overflow hidden">
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo}
&nbsp;
{/volist}
</div> </div>
</li> </li>

View File

@@ -1,48 +1,75 @@
<div class="c0490f layout-box">
<div class="ac085e box-title"><span class="e090e3 iconfont icon-mov"></span>
<h2>{$val.v_category} </h2>
<a class="ef634b box-more pull-right"
href='{site:vclurl parent_category="$val.v_category_en" category="all" area="all" lang="all" year="all" order="all" page="1"/}'>
更多<i> &gt;
</i>
</a>
<div class="a8c5af box-nav pull-right hidden-xs"></div>
</div>
<div class="fc3313 row">
<div class="dbb502 col-md-wide-25 pt-xs-0 hidden ">
<div class="fedbae box-title mb-xs-0 mt-xs-5 hidden-sm hidden-xs"><span
class="be626f title-lb pr-xs-5 ml-xs-5"></span>
<h2>{$val.v_category}周榜单</h2>
<a class="dfb71d box-more pull-right" href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'>更多<i>&gt;</i></a>
</div>
<div class="eb5be5 row"> <div class="ecdc91 box-slide hidden hidden-sm hidden-xs swiper-fade swiper-initialized swiper-horizontal swiper-pointer-events"
<div class="fb7647 col-xs-1 col-md-wide-75"> id="box-slide-index" style="height:238px">
<div class="eceb3c lvshicms-panel lvshicms-panel-bg clearfix"> <div class="c56fb9 swiper-wrapper img-list" style="overflow: hidden; transition-duration: 0ms;"
<div class="b173ae lvshicms-panel-box clearfix"> id="swiper-wrapper-9e856310d7b2691e6" aria-live="off">
<div class="f66d8c lvshicms-panel_bd clearfix"> {video:ranklist count="1"
<div class="bf9492 lvshicms-panel_hd"> v_parent_category_en="$val.v_category_en"
<div class="be8a1c lvshicms-panel__head bottom-line active clearfix"> sort_type="weekly"
<h2 class="a1100b title"> 最新{$val.v_category} </h2> d_key="key" d_val="Video" cache_life="86400"}
<a class="ec883e more text-muted right bg" href='{site:vclurl parent_category="$val.v_category_en" category="all" area="all" lang="all" year="all" order="all" page="1"/}'>更多 <i <div class="b29a65 swiper-slide swiper-slide-duplicate" data-swiper-slide-index="4">
class="fbbd96 fa fa-angle-right"></i></a> <a class="e474a3 img-pic thumb swiper-lazy lazyload-bg"
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
data-src="{$Video.v_pic ?? ''}"
style="background-image: url(&quot;/template/videolaoniu/images/pic.png&quot;);">
<img class="lazyload-img" src="/template/videolaoniu/images/pic.png" data-src="{$Video.v_pic ?? ''}"
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
<span class="ed0f23 vtitle text-right">{$Video.v_remarks}</span>
<div class="fd7210 swiper-lazy-preloader"></div>
</a>
<div class="c27622 name text-overflow hidden">
<a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' title="{$Video.v_name}">{$Video.v_name}</a>
</div>
<div class="a45e87 sname text-muted text-overflow hidden">
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo}
&nbsp;
{/volist}
</div> </div>
</div> </div>
<ul class="d9e43b lvshicms-vodlist clearfix"> {/video:ranklist}
{video:list count="8" v_parent_category_en="$val.v_category_en" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="27" col-lg="4"/}
{/video:list}
</ul>
</div> </div>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div> </div>
</div>
</div> <ul class="cb7e0c txt-list txt-list-hot p-xs-0 hidden-sm hidden-xs">
<div class="a51b92 hidden-xs hidden-sm col-md-wide-25"> {video:ranklist count="8"
<div class="cc593d lvshicms-panel lvshicms-panel-bg clearfix">
<div class="dcb74d lvshicms-panel-box clearfix">
<div class="dae8b0 lvshicms-panel_hd">
<div class="d7bedc lvshicms-panel__head active bottom-line clearfix">
<h2 class="f48698 title"> {$val.v_category}周榜单 </h2>
<a class="c502a3 more text-muted right bg" href="{$strRankUrlTemp}">更多 <i
class="ed6c4f fa fa-angle-right"></i></a>
</div>
</div>
<div class="a0c205 lvshicms-panel_bd">
<ul class="f39a35 lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="17"
v_parent_category_en="$val.v_category_en" v_parent_category_en="$val.v_category_en"
sort_type="weekly" sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"} d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="80"/} {include file="public/video-list-phb" start="80"/}
{/video:ranklist} {/video:ranklist}
</ul>
</div>
<div class="c5fe5e col-md-wide-75 col-xs-1 p-xs-0 ">
<ul class="f63186 img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
{video:list count="12" v_parent_category_en="$val.v_category_en" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="27" col-md="4"/}
{/video:list}
</ul> </ul>
</div> </div>
</div> </div>
</div>
</div>
</div> </div>

View File

@@ -25,38 +25,32 @@
{/block} {/block}
{block name="main"} {block name="main"}
<div class="container"> <div class="a0395c container" style="margin-top:10px">
<div class="eb5be5 row"> <div class="a0f98b row">
<div class="fb7647 col-xs-1 col-md-wide-75"> <div class="fd0958 col-md-wide-75 col-sm-wide-1 pt-xs-0 pr-xs-5 mt-xs-0 main-left">
<div class="eceb3c lvshicms-panel lvshicms-panel-bg clearfix"> <div class="f96105 pannel-box mt-xs-0 clearfix">
<div class="b173ae lvshicms-panel-box clearfix">
<div class="f66d8c lvshicms-panel_bd clearfix"> <div class="cd1b0f box-title">
<div class="bf9492 lvshicms-panel_hd"> <h2 class="a1100b title"> 观看记录 </h2>
<div class="be8a1c lvshicms-panel__head bottom-line active clearfix">
<h3 class="a1100b title"> 观看记录 </h3>
</div> </div>
</div>
<ul class="d9e43b lvshicms-vodlist clearfix" id="historyContainer"> <div class="ca586e clearfix" id="content">
<ul class="fb3c38 img-list clearfix news-list hide-hits" id="historyContainer">
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<div class="fb44a5 col-md-wide-25 pt-xs-0 main-right hidden-sm hidden-xs" style="position:sticky;top:-10px;">
<div class="dfb7d2 pannel-box mt-xs-0 clearfix">
<div class="e3a1c3 box-title "><span class="dea086 title-lb"></span>
<h2>热门影视</h2>
</div> </div>
<div class="a51b92 hidden-xs hidden-sm col-md-wide-25"> <ul class="d6b451 txt-list txt-list-hot p-xs-0">
<div class="cc593d lvshicms-panel lvshicms-panel-bg clearfix">
<div class="dcb74d lvshicms-panel-box clearfix">
<div class="dae8b0 lvshicms-panel_hd">
<div class="d7bedc lvshicms-panel__head active bottom-line clearfix">
<h3 class="f48698 title">周榜单 </h3>
<a class="c502a3 more text-muted right bg" href="{$strRankUrlTemp}">更多 <i
class="ed6c4f fa fa-angle-right"></i></a>
</div>
</div>
<div class="a0c205 lvshicms-panel_bd">
<ul class="f39a35 lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="20" {video:ranklist count="20"
sort_type="weekly" sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"} d_key="key" d_val="Video" cache_life="86400"}
@@ -66,13 +60,9 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
</div> </div>
{/block} {/block}
{block name="customize"} {block name="customize"}
<script> <script>
@@ -82,25 +72,38 @@
// 调用展示书架功能 // 调用展示书架功能
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
const secondTemplate = ` const secondTemplate = `
<li class="fc7a7d col-lg-[col-lg] col-md-4 col-sm-3 col-xs-2">
<div class="a9a18d lvshicms-vodlist__box"> <li class="ccd9aa col-md-1 col-sm-1 col-xs-1 pl-xs-5 mb-xs-10">
<a class="d0ff14 lvshicms-vodlist__thumb lazyload lazyload-bg" <div class="b67059 col-md-4 col-sm-wide-3 col-xs-wide-4 p-xs-0 ">
href="{{videoUrl}}" <a
class="a00f7f img-pic lazyload-bg"
href='{{videoUrl}}'
title="{{videoName}}" title="{{videoName}}"
data-src="{{videoPic}}" style="background-image: url(&quot;{{videoPic}}&quot;);"><span
data-original="{{videoPic}}" class="f90881 vtitle text-right">{{videoRemarks}}</span>
style="background-image: url('{{videoPic}}');">
<span class="c3b20e play hidden-xs"></span>
<span class="bf637e pic-text text-right">{{videoRemarks}}</span>
</a> </a>
<div class="dbbcf6 lvshicms-vodlist__detail"> </div>
<h4 class="c9c8c4 title text-overflow"> <div
<a href="{{videoUrl}}" title="{{videoName}}">{{videoName}}</a> class="e2b27b col-md-wide-75 col-sm-wide-7 col-xs-wide-6 pl-md-20 pl-xs-10 pt-xs-0 pb-xs-0">
</h4> <div class="db294c text-overflow">
<p class="ed925a text text-overflow text-muted hidden-xs">描述:{{videoDescription}}</p> <h2 class="a752bf z-blod font16 pull-left">
<a href='{{videoUrl}}'
title="{{videoName}}">{{videoName}}</a>
</h2>
<span class="b89e08 text-color pull-right search-hits">4</span>
</div>
<div class="e2d722 news-tips mt-xs-10 pl-xs-0">
<a href='{{videoUrl}}'>{{videoParentCategory}}</a>
</div>
<div class="a9acf3 vod-txt text-muted mt-xs-10">
{{videoDescription}}
</div>
<div class="ddbc0b news-tips hidden-xs mt-xs-10 pl-xs-0">
{{videoActor}}
</div> </div>
</div> </div>
</li> </li>
`; `;
// 调用展示书架功能 // 调用展示书架功能
displayHistory(secondTemplate); displayHistory(secondTemplate);

View File

@@ -111,16 +111,11 @@ d_key="d_key" d_val="Video" p_val="page_data" func="generateVideoPager" export
{block name="main"} {block name="main"}
<div class="bac3b3 container" style="margin-top:10px;"> <div class="cfa4e9 container">
<div class="db105d layout-box top-weizhi mb-xs-0 hidden-sm hidden-xs">
<h1 class="view-title">
{site:replace code="VIDEO@GETCATEGORY@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORY@TEXT"}</h4>
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li>当前位置:</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/" itemprop="item"> <a href="/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
@@ -134,42 +129,66 @@ d_key="d_key" d_val="Video" p_val="page_data" func="generateVideoPager" export
<meta itemprop="position" content="2" /> <meta itemprop="position" content="2" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="all" lang="all" year="all" order="all" page="1"/}' itemprop="item"> <a href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="all" lang="all" year="all" order="all" page="1"/}'
itemprop="item">
<span itemprop="name">{site:getval code="strVideoCategoryName" /}</span> <span itemprop="name">{site:getval code="strVideoCategoryName" /}</span>
</a> </a>
<meta itemprop="position" content="3" /> <meta itemprop="position" content="3" />
</li> </li>
</ol> </ol>
</nav> </nav>
</div>
<div class="e0f35c row"> <h1 class="view-title">
<div class="c2b983 lvshicms-panel active lvshicms-panel-bg2 clearfix">
<div class="d92ea8 lvshicms-panel-box clearfix"> {site:replace code="VIDEO@GETCATEGORY@H1"}
<div class="a06062 lvshicms-panel_hd"> </h1>
<div class="c9323c lvshicms-panel__head active bottom-line clearfix"> <h4 class="view-description">{site:replace code="VIDEO@GETCATEGORY@TEXT"}</h4>
<h2 class="eefa6f title"> {site:getval code="strVideoParentCategoryName" /} 筛选</h2>
<div class="dd4456 type-box clearfix">
<div class="f008a5 type-title bottom-line">
<span class="c3d883 pull-left" id="conreset">
<a href="#">重新筛选</a>
</span>
<span class="a75037 pull-right slideDown-btn up" id="slideDown-box">收起<i
class="c3d178 iconfont icon-up"></i>
</span>
</div> </div>
</div>
<div class="dd7517 lvshicms-panel_bd">
<div class="f9514c slideDown-box"> <div class="d2a62b slideDown-box">
<ul class="c5e5dd lvshicms-screen__list clearfix" data-align="left">
<li> <a class="adc828 text-muted btn">分类</a> </li> <div class="d6afbc type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode"
style="height:55px">
<ul class="b44e9d swiper-wrapper" id="swiper-wrapper-f8ad8b226c38851e" aria-live="polite">
<li class="a4e370 swiper-slide swiper-slide-active" role="group" aria-label="1 / 8"><a
class="c698b6 text-muted">分类</a></li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li > <li
<a href='{site:vclurl parent_category="$val.v_category_en" category="all" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}' class="c62f86 swiper-slide {if $Request.route.strParentCategory == $val.v_category_en}active{/if} swiper-slide-next">
class="c65506 btn {if $Request.route.strParentCategory == $val.v_category_en}btn-warm{/if}"> <a
href='{site:vclurl parent_category="$val.v_category_en" category="all" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>
{$val.v_category} {$val.v_category}
</a> </a>
</li> </li>
{/video:categorytype} {/video:categorytype}
</ul> </ul>
<ul class="d353e6 lvshicms-screen__list clearfix" data-align="left"> <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
<li> <a class="af2d48 btn text-muted">剧情</a> </li> </div>
<div style="height:55px"
class="cacdfa type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="dd4d5b swiper-wrapper" id="swiper-wrapper-e663a425f51df766" aria-live="polite">
<li class="e236d4 swiper-slide swiper-slide-active" role="group" aria-label="1 / 10"><a
class="c96097 text-muted">类型</a></li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
{if $val.v_category_en == $Request.route.strParentCategory} {if $val.v_category_en == $Request.route.strParentCategory}
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory } {foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li> <li
<a class=" a618ce btn {if $Request.route.strCategory == $arrChildrenCategory.v_category_en}btn-warm{/if}" class="a85999 swiper-slide {if $Request.route.strCategory == $arrChildrenCategory.v_category_en}active{/if}">
<a
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>{$arrChildrenCategory.v_category}</a> href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>{$arrChildrenCategory.v_category}</a>
</li> </li>
{/foreach} {/foreach}
@@ -177,65 +196,84 @@ d_key="d_key" d_val="Video" p_val="page_data" func="generateVideoPager" export
{/video:categorytype} {/video:categorytype}
</ul> </ul>
<ul class="b03fb8 lvshicms-screen__list clearfix" data-align="left"> <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
<li> <a class="aca9e5 btn text-muted">地区</a> </li> </div>
<div style="height:55px"
class="a22767 type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="d44a2d swiper-wrapper" id="swiper-wrapper-7b9a8d777f6108694" aria-live="polite">
<li class="e2c29c swiper-slide swiper-slide-active" role="group" aria-label="1 / 13"><a
class="f89be7 text-muted">地区</a></li>
{video:area d_key="key" d_val="val"} {video:area d_key="key" d_val="val"}
<li > <li class="e045e3 swiper-slide {if $Request.route.strArea == $key}active{/if}">
<a href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$key" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}' <a
class=" ae52d4 btn {if $Request.route.strArea == $key}btn-warm{/if}">{$val}</a> href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$key" lang="$Request.route.strLang" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>{$val}</a>
</li> </li>
{/video:area} {/video:area}
</ul> </ul>
<ul class="a383e9 lvshicms-screen__list clearfix" data-align="left"> <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
<li> <a class="e49c5f btn text-muted">年份</a> </li> </div>
<div style="height:55px"
class="dc7d8b type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="ce89a4 swiper-wrapper" id="swiper-wrapper-4d392443bbf795ee" aria-live="polite">
<li class="ba1423 swiper-slide swiper-slide-active" role="group" aria-label="1 / 18"><a
class="e4be3b text-muted">年代</a></li>
{video:year d_key="key" d_val="val"} {video:year d_key="key" d_val="val"}
<li > <li class="c9a468 swiper-slide {if $Request.route.strYear == $key}active{/if}" role="group"
<a href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$key" order="$Request.route.strOrder" page="$Request.route.intPage"}' aria-label="3 / 18">
class=" e230a5 btn {if $Request.route.strYear == $key}btn-warm{/if}">{$val}</a> <a
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$key" order="$Request.route.strOrder" page="$Request.route.intPage"}'>{$val}</a>
</li> </li>
{/video:year} {/video:year}
</ul> </ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div>
<ul class="a383e9 lvshicms-screen__list clearfix" data-align="left"> <div style="height:55px"
<li> <a class="e49c5f btn text-muted">语言</a> </li> class="dc7d8b type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="ce89a4 swiper-wrapper" id="swiper-wrapper-4d392443bbf795ee" aria-live="polite">
<li class="ba1423 swiper-slide swiper-slide-active" role="group" aria-label="1 / 18"><a
class="e4be3b text-muted">语言</a></li>
{video:lang d_key="key" d_val="val"} {video:lang d_key="key" d_val="val"}
<li > <li class="c9a468 swiper-slide {if $Request.route.strLang == $key}active{/if}" role="group"
<a href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$key" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}' aria-label="3 / 18">
class="c32026 btn {if $Request.route.strLang == $key}btn-warm{/if}">{$val}</a> <a
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$key" year="$Request.route.strYear" order="$Request.route.strOrder" page="$Request.route.intPage"}'>{$val}</a>
</li> </li>
{/video:lang} {/video:lang}
</ul> </ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div> </div>
<ul class="d95c02 lvshicms-screen__list clearfix" data-align="left"> </div>
<li> <a class="d40281 btn text-muted">排序</a> </li>
</div>
<div class="ee356a layout-box">
<div class="e3c2c3 row">
<div class="eba0b0 type-order clearfix ajax-nav-tabs">
{video:sort d_key="key" d_val="val"} {video:sort d_key="key" d_val="val"}
<li> <a href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$key" page="$Request.route.intPage"}'
<a class="c32026 btn {if $Request.route.strOrder == $key}btn-warm{/if}" class="d3b772 {if$Request.route.strOrder == $key}active{/if}">
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" area="$Request.route.strArea" lang="$Request.route.strLang" year="$Request.route.strYear" order="$key" page="$Request.route.intPage"}'> {$val}{site:getval code="strVideoParentCategoryName" /}
{$val}
</a> </a>
</li>
{/video:sort} {/video:sort}
</ul> <!-- <span class="b9e52b pull-right font13 text-muted">共有“<span class="ac7053 text-color"
id="mac_total">{$resData.p_data.total}</span>”部{site:getval code="strVideoParentCategoryName"
/}</span> -->
</div> </div>
</div>
</div> <ul class="c8ffac img-list hidden" id="content">
<div class="aed4a1 lvshicms-panel active lvshicms-panel-bg clearfix">
<div class="dbaf2a lvshicms-panel-box clearfix">
<div class="e028a7 lvshicms-panel_bd">
<ul class="c75497 lvshicms-vodlist clearfix">
{foreach $resData.data as $key=>$Video} {foreach $resData.data as $key=>$Video}
{include file="public/video-list-shu" start="0" col-lg="6"/} {include file="public/video-list-shu" start="0" col-md="6"/}
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
</div> </div>
</div> <div id="page" class="d7d7dc mt-xs-10">
<ul class="ae5171 lvshicms-page text-center clearfix"> <ul>
{volist name="resData.p_data.pager" id="vo" key="k"} {volist name="resData.p_data.pager" id="vo" key="k"}
{switch $vo.label} {switch $vo.label}
{case value="上一页"} {case value="上一页"}
@@ -254,15 +292,21 @@ d_key="d_key" d_val="Video" p_val="page_data" func="generateVideoPager" export
{/case} {/case}
{default /} {default /}
{if preg_match('/^\d+$/', $vo.label)} {if preg_match('/^\d+$/', $vo.label)}
<li > <li>
<a href="{$vo.url}" class='cc4f99 btn {eq name="vo.label" value="$Request.route.intPage"}btn-warm {/eq} btn-default '>{$vo.label}</a> <a href="{$vo.url}"
class='cc4f99 btn {eq name="vo.label" value="$Request.route.intPage"}btn-warm {/eq} btn-default '>{$vo.label}</a>
</li> </li>
{/if} {/if}
{/switch} {/switch}
{/volist} {/volist}
</ul> </ul>
</div> </div>
</div> <!-- <script>
$("#mac_total").text(18559);
</script> -->
</div>
{/block} {/block}
{block name="customize"} {block name="customize"}

View File

@@ -101,14 +101,12 @@
{block name="main"} {block name="main"}
<div class="bc22cc container"> <div class="e81961 container">
<h1 class="view-title"> <div class="ab8b1c layout-box top-weizhi mb-xs-0 hidden-sm hidden-xs">
{site:replace code="VIDEO@GETCATEGORYINDEX@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4>
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li>当前位置:</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/" itemprop="item"> <a href="/" itemprop="item">
<span itemprop="name">首页</span> <span itemprop="name">首页</span>
@@ -123,71 +121,124 @@
</li> </li>
</ol> </ol>
</nav> </nav>
</div>
<h1 class="view-title">
{site:replace code="VIDEO@GETCATEGORYINDEX@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4>
<div class="c2910f layout-box mcat-box clearfix">
<ul class="a21b88 col-md-wide-4 col-sm-wide-4 col-xs-wide-1">
<li class="e49b40 col-md-1 col-sm-1 col-xs-10 text-overflow font16">分类</li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
{if $val.v_category_en == $Request.route.strParentCategory}
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li class="f1a846 col-md-6 col-sm-4 col-xs-10 text-overflow ">
<a
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'>{$arrChildrenCategory.v_category}</a>
</li>
{/foreach}
{/if}
{/video:categorytype}
</ul>
<ul class="e8b02e col-md-wide-3 col-sm-wide-3 col-xs-wide-1">
<li class="a1ebc7 col-md-1 col-sm-1 col-xs-10 text-overflow font16">地区</li>
<?php $intVideoAreaIdex = 0 ;?>
{video:area d_key="key" d_val="val"}
<?php $intVideoAreaIdex ++ ;?>
{if $intVideoAreaIdex < 11} <li class="b0b8bc col-md-5 col-sm-4 col-xs-10 text-overflow ">
<a
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="all" area="$key" lang="all" year="all" order="all" page="1"}'>{$val}</a>
</li>
{/if}
{/video:area}
</ul>
<ul class="e4cbf7 col-md-wide-3 col-sm-wide-3 col-xs-wide-1">
<li class="e2dea0 col-md-1 col-sm-1 col-xs-10 text-overflow font16">年份</li>
<?php $intVideoYearIdex = 0 ;?>
{video:year d_key="key" d_val="val"}
<?php $intVideoYearIdex ++ ;?>
{if $intVideoYearIdex < 11} <li class="b0b8bc col-md-5 col-sm-4 col-xs-10 text-overflow ">
<a
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="all" area="all" lang="all" year="$key" order="all" page="1"}'>{$val}</a>
</li>
{/if}
{/video:year}
</ul>
</div>
<div class="ca7d94 layout-box clearfix">
<div class="eb3e0f box-title"><span class="fa2b51 iconfont icon-remen"></span>
<h2>热播推荐</h2>
<a class="bfe700 box-more pull-right"
href='{site:vclurl parent_category="$Request.route.v_parent_category_en" category="all" area="all" lang="all" year="all" order="tuijian" page="1"}'>
全部<i>&gt;</i>
</a>
</div>
<div class="a48c40 row">
<ul class="e72f7b img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
{video:list count="10"
v_parent_category_en="$Request.route.strParentCategory"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="tuijian"
d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="0" col-md="5"/}
{/video:list}
</ul>
</div>
</div>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
{if $val.v_category_en == $Request.route.strParentCategory} {if $val.v_category_en == $Request.route.strParentCategory}
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory } {foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<div class="b5fa79 layout-box">
<div class="db2dba box-title"><span class="b0c256 title-lb"></span>
<h2>{$arrChildrenCategory.v_category}</h2>
<div class="eb5be5 row"> <a class="eee635 box-more pull-right"
<div class="fb7647 col-xs-1 col-md-wide-75"> href='{site:vclurl parent_category="$Request.route.v_parent_category_en" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'>
<div class="eceb3c lvshicms-panel lvshicms-panel-bg clearfix"> 更多<i>&gt;</i></a>
<div class="b173ae lvshicms-panel-box clearfix">
<div class="f66d8c lvshicms-panel_bd clearfix">
<div class="bf9492 lvshicms-panel_hd">
<div class="be8a1c lvshicms-panel__head bottom-line active clearfix">
<h2 class="a1100b title"> 最新{$arrChildrenCategory.v_category} </h2>
<a class="ec883e more text-muted right bg"
href='{site:vclurl parent_category="$val.v_category_en" category="all" area="all" lang="all" year="all" order="all" page="1"/}'>更多
<i class="fbbd96 fa fa-angle-right"></i></a>
</div> </div>
<div class="a11b04 row">
<div class="ebc7cc col-md-wide-25 pt-xs-5 hidden-sm hidden-xs">
<div class="d99edd box-title"><span class="c983b4 iconfont icon-paihang"></span>
<h2>{$arrChildrenCategory.v_category}推荐</h2>
</div> </div>
<ul class="d9e43b lvshicms-vodlist clearfix"> <ul class="b74f7e txt-list txt-list-hot pt-xs-0">
{video:list count="8" {video:ranklist count="15"
v_category_en="$arrChildrenCategory.v_category_en"
sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="11"/}
{/video:ranklist}
</ul>
</div>
<div class="ea7f48 col-md-wide-75 p-xs-0">
<ul class="ee3a83 img-list clearfix">
{video:list count="12"
v_category_en="$arrChildrenCategory.v_category_en" v_category_en="$arrChildrenCategory.v_category_en"
v_lang_en="all" v_lang_en="all"
v_area_en="all" v_area_en="all"
v_year="all" v_year="all"
sort_type="news" sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"} d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="27" col-lg="4"/} {include file="public/video-list-shu" start="27" col-md="4"/}
{/video:list} {/video:list}
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="a51b92 hidden-xs hidden-sm col-md-wide-25">
<div class="cc593d lvshicms-panel lvshicms-panel-bg clearfix">
<div class="dcb74d lvshicms-panel-box clearfix">
<div class="dae8b0 lvshicms-panel_hd">
<div class="d7bedc lvshicms-panel__head active bottom-line clearfix">
<h2 class="f48698 title"> {$arrChildrenCategory.v_category}周榜单 </h2>
<a class="c502a3 more text-muted right bg" href="{$strRankUrlTemp}">更多 <i
class="ed6c4f fa fa-angle-right"></i></a>
</div>
</div>
<div class="a0c205 lvshicms-panel_bd">
<ul class="f39a35 lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="17"
v_category_en="$arrChildrenCategory.v_category_en"
sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="80"/}
{/video:ranklist}
</ul>
</div>
</div>
</div>
</div>
</div>
{/foreach} {/foreach}
{/if} {/if}
{/video:categorytype} {/video:categorytype}
</div> </div>
{/block} {/block}
{block name="customize"} {block name="customize"}

View File

@@ -90,13 +90,9 @@
{block name='body-class'}rank-index{/block} {block name='body-class'}rank-index{/block}
{block name="main"} {block name="main"}
<div class="container">
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEORANKINDEX@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEORANKINDEX@TEXT"}</h4>
<div class="cfa4e9 container">
<div class="db105d layout-box top-weizhi mb-xs-0 hidden-sm hidden-xs">
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -113,117 +109,78 @@
</li> </li>
</ol> </ol>
</nav> </nav>
</div>
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEORANKINDEX@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEORANKINDEX@TEXT"}</h4>
<div class="dd4456 type-box clearfix">
<div class="f008a5 type-title bottom-line">
<span class="c3d883 pull-left" id="conreset">
<a href="#">排行榜</a>
</span>
<div class="e0f35c row">
<div class="c2b983 lvshicms-panel active lvshicms-panel-bg2 clearfix">
<div class="d92ea8 lvshicms-panel-box clearfix">
<div class="a06062 lvshicms-panel_hd">
<div class="c9323c lvshicms-panel__head active bottom-line clearfix">
<h2 class="eefa6f title"> 排行榜 筛选</h2>
</div> </div>
</div>
<div class="dd7517 lvshicms-panel_bd">
<div class="f9514c slideDown-box"> <div class="d2a62b slideDown-box">
<ul class="c5e5dd lvshicms-screen__list clearfix" data-align="left">
<li> <a class="adc828 text-muted btn">分类</a> </li> <div class="d6afbc type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode"
style="height:55px">
<ul class="b44e9d swiper-wrapper" id="swiper-wrapper-f8ad8b226c38851e" aria-live="polite">
<li class="a4e370 swiper-slide swiper-slide-active" role="group" aria-label="1 / 8"><a
class="c698b6 text-muted">分类</a></li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li> <li
<a href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}' class="c62f86 swiper-slide {if $Request.route.strParentCategory == $val.v_category_en}active{/if} swiper-slide-next">
class="c65506 btn {if $Request.route.strParentCategory == $val.v_category_en}btn-warm{/if}"> <a
href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'>
{$val.v_category} {$val.v_category}
</a> </a>
</li> </li>
{/video:categorytype} {/video:categorytype}
</ul> </ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div> </div>
</div>
</div>
</div>
</div>
</div>
<div class="e489dd container">
<div class="a1ce09 row">
</div>
</div>
<div class="ee356a layout-box">
<div class="e3c2c3 row">
{video:ranksort d_key="key" d_val="val"} {video:ranksort d_key="key" d_val="val"}
<div class="fb44a5 col-md-wide-25 pt-xs-0 main-right "
style="position:sticky;top:-10px;">
<div class="dfb7d2 pannel-box mt-xs-0 clearfix">
<div class="fe3214 col-lg-3 col-md-4 col-sm-2 col-xs-1"> <div class="e3a1c3 box-title "><span class="dea086 title-lb"></span>
<div class="ccba9b lvshicms-panel-bg2 col-pd radius-4 clearfix"> <h2>{$val}排行榜</h2>
<div class="fd0689 lvshicms-panel_hd">
<div class="e58f0e lvshicms-panel__head bottom-line active clearfix text-overflow">
<h2 class="d653d5 title"> {$val}排行榜 </h2>
</div> </div>
</div> <ul class="d6b451 txt-list txt-list-hot p-xs-0">
<div class="ce0ed8 lvshicms-panel_bd clearfix"> {video:ranklist count="20"
<ul class="da258b lvshicms-vodlist__media col-pd clearfix"> sort_type="weekly"
{video:ranklist count="10"
sort_type="$key"
d_key="key" d_val="Video" cache_life="86400"} d_key="key" d_val="Video" cache_life="86400"}
<?php $key ++ ;?> {include file="public/video-list-phb" start="80"/}
{if $key < 4} <li>
<div class="a45a81 thumb">
<a class="b7fde8 lvshicms-vodlist__thumb img-xs-70"
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name} ">
<img class="lazyload-img" src="/static/img/load.png"
data-src="{$Video.v_pic ?? ''}"
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
<span class='fa73de badge
{eq name="$key" value="1"}badge-first {/eq}
{eq name="$key" value="2"}badge-second {/eq}
{eq name="$key" value="3"}badge-third {/eq}'>
{$key}
</span>
</a>
</div>
<div class="b6dc66 detail detail-side">
<h3 class="c58a4d title"><a
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'><i
class="bc63b3 fa fa-angle-right text-muted pull-right"></i> {$Video.v_name}
</a>
</h3>
<p class="e3349d font-12"><span class="e2d8fb text-muted">类型:</span>{$Video.v_category}<span
class="cd23c6 text-muted">地区:</span>{volist name='$Video.v_area' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp;
{/volist}</p>
<p class="a70415 font-12 margin-0"><span
class="cf514a text-muted">主演:</span>{volist name='$Video.v_actor' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp;
{/volist},</p>
</div>
</li>
{/if}
{/video:ranklist} {/video:ranklist}
</ul> </ul>
<ul class="a33a7f lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="10"
sort_type="$key"
d_key="key" d_val="Video" cache_life="86400"}
<?php $key ++ ;?>
{if $key > 3}
<li class="c11eab top-line"> <a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}"> <span class="d507d5 badge">{$key}</span>{$Video.v_name}
</a> </li>
{/if}
{/video:ranklist}
</ul>
</div>
</div> </div>
</div> </div>
{/video:ranksort} {/video:ranksort}
</div> </div>
</div>
</div> </div>
{/block} {/block}
{block name="customize"} {block name="customize"}

View File

@@ -97,13 +97,10 @@ p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankL
{block name="main"} {block name="main"}
<div class="bac3b3 container" style="margin-top:10px;">
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEORANKLIST@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEORANKLIST@TEXT"}</h4>
<div class="cfa4e9 container">
<div class="db105d layout-box top-weizhi mb-xs-0 hidden-sm hidden-xs">
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -119,42 +116,66 @@ p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankL
<meta itemprop="position" content="2" /> <meta itemprop="position" content="2" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}' itemprop="item"> <a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$Request.route.strSortType" page="1"/}'
<span itemprop="name">{site:getval code="strVideoParentCategoryName" /}{site:getval code="strVideoCategoryName" /}{site:getval code="strOrderName" /}排行榜</span> itemprop="item">
<span itemprop="name">{site:getval code="strVideoParentCategoryName" /}{site:getval
code="strVideoCategoryName" /}{site:getval code="strOrderName" /}排行榜</span>
</a> </a>
<meta itemprop="position" content="2" /> <meta itemprop="position" content="2" />
</li> </li>
</ol> </ol>
</nav> </nav>
</div>
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEORANKLIST@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEORANKLIST@TEXT"}</h4>
<div class="dd4456 type-box clearfix">
<div class="f008a5 type-title bottom-line">
<span class="c3d883 pull-left" id="conreset">
<a href="#">排行榜列表</a>
</span>
<div class="e0f35c row">
<div class="c2b983 lvshicms-panel active lvshicms-panel-bg2 clearfix">
<div class="d92ea8 lvshicms-panel-box clearfix">
<div class="a06062 lvshicms-panel_hd">
<div class="c9323c lvshicms-panel__head active bottom-line clearfix">
<h2 class="eefa6f title"> {site:getval code="strVideoParentCategoryName" /}排行榜 </h2>
</div> </div>
</div>
<div class="dd7517 lvshicms-panel_bd">
<div class="f9514c slideDown-box"> <div class="d2a62b slideDown-box">
<ul class="c5e5dd lvshicms-screen__list clearfix" data-align="left">
<li> <a class="adc828 text-muted btn">分类</a> </li> <div class="d6afbc type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode"
style="height:55px">
<ul class="b44e9d swiper-wrapper" id="swiper-wrapper-f8ad8b226c38851e" aria-live="polite">
<li class="a4e370 swiper-slide swiper-slide-active" role="group" aria-label="1 / 8"><a
class="c698b6 text-muted">分类</a></li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li > <li
<a href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="$Request.route.strSortType" page="1"/}' class="c62f86 swiper-slide {if $Request.route.strParentCategory == $val.v_category_en}active{/if} swiper-slide-next">
class="c65506 btn {if $Request.route.strParentCategory == $val.v_category_en}btn-warm{/if}"> <a
href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'>
{$val.v_category} {$val.v_category}
</a> </a>
</li> </li>
{/video:categorytype} {/video:categorytype}
</ul> </ul>
<ul class="d353e6 lvshicms-screen__list clearfix" data-align="left"> <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
<li> <a class="af2d48 btn text-muted">剧情</a> </li> </div>
<div style="height:55px"
class="cacdfa type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="dd4d5b swiper-wrapper" id="swiper-wrapper-e663a425f51df766" aria-live="polite">
<li class="e236d4 swiper-slide swiper-slide-active" role="group" aria-label="1 / 10"><a
class="c96097 text-muted">类型</a></li>
{video:categorytype category_type="ONE" d_key="key" d_val="val"} {video:categorytype category_type="ONE" d_key="key" d_val="val"}
{if $val.v_category_en == $Request.route.strParentCategory} {if $val.v_category_en == $Request.route.strParentCategory}
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory } {foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li> <li
<a class=" a618ce btn {if $Request.route.strCategory == $arrChildrenCategory.v_category_en}btn-warm{/if}" class="a85999 swiper-slide {if $Request.route.strCategory == $arrChildrenCategory.v_category_en}active{/if}">
<a
href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" sort_type="$Request.route.strSortType" page="1"/}'>{$arrChildrenCategory.v_category}</a> href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" sort_type="$Request.route.strSortType" page="1"/}'>{$arrChildrenCategory.v_category}</a>
</li> </li>
{/foreach} {/foreach}
@@ -162,36 +183,41 @@ p_val="page_data" button_num="10" cache_life="86400" export_name="arrVideoRankL
{/video:categorytype} {/video:categorytype}
</ul> </ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div> </div>
<ul class="d95c02 lvshicms-screen__list clearfix" data-align="left">
<li> <a class="d40281 btn text-muted">排序</a> </li> <div style="height:55px"
class="dc7d8b type-select type-select-slide swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="ce89a4 swiper-wrapper" id="swiper-wrapper-4d392443bbf795ee" aria-live="polite">
<li class="ba1423 swiper-slide swiper-slide-active" role="group" aria-label="1 / 18"><a
class="e4be3b text-muted">排序</a></li>
{video:ranksort d_key="key" d_val="val"} {video:ranksort d_key="key" d_val="val"}
<li class="{if $Request.route.strSortType == $key}btn-warm{/if}">
<a href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$key" page="1"/}'> <li class="c9a468 swiper-slide {if $Request.route.strSortType == $key}active{/if}" role="group"
{$val}排行榜 aria-label="3 / 18">
</a> <a
href='{site:vrlurl parent_category="$Request.route.strParentCategory" category="$Request.route.strCategory" sort_type="$key" page="1"/}'>{$val}</a>
</li> </li>
{/video:ranksort} {/video:ranksort}
</ul> </ul>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</div> </div>
</div> </div>
</div> </div>
<div class="aed4a1 lvshicms-panel active lvshicms-panel-bg clearfix"> <div class="ee356a layout-box">
<div class="dbaf2a lvshicms-panel-box clearfix"> <div class="e3c2c3 row">
<div class="e028a7 lvshicms-panel_bd">
<ul class="c75497 lvshicms-vodlist clearfix">
<ul class="c8ffac img-list hidden" id="content">
{foreach $arrVideoRankList as $key=>$Video} {foreach $arrVideoRankList as $key=>$Video}
{include file="public/video-list-shu" start="0" col-lg="6"/} {include file="public/video-list-shu" start="0" col-md="5"/}
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
</div> </div>
</div>
</div> </div>
</div>
{/block} {/block}

View File

@@ -95,13 +95,9 @@ p_val="page_data" button_num="5" cache_life="86400" func="generateSearchPager" e
{/block} {/block}
{block name="main"} {block name="main"}
<div class="container">
<h1 class="view-title">
{site:replace code="VIDEO@GETSEARCHVIDEO@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETSEARCHVIDEO@TEXT"}</h4>
<div class="a0395c container">
<div class="a586f3 layout-box top-weizhi mb-xs-10 hidden-sm hidden-xs">
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
@@ -119,52 +115,68 @@ p_val="page_data" button_num="5" cache_life="86400" func="generateSearchPager" e
</ol> </ol>
</nav> </nav>
</div>
<div class="eb5be5 row"> <h1 class="view-title">
<div class="fb7647 col-xs-1 col-md-wide-75"> {site:replace code="VIDEO@GETSEARCHVIDEO@H1"}
<div class="eceb3c lvshicms-panel lvshicms-panel-bg clearfix"> </h1>
<div class="b173ae lvshicms-panel-box clearfix"> <h4 class="view-description">{site:replace code="VIDEO@GETSEARCHVIDEO@TEXT"}</h4>
<div class="f66d8c lvshicms-panel_bd clearfix">
<div class="bf9492 lvshicms-panel_hd"> <div class="a0f98b row">
<div class="be8a1c lvshicms-panel__head bottom-line active clearfix"> <div class="fd0958 col-md-wide-75 col-sm-wide-1 pt-xs-0 pr-xs-5 mt-xs-0 main-left">
<h2 class="a1100b title"> 搜索<span style="color:red">“{$Request.get.keyword}”</span>相关结果共有 <span style="color:red">{$resData.p_data.total}</span> 部视频 </h2> <div class="f96105 pannel-box mt-xs-0 clearfix">
<div class="cd1b0f box-title">
<span class="d99e25 iconfont icon-search"></span>
<h2 class="a1100b title"> 搜索<span
style="color:red">“{$Request.get.keyword}”</span>相关结果共有 <span
style="color:red">{$resData.p_data.total}</span> 部视频 </h2>
</div> </div>
</div>
<ul class="d9e43b lvshicms-vodlist clearfix"> <div class="ca586e clearfix" id="content">
<ul class="fb3c38 img-list clearfix news-list hide-hits">
{foreach $resData.data as $key=>$Video} {foreach $resData.data as $key=>$Video}
<?php $key ++ ;?>
<li class="ccd9aa col-md-1 col-sm-1 col-xs-1 pl-xs-5 mb-xs-10">
<div class="b67059 col-md-4 col-sm-wide-3 col-xs-wide-4 p-xs-0 "><a
class="a00f7f img-pic lazyload-bg"
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}"
data-src="{$Video.v_pic ?? ''}"
style="background-image: url(&quot;/static/img/load.png&quot;);"><span
class="f90881 vtitle text-right">{$Video.v_remarks}</span><span
class="c82cb4 tipsc text-right">{$key}</span></a>
</div>
<div
class="e2b27b col-md-wide-75 col-sm-wide-7 col-xs-wide-6 pl-md-20 pl-xs-10 pt-xs-0 pb-xs-0">
<div class="db294c text-overflow">
<h2 class="a752bf z-blod font16 pull-left">
<a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}">{$Video.v_name}</a>
</h2>
<span class="b89e08 text-color pull-right search-hits">4</span>
</div>
<div class="e2d722 news-tips mt-xs-10 pl-xs-0">
<a href='{site:vciurl parent_category="$Video.v_parent_category_en" /}'>{$Video.v_parent_category ?? ''}</a>
</div>
<div class="a9acf3 vod-txt text-muted mt-xs-10">
{$Video.v_description|raw}
</div>
<div class="ddbc0b news-tips hidden-xs mt-xs-10 pl-xs-0">
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo}
&nbsp;
{/volist}
</div>
</div>
</li>
{include file="public/video-list-shu" start="27" col-lg="4"/}
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
</div> </div>
</div> <div id="page" class="efd305 mt-xs-10">
</div> <ul>
<div class="a51b92 hidden-xs hidden-sm col-md-wide-25">
<div class="cc593d lvshicms-panel lvshicms-panel-bg clearfix">
<div class="dcb74d lvshicms-panel-box clearfix">
<div class="dae8b0 lvshicms-panel_hd">
<div class="d7bedc lvshicms-panel__head active bottom-line clearfix">
<h3 class="f48698 title">周榜单 </h3>
<a class="c502a3 more text-muted right bg" href="{$strRankUrlTemp}">更多 <i
class="ed6c4f fa fa-angle-right"></i></a>
</div>
</div>
<div class="a0c205 lvshicms-panel_bd">
<ul class="f39a35 lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="20"
sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="80"/}
{/video:ranklist}
</ul>
</div>
</div>
</div>
</div>
</div>
<ul class="ae5171 lvshicms-page text-center clearfix">
{volist name="resData.p_data.pager" id="vo" key="k"} {volist name="resData.p_data.pager" id="vo" key="k"}
{switch $vo.label} {switch $vo.label}
{case value="上一页"} {case value="上一页"}
@@ -183,16 +195,35 @@ p_val="page_data" button_num="5" cache_life="86400" func="generateSearchPager" e
{/case} {/case}
{default /} {default /}
{if preg_match('/^\d+$/', $vo.label)} {if preg_match('/^\d+$/', $vo.label)}
<li > <li>
<a href="{$vo.url}" class='cc4f99 btn {eq name="vo.label" value="$Request.route.intPage"}btn-warm {/eq} btn-default '>{$vo.label}</a> <a href="{$vo.url}"
class='cc4f99 btn {eq name="vo.label" value="$Request.route.intPage"}btn-warm {/eq} btn-default '>{$vo.label}</a>
</li> </li>
{/if} {/if}
{/switch} {/switch}
{/volist} {/volist}
</ul> </ul>
</div>
</div>
<div class="fb44a5 col-md-wide-25 pt-xs-0 main-right hidden-sm hidden-xs" style="position:sticky;top:-10px;">
<div class="dfb7d2 pannel-box mt-xs-0 clearfix">
<div class="e3a1c3 box-title "><span class="dea086 title-lb"></span>
<h2>热门影视</h2>
</div>
<ul class="d6b451 txt-list txt-list-hot p-xs-0">
{video:ranklist count="20"
sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="80"/}
{/video:ranklist}
</ul>
</div>
</div>
</div>
</div> </div>
{/block} {/block}
{block name="customize"} {block name="customize"}

View File

@@ -133,17 +133,8 @@
{block name="main"} {block name="main"}
<div class="d3dea8 container">
<div class="bcf409 layout-box top-weizhi mb-xs-10 hidden-sm hidden-xs">
<div class="a971eb lvshicms-container-bg detail-info-box" style="margin-top:-20px;">
<div class="f969ad container">
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEOINFO@H1" diff="$arrVideo.v_id"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOINFO@TEXT" diff="$arrVideo.v_id"}</h4>
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li> <li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li>
@@ -176,128 +167,122 @@
</li> </li>
</ol> </ol>
</nav> </nav>
</div>
</div>
<div class="a65698 container clearfix static">
<div class="fc40de row"> <h1 class="view-title">
<div class="f147ce lvshicms-panel margin-0 clearfix"> {site:replace code="VIDEO@GETVIDEOINFO@H1" diff="$arrVideo.v_id"}
<div class="a193f5 lvshicms-panel-box clearfix"> </h1>
<div class="dea615 col-xs-1 detail-box"> <h4 class="view-description">{site:replace code="VIDEO@GETVIDEOINFO@TEXT" diff="$arrVideo.v_id"}</h4>
<div class="b97972 lvshicms-content__thumb">
<a class="f2880b lvshicms-vodlist__thumb video-info-lvshicms-vodlist__thumb picture" href="/product/90860-1-1.html" <div class="a31376 row static">
title="{$arrVideo.v_name}"> <div class="c47acd col-md-wide-75 pt-xs-0 pr-xs-5 clearfix main-left static">
<img class="f20604 lazyload" src="{$arrVideo.v_pic}"> <div class="c876e8 pannel-box p-xs-10 clearfix detail-info-box">
<span class="c5512d detail-icon play"></span> <div class="cab11a vod-detail-pic col-md-wide-25 col-xs-wide-35 p-xs-0">
<span class="a555ce pic-text text-right">已完结</span> <a class="ba572d vod-detail-thumb lazyload-bg" href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
data-src="{$arrVideo.v_pic}"
style="background-image: url(&quot;{$arrVideo.v_pic}&quot;);">
<span class="b76b48 b-play"></span>
</a> </a>
</div> </div>
<div class="eecb94 lvshicms-content__detail"> <div class="d4efa2 col-md-wide-75 col-xs-wide-65 vod-detail-info pt-xs-0 pb-xs-0">
<h1 class="edfc9f title">{$arrVideo.v_name}</h1> <ul class="a85bd5 img-list clearfix">
<p class="fe7a76 data"><span class="dcb052 text-muted">主演:</span> <li class="a336bf col-xs-1">
<h2>{$arrVideo.v_name}</h2>
</li>
<li class="f84af4 col-md-1 txt-hidden one">
<span class="aa48a0 text-ccc">主演:</span>
{volist name='$arrVideo.v_actor' id='vo' key='index'} {volist name='$arrVideo.v_actor' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a> <a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp; &nbsp;
{/volist} {/volist}
</p> </li>
<p class="d53452 data"><span class="a0dae5 text-muted">导演:</span> <li class="ad2714 col-xs-1">
<span class="d00822 text-ccc">导演:</span>
{volist name='$arrVideo.v_director' id='vo' key='index'} {volist name='$arrVideo.v_director' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a> <a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp; &nbsp;
{/volist} {/volist}
</p> </li>
<p class="bb52e4 data"> <li class="cfcbda col-xs-1 text-overflow">
<span class="ed25a2 text-muted">类:</span> <span class="d99311 text-ccc"></span>
<a <a href='{site:vciurl parent_category="$arrVideo.v_parent_category" /}'>{$arrVideo.v_parent_category}</a>
href='{site:vsurl key="$arrVideo.v_parent_category" p="1"/}'>{$arrVideo.v_parent_category}</a> </li>
</p> <li class="ea7d24 col-xs-1">
<p class="bb52e4 data"> <span class="ec29ec text-ccc">提醒:</span>
<span class="ed25a2 text-muted">类型:</span> <span style="color: #5ab46a;">{$arrVideo.v_remarks}</span>
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>{$arrVideo.v_category}</a> </li>
</p> <li class="e6fae1 col-xs-1">
<p class="d994f6 data"> <span class="ba33b1 text-ccc">对白:</span>
<span class="d8c8c2 text-muted">地区:</span> {volist name='$arrVideo.v_lang' id='vo' key='index'}
{volist name='$arrVideo.v_area' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a> <a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp; &nbsp;
{/volist} {/volist}
</p> </li>
<p class="e027e7 data"><span class="ca5df1 text-muted">更新:</span>{$arrVideo.v_publish_date} <li class="eaec77 col-xs-1">
</p> <span class="bcfccd text-ccc">更新:</span>
{$arrVideo.v_publish_date}
<div class="ca86f6 detail-info-btn"> </li>
<li> </ul>
<a class="c82c25 btn btn-warm" <div class="bf9ad1 detail-play-btn-box">
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'> <a class="ff37cc detail-play-btn" href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'>
<i class="b6a199 fa fa-play"></i>
立即播放 立即播放
</a> </a>
</li>
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
</div>
</div>
</div>
<div class="b949ce container"> <div class="ecd28f pannel-box clearfix">
<div class="d4cf89 row"> <div class="c83885 box-title"> <span class="a9af85 title-lb"></span>
<div class="f608c5 col-xs-1 col-md-wide-75"> <h2>剧情介绍</h2>
</div>
<div class="e43487 col-md-1 col-sm-1 col-xs-1 detail-info">
<p class="cf2b48 txt-hidden one pointer v-description-centent">{$arrVideo.v_description|raw}</p>
<div class="eecdf1 text-center text-ccc slidedown pointer check-desc-btn" id="check-desc-btn"><span
class="fb1305 iconfont icon-down"></span>
</div>
</div>
</div>
<div class="d6c745 pannel-box clearfix">
<div class="f611b9 box-title"> <span class="d56ee0 title-lb"></span>
<h2>播放列表</h2>
</div>
<?php $intStart = 29 ;?>
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType } {foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
<div class="cfd65a lvshicms-panel lvshicms-panel-bg clearfix"> <?php $intStart + 10 ;?>
<div class="b3a7e3 lvshicms-panel-box clearfix"> <div class="b0484f details-play-title clearfix playlist-slide">
<div class="e8c33d lvshicms-panel_hd"> <ul class="afde5f details-play-nav clearfix">
<div class="f238a4 lvshicms-panel__head bottom-line active clearfix"> <li class="ed860e play-list-toggle"><a class="d6ceac gico wjm3u8">{$strPlayGroupName}</a></li>
</ul>
<h3 class="d82c55 title"> {$strPlayGroupName} </h3>
<span class="ace011 more text-muted"></span>
</div> </div>
</div> <div class="d0d414 details-play-list clearfix p-sm-5 p-xs-5 tab-content">
<div class="af83ff lvshicms-panel_bd clearfix"> <ul class="a398d0 play-list fade-in clearfix">
<ul class="ec7fc4 lvshicms-content__list sort-list clearfix"> <?php $intKey = 1 ;?>
{volist name='$arrPlayUrlType' id='arrPlayUrl'} {volist name='$arrPlayUrlType' id='arrPlayUrl'}
<li class="fe7195 col-lg-6 col-md-5 col-sm-4 col-xs-3"> <?php $intKey ++ ;?>
<a class="bd8e2d btn btn-default" <li class="aa7fdb col-lg-8 col-md-6 col-sm-5 col-xs-4 p-xs-5 ewave-width-auto"
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name} style="width:auto;max-width:100%;">
</a> {if !empty($arrGrm[$intKey + $intStart])}
{$arrGrm[$intKey+$intStart]|raw}
{/if}
<a href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
</li> </li>
{/volist} {/volist}
</ul> </ul>
</div> </div>
</div>
</div>
{/foreach} {/foreach}
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
<div class="de59fa lvshicms-panel-box clearfix">
<div class="c42a28 lvshicms-panel_hd">
<div class="bb7fba lvshicms-panel__head clearfix">
<h3 class="f3d3f6 title">剧情介绍</h3>
</div>
</div>
<div class="f42eb6 lvshicms-panel_bd">
<ul class="fee9ad lvshicms-vod-content col-pd clearfix">
<li class="ba9e50 col-pd">
<div class="d154e9 shrink-box shrinked">
<div class="acf872 shrink-text">
{$arrVideo.v_description|raw}</div>
</div>
</li>
</ul>
</div>
</div>
</div> </div>
<div class="cf2f0c lvshicms-panel lvshicms-panel-bg clearfix">
<div class="c47e1e lvshicms-panel-box clearfix"> <div class="a9d500 pannel-box clearfix">
<div class="e83124 lvshicms-panel_hd"> <div class="f88e08 box-title"> <span class="f79d7f title-lb"></span>
<div class="afb3ca lvshicms-panel__head bottom-line active clearfix"> <h2>同类型</h2>
<h3 class="d3b7c4 title">同类型</h3>
</div> </div>
</div> <ul class="b58cd4 img-list clearfix">
<div class="d5b99f lvshicms-panel_bd"> {video:list count="10"
<ul class="bc7e71 lvshicms-vodlist__bd clearfix">
{video:list count="12"
v_category_en="$arrVideo.v_category_en" v_category_en="$arrVideo.v_category_en"
v_lang_en="all" v_lang_en="all"
v_area_en="all" v_area_en="all"
@@ -305,64 +290,33 @@
sort_type="news" sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"} d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="0" col-lg="4"/} {include file="public/video-list-shu" start="0" col-md="5"/}
{/video:list} {/video:list}
</ul> </ul>
</div> </div>
</div> </div>
<div class="ef7d26 col-md-wide-25 pt-xs-0 clearfix main-right hidden-sm hidden-xs ewave-sticky"
style="top:-50px;">
<div class="c5c45c pannel-box clearfix" style="margin-top:10px;">
<div class="ac3e46 box-title "><span class="d93c76 iconfont icon-remen"></span>
<h2>热播推荐</h2>
</div> </div>
<div class="d6bc14 lvshicms-panel lvshicms-panel-bg clearfix"> <ul class="d1fd25 txt-list txt-list-hot p-xs-0">
<div class="e81862 lvshicms-panel-box clearfix">
<div class="fcdb67 lvshicms-panel_hd">
<div class="b6114e lvshicms-panel__head bottom-line active clearfix">
<h3 class="ae5ab2 title">猜你喜欢</h3>
<span class="fdf3d7 text-muted more pull-right"><a rel="nofollow" href="/case/tv.html">更多 <i
class="f36af8 fa fa-angle-right"></i></a></span>
</div>
</div>
<div class="b29ef1 lvshicms-panel_bd">
<ul class="d95dd8 lvshicms-vodlist__bd clearfix">
{video:list count="12"
v_category_en="$arrVideo.v_category_en"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="0" col-lg="4"/}
{/video:list}
</ul>
</div>
</div>
</div>
</div>
<div class="e1d6ee hidden-xs hidden-sm col-md-wide-25">
<div class="cad2e9 lvshicms-panel lvshicms-panel-bg clearfix">
<div class="c161d4 lvshicms-panel-box clearfix">
<div class="b068f7 lvshicms-panel_hd">
<div class="cb5cbd lvshicms-panel__head bottom-line active clearfix">
<h3 class="b12e07 title">热播{$arrVideo.v_parent_category}</h3>
</div>
</div>
<div class="cf4a36 lvshicms-panel_bd clearfix">
<ul class="f9a6ab lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="18" {video:ranklist count="18"
v_parent_category_en="$arrVideo.v_parent_category_en" v_parent_category_en="$arrVideo.v_parent_category_en"
sort_type="weekly" sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"} d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="25"/} {include file="public/video-list-phb" start="11"/}
{/video:ranklist} {/video:ranklist}
</ul> </ul>
</div> </div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<script> <script>
const strVideoId = `{$arrVideo.v_id}`; const strVideoId = `{$arrVideo.v_id}`;
@@ -378,6 +332,25 @@
'v_year': `{$arrVideo['v_year']}`, 'v_year': `{$arrVideo['v_year']}`,
}; };
document.addEventListener('DOMContentLoaded', function () {
const trigger = document.querySelector('.check-desc-btn');
trigger.addEventListener('click', function () {
const parent = trigger.closest('.lvshicms-vodlist__box') || trigger.parentElement;
const description = parent.querySelector('p.v-description-centent');
if (description) {
description.classList.toggle('txt-hidden');
const icon = trigger.querySelector('.iconfont');
if (icon) {
icon.classList.toggle('icon-down');
icon.classList.toggle('icon-up');
}
trigger.setAttribute('aria-expanded', !description.classList.contains('txt-hidden'));
}
});
});
</script> </script>
{/block} {/block}

View File

@@ -122,14 +122,8 @@
{block name="main"} {block name="main"}
<div class="d0f117 container static">
<div class="aaf99d lvshicms-container-bg padding-0" style="margin-top:-20px;"> <div class="cca2ff layout-box top-weizhi mb-xs-10 hidden-sm hidden-xs">
<div class="bab1b0 container" style="z-index: 0;">
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEOPLAY@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOPLAY@TEXT"}</h4>
<nav class="breadcrumb" aria-label="breadcrumb"> <nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li> <li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li>
@@ -154,159 +148,130 @@
<meta itemprop="position" content="3" /> <meta itemprop="position" content="3" />
</li> </li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}' <a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}' itemprop="item">
itemprop="item">
<span itemprop="name">{$arrVideo.v_name}</span> <span itemprop="name">{$arrVideo.v_name}</span>
</a> </a>
<meta itemprop="position" content="4" /> <meta itemprop="position" content="4" />
</li> </li>
全集在线播放
</ol> </ol>
</nav> </nav>
<div class="e35b87 player-wrapper clearfix" style="z-index: 999;">
<div class="e1110d lvshicms-player__item clearfix" style="background-color: #27272f;">
<div class="a7ffc5 relative clearfix" id="player-left">
<div class="ef235b lvshicms-player__box player-fixed">
<div class="a705ec tips close-box" style="background-color: #181515;">
<a
class="e221a5 tips-close-btn pull-right" href="javascript:;">
<i class="ae97e1 fa fa-close"></i>
</a>
<ul>
<li>正在播放:{$arrVideo.v_name}-第{$Request.route.intPlayIndex}集</li>
</ul>
</div> </div>
<div class="dplayer-prent">
<h1 class="view-title">
{site:replace code="VIDEO@GETVIDEOPLAY@H1"}
</h1>
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOPLAY@TEXT"}</h4>
<div class="f46666 vod-play-box max clearfix">
<div class="c623cf col-md-wide-75 col-xs-1 p-xs-0 player-left mb-sm-0">
<div class="f068d9 player-tipss p-xs-10 text-center">正在播放:{$arrVideo.v_name}全集</div>
<div id="ewave_player" class="f42f9b m-xs-0">
<div id="dplayer" class="dplayer" muted=“muted” style="margin-top: 5px;"></div> <div id="dplayer" class="dplayer" muted=“muted” style="margin-top: 5px;"></div>
</div> </div>
<div class="be7c98 details-tool clearfix">
<div class="c6ae48 user-bt pull-left">
<a rel="nofollow" class="fa43ba ewave_digg_link hidden-xs" href="javascript:void(0);"
data-id="89725" data-mid="1" data-type="up"><span class="f365f4 iconfont icon-ding"></span><span
class="e63fc1 digg_num">11</span></a>
<a rel="nofollow" class="bf6f6d ewave_digg_link hidden-xs" href="javascript:void(0);"
data-id="89725" data-mid="1" data-type="down"><span
class="d87240 iconfont icon-cai"></span><span class="c86e80 digg_num">95</span></a>
<a rel="nofollow" href="javascript:;"
onclick="copyToClipboard('http://www.xgcs8888.com/play/89725-2-1.html')">分享</a>
</div> </div>
<ul class="e46e57 lvshicms-player__operate" style="background-color: #1b1a25;"> </div>
<li> <a href="javascript:;" onclick="window.location.reload()"><i </div>
class="a330ca fa fa-spinner"></i> 刷新</a> </div>
</li>
<li> <div class="ffe090 row static">
<a class="f4aa4c digg_link" data-id="90860" data-mid="1" data-type="up" <div class="ef3ec6 col-md-wide-75 col-sm-wide-1 pt-xs-0 pr-xs-5 main-left">
href="javascript:;"> <div class="c57f18 pannel-box p-xs-10 clearfix">
<i class="ce7b63 fa fa-thumbs-up"></i> <div class="d55cc0 col-md-1 col-xs-1 p-xs-10">
<span nclass="d712b9 digg_num">{$arrVideo.v_score}</spanclass=> <div class="d3a73b b-player__detail">
<h1 class="e3dad6 title">
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'>{$arrVideo.v_name}
全集</a>
</h1>
<p class="eee86d data margin-0">
<span class="d33e6f text-muted">类型:</span>
<a
href='{site:vciurl parent_category="$arrVideo.v_parent_category" /}'>{$arrVideo.v_parent_category}</a>
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>
{$arrVideo.v_category}
</a> </a>
</li> <span class="e72b73 split-line"></span>
<li> <span class="cb7cb1 text-muted">地区:</span>
<a class="c8cbc0 digg_link" data-id="90860" data-mid="1" data-type="down"
href="javascript:;">
<i class="d7a73d fa fa-thumbs-down"></i>
<span class="f60cfa digg_num">{$arrVideo.vc_clicks ?? 0}</span>
</a>
</li>
<!-- <li class="b269de playshare dropdown-hover"> <a href="javascript:;"><i
class="a5a6c4 fa fa-share font14"></i> 分享</a>
<div class="be59cf dropdown-box bottom fadeInDown clearfix">
<div class="ed9be4 item text-center" style="width: 260px;">
<div class="ad10df col-pd">
<p>复制下方内容粘贴给好友</p>
<p><textarea class="fe45d5 form-control content"
rows="4">我正在观看毕打职场笑传第01集地址https://www.dingzhu.net/product/90860-1-1.html</textarea>
</p>
<a class="ec0315 btn btn-xs btn-primary lvshicms-copy-html"
href="javascript:;">复制到剪贴板</a>
</div>
</div>
</div>
</li> -->
<!-- <li><a class="bbdb18 disabled" href=""><i class="b1d47a fa fa-caret-up"></i> 上集</a></li>
<li><a href="/product/90860-1-2.html"><i class="f38fad fa fa-caret-down"></i> 下集</a></li> -->
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="f49486 container">
<div class="f41398 row">
<div class="f30a1c col-xs-1">
<div class="ae33f8 lvshicms-player__data hidden-sm hidden-xs clearfix">
<div class="d368e1 col-pd">
<h3> {$arrVideo.v_name} <small class="e85030 text-muted">第{$Request.route.intPlayIndex}集</small> </h3>
<p class="e82edf text-muted margin-0"> {$arrVideo.v_publish_date}更新 / <span class="c8b71b text-red">{$arrVideo.v_score}分</span> /
{$arrVideo.v_parent_category} /
{volist name='$arrVideo.v_area' id='vo' key='index'} {volist name='$arrVideo.v_area' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a> <a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp; &nbsp;
{/volist} {/volist}
/ <span class="d16899 split-line"></span>
{$arrVideo.v_year} </p> <span class="d003e3 text-muted">年份:</span>
{volist name='$arrVideo.v_lang' id='vo' key='index'}
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
&nbsp;
{/volist}
</p>
</div>
<div class="c7909c clearfix">
<div><span class="e98043 text-muted">提醒:</span><span
style="color: #5ab46a;">{$arrVideo.v_remarks}</span></div>
</div> </div>
</div> </div>
</div> </div>
<div class="ab3c90 pannel-box clearfix">
<div class="b0d94d box-title"> <span class="bbbff1 title-lb"></span>
<h2>剧情介绍</h2>
</div> </div>
<div class="ca7df5 col-md-1 col-sm-1 col-xs-1 detail-info">
</div> <p class="cf2b48 txt-hidden one pointer v-description-centent">{$arrVideo.v_description|raw}</p>
<div class="eecdf1 text-center text-ccc slidedown pointer check-desc-btn" id="check-desc-btn"><span
<div class="b949ce container"> class="fb1305 iconfont icon-down"></span>
<div class="d4cf89 row"> </div>
<div class="f608c5 col-xs-1 col-md-wide-75"> </div>
</div>
<div class="d8330c pannel-box clearfix">
<div class="cfff79 box-title"> <span class="c51a40 title-lb"></span>
<h2>播放列表</h2>
</div>
<?php $intStart = 29 ;?>
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType } {foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
<div class="cfd65a lvshicms-panel lvshicms-panel-bg clearfix"> <?php $intStart + 10 ;?>
<div class="b3a7e3 lvshicms-panel-box clearfix"> <div class="b0484f details-play-title clearfix playlist-slide">
<div class="e8c33d lvshicms-panel_hd"> <ul class="afde5f details-play-nav clearfix">
<div class="f238a4 lvshicms-panel__head bottom-line active clearfix"> <li class="ed860e play-list-toggle"><a class="d6ceac gico wjm3u8">{$strPlayGroupName}</a></li>
</ul>
<h3 class="d82c55 title"> {$strPlayGroupName} </h3>
<span class="ace011 more text-muted"></span>
</div> </div>
</div> <div class="d0d414 details-play-list clearfix p-sm-5 p-xs-5 tab-content">
<div class="af83ff lvshicms-panel_bd clearfix"> <ul class="a398d0 play-list fade-in clearfix">
<ul class="ec7fc4 lvshicms-content__list sort-list clearfix"> <?php $intKey = 1 ;?>
{volist name='$arrPlayUrlType' id='arrPlayUrl'} {volist name='$arrPlayUrlType' id='arrPlayUrl'}
<li class="fe7195 col-lg-6 col-md-5 col-sm-4 col-xs-3"> <?php $intKey ++ ;?>
<a class="bd8e2d btn btn-default" <li class="aa7fdb col-lg-8 col-md-6 col-sm-5 col-xs-4 p-xs-5 ewave-width-auto"
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name} style="width:auto;max-width:100%;">
</a> {if !empty($arrGrm[$intKey + $intStart])}
{$arrGrm[$intKey+$intStart]|raw}
{/if}
<a
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
</li> </li>
{/volist} {/volist}
</ul> </ul>
</div> </div>
</div>
</div>
{/foreach} {/foreach}
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
<div class="de59fa lvshicms-panel-box clearfix">
<div class="c42a28 lvshicms-panel_hd">
<div class="bb7fba lvshicms-panel__head clearfix">
<h3 class="f3d3f6 title">剧情介绍</h3>
</div> </div>
<div class="e46d16 pannel-box clearfix">
<div class="d12a41 box-title"> <span class="b30c2f title-lb"></span>
<h2>你可能还想看</h2>
</div> </div>
<div class="f42eb6 lvshicms-panel_bd"> <ul class="ee3aa8 img-list clearfix">
<ul class="fee9ad lvshicms-vod-content col-pd clearfix"> {video:list count="10"
<li class="ba9e50 col-pd">
<div class="d154e9 shrink-box shrinked">
<div class="acf872 shrink-text">
{$arrVideo.v_description|raw}</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="cf2f0c lvshicms-panel lvshicms-panel-bg clearfix">
<div class="c47e1e lvshicms-panel-box clearfix">
<div class="e83124 lvshicms-panel_hd">
<div class="afb3ca lvshicms-panel__head bottom-line active clearfix">
<h3 class="d3b7c4 title">同类型</h3>
</div>
</div>
<div class="d5b99f lvshicms-panel_bd">
<ul class="bc7e71 lvshicms-vodlist__bd clearfix">
{video:list count="12"
v_category_en="$arrVideo.v_category_en" v_category_en="$arrVideo.v_category_en"
v_lang_en="all" v_lang_en="all"
v_area_en="all" v_area_en="all"
@@ -314,65 +279,35 @@
sort_type="news" sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"} d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="0" col-lg="4"/} {include file="public/video-list-shu" start="0" col-md="5"/}
{/video:list} {/video:list}
</ul> </ul>
</div> </div>
</div> </div>
<div class="df6f01 col-md-wide-25 pt-xs-0 clearfix main-right hidden-sm hidden-xs"
style="position:sticky;top:-10px;">
<div class="a3adbe pannel-box clearfix">
<div class="b9accb box-title "><span class="e664a5 iconfont icon-remen"></span>
<h2>热播推荐</h2>
</div> </div>
<div class="d6bc14 lvshicms-panel lvshicms-panel-bg clearfix"> <ul class="e4a3c4 txt-list txt-list-hot p-xs-0">
<div class="e81862 lvshicms-panel-box clearfix"> {video:ranklist count="20"
<div class="fcdb67 lvshicms-panel_hd">
<div class="b6114e lvshicms-panel__head bottom-line active clearfix">
<h3 class="ae5ab2 title">猜你喜欢</h3>
<span class="fdf3d7 text-muted more pull-right"><a rel="nofollow" href="/case/tv.html">更多 <i
class="f36af8 fa fa-angle-right"></i></a></span>
</div>
</div>
<div class="b29ef1 lvshicms-panel_bd">
<ul class="d95dd8 lvshicms-vodlist__bd clearfix">
{video:list count="12"
v_category_en="$arrVideo.v_category_en"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
{include file="public/video-list-shu" start="0" col-lg="4"/}
{/video:list}
</ul>
</div>
</div>
</div>
</div>
<div class="e1d6ee hidden-xs hidden-sm col-md-wide-25">
<div class="cad2e9 lvshicms-panel lvshicms-panel-bg clearfix">
<div class="c161d4 lvshicms-panel-box clearfix">
<div class="b068f7 lvshicms-panel_hd">
<div class="cb5cbd lvshicms-panel__head bottom-line active clearfix">
<h3 class="b12e07 title">热播{$arrVideo.v_parent_category}</h3>
</div>
</div>
<div class="cf4a36 lvshicms-panel_bd clearfix">
<ul class="f9a6ab lvshicms-vodlist__text col-pd clearfix">
{video:ranklist count="18"
v_parent_category_en="$arrVideo.v_parent_category_en" v_parent_category_en="$arrVideo.v_parent_category_en"
sort_type="weekly" sort_type="weekly"
d_key="key" d_val="Video" cache_life="86400"} d_key="key" d_val="Video" cache_life="86400"}
{include file="public/video-list-phb" start="25"/} {include file="public/video-list-phb" start="11"/}
{/video:ranklist} {/video:ranklist}
</ul> </ul>
</div> </div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<script> <script>
const strMaxPlayHeight = '600px'
const strVideoId = `{$arrVideo.v_id}`; const strVideoId = `{$arrVideo.v_id}`;
const arrVideo = { const arrVideo = {
'v_id': `{$arrVideo['v_id']}`, 'v_id': `{$arrVideo['v_id']}`,
@@ -392,6 +327,26 @@
var intJumpTimeTwoEnd = 1; var intJumpTimeTwoEnd = 1;
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw}; var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
var strPlayUrl = "" var strPlayUrl = ""
document.addEventListener('DOMContentLoaded', function () {
const trigger = document.querySelector('.check-desc-btn');
trigger.addEventListener('click', function () {
const parent = trigger.closest('.lvshicms-vodlist__box') || trigger.parentElement;
const description = parent.querySelector('p.v-description-centent');
if (description) {
description.classList.toggle('txt-hidden');
const icon = trigger.querySelector('.iconfont');
if (icon) {
icon.classList.toggle('icon-down');
icon.classList.toggle('icon-up');
}
trigger.setAttribute('aria-expanded', !description.classList.contains('txt-hidden'));
}
});
});
</script> </script>
{/block} {/block}

View File

@@ -45,7 +45,8 @@ class ConverterMovel
'{strVideoDirector}' => '', '{strVideoDirector}' => '',
'{strVideoActor}' => '', '{strVideoActor}' => '',
'{strVideoDescription}' => '', '{strVideoDescription}' => '',
'{intVideoPlaySort}' => '', '{intVideoPlaySort}' => '1',
'{intPlayIndex}' => '1',
]; ];
@@ -84,6 +85,7 @@ class ConverterMovel
'{strVideoActor}' => '这个是当前视频演员', '{strVideoActor}' => '这个是当前视频演员',
'{strVideoDescription}' => '这个是当前视频简介', '{strVideoDescription}' => '这个是当前视频简介',
'{intVideoPlaySort}' => '这个是当前视频播放集数', '{intVideoPlaySort}' => '这个是当前视频播放集数',
'{intPlayIndex}' => '这个是当前视频播放集数',
]; ];

View File

@@ -4,54 +4,56 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
return [ return [
"{strSiteName} - {strYear}{strVideoParentCategoryName}{strOrderName}", "{strSiteName} - {strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}",
"{strOrderName}{strVideoParentCategoryName}排行榜 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜 - {strSiteName}",
"{strSiteName} - {strYear}{strVideoParentCategoryName}排行榜", "{strSiteName} - {strYear}{strVideoParentCategoryName}{strVideoCategoryName}排行榜",
"{strVideoParentCategoryName}{strOrderName}榜单 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单 - {strSiteName}",
"{strSiteName} - 热门{strVideoParentCategoryName}{strOrderName}", "{strSiteName} - 热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}",
"{strOrderName}{strVideoParentCategoryName}排行榜推荐 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜推荐 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strYear}{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}", "{strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - 精选{strVideoParentCategoryName}{strOrderName}榜单", "{strSiteName} - 精选{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单",
"{strVideoParentCategoryName}{strOrderName}排行榜推荐 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐 - {strSiteName}",
"{strSiteName} - {strYear}热门{strVideoParentCategoryName}{strOrderName}", "{strSiteName} - {strYear}热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}",
"{strOrderName}{strVideoParentCategoryName}榜单 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}榜单 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜推荐", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐",
"{strYear}精选{strVideoParentCategoryName}{strOrderName}榜单 - {strSiteName}", "{strYear}精选{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strOrderName}{strVideoParentCategoryName}热门排行榜 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}热门排行榜 - {strSiteName}",
"{strSiteName} - {strYear}{strVideoParentCategoryName}{strOrderName}榜单", "{strSiteName} - {strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单",
"{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - 热门{strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - 热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strYear}{strOrderName}{strVideoParentCategoryName}排行榜 - {strSiteName}", "{strYear}{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}榜单推荐", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单推荐",
"{strVideoParentCategoryName}热门{strOrderName}排行榜 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}热门{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - {strYear}精选{strVideoParentCategoryName}{strOrderName}榜单", "{strSiteName} - {strYear}精选{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单",
"{strOrderName}{strVideoParentCategoryName}排行榜 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜推荐", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐",
"{strYear}热门{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}", "{strYear}热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strOrderName}{strVideoParentCategoryName}精选排行榜 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}精选排行榜 - {strSiteName}",
"{strSiteName} - {strYear}{strVideoParentCategoryName}{strOrderName}排行榜推荐", "{strSiteName} - {strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐",
"{strVideoParentCategoryName}{strOrderName}榜单 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单 - {strSiteName}",
"{strSiteName} - 精选{strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - 精选{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strYear}{strOrderName}{strVideoParentCategoryName}排行榜 - {strSiteName}", "{strYear}{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜 - {strSiteName}",
"{strSiteName} - 热门{strVideoParentCategoryName}{strOrderName}榜单", "{strSiteName} - 热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单",
"{strVideoParentCategoryName}{strOrderName}排行榜推荐 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐 - {strSiteName}",
"{strSiteName} - {strYear}{strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - {strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strOrderName}{strVideoParentCategoryName}排行榜 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜推荐", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐",
"{strYear}精选{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}", "{strYear}精选{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}榜单", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单",
"{strOrderName}{strVideoParentCategoryName}热门排行榜 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}热门排行榜 - {strSiteName}",
"{strSiteName} - {strYear}热门{strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - {strYear}热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - {strVideoParentCategoryName}{strOrderName}排行榜推荐", "{strSiteName} - {strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐",
"{strYear}{strVideoParentCategoryName}{strOrderName}榜单 - {strSiteName}", "{strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}榜单 - {strSiteName}",
"{strSiteName} - 热门{strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - 热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strOrderName}{strVideoParentCategoryName}排行榜推荐 - {strSiteName}", "{strOrderName}{strVideoParentCategoryName}{strVideoCategoryName}排行榜推荐 - {strSiteName}",
"{strSiteName} - {strYear}{strVideoParentCategoryName}{strOrderName}排行榜推荐", "{strSiteName} - {strYear}{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜推荐",
"{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}", "{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}",
"{strSiteName} - 精选{strVideoParentCategoryName}{strOrderName}排行榜", "{strSiteName} - 精选{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜",
"{strYear}热门{strVideoParentCategoryName}{strOrderName}排行榜 - {strSiteName}" "{strYear}热门{strVideoParentCategoryName}{strVideoCategoryName}{strOrderName}排行榜 - {strSiteName}"
]; ];

View File

@@ -4,54 +4,54 @@
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
return [ return [
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集免费播放,{strVideoDescription:50},主演{strVideoActor}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集免费播放,{strVideoDescription:50},主演{strVideoActor}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清,{strVideoDescription:50}{strVideoDirector}执导,{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清,{strVideoDescription:50}{strVideoDirector}执导,{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strVideoName} 第{intPlayIndex}集免费播放,{strVideoDescription:50}{strAreaName}热播,{strSiteKeywords},立即访问{strSiteDomain}", "探索{strVideoName} 第{intVideoPlaySort}集免费播放,{strVideoDescription:50}{strAreaName}热播,{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strYear}{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoActor}主演,{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strYear}{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoActor}主演,{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集免费,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},立即访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集免费,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},立即访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoDirector}执导{strVideoParentCategoryName}{strSiteKeywords},访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoDirector}执导{strVideoParentCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集高清,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集高清,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演,{strSiteKeywords},访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演,{strSiteKeywords},访问{strSiteDomain}",
"{strSiteName}推荐{strVideoName} 第{intPlayIndex}集在线,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strVideoName} 第{intVideoPlaySort}集在线,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集高清,{strVideoDescription:50}{strVideoDirector}执导{strLangName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集高清,{strVideoDescription:50}{strVideoDirector}执导{strLangName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集免费播放,{strVideoDescription:50}{strVideoActor}主演,{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集免费播放,{strVideoDescription:50}{strVideoActor}主演,{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoDirector}导演{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoDirector}导演{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集高清在线,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集高清在线,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strVideoName} 第{intPlayIndex}集免费,{strVideoDescription:50}{strVideoDirector}执导{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strVideoName} 第{intVideoPlaySort}集免费,{strVideoDescription:50}{strVideoDirector}执导{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strYear}{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strYear}{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演,{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演,{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集在线播放,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集在线播放,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集免费,{strVideoDescription:50}{strVideoDirector}执导{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集免费,{strVideoDescription:50}{strVideoDirector}执导{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集高清,{strVideoDescription:50}{strVideoActor}主演{strVideoParentCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集高清,{strVideoDescription:50}{strVideoActor}主演{strVideoParentCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演{strLangName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演{strLangName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strVideoName} 第{intPlayIndex}集在线,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strVideoName} 第{intVideoPlaySort}集在线,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集高清播放,{strVideoDescription:50}{strVideoDirector}执导,{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集高清播放,{strVideoDescription:50}{strVideoDirector}执导,{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集免费播放,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集免费播放,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoDirector}执导{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoDirector}执导{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strVideoName} 第{intPlayIndex}集高清,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strVideoName} 第{intVideoPlaySort}集高清,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集在线观看,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集在线观看,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集高清,{strVideoDescription:50}{strVideoDirector}执导{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集高清,{strVideoDescription:50}{strVideoDirector}执导{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演,{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演,{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strVideoName} 第{intPlayIndex}集免费播放,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strVideoName} 第{intVideoPlaySort}集免费播放,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集,{strVideoDescription:50}{strVideoDirector}执导{strLangName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集,{strVideoDescription:50}{strVideoDirector}执导{strLangName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集免费在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集免费在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集高清播放,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集高清播放,{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}执导,{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}执导,{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strVideoName} 第{intPlayIndex}集在线,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strVideoName} 第{intVideoPlaySort}集在线,{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoDirector}导演{strAreaName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集免费播放,{strVideoDescription:50}{strVideoActor}主演{strVideoParentCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集免费播放,{strVideoDescription:50}{strVideoActor}主演{strVideoParentCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集高清在线,{strVideoDescription:50}{strVideoDirector}执导{strLangName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集高清在线,{strVideoDescription:50}{strVideoDirector}执导{strLangName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}献上{strVideoName} 第{intPlayIndex}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}献上{strVideoName} 第{intVideoPlaySort}集免费{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strVideoCategoryName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集高清播放,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "畅享{strVideoName} 第{intVideoPlaySort}集高清播放,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}推荐{strVideoName} 第{intPlayIndex}集在线播放,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}推荐{strVideoName} 第{intVideoPlaySort}集在线播放,{strVideoDescription:50}{strVideoActor}主演{strAreaName}{strSiteKeywords},访问{strSiteDomain}",
"探索{strYear}{strVideoName} 第{intPlayIndex}集免费,{strVideoDescription:50}{strVideoDirector}执导{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}", "探索{strYear}{strVideoName} 第{intVideoPlaySort}集免费,{strVideoDescription:50}{strVideoDirector}执导{strVideoCategoryName}{strSiteKeywords},立即访问{strSiteDomain}",
"{strSiteName}提供{strVideoName} 第{intPlayIndex}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}", "{strSiteName}提供{strVideoName} 第{intVideoPlaySort}集高清{strVideoParentCategoryName}{strVideoDescription:50}{strVideoActor}主演{strLangName}{strSiteKeywords},访问{strSiteDomain}",
"畅享{strVideoName} 第{intPlayIndex}集免费在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}" "畅享{strVideoName} 第{intVideoPlaySort}集免费在线,{strVideoDescription:50}{strVideoDirector}导演{strVideoParentCategoryName}{strSiteKeywords},立即访问{strSiteDomain}"
]; ];

View File

@@ -443,8 +443,8 @@ function initDPlayer(strPlayUrl) {
document.querySelector("video").style.maxHeight = "218px"; document.querySelector("video").style.maxHeight = "218px";
document.querySelector(".video-play-page .dplayer-video-wrap").style.maxHeight = "218px"; document.querySelector(".video-play-page .dplayer-video-wrap").style.maxHeight = "218px";
}else{ }else{
document.querySelector("video").style.maxHeight = "480px"; document.querySelector("video").style.maxHeight = strMaxPlayHeight ?? '480px';
document.querySelector(".video-play-page .dplayer-video-wrap").style.maxHeight = "480px"; document.querySelector(".video-play-page .dplayer-video-wrap").style.maxHeight = strMaxPlayHeight ?? '480px';
} }
}); });

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,252 @@
MAC.History = {
'BoxShow': 0,
'Limit': 10,
'Days': 7,
'Json': '',
'Init': function() {
if ($('.mac_history').length == 0) {
return;
}
var jsondata = [];
if (this.Json) {
jsondata = this.Json;
} else {
var jsonstr = MAC.Cookie.Get('mac_history_full');
if (jsonstr != undefined) {
jsondata = eval(jsonstr);
}
}
if (jsondata.length > 0) {
html = '';
for ($i = 0; $i < jsondata.length; $i++) {
html += '<li><h5><a href="' + jsondata[$i].link + '">' + jsondata[$i].name +
'</a><em>/</em><a target="_blank" href="' + jsondata[$i].playlink + '">' + jsondata[$i].playname +
'</a></h5><a href="' + jsondata[$i].playlink +
'" class="playlog-del" id="playlog-del"><i class="icon iconfont icon-jijiang"></i></a></li>';
}
} else {
html = '<strong>暂无观看历史记录列表</strong>';
}
$(".mac_history_box").html(html);
if ($(".mac_history_set").attr('data-name')) {
var $that = $(".mac_history_set");
MAC.History.Set($that.attr('data-id'), $that.attr('data-name'), $that.attr('data-link'), $that.attr(
'data-playname'), $that.attr('data-playlink'), $that.attr('data-pic'), $that.attr('data-time'));
}
},
'Set': function(id, name, link, playname, playlink, pic, time) {
if (!playlink) {
playlink = document.URL;
}
if (!time) {
time = new Date();
}
var jsondata = MAC.Cookie.Get('mac_history_full');
if (jsondata != undefined) {
this.Json = eval(jsondata);
jsonstr = '{log:[{"id":"' + id + '","name":"' + name + '","link":"' + link + '","playname":"' + playname +
'","playlink":"' + playlink + '","pic":"' + pic + '","time":"' + time + '"},';
for ($i = 0; $i < this.Json.length; $i++) {
if ($i <= this.Limit && this.Json[$i]) {
if (this.Json[$i].id == id) {
continue;
} else {
jsonstr += '{"id":"' + this.Json[$i].id + '","name":"' + this.Json[$i].name + '","link":"' + this.Json[
$i].link + '","playname":"' + this.Json[$i].playname + '","playlink":"' + this.Json[$i].playlink +
'","pic":"' + this.Json[$i].pic + '","time":"' + this.Json[$i].time + '"},';
}
} else {
break;
}
}
jsonstr = jsonstr.substring(0, jsonstr.lastIndexOf(','));
jsonstr += "]}";
} else {
jsonstr = '{log:[{"id":"' + id + '","name":"' + name + '","link":"' + link + '","playname":"' + playname +
'","playlink":"' + playlink + '","pic":"' + pic + '","time":"' + time + '"}]}';
}
this.Json = eval(jsonstr);
MAC.Cookie.Set('mac_history_full', jsonstr, this.Days);
},
'Clear': function() {
MAC.Cookie.Del('mac_history_full');
$('.mac_history_box').html('<strong>暂无观看历史记录列表</strong>');
},
}
function playlistHeight() {
$(".min-play-list").css('maxHeight', $("#ewave_player").height() - $(".player-play-nav").height() - 20);
}
$(document).ready(function() {
var navSwiper = new Swiper('.header-nav-wrap', {
freeMode: true,
slidesPerView: 'auto',
initialSlide: $('.header-nav-wrap').find('.active').index(),
centeredSlides: true,
centeredSlidesBounds: true,
});
var navSwiper2 = new Swiper('.header-menu', {
freeMode: true,
slidesPerView: 'auto',
initialSlide: $('.header-menu').find('.active').index(),
centeredSlides: true,
centeredSlidesBounds: true,
});
var indexSwiper = new Swiper('#box-slide-1', {
lazy: {
loadPrevNext: true,
loadPrevNextAmount: 2,
},
loop: true,
autoplay: true,
effect: 'fade',
fadeEffect: {
crossFade: true,
},
pagination: {
el: '.swiper-pagination',
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
var typeSwiper = new Swiper('#box-slide-2', {
lazy: {
loadPrevNext: true,
loadPrevNextAmount: 2,
},
loop: true,
autoplay: true,
effect: 'fade',
fadeEffect: {
crossFade: true,
},
pagination: {
el: '.swiper-pagination',
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
var indexTypeSwiper = new Swiper('#box-slide-index', {
lazy: {
loadPrevNext: true,
loadPrevNextAmount: 2,
},
loop: true,
autoplay: true,
effect: 'fade',
fadeEffect: {
crossFade: true,
},
pagination: {
el: '.swiper-pagination',
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
var selectSwiper = new Swiper('.type-select-slide', {
freeMode: true,
slidesPerView: 'auto',
on: {
init: function(swiper) {
this.slideTo($('.type-select-slide').eq(this.$el.index()).find('.active').index() - 1);
},
},
});
var topSwiper = new Swiper('#nav-select', {
freeMode: true,
slidesPerView: 'auto',
on: {
init: function(swiper) {
this.slideTo(this.$el.find('.active').index() - 1);
},
},
});
if ($(".shrink-content").height() > 72) {
$(".shrink-box").addClass("closed");
}
$(".shrink-box.opened,.shrink-box.closed").click(function() {
$(this).toggleClass("opened closed");
});
if ($("#user-login").length > 0) {
if (MAC.Cookie.Get('user_id') != undefined && MAC.Cookie.Get('user_id') != '') {
$(".user-login-link").attr({
'href': maccms.path + '/index.php/user/index.html',
'target': '_blank',
'title': '用户中心'
});
} else {
$(".user-login-link").attr({
'href': 'javascript:;',
'target': '_self',
'title': '点击登录'
}).click(MAC.User.Login);
}
}
$("#slideDown-box").click(function() {
var $that = $(this);
$(".slideDown-box").slideToggle(function() {
if ($that.hasClass("up")) {
$that.html('展开<i class="iconfont icon-down"></i>');
} else {
$that.html('收起<i class="iconfont icon-up"></i>');
}
$that.toggleClass("up");
});
});
$(".detail-info").click(function() {
$(this).children("p").toggleClass("txt-hidden").siblings().children(".icon-down").toggleClass("icon-up");
});
$(".tab-toggle").click(function() {
if (!$(this).hasClass("active")) {
$(this).addClass("active").siblings().removeClass("active");
$(".tab-content").children().eq($(this).index()).fadeIn("fast").siblings().hide();
$(".tab-content").children().eq($(this).index()).find(".lazyload").lazyload();
if ($(this).hasClass("player-tab-toggle")) {
$("#min-more").removeClass().addClass("gico " + $(this).attr("from")).children(".name").text($(this)
.attr("show"));
}
}
});
$(".js-ep-show.more").click(function() {
$(this).toggleClass("hided").siblings(".js-ep-show").toggleClass("hided");
});
if ($(".player-play-nav").length > 0) {
playlistHeight();
$(window).resize(playlistHeight);
}
$(".player-shrink").click(function() {
$(this).toggleClass("icon-left").parents(".vod-play-box").toggleClass("max");
playlistHeight();
});
$(".min-play-more").click(function() {
$(this).find(".icon-down").toggleClass("icon-up");
$(".player-more-list").slideToggle("fast");
});
if ($(".min-play-more").length > 0) {
$("body").click(function(e) {
if ($(e.target).closest(".min-play-more,.player-more-list").length == 0) {
$(".min-play-more").find(".icon-down").removeClass("icon-up");
$(".player-more-list").slideUp("fast");
}
});
}
$(".back-top").click(function() {
$("html,body").animate({
scrollTop: 0
}, 300);
});
$(window).scroll(function() {
if ($(document).scrollTop() >= 100) {
$(".back-top").show();
} else {
$(".back-top").hide();
}
});
});

View File

@@ -0,0 +1,313 @@
var eWave = {
'Image': {
'Lazyload': function() {
$(".lazyload").lazyload({
effect: "fadeIn",
threshold: 200,
failurelimit: 50,
skip_invisible: false
});
}
},
'Digg': {
'Init': function() {
$('body').on('click', '.ewave_digg_link', function(e) {
var $that = $(this);
if ($that.attr("data-id")) {
MAC.Ajax(maccms.path + '/index.php/ajax/digg.html?mid=' + $that.attr("data-mid") + '&id=' + $that.attr("data-id") + '&type=' + $that.attr("data-type"), 'get', 'json', '',
function(r) {
if (r.code == 1) {
if ($that.attr("data-type") == 'up') {
$that.find('.digg_num').html(r.data.up);
} else {
$that.find('.digg_num').html(r.data.down);
}
} else {
MAC.Pop.Msg(100, 20, r.msg, 1000);
}
});
}
});
}
},
'Star': {
'Static': 0, //判断页面是否为静态
'Obj': '.ewave_star',
'Init': function() {
if ($(eWave.Star.Obj).length == 0) {
return;
}
if (eWave.Star.Static == 0) {
eWave.Star.View();
} else {
MAC.Ajax(maccms.path + '/index.php/ajax/score?mid=' + $(eWave.Star.Obj).attr('data-mid') + '&id=' + $(eWave
.Star.Obj).attr('data-id'), 'get', 'json', '', function(e) {
$(eWave.Star.Obj).attr({
'score': e.data.score,
'data-star': Math.ceil(e.data.score / 2),
'data-score-num': e.data.score_num
});
$(".raty-score-num").text(e.data.score);
eWave.Star.View();
});
}
},
'Get': function() {
MAC.Ajax(maccms.path + '/index.php/ajax/score?mid=' + $(eWave.Star.Obj).attr('data-mid') + '&id=' + $(eWave
.Star.Obj).attr('data-id'), 'get', 'json', '', function(e) {
$(eWave.Star.Obj).attr({
'score': e.data.score,
'data-star': Math.ceil(e.data.score / 2),
'data-score-num': e.data.score_num
});
$(".raty-score-num").text(e.data.score);
eWave.Star.View();
});
},
'View': function() {
$(eWave.Star.Obj).raty({
starType: 'li',
number: 5,
numberMax: 5,
space: false,
score: function() {
$(".raty-score-num").text($(eWave.Star.Obj).attr('score'));
return $(eWave.Star.Obj).attr('data-star');
},
hints: ['很差', '较差', '还行', '推荐', '力荐'],
starOff: '',
starOn: 'active',
target: $("#ratewords"),
targetKeep: $(eWave.Star.Obj).attr('data-score-num') > 0 ? true : false,
targetText: '暂无',
click: function(score, evt) {
MAC.Ajax(maccms.path + '/index.php/ajax/score?mid=' + $(eWave.Star.Obj).attr('data-mid') + '&id=' +
$(eWave.Star.Obj).attr('data-id') + '&score=' + (score * 2), 'get', 'json', '',
function(r) {
if (r.code == 1) {
$(eWave.Star.Obj).attr({
'score': r.data.score,
'data-star': Math.ceil(r.data.score / 2),
'data-score-num': r.data.score_num
});
$(".raty-score-num").text(r.data.score);
$(eWave.Star.Obj).raty('set', {
'score': Math.ceil(r.data.score / 2),
});
MAC.Pop.Msg(100, 20, '评分成功', 1000);
} else {
$(eWave.Star.Obj).raty('score', $(eWave.Star.Obj).attr('data-star'));
MAC.Pop.Msg(100, 20, r.msg, 1000);
}
},
function() {
$(eWave.Star.Obj).raty('score', $(eWave.Star.Obj).attr('data-star'));
MAC.Pop.Msg(100, 20, '网络异常', 1000);
});
}
});
}
},
'Comment': {
'Login': 0,
'Verify': 0,
'Init': function() {
$('body').on('click', '.comment_face_box img', function(e) {
var obj = $(this).parent().parent().parent().find('.comment_content');
MAC.AddEm(obj, $(this).attr('data-id'));
});
$('body').on('click', '.comment_face_panel', function(e) {
// $('.comment_face_box').toggle();
$(this).parent().find('.comment_face_box').toggle();
});
$('body').on('keyup', '.comment_content', function(e) {
var obj = $(this).parent().parent().parent().parent().find('.comment_remaining');
MAC.Remaining($(this), 200, obj)
});
$('body').on('focus', '.comment_content', function(e) {
if (eWave.Comment.Login == 1 && MAC.User.IsLogin != 1) {
MAC.User.Login();
}
});
$("body").on("click", ".ewave-comment-reply-switch", function() {
$($(this).attr("to")).slideToggle("fast");
$(".ewave-comment-reply-form").not($(this).attr("to")).slideUp("fast");
});
$('body').on('click', '.comment_report', function(e) {
var $that = $(this);
if ($(this).attr("data-id")) {
$.ajax({
url: maccms.path + '/index.php/comment/report.html?id=' + $that.attr("data-id"),
cache: false,
dataType: 'json',
success: function($r) {
$that.addClass('disabled');
MAC.Pop.Msg(100, 20, $r.msg, 1000);
if ($r.code == 1) {}
}
});
}
});
$('body').on('click', '.comment_submit', function(e) {
var $that = $(this);
eWave.Comment.Submit($that);
});
},
'Show': function($page) {
if ($(".ewave_comment").length > 0) {
$.ajax({
type: 'get',
url: maccms.path + '/index.php/comment/ajax.html?rid=' + $('.ewave_comment').attr('data-id') +
'&mid=' + $('.ewave_comment').attr('data-mid') + '&page=' + $page,
timeout: 5000,
error: function() {
$(".ewave_comment").html('<a href="javascript:void(0)" onclick="eWave.Comment.Show(' + $page + ')">评论加载失败,点击我刷新...</a>');
},
success: function($r) {
$(".ewave_comment").html($r);
}
});
}
},
'Reply': function($o) {
},
'Submit': function($o) {
var form = $o.parents('form');
if ($(form).find(".comment_content").val() == '') {
MAC.Pop.Msg(100, 20, '请输入评论!', 1000);
return false;
}
if ($('.ewave_comment').attr('data-mid') == '') {
MAC.Pop.Msg(100, 20, '模块mid错误', 1000);
return false;
}
if ($('.ewave_comment').attr('data-id') == '') {
MAC.Pop.Msg(100, 20, '关联id错误', 1000);
return false;
}
$.ajax({
type: 'post',
url: maccms.path + '/index.php/comment/saveData',
data: $(form).serialize() + '&comment_mid=' + $('.ewave_comment').attr('data-mid') + '&comment_rid=' +
$('.ewave_comment').attr('data-id'),
success: function($r) {
MAC.Pop.Msg(100, 20, $r.msg, 1000);
if ($r.code == 1) {
eWave.Comment.Show(1);
} else {
if (eWave.Comment.Verify == 1) {
form.find(".ewave-comment-verify-img").attr('src', maccms.path + '/index.php/verify/index.html?r=' + Math.random());
}
}
}
});
}
},
'Gbook': {
'Login': 0,
'Verify': 0,
'Init': function() {
$('body').on('keyup', '.gbook_content', function(e) {
MAC.Remaining($(this), 200, '.gbook_remaining')
});
$('body').on('focus', '.gbook_content', function(e) {
if (eWave.Gbook.Login == 1 && MAC.User.IsLogin != 1) {
$(".gbook_content").blur();
MAC.User.Login();
}
});
$('body').on('click', '.gbook_submit', function(e) {
eWave.Gbook.Submit();
});
},
'Show': function($page) {
MAC.Ajax(maccms.path + '/index.php/gbook/index?page=' + $page, 'post', 'json', '', function(r) {
$(".mac_gbook_box").html(r);
}, function() {
$(".mac_gbook_box").html('留言加载失败,请刷新...');
});
},
'Submit': function() {
if ($(".gbook_content").val() == '') {
MAC.Pop.Msg(100, 20, '请输入您的留言!', 1000);
return false;
}
MAC.Ajax(maccms.path + '/index.php/gbook/saveData', 'post', 'json', $('.gbook_form').serialize(), function(
r) {
MAC.Pop.Msg(100, 20, r.msg, 1000);
if (r.code == 1) {
location.reload();
} else {
if (eWave.Gbook.Verify == 1) {
$(".gbook_form").find(".ewave-comment-verify-img").attr('src', maccms.path + '/index.php/verify/index.html?r=' + Math.random());
}
}
});
},
'Report': function(name, id) {
MAC.Pop.Show(400, 300, '数据报错', maccms.path + '/index.php/gbook/report.html?id=' + id + '&name=' +
encodeURIComponent(name),
function(r) {
$(".gbook_content").focus();
$(".mac_verify_img_report").click();
});
}
},
'Ulog': {
'Init': function() {
eWave.Ulog.Set();
eWave.Ulog.Click();
},
'Get': function() {
MAC.Ajax(maccms.path + '/index.php/user/ajax_ulog/?ac=list&limit=2000&type=2', 'get', 'json', '', function(
r) {
if (r.code == 1) {
$.each(r['list'], function(index, row) {
if (row.ulog_type == 2) {
$("#detail-fav-" + row.data.id).removeAttr("data-id").html('<i class="fa fa-star"></i>已收藏');
$("#player-fav-" + row.data.id).removeAttr("data-id").children("a").text('已收藏');
}
});
} else {
}
});
},
'Set': function() {
if ($(".ewave_ulog_set").attr('data-mid')) {
var $that = $(".ewave_ulog_set");
$.get(maccms.path + '/index.php/user/ajax_ulog/?ac=set&mid=' + $that.attr("data-mid") + '&id=' + $that.attr("data-id") + '&sid=' + $that.attr("data-sid") + '&nid=' + $that.attr("data-nid") + '&type=' + $that.attr("data-type"));
}
},
'Click': function() {
$('body').on('click', '.ewave_ulog', function(e) {
//是否需要验证登录
if (MAC.User.IsLogin == 0) {
MAC.User.Login();
return;
}
var $that = $(this);
if ($that.attr("data-id")) {
MAC.Ajax(maccms.path + '/index.php/user/ajax_ulog/?ac=set&mid=' + $that.attr("data-mid") + '&id=' + $that.attr("data-id") + '&type=' + $that.attr("data-type"), 'get', 'json', '',
function(r) {
if (r.code == 1) {
MAC.Pop.Msg(100, 20, '收藏成功', 1000);
$(".detail-ulog").removeAttr("data-id").html('<i class="fa fa-star"></i>已收藏');
} else {
MAC.Pop.Msg(100, 20, '收藏成功', 1000);
}
});
}
});
},
},
}
$(document).ready(function() {
eWave.Digg.Init();
eWave.Star.Init();
eWave.Image.Lazyload();
});

View File

@@ -0,0 +1,2 @@
/*! Lazy Load 1.9.7 - MIT license - Copyright 2010-2015 Mika Tuupola */
!function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,763 @@
/*!
* jQuery Raty - A Star Rating Plugin
*
* The MIT License
*
* author: Washington Botelho
* github: wbotelhos/raty
* version: 2.9.0
*
*/
(function($) {
'use strict';
var methods = {
init: function(options) {
return this.each(function() {
this.self = $(this);
methods.destroy.call(this.self);
this.opt = $.extend(true, {}, $.fn.raty.defaults, options, this.self.data());
methods._adjustCallback.call(this);
methods._adjustNumber.call(this);
methods._adjustHints.call(this);
this.opt.score = methods._adjustedScore.call(this, this.opt.score);
if (this.opt.starType !== 'img') {
methods._adjustStarType.call(this);
}
methods._adjustPath.call(this);
methods._createStars.call(this);
if (this.opt.cancel) {
methods._createCancel.call(this);
}
if (this.opt.precision) {
methods._adjustPrecision.call(this);
}
methods._createScore.call(this);
methods._apply.call(this, this.opt.score);
methods._setTitle.call(this, this.opt.score);
methods._target.call(this, this.opt.score);
if (this.opt.readOnly) {
methods._lock.call(this);
} else {
this.style.cursor = 'pointer';
methods._binds.call(this);
}
});
},
_adjustCallback: function() {
var options = ['number', 'readOnly', 'score', 'scoreName', 'target', 'path'];
for (var i = 0; i < options.length; i++) {
if (typeof this.opt[options[i]] === 'function') {
this.opt[options[i]] = this.opt[options[i]].call(this);
}
}
},
_adjustedScore: function(score) {
if (!score) {
return score;
}
return methods._between(score, 0, this.opt.number);
},
_adjustHints: function() {
if (!this.opt.hints) {
this.opt.hints = [];
}
if (!this.opt.halfShow && !this.opt.half) {
return;
}
var steps = this.opt.precision ? 10 : 2;
for (var i = 0; i < this.opt.number; i++) {
var group = this.opt.hints[i];
if (Object.prototype.toString.call(group) !== '[object Array]') {
group = [group];
}
this.opt.hints[i] = [];
for (var j = 0; j < steps; j++) {
var
hint = group[j],
last = group[group.length - 1];
if (last === undefined) {
last = null;
}
this.opt.hints[i][j] = hint === undefined ? last : hint;
}
}
},
_adjustNumber: function() {
this.opt.number = methods._between(this.opt.number, 1, this.opt.numberMax);
},
_adjustPath: function() {
this.opt.path = this.opt.path || '';
if (this.opt.path && this.opt.path.charAt(this.opt.path.length - 1) !== '/') {
this.opt.path += '/';
}
},
_adjustPrecision: function() {
this.opt.half = true;
},
_adjustStarType: function() {
var replaces = ['cancelOff', 'cancelOn', 'starHalf', 'starOff', 'starOn'];
this.opt.path = '';
for (var i = 0; i < replaces.length; i++) {
this.opt[replaces[i]] = this.opt[replaces[i]].replace('.', '-');
}
},
_apply: function(score) {
methods._fill.call(this, score);
if (score) {
if (score > 0) {
this.score.val(score);
}
methods._roundStars.call(this, score);
}
},
_between: function(value, min, max) {
return Math.min(Math.max(parseFloat(value), min), max);
},
_binds: function() {
if (this.cancel) {
methods._bindOverCancel.call(this);
methods._bindClickCancel.call(this);
methods._bindOutCancel.call(this);
}
methods._bindOver.call(this);
methods._bindClick.call(this);
methods._bindOut.call(this);
},
_bindClick: function() {
var that = this;
that.stars.on('click.raty', function(evt) {
var
execute = true,
score = (that.opt.half || that.opt.precision) ? that.self.data('score') : (this.alt || $(this).data('alt'));
if (that.opt.click) {
execute = that.opt.click.call(that, +score, evt);
}
if (execute || execute === undefined) {
if (that.opt.half && !that.opt.precision) {
score = methods._roundHalfScore.call(that, score);
}
methods._apply.call(that, score);
}
});
},
_bindClickCancel: function() {
var that = this;
that.cancel.on('click.raty', function(evt) {
that.score.removeAttr('value');
if (that.opt.click) {
that.opt.click.call(that, null, evt);
}
});
},
_bindOut: function() {
var that = this;
that.self.on('mouseleave.raty', function(evt) {
var score = +that.score.val() || undefined;
methods._apply.call(that, score);
methods._target.call(that, score, evt);
methods._resetTitle.call(that);
if (that.opt.mouseout) {
that.opt.mouseout.call(that, score, evt);
}
});
},
_bindOutCancel: function() {
var that = this;
that.cancel.on('mouseleave.raty', function(evt) {
var icon = that.opt.cancelOff;
if (that.opt.starType !== 'img') {
icon = that.opt.cancelClass + ' ' + icon;
}
methods._setIcon.call(that, this, icon);
if (that.opt.mouseout) {
var score = +that.score.val() || undefined;
that.opt.mouseout.call(that, score, evt);
}
});
},
_bindOver: function() {
var
that = this,
action = that.opt.half ? 'mousemove.raty' : 'mouseover.raty';
that.stars.on(action, function(evt) {
var score = methods._getScoreByPosition.call(that, evt, this);
methods._fill.call(that, score);
if (that.opt.half) {
methods._roundStars.call(that, score, evt);
methods._setTitle.call(that, score, evt);
that.self.data('score', score);
}
methods._target.call(that, score, evt);
if (that.opt.mouseover) {
that.opt.mouseover.call(that, score, evt);
}
});
},
_bindOverCancel: function() {
var that = this;
that.cancel.on('mouseover.raty', function(evt) {
var
starOff = that.opt.path + that.opt.starOff,
icon = that.opt.cancelOn;
if (that.opt.starType === 'img') {
that.stars.attr('src', starOff);
} else {
icon = that.opt.cancelClass + ' ' + icon;
that.stars.attr('class', starOff);
}
methods._setIcon.call(that, this, icon);
methods._target.call(that, null, evt);
if (that.opt.mouseover) {
that.opt.mouseover.call(that, null);
}
});
},
_buildScoreField: function() {
return $('<input />', { name: this.opt.scoreName, type: 'hidden' }).appendTo(this);
},
_createCancel: function() {
var
icon = this.opt.path + this.opt.cancelOff,
cancel = $('<' + this.opt.starType + ' />', { title: this.opt.cancelHint, 'class': this.opt.cancelClass });
if (this.opt.starType === 'img') {
cancel.attr({ src: icon, alt: 'x' });
} else {
// TODO: use $.data
cancel.attr('data-alt', 'x').addClass(icon);
}
if (this.opt.cancelPlace === 'left') {
this.self.prepend('&#160;').prepend(cancel);
} else {
this.self.append('&#160;').append(cancel);
}
this.cancel = cancel;
},
_createScore: function() {
var score = $(this.opt.targetScore);
this.score = score.length ? score : methods._buildScoreField.call(this);
},
_createStars: function() {
for (var i = 1; i <= this.opt.number; i++) {
var
name = methods._nameForIndex.call(this, i),
attrs = { alt: i, src: this.opt.path + this.opt[name] };
if (this.opt.starType !== 'img') {
attrs = { 'data-alt': i, 'class': attrs.src }; // TODO: use $.data.
}
attrs.title = methods._getHint.call(this, i);
$('<' + this.opt.starType + ' />', attrs).appendTo(this);
if (this.opt.space) {
this.self.append(i < this.opt.number ? '&#160;' : '');
}
}
this.stars = this.self.children(this.opt.starType);
},
_error: function(message) {
$(this).text(message);
$.error(message);
},
_fill: function(score) {
var hash = 0;
for (var i = 1; i <= this.stars.length; i++) {
var
icon,
star = this.stars[i - 1],
turnOn = methods._turnOn.call(this, i, score);
if (this.opt.iconRange && this.opt.iconRange.length > hash) {
var irange = this.opt.iconRange[hash];
icon = methods._getRangeIcon.call(this, irange, turnOn);
if (i <= irange.range) {
methods._setIcon.call(this, star, icon);
}
if (i === irange.range) {
hash++;
}
} else {
icon = this.opt[turnOn ? 'starOn' : 'starOff'];
methods._setIcon.call(this, star, icon);
}
}
},
_getFirstDecimal: function(number) {
var
decimal = number.toString().split('.')[1],
result = 0;
if (decimal) {
result = parseInt(decimal.charAt(0), 10);
if (decimal.slice(1, 5) === '9999') {
result++;
}
}
return result;
},
_getRangeIcon: function(irange, turnOn) {
return turnOn ? irange.on || this.opt.starOn : irange.off || this.opt.starOff;
},
_getScoreByPosition: function(evt, icon) {
var score = parseInt(icon.alt || icon.getAttribute('data-alt'), 10);
if (this.opt.half) {
var
size = methods._getWidth.call(this),
percent = parseFloat((evt.pageX - $(icon).offset().left) / size);
score = score - 1 + percent;
}
return score;
},
_getHint: function(score, evt) {
if (score !== 0 && !score) {
return this.opt.noRatedMsg;
}
var
decimal = methods._getFirstDecimal.call(this, score),
integer = Math.ceil(score),
group = this.opt.hints[(integer || 1) - 1],
hint = group,
set = !evt || this.move;
if (this.opt.precision) {
if (set) {
decimal = decimal === 0 ? 9 : decimal - 1;
}
hint = group[decimal];
} else if (this.opt.halfShow || this.opt.half) {
decimal = set && decimal === 0 ? 1 : decimal > 5 ? 1 : 0;
hint = group[decimal];
}
return hint === '' ? '' : hint || score;
},
_getWidth: function() {
var width = this.stars[0].width || parseFloat(this.stars.eq(0).css('font-size'));
if (!width) {
methods._error.call(this, 'Could not get the icon width!');
}
return width;
},
_lock: function() {
var hint = methods._getHint.call(this, this.score.val());
this.style.cursor = '';
this.title = hint;
this.score.prop('readonly', true);
this.stars.prop('title', hint);
if (this.cancel) {
this.cancel.hide();
}
this.self.data('readonly', true);
},
_nameForIndex: function(i) {
return this.opt.score && this.opt.score >= i ? 'starOn' : 'starOff';
},
_resetTitle: function() {
for (var i = 0; i < this.opt.number; i++) {
this.stars[i].title = methods._getHint.call(this, i + 1);
}
},
_roundHalfScore: function(score) {
var
integer = parseInt(score, 10),
decimal = methods._getFirstDecimal.call(this, score);
if (decimal !== 0) {
decimal = decimal > 5 ? 1 : 0.5;
}
return integer + decimal;
},
_roundStars: function(score, evt) {
var
decimal = (score % 1).toFixed(2),
name ;
if (evt || this.move) {
name = decimal > 0.5 ? 'starOn' : 'starHalf';
} else if (decimal > this.opt.round.down) { // Up: [x.76 .. x.99]
name = 'starOn';
if (this.opt.halfShow && decimal < this.opt.round.up) { // Half: [x.26 .. x.75]
name = 'starHalf';
} else if (decimal < this.opt.round.full) { // Down: [x.00 .. x.5]
name = 'starOff';
}
}
if (name) {
var
icon = this.opt[name],
star = this.stars[Math.ceil(score) - 1];
methods._setIcon.call(this, star, icon);
} // Full down: [x.00 .. x.25]
},
_setIcon: function(star, icon) {
star[this.opt.starType === 'img' ? 'src' : 'className'] = this.opt.path + icon;
},
_setTarget: function(target, score) {
if (score) {
score = this.opt.targetFormat.toString().replace('{score}', score);
}
if (target.is(':input')) {
target.val(score);
} else {
target.html(score);
}
},
_setTitle: function(score, evt) {
if (score) {
var
integer = parseInt(Math.ceil(score), 10),
star = this.stars[integer - 1];
star.title = methods._getHint.call(this, score, evt);
}
},
_target: function(score, evt) {
if (this.opt.target) {
var target = $(this.opt.target);
if (!target.length) {
methods._error.call(this, 'Target selector invalid or missing!');
}
var mouseover = evt && evt.type === 'mouseover';
if (score === undefined) {
score = this.opt.targetText;
} else if (score === null) {
score = mouseover ? this.opt.cancelHint : this.opt.targetText;
} else {
if (this.opt.targetType === 'hint') {
score = methods._getHint.call(this, score, evt);
} else if (this.opt.precision) {
score = parseFloat(score).toFixed(1);
}
var mousemove = evt && evt.type === 'mousemove';
if (!mouseover && !mousemove && !this.opt.targetKeep) {
score = this.opt.targetText;
}
}
methods._setTarget.call(this, target, score);
}
},
_turnOn: function(i, score) {
return this.opt.single ? (i === score) : (i <= score);
},
_unlock: function() {
this.style.cursor = 'pointer';
this.removeAttribute('title');
this.score.removeAttr('readonly');
this.self.data('readonly', false);
for (var i = 0; i < this.opt.number; i++) {
this.stars[i].title = methods._getHint.call(this, i + 1);
}
if (this.cancel) {
this.cancel.css('display', '');
}
},
cancel: function(click) {
return this.each(function() {
var self = $(this);
if (self.data('readonly') !== true) {
methods[click ? 'click' : 'score'].call(self, null);
this.score.removeAttr('value');
}
});
},
click: function(score) {
return this.each(function() {
if ($(this).data('readonly') !== true) {
score = methods._adjustedScore.call(this, score);
methods._apply.call(this, score);
if (this.opt.click) {
this.opt.click.call(this, score, $.Event('click'));
}
methods._target.call(this, score);
}
});
},
destroy: function() {
return this.each(function() {
var
self = $(this),
raw = self.data('raw');
if (raw) {
self.off('.raty').empty().css({ cursor: raw.style.cursor }).removeData('readonly');
} else {
self.data('raw', self.clone()[0]);
}
});
},
getScore: function() {
var
score = [],
value ;
this.each(function() {
value = this.score.val();
score.push(value ? +value : undefined);
});
return (score.length > 1) ? score : score[0];
},
move: function(score) {
return this.each(function() {
var
integer = parseInt(score, 10),
decimal = methods._getFirstDecimal.call(this, score);
if (integer >= this.opt.number) {
integer = this.opt.number - 1;
decimal = 10;
}
var
width = methods._getWidth.call(this),
steps = width / 10,
star = $(this.stars[integer]),
percent = star.offset().left + steps * decimal,
evt = $.Event('mousemove', { pageX: percent });
this.move = true;
star.trigger(evt);
this.move = false;
});
},
readOnly: function(readonly) {
return this.each(function() {
var self = $(this);
if (self.data('readonly') !== readonly) {
if (readonly) {
self.off('.raty').children(this.opt.starType).off('.raty');
methods._lock.call(this);
} else {
methods._binds.call(this);
methods._unlock.call(this);
}
self.data('readonly', readonly);
}
});
},
reload: function() {
return methods.set.call(this, {});
},
score: function() {
var self = $(this);
return arguments.length ? methods.setScore.apply(self, arguments) : methods.getScore.call(self);
},
set: function(options) {
return this.each(function() {
$(this).raty($.extend({}, this.opt, options));
});
},
setScore: function(score) {
return this.each(function() {
if ($(this).data('readonly') !== true) {
score = methods._adjustedScore.call(this, score);
methods._apply.call(this, score);
methods._target.call(this, score);
}
});
}
};
$.fn.raty = function(method) {
if (methods[method]) {
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof method === 'object' || !method) {
return methods.init.apply(this, arguments);
} else {
$.error('Method ' + method + ' does not exist!');
}
};
$.fn.raty.defaults = {
cancel: false,
cancelClass: 'raty-cancel',
cancelHint: 'Cancel this rating!',
cancelOff: 'cancel-off.png',
cancelOn: 'cancel-on.png',
cancelPlace: 'left',
click: undefined,
half: false,
halfShow: true,
hints: ['bad', 'poor', 'regular', 'good', 'gorgeous'],
iconRange: undefined,
mouseout: undefined,
mouseover: undefined,
noRatedMsg: 'Not rated yet!',
number: 5,
numberMax: 20,
path: undefined,
precision: false,
readOnly: false,
round: { down: 0.25, full: 0.6, up: 0.76 },
score: undefined,
scoreName: 'score',
single: false,
space: true,
starHalf: 'star-half.png',
starOff: 'star-off.png',
starOn: 'star-on.png',
starType: 'img',
target: undefined,
targetFormat: '{score}',
targetKeep: false,
targetScore: undefined,
targetText: '',
targetType: 'hint'
};
})(jQuery);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,936 @@
String.prototype.replaceAll = function(s1,s2){ return this.replace(new RegExp(s1,"gm"),s2); }
String.prototype.trim=function(){ return this.replace(/(^\s*)|(\s*$)/g, ""); }
var base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var base64DecodeChars=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);function base64encode(str){var out,i,len;var c1,c2,c3;len=str.length;i=0;out="";while(i<len){c1=str.charCodeAt(i++)&0xff;if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt((c1&0x3)<<4);out+="==";break}c2=str.charCodeAt(i++);if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt((c2&0xF)<<2);out+="=";break}c3=str.charCodeAt(i++);out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt(((c2&0xF)<<2)|((c3&0xC0)>>6));out+=base64EncodeChars.charAt(c3&0x3F)}return out}function base64decode(str){var c1,c2,c3,c4;var i,len,out;len=str.length;i=0;out="";while(i<len){do{c1=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c1==-1);if(c1==-1)break;do{c2=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c2==-1);if(c2==-1)break;out+=String.fromCharCode((c1<<2)|((c2&0x30)>>4));do{c3=str.charCodeAt(i++)&0xff;if(c3==61)return out;c3=base64DecodeChars[c3]}while(i<len&&c3==-1);if(c3==-1)break;out+=String.fromCharCode(((c2&0XF)<<4)|((c3&0x3C)>>2));do{c4=str.charCodeAt(i++)&0xff;if(c4==61)return out;c4=base64DecodeChars[c4]}while(i<len&&c4==-1);if(c4==-1)break;out+=String.fromCharCode(((c3&0x03)<<6)|c4)}return out}function utf16to8(str){var out,i,len,c;out="";len=str.length;for(i=0;i<len;i++){c=str.charCodeAt(i);if((c>=0x0001)&&(c<=0x007F)){out+=str.charAt(i)}else if(c>0x07FF){out+=String.fromCharCode(0xE0|((c>>12)&0x0F));out+=String.fromCharCode(0x80|((c>>6)&0x3F));out+=String.fromCharCode(0x80|((c>>0)&0x3F))}else{out+=String.fromCharCode(0xC0|((c>>6)&0x1F));out+=String.fromCharCode(0x80|((c>>0)&0x3F))}}return out}function utf8to16(str){var out,i,len,c;var char2,char3;out="";len=str.length;i=0;while(i<len){c=str.charCodeAt(i++);switch(c>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:out+=str.charAt(i-1);break;case 12:case 13:char2=str.charCodeAt(i++);out+=String.fromCharCode(((c&0x1F)<<6)|(char2&0x3F));break;case 14:char2=str.charCodeAt(i++);char3=str.charCodeAt(i++);out+=String.fromCharCode(((c&0x0F)<<12)|((char2&0x3F)<<6)|((char3&0x3F)<<0));break}}return out}
var MAC={
'Url': document.URL,
'Title': document.title,
'UserAgent' : function(){
var ua = navigator.userAgent;//navigator.appVersion
return {
'mobile': !!ua.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
'ios': !!ua.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
'android': ua.indexOf('Android') > -1 || ua.indexOf('Linux') > -1, //android终端或者uc浏览器
'iPhone': ua.indexOf('iPhone') > -1 || ua.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器
'iPad': ua.indexOf('iPad') > -1, //是否iPad
'trident': ua.indexOf('Trident') > -1, //IE内核
'presto': ua.indexOf('Presto') > -1, //opera内核
'webKit': ua.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
'gecko': ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') == -1, //火狐内核
'weixin': ua.indexOf('MicroMessenger') > -1 //是否微信 ua.match(/MicroMessenger/i) == "micromessenger",
};
}(),
'Copy': function(s){
if (window.clipboardData){ window.clipboardData.setData("Text",s); }
else{
if( $("#mac_flash_copy").get(0) ==undefined ){ $('<div id="mac_flash_copy"></div>'); } else {$('#mac_flash_copy').html(''); }
$('#mac_flash_copy').html('<embed src='+maccms.path+'"images/_clipboard.swf" FlashVars="clipboard='+escape(s)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>');
}
MAC.Pop.Msg(100,20,'复制成功',1000);
},
'Home': function(o,u){
try{
o.style.behavior='url(#default#homepage)'; o.setHomePage(u);
}
catch(e){
if(window.netscape){
try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");}
catch(e){ MAC.Pop.Msg(150,40,'此操作被浏览器拒绝!请手动设置',1000); }
var moz = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
moz.setCharPref('browser.startup.homepage',u);
}
}
},
'Fav': function(u,s){
try{ window.external.addFavorite(u, s);}
catch (e){
try{window.sidebar.addPanel(s, u, "");}catch (e){ MAC.Pop.Msg(150,40,'加入收藏出错请使用键盘Ctrl+D进行添加',1000); }
}
},
'Open': function(u,w,h){
window.open(u,'macopen1','toolbars=0, scrollbars=0, location=0, statusbars=0,menubars=0,resizable=yes,width='+w+',height='+h+'');
},
'Cookie': {
'Set': function(name,value,days){
var exp = new Date();
exp.setTime(exp.getTime() + days*24*60*60*1000);
var arr=document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
document.cookie=name+"="+encodeURIComponent(value)+";path=/;expires="+exp.toUTCString();
},
'Get': function(name){
var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
if(arr != null){ return decodeURIComponent(arr[2]); return null; }
},
'Del': function(name){
var exp = new Date();
exp.setTime(exp.getTime()-1);
var cval = this.Get(name);
if(cval != null){ document.cookie = name+"="+encodeURIComponent(cval)+";path=/;expires="+exp.toUTCString(); }
}
},
'GoBack':function(){
var ldghost=document.domain;
if(document.referrer.indexOf(ldghost)>0) {
history.back();
}
else{
window.location ="//"+ldghost;
}
},
'Adaptive':function(){
if(maccms.mob_status=='1' && maccms.url != maccms.wapurl){
if(document.domain ==maccms.url && MAC.UserAgent.mobile){
location.href = location.href.replace(maccms.url,maccms.wapurl);
}
else if(document.domain ==maccms.wapurl && !MAC.UserAgent.mobile){
location.href = location.href.replace(maccms.wapurl,maccms.url);
}
}
},
'CheckBox':{
'All':function(n){
$("input[name='"+n+"']").each(function() {
this.checked = true;
});
},
'Other':function(n){
$("input[name='"+n+"']").each(function() {
this.checked = !this.checked;
});
},
'Count':function(n){
var res=0;
$("input[name='"+n+"']").each(function() {
if(this.checked){ res++; }
});
return res;
},
'Ids':function(n){
var res=[];
$("input[name='"+n+"']").each(function() {
if(this.checked){ res.push(this.value); }
});
return res.join(",");
}
},
'Ajax':function(url,type,dataType,data,sfun,efun,cfun){
type=type||'get';
dataType=dataType||'json';
data=data||'';
efun=efun||'';
cfun=cfun||'';
$.ajax({
url:url,
type:type,
dataType:dataType,
data:data,
timeout: 5000,
beforeSend:function(XHR){
},
error:function(XHR,textStatus,errorThrown){
if(efun) efun(XHR,textStatus,errorThrown);
},
success:function(data){
sfun(data);
},
complete:function(XHR, TS){
if(cfun) cfun(XHR, TS);
}
})
},
'Qrcode':{
'Init':function(){
$('.mac_qrcode').attr('src', maccms.path +'/index.php/qrcode/index.html?url='+ MAC.Url);
}
},
'Shorten': {
'Init':function(){
if($('.mac_shorten').length==0){
return;
}
MAC.Shorten.Get();
},
'Get':function(url,call){
url=url||location.href;
// dajiba
// MAC.Ajax('//api.maccms.la/shorten/index/url/'+ encodeURIComponent(url),'get','jsonp','',function(r){
// if (r.code == 1) {
// if($('.mac_shorten').length>0) {
// $('.mac_shorten').val(r.data.url_short);
// $('.mac_shorten').html(r.data.url_short);
// }
// if(call){
// call(r);
// }
// }
// });
}
},
'Image':{
'Lazyload':{
'Show': function(){
try { $("img.lazy").lazyload(); }catch(e){};
},
'Box': function($id){
$("img.lazy").lazyload({
container: $("#"+$id)
});
}
}
},
'Verify': {
'Init': function(){
MAC.Verify.Focus();
MAC.Verify.Click();
},
'Focus': function(){//验证码框焦点
$('body').on("focus", ".mac_verify", function(){
$(this).removeClass('mac_verify').after(MAC.Verify.Show());
$(this).unbind();
});
},
'Click': function(){//点击刷新
$('body').on('click', 'img.mac_verify_img', function(){
$(this).attr('src', maccms.path +'/index.php/verify/index.html?r='+Math.random());
});
},
'Refresh':function(){
$('.mac_verify_img').attr('src', maccms.path +'/index.php/verify/index.html?r='+Math.random());
},
'Show':function(){
return '<img class="mac_verify_img" src="'+ maccms.path +'/index.php/verify/index.html?" title="看不清楚? 换一张!">';
}
},
'PageGo':{
'Init':function() {
$('.mac_page_go').click(function () {
var that =$(this);
var url = that.attr('data-url');
var total = parseInt(that.attr('data-total'));
var sp = that.attr('data-sp');
var page= parseInt($('#page').val());
if(page>0&&(page<=total)){
url=url.replace(sp + 'PAGELINK',sp + page).replace('PAGELINK',page);
location.href=url;
}
return false;
});
}
},
'Hits': {
'Init':function() {
if($('.mac_hits').length==0){
return;
}
var $that = $(".mac_hits");
MAC.Ajax(maccms.path + '/index.php/ajax/hits?mid='+$that.attr("data-mid")+'&id='+$that.attr("data-id")+'&type=update','get','json','',function(r){
if (r.code == 1) {
$(".mac_hits").each(function(i){
$type = $(".mac_hits").eq(i).attr('data-type');
if($type != 'insert'){
$('.'+$type).html(eval('(r.data.' + $type + ')'));
}
});
}
});
}
},
'Score': {
'Init':function(){
if($('.mac_score').length==0){
return;
}
$('body').on('click', '.score_btn', function(e){
MAC.Score.Submit();
});
MAC.Ajax(maccms.path+'/index.php/ajax/score?mid='+ $('.mac_score').attr('data-mid') +'&id=' +$('.mac_score').attr('data-id'),'post','json','',function(r){
MAC.Score.View(r);
},function(){
$(".mac_score").html('评分加载失败');
});
},
'Submit':function(){
var $s = $('.mac_score').find("input[name='score']").val();
MAC.Ajax(maccms.path+'/index.php/ajax/score?mid='+$('.mac_score').attr('data-mid')+'&id='+$('.mac_score').attr('data-id') + '&score='+ $s,'get','json','',function(r){
MAC.Pop.Msg(100,20,r.msg,1000);
if(r.code==1){
MAC.Score.View(r);
}
});
},
'View':function(r){
$(".rating"+Math.floor(r.data.score)).attr('checked',true);
$(".score_num").text(r.data.score_num);
$(".score_all").text(r.data.score_all);
$(".score_pjf").text(r.data.score);
}
},
'Star': {
'Init':function(){
if($('.mac_star').length==0){
return;
}
$('.mac_star').raty({
starType: 'i',
number: 5,
numberMax : 5,
half: true,
score : function(){
return $(this).attr('data-score');
},
click: function(score, evt) {
MAC.Ajax(maccms.path+'/index.php/ajax/score?mid='+$('.mac_star').attr('data-mid')+'&id='+$('.mac_star').attr('data-id')+'&score='+(score*2),'get','json','',function(r){
if(json.status == 1){
$('.star_tips').html(r.data.score);
}else{
$('.star_box').attr('title', r.msg);
}
},function(){
$('.star_box').attr('title', '网络异常!');
});
}
});
}
},
'Digg': {
'Init':function(){
$('body').on('click', '.digg_link', function(e){
var $that = $(this);
if($that.attr("data-id")){
MAC.Ajax(maccms.path + '/index.php/ajax/digg.html?mid='+$that.attr("data-mid")+'&id='+$that.attr("data-id")+'&type='+$that.attr("data-type"),'get','json','',function(r){
$that.addClass('disabled');
if(r.code == 1){
if($that.attr("data-type")=='up'){
$that.find('.digg_num').html(r.data.up);
}
else{
$that.find('.digg_num').html(r.data.down);
}
}
else{
$that.attr('title', r.msg);
}
});
}
});
}
},
'Gbook':{
'Login':0,
'Verify':0,
'Init':function(){
$('body').on('keyup', '.gbook_content', function(e){
MAC.Remaining($(this),200,'.gbook_remaining')
});
$('body').on('focus', '.gbook_content', function(e){
if(MAC.Gbook.Login==1 && MAC.User.IsLogin!=1){
MAC.User.Login();
}
});
$('body').on('click', '.gbook_submit', function(e){
MAC.Gbook.Submit();
});
},
'Show':function($page){
MAC.Ajax(maccms.path+'/index.php/gbook/index?page='+$page,'post','json','',function(r){
$(".mac_gbook_box").html(r);
},function(){
$(".mac_gbook_box").html('留言加载失败,请刷新...');
});
},
'Submit':function(){
if($(".gbook_content").val() == ''){
MAC.Pop.Msg(100,20,'请输入您的留言!',1000);
return false;
}
MAC.Ajax(maccms.path + '/index.php/gbook/saveData','post','json',$('.gbook_form').serialize(),function(r){
MAC.Pop.Msg(100,20,r.msg,1000);
if(r.code == 1){
location.reload();
}
else{
if(MAC.Gbook.Verify==1){
MAC.Verify.Refresh();
}
}
});
},
'Report':function(name,id){
MAC.Pop.Show(400,300,'数据报错',maccms.path+'/index.php/gbook/report.html?id='+id+'&name='+ encodeURIComponent(name),function(r){
});
}
},
'Search':{
'Init':function(){
$('.mac_search').click(function(){
var that=$(this);
var url = that.attr('data-href') ? that.attr('data-href') : maccms.path + '/index.php/vod/search.html';
location.href = url + '?wd='+ encodeURIComponent($("#wd").val());
});
},
'Submit':function(){
return false;
}
},
'Suggest':{
'Init':function($obj,$mid,$jumpurl){
try {
$($obj).autocomplete(maccms.path + '/index.php/ajax/suggest?mid=' + $mid, {
inputClass: "mac_input",
resultsClass: "mac_results",
loadingClass: "mac_loading",
width: 175, scrollHeight: 300, minChars: 1, matchSubset: 0,
cacheLength: 10, multiple: false, matchContains: true, autoFill: false,
dataType: "json",
parse: function (r) {
if (r.code == 1) {
var parsed = [];
$.each(r['list'], function (index, row) {
row.url = r.url;
parsed[index] = {
data: row
};
});
return parsed;
} else {
return {data: ''};
}
},
formatItem: function (row, i, max) {
return row.name;
},
formatResult: function (row, i, max) {
return row.text;
}
}).result(function (event, data, formatted) {
$($obj).val(data.name);
location.href = data.url.replace('mac_wd', encodeURIComponent(data.name));
});
}
catch(e){}
}
},
'History': {
'BoxShow':0,
'Limit':10,
'Days':7,
'Json':'',
'Init':function(){
if($('.mac_history').length ==0){
return;
}
$('.mac_history').hover(function(e){
$('.mac_history_box').show();
}, function(){
$('.mac_history_box').hover(function(){
MAC.History.BoxShow=1;
}, function(){
MAC.History.BoxShow=0;
$('.mac_history_box').hide();
});
});
var jsondata = [];
if(this.Json){
jsondata = this.Json;
}else{
var jsonstr = MAC.Cookie.Get('mac_history');
if(jsonstr != undefined){
jsondata = eval(jsonstr);
}
}
html = '<dl class="mac_drop_box mac_history_box" style="display:none;">';
html +='<dt><a target="_self" href="javascript:void(0)" onclick="MAC.History.Clear();">清空</a></dt>';
if(jsondata.length > 0){
for($i=0; $i<jsondata.length; $i++){
if($i%2==1){
html +='<dd class="odd">';
}else{
html +='<dd class="even">';
}
html +='<a href="'+jsondata[$i].link+'" class="hx_title">'+jsondata[$i].name+'</a></dd>';
}
}else{
html +='<dd class="hide">暂无浏览记录</dd>';
}
html += '</dl>';
$('.mac_history').after(html);
var h = $('.mac_history').height();
var position = $('.mac_history').position();
$('.mac_history_box').css({'left':position.left,'top':(position.top+h)});
if($(".mac_history_set").attr('data-name')){
var $that = $(".mac_history_set");
MAC.History.Set($that.attr('data-name'),$that.attr('data-link'),$that.attr('data-pic'));
}
},
'Set':function(name,link,pic){
if(!link){ link = document.URL; }
var jsondata = MAC.Cookie.Get('mac_history');
if(jsondata != undefined){
this.Json = eval(jsondata);
for($i=0;$i<this.Json.length;$i++){
if(this.Json[$i].link == link){
return false;
}
}
jsonstr = '{log:[{"name":"'+name+'","link":"'+link+'","pic":"'+pic+'"},';
for($i=0; $i<this.Json.length; $i++){
if($i<= this.Limit && this.Json[$i]){
jsonstr += '{"name":"'+this.Json[$i].name+'","link":"'+this.Json[$i].link+'","pic":"'+this.Json[$i].pic+'"},';
}else{
break;
}
}
jsonstr = jsonstr.substring(0,jsonstr.lastIndexOf(','));
jsonstr += "]}";
}else{
jsonstr = '{log:[{"name":"'+name+'","link":"'+link+'","pic":"'+pic+'"}]}';
}
this.Json = eval(jsonstr);
MAC.Cookie.Set('mac_history',jsonstr,this.Days);
},
'Clear': function(){
MAC.Cookie.Del('mac_history');
$('.mac_history_box').html('<li class="hx_clear">已清空观看记录。</li>');
},
},
'Ulog':{
'Init':function(){
MAC.Ulog.Set();
MAC.Ulog.Click();
},
'Get':function(mid,id,type,page,limit,call){
MAC.Ajax(maccms.path+'/index.php/user/ajax_ulog/?ac=list&mid='+mid+'&id='+id+'&type='+type+'&page='+page+'&limit='+limit,'get','json','',call);
},
'Set':function(){
if($(".mac_ulog_set").attr('data-mid')){
var $that = $(".mac_ulog_set");
$.get(maccms.path+'/index.php/user/ajax_ulog/?ac=set&mid='+$that.attr("data-mid")+'&id='+$that.attr("data-id")+'&sid='+$that.attr("data-sid")+'&nid='+$that.attr("data-nid")+'&type='+$that.attr("data-type"));
}
},
'Click':function(){
$('body').on('click', 'a.mac_ulog', function(e){
//是否需要验证登录
if(MAC.User.IsLogin == 0){
MAC.User.Login();
return;
}
var $that = $(this);
if($that.attr("data-id")){
MAC.Ajax(maccms.path+'/index.php/user/ajax_ulog/?ac=set&mid='+$that.attr("data-mid")+'&id='+$that.attr("data-id")+'&type='+$that.attr("data-type"),'get','json','',function(r){
MAC.Pop.Msg(100,20,r.msg,1000);
if(r.code == 1){
$that.addClass('disabled');
}else{
$that.attr('title', r.msg);
}
});
}
});
}
},
'Website':{
'Referer':function() {
if($('.mac_referer').length==0){
return;
}
var url = document.referrer
,domain=''
,host = window.location.host
,reg = /^http(s)?:\/\/(.*?)\//i
,mc = url.match(reg);
if(url=='' || url.indexOf(host)!=-1 || mc ==null){
return;
}
domain = mc[2];
MAC.Ajax(maccms.path + '/index.php/ajax/referer?domain='+encodeURIComponent(domain)+'&url='+encodeURIComponent(url)+'&type=update','get','json','',function(r){
if (r.code == 1) {
}
console.log(r);
});
}
},
'User':{
'BoxShow':0,
'IsLogin':0,
'UserId':'',
'UserName':'',
'GroupId':'',
'GroupName':'',
'Portrait':'',
'Init':function(){
if($('.mac_user').length >0){
$('body').on('click', '.mac_user', function(e){
MAC.User.Login();
});
$('.mac_user').hover(function(e){
$('.mac_user_box').show();
}, function(){
$('.mac_user_box').hover(function(){
MAC.User.BoxShow = 1;
}, function(){
MAC.User.BoxShow = 0;
$('.mac_user_box').hide();
});
});
}
if(MAC.Cookie.Get('user_id') !=undefined && MAC.Cookie.Get('user_id')!=''){
var url = maccms.path + '/index.php/user';
MAC.User.UserId = MAC.Cookie.Get('user_id');
MAC.User.UserName = MAC.Cookie.Get('user_name');
MAC.User.GroupId = MAC.Cookie.Get('group_id');
MAC.User.GroupName = MAC.Cookie.Get('group_name');
MAC.User.Portrait = MAC.Cookie.Get('user_portrait');
MAC.User.IsLogin = 1;
if($('.mac_user').length >0) {
if ($('.mac_user').prop("outerHTML").substr(0, 2) == '<a') {
$('.mac_user').attr('href', url);
$('.mac_user').text(MAC.User.UserName);
}
else {
//$('.mac_user').html('<a class="mac_text" href="'+ url +'">'+ name +'</a>');
}
var html = '<div class="mac_drop_box mac_user_box" style="display: none;">';
html += '<ul class="logged"><li><a target="_blank" href="' + url + '">用户中心</a></li><li class="logout"><a class="logoutbt" href="javascript:;" onclick="MAC.User.Logout();" target="_self"><i class="user-logout"></i>退出</a></li></ul>'
$('.mac_user').after(html);
var h = $('.mac_user').height();
var position = $('.mac_user').position();
$('.mac_user_box').css({'left': position.left, 'top': (position.top + h)});
}
}
else{
}
},
'CheckLogin':function(){
if(MAC.User.IsLogin == 0){
MAC.User.Login();
}
},
'Login':function(){
var ac='ajax_login';
if(MAC.Cookie.Get('user_id') !=undefined && MAC.Cookie.Get('user_id')!=''){
ac= 'ajax_info';
}
MAC.Pop.Show(400,380,'用户登录',maccms.path+'/index.php/user/'+ac,function(r){
$('body').off('click', '.login_form_submit');
$('body').on('click', '.login_form_submit', function(e){
$(this).unbind('click');
MAC.Ajax(maccms.path + '/index.php/user/login','post','json',$('.mac_login_form').serialize(),function(r){
alert(r.msg);
if(r.code == 1){
location.reload();
}
});
});
});
},
'Logout':function(){
MAC.Ajax(maccms.path + '/index.php/user/logout','post','json','',function(r){
MAC.Pop.Msg(100,20,r.msg,1000);
if(r.code == 1){
location.reload();
}
});
},
'PopedomCallBack':function(trysee,h) {
window.setTimeout(function(){
$(window.frames["player_if"].document).find(".MacPlayer").html(h);
},1000*10*trysee);
},
'BuyPopedom':function(o){
var $that = $(o);
if($that.attr("data-id")){
if (confirm('您确认购买此条数据访问权限吗?')) {
MAC.Ajax(maccms.path + '/index.php/user/ajax_buy_popedom.html?id=' + $that.attr("data-id") + '&mid=' + $that.attr("data-mid") + '&sid=' + $that.attr("data-sid") + '&nid=' + $that.attr("data-nid") + '&type=' + $that.attr("data-type"),'get','json','',function(r){
$that.addClass('disabled');
MAC.Pop.Msg(300, 50, r.msg, 2000);
if (r.code == 1) {
top.location.reload();
}
$that.removeClass('disabled');
});
}
}
}
},
'Pop':{
'Remove':function(){
$('.mac_pop_bg').remove();
$('.mac_pop').remove();
},
'RemoveMsg':function(){
$('.mac_pop_msg_bg').remove();
$('.mac_pop_msg').remove();
},
'Msg':function($w,$h,$msg,$timeout){
if($('.mac_pop_bg').length !=1) {
MAC.Pop.Remove();
}
$('body').append('<div class="mac_pop_msg_bg"></div><div class="mac_pop_msg"><div class="pop-msg"></div></div>');
$('.mac_pop_msg .pop_close').click(function(){
$('.mac_pop_msg').remove();
});
$('.mac_pop_msg').width($w);
$('.mac_pop_msg').height($h);
$('.mac_pop_msg .pop-msg').html($msg);
$('.mac_pop_msg_bg,.mac_pop_msg').show();
setTimeout(MAC.Pop.RemoveMsg,$timeout);
},
'Show':function($w,$h,$title,$url,$callback) {
if($('.mac_pop_bg').length !=1) {
MAC.Pop.Remove();
}
$('body').append('<div class="mac_pop_bg"></div><div class="mac_pop"><div class="pop_top"><h2></h2><span class="pop_close"></span></div><div class="pop_content"></div></div>');
$('.mac_pop .pop_close').click(function(){
$('.mac_pop_bg,.mac_pop').remove();
});
$('.mac_pop').width($w);
$('.mac_pop').height($h);
$('.pop_content').html('');
$('.pop_top').find('h2').html($title);
MAC.Ajax($url,'post','json','',function(r){
$(".pop_content").html(r);
$callback(r);
},function(){
$(".pop_content").html('加载失败,请刷新...');
});
$('.mac_pop_bg,.mac_pop').show();
}
},
'Pwd':{
'Check':function(o){
var $that = $(o);
if($that.attr("data-id")){
MAC.Ajax(maccms.path + '/index.php/ajax/pwd.html?id=' + $that.attr("data-id") + '&mid=' + $that.attr("data-mid") + '&type=' + $that.attr("data-type") + '&pwd='+ $that.parents('form').find('input[name="pwd"]').val() ,'get','json','',function(r){
$that.addClass('disabled');
MAC.Pop.Msg(300, 50, r.msg, 2000);
if (r.code == 1) {
location.reload();
}
$that.removeClass('disabled');
});
}
}
},
'AdsWrap':function(w,h,n){
document.writeln('<img width="'+w+'" height="'+h+'" alt="'+n+'" style="background-color: #CCCCCC" />');
},
'Css':function($url){
$("<link>").attr({ rel: "stylesheet",type: "text/css",href: $url}).appendTo("head");
},
'Js':function($url){
$.getScript($url, function(response, status) {
});
},
'Desktop':function(s){
location.href= maccms.path + '/index.php/ajax/desktop?name='+encodeURI(s)+'&url=' + encodeURI(location.href);
},
'Timming':function(){
if($('.mac_timming').length==0){
return;
}
var infile = $('.mac_timming').attr("data-file");
if(infile==undefined || infile == ''){
infile = 'api.php';
}
var t=(new Image());t.src=maccms.path + '/'+infile+'/timming/index?t='+Math.random();
},
'Error':function(tab,id,name){
},
'AddEm':function(obj,i){
var oldtext = $(obj).val();
$(obj).val( oldtext + '[em:' + i +']' );
},
'Remaining':function(obj,len,show){
var count = len - $(obj).val().length;
if(count < 0){
count = 0;
$(obj).val($(obj).val().substr(0,200));
}
$(show).text(count);
},
'Comment':{
'Login':0,
'Verify':0,
'Init':function(){
$('body').on('click', '.comment_face_box img', function(e){
var obj = $(this).parent().parent().parent().find('.comment_content');
MAC.AddEm(obj,$(this).attr('data-id'));
});
$('body').on('click', '.comment_face_panel', function(e){
// $('.comment_face_box').toggle();
$(this).parent().find('.comment_face_box').toggle();
});
$('body').on('keyup', '.comment_content', function(e){
var obj = $(this).parent().parent().parent().parent().find('.comment_remaining');
MAC.Remaining($(this),200,obj)
});
$('body').on('focus', '.comment_content', function(e){
if(MAC.Comment.Login==1 && MAC.User.IsLogin!=1){
MAC.User.Login();
}
});
$('body').on('click', '.comment_report', function(e){
var $that = $(this);
if($(this).attr("data-id")){
MAC.Ajax(maccms.path + '/index.php/comment/report.html?id='+$that.attr("data-id"),'get','json','',function(r){
$that.addClass('disabled');
MAC.Pop.Msg(100,20,r.msg,1000);
if(r.code == 1){
}
});
}
});
$('body').on('click', '.comment_reply', function(e){
var $that = $(this);
if($that.attr("data-id")){
var str = $that.html();
$('.comment_reply_form').remove();
if (str == '取消回复') {
$that.html('回复');
return false;
}
if (str == '回复') {
$('.comment_reply').html('回复');
}
var html = $('.comment_form').prop("outerHTML");
var oo = $(html);
oo.addClass('comment_reply_form');
oo.find('input[name="comment_pid"]').val( $that.attr("data-id") );
$that.parent().after(oo);
$that.html('取消回复');
}
});
$('body').on('click', '.comment_submit', function(e){
var $that = $(this);
MAC.Comment.Submit($that);
});
},
'Show':function($page){
if($(".mac_comment").length>0){
MAC.Ajax(maccms.path + '/index.php/comment/ajax.html?rid='+$('.mac_comment').attr('data-id')+'&mid='+ $('.mac_comment').attr('data-mid') +'&page='+$page,'get','json','',function(r){
$(".mac_comment").html(r);
},function(){
$(".mac_comment").html('<a href="javascript:void(0)" onclick="MAC.Comment.Show('+$page+')">评论加载失败,点击我刷新...</a>');
});
}
},
'Reply':function($o){
},
'Submit':function($o){
var form = $o.parents('form');
if($(form).find(".comment_content").val() == ''){
MAC.Pop.Msg(100,20,'请输入您的评论!',1000);
return false;
}
if($('.mac_comment').attr('data-mid') == ''){
MAC.Pop.Msg(100,20,'模块mid错误',1000);
return false;
}
if($('.mac_comment').attr('data-id') == ''){
MAC.Pop.Msg(100,20,'关联id错误',1000);
return false;
}
MAC.Ajax(maccms.path + '/index.php/comment/saveData','post','json',$(form).serialize() + '&comment_mid='+ $('.mac_comment').attr('data-mid') + '&comment_rid=' + $('.mac_comment').attr('data-id'),function(r){
MAC.Pop.Msg(100,20,r.msg,1000);
if(r.code == 1){
MAC.Comment.Show(1);
}
else{
if(MAC.Comment.Verify==1){
MAC.Verify.Refresh();
}
}
});
}
}
}
$(function(){
//异步加载图片初始化
MAC.Image.Lazyload.Show();
//自动跳转手机和pc网页地址
MAC.Adaptive();
//验证码初始化
MAC.Verify.Init();
//分页跳转初始化
MAC.PageGo.Init();
//用户部分初始化
MAC.User.Init();
//二维码初始化
MAC.Qrcode.Init();
//顶和踩初始化
MAC.Digg.Init();
//评分初始化
MAC.Score.Init();
//星星评分初始化
MAC.Star.Init();
//点击数量
MAC.Hits.Init();
//短网址
MAC.Shorten.Init();
//历史记录初始化
MAC.History.Init();
//用户访问记录初始化
MAC.Ulog.Init();
//联想搜索初始化
MAC.Suggest.Init('.mac_wd',1,'');
//网址导航来路统计
MAC.Website.Referer();
//定时任务初始化
MAC.Timming();
});

View File

@@ -0,0 +1,117 @@
var killErrors=function(value){return true};window.onerror=null;window.onerror=killErrors;
var base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var base64DecodeChars=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);function base64encode(str){var out,i,len;var c1,c2,c3;len=str.length;i=0;out="";while(i<len){c1=str.charCodeAt(i++)&0xff;if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt((c1&0x3)<<4);out+="==";break}c2=str.charCodeAt(i++);if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt((c2&0xF)<<2);out+="=";break}c3=str.charCodeAt(i++);out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt(((c2&0xF)<<2)|((c3&0xC0)>>6));out+=base64EncodeChars.charAt(c3&0x3F)}return out}function base64decode(str){var c1,c2,c3,c4;var i,len,out;len=str.length;i=0;out="";while(i<len){do{c1=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c1==-1);if(c1==-1)break;do{c2=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c2==-1);if(c2==-1)break;out+=String.fromCharCode((c1<<2)|((c2&0x30)>>4));do{c3=str.charCodeAt(i++)&0xff;if(c3==61)return out;c3=base64DecodeChars[c3]}while(i<len&&c3==-1);if(c3==-1)break;out+=String.fromCharCode(((c2&0XF)<<4)|((c3&0x3C)>>2));do{c4=str.charCodeAt(i++)&0xff;if(c4==61)return out;c4=base64DecodeChars[c4]}while(i<len&&c4==-1);if(c4==-1)break;out+=String.fromCharCode(((c3&0x03)<<6)|c4)}return out}function utf16to8(str){var out,i,len,c;out="";len=str.length;for(i=0;i<len;i++){c=str.charCodeAt(i);if((c>=0x0001)&&(c<=0x007F)){out+=str.charAt(i)}else if(c>0x07FF){out+=String.fromCharCode(0xE0|((c>>12)&0x0F));out+=String.fromCharCode(0x80|((c>>6)&0x3F));out+=String.fromCharCode(0x80|((c>>0)&0x3F))}else{out+=String.fromCharCode(0xC0|((c>>6)&0x1F));out+=String.fromCharCode(0x80|((c>>0)&0x3F))}}return out}function utf8to16(str){var out,i,len,c;var char2,char3;out="";len=str.length;i=0;while(i<len){c=str.charCodeAt(i++);switch(c>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:out+=str.charAt(i-1);break;case 12:case 13:char2=str.charCodeAt(i++);out+=String.fromCharCode(((c&0x1F)<<6)|(char2&0x3F));break;case 14:char2=str.charCodeAt(i++);char3=str.charCodeAt(i++);out+=String.fromCharCode(((c&0x0F)<<12)|((char2&0x3F)<<6)|((char3&0x3F)<<0));break}}return out}
var MacPlayer = {
'GetDate':function(f,t){
if(!t){
t = new Date();
}
var Week = ['日', '一', '二', '三', '四', '五', '六'];
f = f.replace(/yyyy|YYYY/, t.getFullYear());
f = f.replace(/yy|YY/, (t.getYear() % 100) > 9 ? (t.getYear() % 100).toString() : '0' + (t.getYear() % 100));
f = f.replace(/MM/, t.getMonth() > 9 ? t.getMonth().toString() : '0' + t.getMonth());
f = f.replace(/M/g, t.getMonth());
f = f.replace(/w|W/g, Week[t.getDay()]);
f = f.replace(/dd|DD/, t.getDate() > 9 ? t.getDate().toString() : '0' + t.getDate());
f = f.replace(/d|D/g, t.getDate());
f = f.replace(/hh|HH/, t.getHours() > 9 ? t.getHours().toString() : '0' + t.getHours());
f = f.replace(/h|H/g, t.getHours());
f = f.replace(/mm/, t.getMinutes() > 9 ? t.getMinutes().toString() : '0' + t.getMinutes());
f = f.replace(/m/g, t.getMinutes());
f = f.replace(/ss|SS/, t.getSeconds() > 9 ? t.getSeconds().toString() : '0' + t.getSeconds());
f = f.replace(/s|S/g, t.getSeconds());
return f;
},
'GetUrl': function(s, n) {
return this.Link.replace('{sid}', s).replace('{sid}', s).replace('{nid}', n).replace('{nid}', n)
},
'Go': function(s, n) {
location.href = this.GetUrl(s, n)
},
'Show': function() {
$('#buffer').attr('src', this.Prestrain);
setTimeout(function() {
MacPlayer.AdsEnd()
}, this.Second * 1000);
$("#playleft").get(0).innerHTML = this.Html + '';
},
'AdsStart': function() {
if ($("#buffer").attr('src') != this.Buffer) {
$("#buffer").attr('src', this.Buffer)
}
$("#buffer").show()
},
'AdsEnd': function() {
$('#buffer').hide()
},
'Install': function() {
this.Status = false;
$('#install').show()
},
'Play': function() {
document.write('<style>.MacPlayer{background: #000000;font-size:14px;color:#F6F6F6;margin:0px;padding:0px;position:relative;overflow:hidden;width:' + this.Width + ';height:' + this.Height + ';min-height:100px;}.MacPlayer table{width:100%;height:100%;}.MacPlayer #playleft{position:inherit;!important;width:100%;height:100%;}</style><div class="MacPlayer">' + '<iframe id="buffer" src="" frameBorder="0" scrolling="no" width="100%" height="100%" style="position:absolute;z-index:99998;"></iframe><iframe id="install" src="" frameBorder="0" scrolling="no" width="100%" height="100%" style="position:absolute;z-index:99998;display:none;"></iframe>' + '<table border="0" cellpadding="0" cellspacing="0"><tr><td id="playleft" valign="top" style="">&nbsp;</td></table></div>');
this.offsetHeight = $('.MacPlayer').get(0).offsetHeight;
this.offsetWidth = $('.MacPlayer').get(0).offsetWidth;
document.write('<scr' + 'ipt src="' + this.Path + this.PlayFrom + '.js"></scr' + 'ipt>')
},
'Down': function() {},
'Init': function() {
this.Status = true;
this.Parse = '';
var player_data = player_aaaa;
if (player_data.encrypt == '1') {
player_data.url = unescape(player_data.url);
player_data.url_next = unescape(player_data.url_next)
} else if (player_data.encrypt == '2') {
player_data.url = unescape(base64decode(player_data.url));
player_data.url_next = unescape(base64decode(player_data.url_next))
}
this.Agent = navigator.userAgent.toLowerCase();
this.Width = MacPlayerConfig.width;
this.Height = MacPlayerConfig.height;
if (this.Agent.indexOf("android") > 0 || this.Agent.indexOf("mobile") > 0 || this.Agent.indexOf("ipod") > 0 || this.Agent.indexOf("ios") > 0 || this.Agent.indexOf("iphone") > 0 || this.Agent.indexOf("ipad") > 0) {
this.Width = MacPlayerConfig.widthmob;
this.Height = MacPlayerConfig.heightmob
}
if (this.Width.indexOf("px") == -1 && this.Width.indexOf("%") == -1) {
this.Width = '100%'
}
if (this.Height.indexOf("px") == -1 && this.Height.indexOf("%") == -1) {
this.Height = '100%'
}
this.Prestrain = MacPlayerConfig.prestrain;
this.Buffer = MacPlayerConfig.buffer;
this.Second = MacPlayerConfig.second;
this.Flag = player_data.flag;
this.Trysee = player_data.trysee;
this.Points = player_data.points;
this.Link = decodeURIComponent(player_data.link);
this.PlayFrom = player_data.from;
this.PlayNote = player_data.note;
this.PlayServer = player_data.server == 'no' ? '' : player_data.server;
this.PlayUrl = player_data.url;
this.PlayUrlNext = player_data.url_next;
this.PlayLinkNext = player_data.link_next;
this.PlayLinkPre = player_data.link_pre;
this.Id = player_data.id;
this.Sid = player_data.sid;
this.Nid = player_data.nid;
if (MacPlayerConfig.server_list[this.PlayServer] != undefined) {
this.PlayServer = MacPlayerConfig.server_list[this.PlayServer].des
}
if (MacPlayerConfig.player_list[this.PlayFrom] != undefined) {
if (MacPlayerConfig.player_list[this.PlayFrom].ps == "1") {
this.Parse = MacPlayerConfig.player_list[this.PlayFrom].parse == '' ? MacPlayerConfig.parse : MacPlayerConfig.player_list[this.PlayFrom].parse;
this.PlayFrom = 'parse'
}
}
this.Path = maccms.path + '/static/player/';
if (this.Flag == "down") {
MacPlayer.Down()
} else {
MacPlayer.Play()
}
}
};
MacPlayer.Init();

View File

@@ -0,0 +1,7 @@
var MacPlayerConfig={};
//参数开始
MacPlayerConfig={"width":"100%","height":"100%","widthmob":"100%","heightmob":"100%","widthpop":"0","heightpop":"600","second":"0","prestrain":"","buffer":"","parse":"","autofull":"0","showtop":"1","showlist":"1","flag":"0","colors":"000000,F6F6F6,F6F6F6,333333,666666,FFFFF,FF0000,2c2c2c,ffffff,a3a3a3,2c2c2c,adadad,adadad,48486c,fcfcfc"};
//参数结束
//缓存开始
MacPlayerConfig.player_list={"lzm3u8":{"show":"\u91cf\u5b50\u4e91\u64ad","des":"\u91cf\u5b50","ps":"1","parse":"\/bf\/?url="},"ffm3u8":{"show":"\u975e\u51e1\u4e91\u64ad","des":"\u975e\u51e1","ps":"1","parse":"\/bf\/?url="},"snm3u8":{"show":"\u516b\u6212\u4e91\u64ad","des":"\u7d22\u5c3c","ps":"1","parse":"\/bf\/?url="},"hnm3u8":{"show":"\u7ea2\u725b\u4e91\u64ad","des":"\u7ea2\u725b","ps":"1","parse":"\/bf\/?url="},"wjm3u8":{"show":"\u65e0\u5c3d\u4e91\u64ad","des":"\u65e0\u5c3d","ps":"1","parse":"\/bf\/?url="},"bfzym3u8":{"show":"\u66b4\u98ce\u4e91\u64ad","des":"\u66b4\u98ce","ps":"1","parse":"\/bf\/?url="},"fsm3u8":{"show":"\u98de\u901f\u4e91\u64ad","des":"\u98de\u901f","ps":"1","parse":"\/bf\/?url="},"leshi":{"show":"\u4e91\u64ad\u56db","des":"\u4e50\u89c6","ps":"1","parse":"\/bf\/?url="},"sdm3u8":{"show":"\u95ea\u7535\u4e91\u64ad","des":"\u95ea\u7535","ps":"1","parse":"\/bf\/?url="},"gsm3u8":{"show":"\u5149\u901f\u4e91\u64ad","des":"\u5149\u901f","ps":"1","parse":"\/bf\/?url="},"xgm3u8":{"show":"\u767e\u5ea6\u4e91\u64ad","des":"\u81ea\u5df1","ps":"1","parse":"\/bf\/?url="},"dplayer":{"show":"DPlayer-H5\u64ad\u653e\u5668","des":"dplayer.js.org","ps":"0","parse":""},"videojs":{"show":"videojs-H5\u64ad\u653e\u5668","des":"videojs.com","ps":"0","parse":""},"iva":{"show":"iva-H5\u64ad\u653e\u5668","des":"videojj.com","ps":"0","parse":""},"iframe":{"show":"iframe\u5916\u94fe\u6570\u636e","des":"iframe\u5916\u94fe\u6570\u636e","ps":"0","parse":""},"link":{"show":"\u5916\u94fe\u6570\u636e","des":"\u5916\u90e8\u7f51\u7ad9\u64ad\u653e\u94fe\u63a5","ps":"0","parse":""},"swf":{"show":"Flash\u6587\u4ef6","des":"swf","ps":"0","parse":""},"flv":{"show":"Flv\u6587\u4ef6","des":"flv","ps":"0","parse":""}},MacPlayerConfig.downer_list={"http":{"show":"http\u4e0b\u8f7d","des":"des\u63d0\u793a\u4fe1\u606f","ps":"0","parse":""},"xunlei":{"show":"xunlei\u4e0b\u8f7d","des":"des\u63d0\u793a\u4fe1\u606f","ps":"0","parse":""}},MacPlayerConfig.server_list={"server1":{"show":"\u6d4b\u8bd5\u670d\u52a1\u56681","des":"des\u63d0\u793a\u4fe1\u606f1"}};
//缓存结束

View File

@@ -0,0 +1,2 @@
MacPlayer.Html = '<iframe width="100%" height="100%" src="'+MacPlayer.Parse + MacPlayer.PlayUrl+'" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" msallowfullscreen="msallowfullscreen" oallowfullscreen="oallowfullscreen" webkitallowfullscreen="webkitallowfullscreen" security="restricted" sandbox="allow-same-origin allow-forms allow-scripts"></iframe>';
MacPlayer.Show();