按seo需求更改站点地图

This commit is contained in:
make
2025-07-05 15:55:56 +08:00
parent 60c965f0c0
commit 3586074c25
30 changed files with 1554 additions and 69 deletions

View File

@@ -9,17 +9,40 @@ use app\services\SiteContext;
use think\facade\Route;
Route::get('/article/fenlei/:category', function (\think\Request $Request, SiteContext $SiteContext) {
return view('test/test01/index.html');
});
// Route::get('/article/fenlei/:category', function (\think\Request $Request, SiteContext $SiteContext) {
// return view('test/test01/index.html');
// });
/**
* Sitemap
* robots
*/
Route::get('/robots', function (\think\Request $Request, SiteContext $SiteContext) {
return view('sitemap/robots.txt');
})->ext('txt');
/**
* Sitemap
*/
Route::get('/sitemap', function (\think\Request $Request, SiteContext $SiteContext) {
return view('video/getMap.html');
})->ext('html');
/**
* /rss/baidu
*/
Route::get('rss/baidu', function () {
return view('rss/baidu.xml')
->contentType('text/xml');
})->ext('xml');
/**
* /rss/so
*/
Route::get('rss/so', function () {
return view('rss/so.xml')
->contentType('text/xml');
})->ext('xml');
/**
* Sitemap 索引文件
*/
@@ -67,6 +90,14 @@ Route::get('/sitemap-chapters-:page', function (\think\Request $Request, SiteCon
// return view('sitemap/sitemap-chapters.xml');
})->ext('xml');
/**
* 视频详情页面。
*/
Route::get('/sitemap-videos-:page', function (\think\Request $Request, SiteContext $SiteContext) {
return $SiteContext->getSiteMapByCode('VIDEO');
// return view('sitemap/sitemap-books.xml');
})->ext('xml');
/**
* 搜索首页
@@ -680,26 +711,26 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
case 'search':
//搜素
// $strView = 'pc/getSearchNovel.html';
// if ($platform == 'h5') {
// $strView = 'novel/getSearchNovel.html';
// }
// Route::get($strRoute, function () use ($strView) {
// return view($strView);
// })->ext('html');
// break;
$strView = 'pc/getSearchNovel.html';
if ($platform == 'h5') {
$strView = 'novel/getSearchNovel.html';
}
Route::get($strRoute, function () use ($strView) {
return view($strView);
})->ext('html');
break;
// 首页
if ($platform == 'h5') {
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
return view($SiteContext->getHomeView('h5'));
});
} else {
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
return view($SiteContext->getHomeView('pc'));
});
}
break;
// if ($platform == 'h5') {
// Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
// return view($SiteContext->getHomeView('h5'));
// });
// } else {
// Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
// return view($SiteContext->getHomeView('pc'));
// });
// }
// break;
case 'user':
//用户中心

View File

@@ -35,19 +35,15 @@
我们会在3个工作日内删除侵权内容谢谢。</p>
<p>{$DomainModel->d_name}是一个优质影视资源网站,免费提供最新电影、热播电视剧、综艺节目、动漫、短剧等影视作品在线观看,看电影追剧首选{$DomainModel->d_name}。</p>
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
<p class="hidden-xs">
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
<a href="/robots.txt" target="_blank">网站地图</a>
{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>
{/ad:list}
<!-- <a target="_blank" href="/rss.xml">RSS订阅</a><span class="split-line"></span><a
target="_blank" href="/rss/baidu.xml">百度蜘蛛</a><span class="split-line"></span><a
target="_blank" href="/rss/google.xml">谷歌地图</a><span class="split-line"></span><a
target="_blank" href="/rss/bing.xml">必应地图</a><span class="split-line"></span><a
target="_blank" href="/rss/so.xml">360地图</a><span class="split-line"></span><a
target="_blank" href="/rss/sogou.xml">搜狗地图</a> -->
<p class="">
<a href="/sitemap.html" target="_blank">网站地图</a>
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
</p>
<p class="margin-0">Copyright © 2008-2023 by {$DomainModel->d_name} 统计代码</p>
</div>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex>
{video:list count="1000"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<sitemap>
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
<lastmod>{$Video.v_publish_date}</lastmod>
</sitemap>
{/video:list}
</sitemapindex>

View File

@@ -0,0 +1,152 @@
{extend name="base" /}
{block name="get-data"}
{video:pagerexp page="$Request.get.page" limit="12"
key="$Request.get.keyword"
d_key="d_key"
d_val="Video"
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
{block name="head"}
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
<meta property="og:type" content="website">
<meta property="og:site_name" content='{$DomainModel->d_name}'>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
{// 结构化数据}
<script type="application/ld+json">
[
{
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
"potentialAction": {
"@type": "SearchAction",
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
"query-input": "required name=search_term_string"
}
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{volist name="resData.data" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem",
"position": {$key},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
{if $strActorKey < 5 }
{ "@type": "Person", "name": "{$strActor}" },
{/if}
{/foreach}
],
"numberOfEpisodes": {$Video.v_play_url|count},
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{$Video.v_score}",
}
}
},
{/if}
{/volist}
]
}
}
]
</script>
{/block}
{block name="head-css"}
{/block}
{block name="head-js"}
{/block}
{block name="main"}
<div class="container">
<div class=" layout-box top-weizhi hidden-xs">
<label>当前位置:</label>
<a href="/">{$DomainModel->d_name}</a><i>&gt;</i><a href="/sitemap.html">网站地图</a>
</div>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<div class=" layout-box">
<div class="box-title">
<!-- <span class="title-lb"></span> -->
<h2>
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
</h2>
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
<span class=" iconfont icon-weizhi"></span>
更多
<i>&gt;
</i>
</a>
</div>
<div class=" sitemap">
<ul class=" clearfix">
<li class=" title"><span class=" text-color">类型</span></li>
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li>
<a target="_blank"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
title="{$arrChildrenCategory.v_category}">
{$arrChildrenCategory.v_category}
</a>
</li>
{/foreach}
</ul>
</div>
</div>
{/video:categorytype}
</div>
<!-- <script
type="text/javascript">
var wdkey = /哪吒/g; var wd = $('#searchList'); wd[0].innerHTML = wd[0].innerHTML.replace(wdkey, "<font color=red>哪吒</font>");
</script> -->
{/block}
{block name="customize"}
{/block}

View File

@@ -2,9 +2,7 @@
<div class="container">
<div id="firendlink">
<img src="/template/videodadi/icon/icon_26.png" style="width:20px">友情连接:
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
<a href="/robots.txt" target="_blank">网站地图</a>
{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>
@@ -13,8 +11,19 @@
</div>
<div class="container">
<div class="row">
<div class="text-center col-pd">
<a href="/sitemap.html" target="_blank">网站地图</a>
-
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
-
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
-
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
</div>
<div class="stui-foot clearfix">
<div class="col-pd text-center hidden-xs">Copyright
<span class="fontArial"></span> 2009-2013

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex>
{video:list count="1000"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<sitemap>
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
<lastmod>{$Video.v_publish_date}</lastmod>
</sitemap>
{/video:list}
</sitemapindex>

View File

@@ -0,0 +1,144 @@
{extend name="base" /}
{block name="get-data"}
{video:pagerexp page="$Request.get.page" limit="10"
key="$Request.get.keyword"
d_key="d_key"
d_val="Video"
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
{block name="head"}
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
<meta property="og:type" content="website">
<meta property="og:site_name" content='{$DomainModel->d_name}'>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
{// 结构化数据}
<script type="application/ld+json">
[
{
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
"potentialAction": {
"@type": "SearchAction",
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
"query-input": "required name=search_term_string"
}
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{volist name="resData.data" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem",
"position": {$key},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
{if $strActorKey < 5 }
{ "@type": "Person", "name": "{$strActor}" },
{/if}
{/foreach}
],
"numberOfEpisodes": {$Video.v_play_url|count},
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{$Video.v_score}",
}
}
},
{/if}
{/volist}
]
}
}
]
</script>
{/block}
{block name="head-css"}
{/block}
{block name="head-js"}
{/block}
{block name="main"}
<div class="container">
<div class=" layout-box top-weizhi hidden-xs">
<label>当前位置:</label>
<a href="/">{$DomainModel->d_name}</a><i>&gt;</i><a href="/sitemap.html">网站地图</a>
</div>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<div class=" layout-box">
<div class="box-title">
<!-- <span class="title-lb"></span> -->
<h2>
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
</h2>
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
<span class=" iconfont icon-weizhi"></span>
更多
<i>&gt;
</i>
</a>
</div>
<div class=" sitemap">
<ul class=" clearfix">
<li class=" title"><span class=" text-color">类型</span></li>
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li>
<a target="_blank"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
title="{$arrChildrenCategory.v_category}">
{$arrChildrenCategory.v_category}
</a>
</li>
{/foreach}
</ul>
</div>
</div>
{/video:categorytype}
</div>
{/block}
{block name="customize"}
{/block}

View File

@@ -12,6 +12,15 @@
<div class="f9bdb5 lvshicms-panel_bd clearfix">
<div class="f358be col-xs-1">
<ul class="a085fb lvshicms-link__text clearfix">
<li>
{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>
{/ad:list}
</li>
</ul>
</div>
</div>
@@ -21,19 +30,18 @@
<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/so.xml" target="_blank">360Sitemap</a>
<a href="/rss/google.xml" target="_blank">谷歌Sitemap</a> -->
<a href="/sitemap.html" target="_blank">网站地图</a>
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
<a href="/rss/so.xml" target="_blank">360Sitemap</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>
{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>
{/ad:list}
</p>
<p>Copyright © 2025 {$DomainModel->d_name} <a href="/"> {$DomainModel->d_domain}</a>All Rights Reserved .</p>
<p>Copyright © 2025 {$DomainModel->d_name} <a href="/"> {$DomainModel->d_domain}</a>All Rights
Reserved .</p>
<p>若本站收录内容侵犯了您的权益,请给我们留言,本站将第一时间处理。</p>
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
</div>
@@ -44,6 +52,4 @@
<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>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex>
{video:list count="1000"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<sitemap>
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
<lastmod>{$Video.v_publish_date}</lastmod>
</sitemap>
{/video:list}
</sitemapindex>

View File

@@ -0,0 +1,130 @@
{extend name="base" /}
{block name="get-data"}
{video:pagerexp page="$Request.get.page" limit="12"
key="$Request.get.keyword"
d_key="d_key"
d_val="Video"
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
{block name="head"}
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
<meta property="og:type" content="website">
<meta property="og:site_name" content='{$DomainModel->d_name}'>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
{// 结构化数据}
<script type="application/ld+json">
[
{
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
"potentialAction": {
"@type": "SearchAction",
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
"query-input": "required name=search_term_string"
}
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{volist name="resData.data" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem",
"position": {$key},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
{if $strActorKey < 5 }
{ "@type": "Person", "name": "{$strActor}" },
{/if}
{/foreach}
],
"numberOfEpisodes": {$Video.v_play_url|count},
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{$Video.v_score}",
}
}
},
{/if}
{/volist}
]
}
}
]
</script>
{/block}
{block name="head-css"}
{/block}
{block name="head-js"}
{/block}
{block name="main"}
<div class="container" style="margin-top:10px;">
<div class="edefe3 row">
<div class="dcb1bd lvshicms-panel active lvshicms-panel-bg2 clearfix">
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<div class="c063e4 lvshicms-panel-box clearfix">
<div class="a88e6a lvshicms-panel_hd">
<div class="f8f350 lvshicms-panel__head active bottom-line clearfix">
<h3 class="d5bf9a title"> {$val.v_category} </h3>
</div>
</div>
<div class="f7e283 lvshicms-panel_bd">
<ul class="dc4581 lvshicms-screen__list clearfix" data-align="left">
<li> <a class="fbe3e6 btn text-muted">类型</a> </li>
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li>
<a target="_blank" class="dc501b btn"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
title="{$arrChildrenCategory.v_category}">
{$arrChildrenCategory.v_category}
</a>
</li>
{/foreach}
</ul>
</div>
</div>
{/video:categorytype}
</div>
</div>
</div>
{/block}
{block name="customize"}
{/block}

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>

View File

@@ -1,23 +1,25 @@
<footer class="eef3f2 footer text-center">
<div class="a73f1c footer-nav hidden-xs">
<!-- <a rel="nofollow" href="/map.html" target="_blank">网站地图</a>
-
<a href="/rss/index.xml" target="_blank">RSS地图</a>
友情链接:
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
{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>
{/ad:list}
</div>
<div class="a73f1c footer-nav hidden-xs">
<a href="/sitemap.html" target="_blank">网站地图</a>
-
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
-
<a href="/rss/so.xml" target="_blank">360Sitemap</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>
{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>
{/ad:list}
</div>
<p>Copyright © 2020-2025 <b style=" font:Verdana, Arial, Helvetica, sans-serif"><a href="/">
<font color="#CC0000">{$DomainModel->d_domain}</font>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex>
{video:list count="1000"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<sitemap>
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
<lastmod>{$Video.v_publish_date}</lastmod>
</sitemap>
{/video:list}
</sitemapindex>

View File

@@ -0,0 +1,146 @@
{extend name="base" /}
{block name="get-data"}
{video:pagerexp page="$Request.get.page" limit="12"
key="$Request.get.keyword"
d_key="d_key"
d_val="Video"
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
{block name="head"}
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
<meta property="og:type" content="website">
<meta property="og:site_name" content='{$DomainModel->d_name}'>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
{// 结构化数据}
<script type="application/ld+json">
[
{
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
"potentialAction": {
"@type": "SearchAction",
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
"query-input": "required name=search_term_string"
}
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{volist name="resData.data" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem",
"position": {$key},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
{if $strActorKey < 5 }
{ "@type": "Person", "name": "{$strActor}" },
{/if}
{/foreach}
],
"numberOfEpisodes": {$Video.v_play_url|count},
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{$Video.v_score}",
}
}
},
{/if}
{/volist}
]
}
}
]
</script>
{/block}
{block name="head-css"}
{/block}
{block name="head-js"}
{/block}
{block name="main"}
<div class="f80005 container">
<div class="e91676 layout-box top-weizhi hidden-xs">
<label>当前位置:</label>
<a href="/">{$DomainModel->d_name}</a><i>&gt;</i><a href="/sitemap.html">网站地图</a>
</div>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<div class="dc6728 layout-box">
<div class="d55ed1 box-title"><span class="b5ed19 title-lb"></span>
<h2>
<a class="b9bf12 font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
</h2>
<a class="a52c60 box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
<span class="b04569 iconfont icon-weizhi"></span>
更多
<i>&gt;
</i>
</a>
</div>
<div class="fca2e8 sitemap">
<ul class="be9825 clearfix">
<li class="c8d228 title"><span class="b41d2c text-color">类型</span></li>
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li>
<a target="_blank"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
title="{$arrChildrenCategory.v_category}">
{$arrChildrenCategory.v_category}
</a>
</li>
{/foreach}
</ul>
</div>
</div>
{/video:categorytype}
</div>
{/block}
{block name="customize"}
{/block}

View File

@@ -1,4 +1,28 @@
<div class="container">
<div class="a73f1c footer-nav hidden-xs text-center col-pd">
友情链接:
{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>
{/ad:list}
</div>
<div class="a73f1c footer-nav hidden-xs text-center col-pd">
<a href="/sitemap.html" target="_blank">网站地图</a>
-
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
-
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
-
<a href="/sitemap_index.xml" target="_blank">XML网站地图</a>
{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>
{/ad:list}
</div>
<div class="row">
<div class="stui-foot clearfix">
<div class="col-pd text-center hidden-xs">Copyright by<span class="fontArial"></span> 2009-2023

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex>
{video:list count="1000"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<sitemap>
<loc>https://www.{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</loc>
<lastmod>{$Video.v_publish_date}</lastmod>
</sitemap>
{/video:list}
</sitemapindex>

View File

@@ -0,0 +1,146 @@
{extend name="base" /}
{block name="get-data"}
{video:pagerexp page="$Request.get.page" limit="12"
key="$Request.get.keyword"
d_key="d_key"
d_val="Video"
p_val="page_data" button_num="5" cache_life="3600" func="generateSearchPager" export_name="resData" /}
{site:grm page_code="h5_video_search" diff="0" num="30" g_key="arrGrm" /}
{/block}
{block name="title"}{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}{/block}
{block name="keywords"}{site:replace code="VIDEO@GETSEARCHVIDEO@KEYWORDS"}{/block}
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
{block name="head"}
<meta property="og:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta property="og:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta property="og:url" content='https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}'>
<meta property="og:type" content="website">
<meta property="og:site_name" content='{$DomainModel->d_name}'>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content='{site:replace code="VIDEO@GETSEARCHVIDEO@TITLE"}'>
<meta name="twitter:description" content='{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}'>
<meta name="twitter:image:alt" content="动作电影 搜索结果第1页">
{// 结构化数据}
<script type="application/ld+json">
[
{
"@type": "WebSite",
"name": "{$DomainModel->d_name}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": "{site:replace code="VIDEO@INDEX@INDEX@DESCRIPTION"}",
"potentialAction": {
"@type": "SearchAction",
"target": 'https://{$DomainModel->d_domain}{site:vsurl key="search_term_string" p="1"/}',
"query-input": "required name=search_term_string"
}
},
{
"@type": "CollectionPage",
"name": "{$DomainModel->d_name} - {$DomainModel->d_logo_text}",
"url": "https://{$DomainModel->d_domain}",
"alternateName": "{$DomainModel->d_domain}",
"description": '{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}',
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{volist name="resData.data" id="Video" key="key"}
{if $key < 5 }
{
"@type": "ListItem",
"position": {$key},
"item": {
"@type": "Movies",
"name": "{$Video.v_name}",
"url": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}',
"description": "{$Video.v_description}",
"actor": [
{foreach $Video.v_actor as $strActorKey=>$strActor }
{if $strActorKey < 5 }
{ "@type": "Person", "name": "{$strActor}" },
{/if}
{/foreach}
],
"numberOfEpisodes": {$Video.v_play_url|count},
"image": "{$Video.v_pic}",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{$Video.v_score}",
}
}
},
{/if}
{/volist}
]
}
}
]
</script>
{/block}
{block name="head-css"}
{/block}
{block name="head-js"}
{/block}
{block name="main"}
<div class="container">
<div class=" layout-box top-weizhi hidden-xs">
<label>当前位置:</label>
<a href="/">{$DomainModel->d_name}</a><i>&gt;</i><a href="/sitemap.html">网站地图</a>
</div>
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<div class=" layout-box">
<div class="box-title">
<!-- <span class="title-lb"></span> -->
<h2>
<a class=" font16" href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
</h2>
<a class=" box-more pull-right" href='{site:vciurl parent_category="$val.v_category_en" /}' title="{$val.v_category}">
<span class=" iconfont icon-weizhi"></span>
更多
<i>&gt;
</i>
</a>
</div>
<div class=" sitemap">
<ul class=" clearfix">
<li class=" title"><span class=" text-color">类型</span></li>
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
<li>
<a target="_blank"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"}'
title="{$arrChildrenCategory.v_category}">
{$arrChildrenCategory.v_category}
</a>
</li>
{/foreach}
</ul>
</div>
</div>
{/video:categorytype}
</div>
{/block}
{block name="customize"}
{/block}

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>{$DomainModel->d_name}</title>
<description>{$DomainModel->d_description}</description>
<link>www.{$DomainModel->d_domain}</link>
<language>zh-cn</language>
<docs>{$DomainModel->d_name}</docs>
<generator>Rss Powered By www.{$DomainModel->d_domain}</generator>
{video:list count="30"
v_category_en="all"
v_lang_en="all"
v_area_en="all"
v_year="all"
sort_type="news"
d_key="d_key" d_val="Video" cache_life="86400"}
<item>
<title>
<?php echo html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8'); ?> {$Video.v_remarks}
</title>
<link>https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}</link>
<author>
{volist name='$Video.v_actor' id='vo' key='index'}
{$vo} ,
{/volist}
</author>
<pubDate>{$Video.v_publish_date}</pubDate>
<description><![CDATA[
<?php
echo '《' . html_entity_decode($Video['v_name'], ENT_QUOTES | ENT_XML1, 'UTF-8') . '》'
. html_entity_decode($Video['v_description'], ENT_QUOTES | ENT_XML1, 'UTF-8');
?>
]]></description>
</item>
{/video:list}
</channel>
</rss>