debug
This commit is contained in:
@@ -15,30 +15,74 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
{block name="description"}{site:replace code="VIDEO@GETSEARCHVIDEO@DESCRIPTION"}{/block}
|
||||
|
||||
|
||||
|
||||
{block name="head"}
|
||||
<meta property="og:title" content="动作电影 - 第1页 - 大地影视搜索">
|
||||
<meta property="og:description" content="大地影视搜索动作电影 第1页,最新视频免费观看,免费视频,热门影视,视频网站,访问video1.com发现更多!">
|
||||
<meta property="og:image" content="https://video1.com/img/search.webp">
|
||||
<meta property="og:url" content="https://video1.com/search?q=动作电影&page=1">
|
||||
<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="大地影视">
|
||||
<meta property="og:site_name" content='{$DomainModel->d_name}'>
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="动作电影 第1页 - 大地影视">
|
||||
<meta name="twitter:description" content="搜索动作电影 第1页,大地影视提供最新视频,免费视频,热门影视,视频网站,立即访问video1.com!">
|
||||
<meta name="twitter:image" content="https://video1.com/img/search.webp">
|
||||
<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">
|
||||
[
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "SearchResultsPage",
|
||||
"name": "{strSearchKeywords} 第{intPage}页",
|
||||
"url": "https://{strSiteDomain}/search?q={strSearchKeywords}&page={intPage}",
|
||||
"description": "{strSiteName}搜索{strSearchKeywords} 第{intPage}页,最新视频免费观看"
|
||||
"@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>
|
||||
]
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -72,6 +116,9 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
|
||||
{foreach $resData.data as $key=>$Video}
|
||||
<li class="active clearfix">
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<div class="thumb"><a
|
||||
|
||||
class="v-thumb stui-vodlist__thumb lazyload-bg"
|
||||
@@ -166,7 +213,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
v_parent_category_en="dian-ying"
|
||||
sort_type="total"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{include file="public/video-list-phb" start="11"/}
|
||||
{/video:ranklist}
|
||||
|
||||
|
||||
@@ -187,7 +234,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
|
||||
v_parent_category_en="dian-shi-ju"
|
||||
sort_type="total"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" /}
|
||||
{include file="public/video-list-phb" start="31"/}
|
||||
{/video:ranklist}
|
||||
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user