Files
SEONexus/code/app/home/view/haoZi/basePc.html
2025-04-30 14:50:12 +08:00

131 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
{block name="get-data"}{/block}
<meta charset="utf-8">
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{block name="title"}{/block}</title>
<meta name="keywords" content='{block name="keywords"}{/block}'>
<meta name="description" content='{block name="description"}{/block}'>
<link rel="icon" href="/template/kuangyu/public/img/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href='/template/haozi/book_pc/css/common.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' />
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
{block name="head"}{/block}
{block name="head-css"}{/block}
{block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head>
<!-- 接收子模板传递的 active_nav -->
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<div class="ywtop">
<div class="ywtop_con">
<div class="topbar">
<ul>
{if $DomainModel->info_id > 0}
<li class='{if $strPageCode == "home"}home{/if}'>
<a href="{$strPcPath}/">首 页</a>
</li>
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
{else}
<li class='{if $strPageCode == "home"}home{/if}'>
<a href="{$strPcPath}/">首 页</a>
</li>
{/if}
<li id="home"><a href="{$strPcPath}/">首页</a></li>
<li><a href='{$strPcPath}{site:rankurl status="all" order="total" page="1"/}'>总排行</a></li>
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="tuijian" page="1"/}'>总推荐</a></li>
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="news" page="1"/}'>最新入库</a></li>
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="update" page="1"/}'>最新更新</a></li>
<li><a href="{$strPcPath}{$strHistoryUrlTemp}" >阅读记录</a></li>
<li id="bookcase"><a href="{$strPcPath}{$strBookShelfUrlTemp}" >您的书架</a></li>
</ul>
</div>
</div>
</div>
<div class="header">
<div class="header_logo"><a href="{$strPcPath}/">{$DomainModel->d_name}</a>
<p>{$DomainModel->d_domain}</p>
</div>
<div class="header_search">
<form style="margin:0;padding:0;" action="{$strPcPath}{$strSearchIndexUrlTemp}" method="get">
<!-- <input type="hidden" name="searchtype" value="all"> -->
<input class="search" id="bdcsMain" name="keyword" type="text" maxlength="30" value="可搜书名和作者,请您少字也别输错字。"
title="请正确输入"
onfocus="this.style.color = '#000000';this.focus();if(this.value=='可搜书名和作者,请您少字也别输错字。'){this.value='';}"
ondblclick="javascript:this.value=''">
<input type="submit" class="searchBtn" value="搜索" title="搜索">
</form>
</div>
<div class="userpanel">
<p><a href='{$strPcPath}{site:rankurl status="all" order="daily" page="1"/}'>日排行</a>
<a href='{$strPcPath}{site:rankurl status="all" order="weekly" page="1"/}'>周排行</a>
<a href='{$strPcPath}{site:rankurl status="all" order="monthly" page="1"/}'>月排行</a></p>
</div>
</div>
<div class="clear"></div>
<div class="nav">
<ul>
{if $DomainModel->info_id > 0}
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">首 页</a></li>
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
{else}
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">{$DomainModel->d_name}首页</a></li>
{/if}
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
<li class='{if $strPageCode == "library" && $strCategoryPinyin == $Request.route.strCategory }active_nav_btn{/if}'>
<a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>
{$strCategoryName}
</a>
</li>
{/novel:category}
<li><a href='{$strPcPath}{site:nflurl category="all" status="wanjie" order="all" page="1"/}'>完本榜</a></li>
</ul>
</div>
{block name="main"} {/block}
{block name="customize-footer-after"}{/block}
{include file="pc/public/footer" /}
{block name="customize"}{/block}
<script>
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
</script>
<script src="/public/jquery/jquery-3.7.1.min.js"></script>
<script src="/public/layer/layer.js"></script>
<script src="/public/lazyload/jquery.lazyload.min.js"></script>
<script src='/template/haozi/public/js/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
{block name="footer-js"}{/block}
<!-- 全局统计 -->
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
<!-- 单站统计 -->
{$DomainModel->d_statis|raw}
</body>
</html>