mirror of https://github.com/1099438829/apeblog
修正一些主题的bug
This commit is contained in:
parent
713054fbea
commit
0119edb22d
|
|
@ -199,7 +199,7 @@ class Zz extends TagLib{
|
|||
}
|
||||
|
||||
/**
|
||||
* tagAdvert
|
||||
* tagAdvert 广告
|
||||
* @param $tag
|
||||
* @param $content
|
||||
* @return string
|
||||
|
|
|
|||
|
|
@ -3,13 +3,16 @@
|
|||
// +----------------------------------------------------------------------
|
||||
use think\facade\Db;
|
||||
use think\Exception;
|
||||
|
||||
// 应用公共文件
|
||||
/**
|
||||
* 中文字符截取
|
||||
*/
|
||||
function cn_substr($str,$len){
|
||||
function cn_substr($str, $len)
|
||||
{
|
||||
return mb_substr($str, 0, $len, 'utf-8');
|
||||
}
|
||||
|
||||
/**
|
||||
* 时间戳格式化
|
||||
*/
|
||||
|
|
@ -19,15 +22,18 @@ function cn_substr($str,$len){
|
|||
/**
|
||||
* 过滤html标签
|
||||
*/
|
||||
function html2text($str){
|
||||
function html2text($str)
|
||||
{
|
||||
return strip_tags($str);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取文章分类的内容
|
||||
* $id=文章id
|
||||
* $strip=true过滤html
|
||||
*/
|
||||
function get_type_content($id,$strip=false){
|
||||
function get_type_content($id, $strip = false)
|
||||
{
|
||||
$dc = \app\common\model\DocumentCategoryContent::find($id);
|
||||
if (!$dc) {
|
||||
return '';
|
||||
|
|
@ -37,10 +43,12 @@ function get_type_content($id,$strip=false){
|
|||
}
|
||||
return $dc['content'];
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取文章分类
|
||||
*/
|
||||
function get_document_category_list(){
|
||||
function get_document_category_list()
|
||||
{
|
||||
//缓存文章菜单
|
||||
$documentCategory = cache('DATA_DOCUMENT_CATEGORY_LIST');
|
||||
if ($documentCategory === null) {
|
||||
|
|
@ -61,7 +69,8 @@ function get_document_category_list(){
|
|||
/**
|
||||
* 获取一个文章分类
|
||||
*/
|
||||
function get_document_category($x,$field=false){
|
||||
function get_document_category($x, $field = false)
|
||||
{
|
||||
if (!$x) {
|
||||
throw new Exception('请指定要获取的栏目分类id!');
|
||||
}
|
||||
|
|
@ -72,8 +81,7 @@ function get_document_category($x,$field=false){
|
|||
}
|
||||
if ($field) {
|
||||
return $documentCategoryList[$x][$field];
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
return $documentCategoryList[$x];
|
||||
}
|
||||
}
|
||||
|
|
@ -81,7 +89,8 @@ function get_document_category($x,$field=false){
|
|||
/**
|
||||
* 获取一个文章分类-通个分类标识
|
||||
*/
|
||||
function get_document_category_by_name($name,$field=false){
|
||||
function get_document_category_by_name($name, $field = false)
|
||||
{
|
||||
if (!$name) {
|
||||
throw new Exception('请指定要获取的栏目分类标识!');
|
||||
}
|
||||
|
|
@ -99,8 +108,7 @@ function get_document_category_by_name($name,$field=false){
|
|||
}
|
||||
if ($field) {
|
||||
return $documentCategory[$field];
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
return $documentCategory;
|
||||
}
|
||||
}
|
||||
|
|
@ -108,7 +116,8 @@ function get_document_category_by_name($name,$field=false){
|
|||
/**
|
||||
* 模板-获取文章分类
|
||||
*/
|
||||
function tpl_get_channel($type,$typeid,$row=100,$where='',$orderby='',$display=1){
|
||||
function tpl_get_channel($type, $typeid, $row = 100, $where = '', $orderby = '', $display = 1)
|
||||
{
|
||||
|
||||
switch ($type) {
|
||||
case 'top':
|
||||
|
|
@ -222,12 +231,14 @@ function tpl_get_channel($type,$typeid,$row=100,$where='',$orderby='',$display=1
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据父级分类id获取子分类
|
||||
* $pid=父级id
|
||||
* $row=获取多少数目
|
||||
*/
|
||||
function get_document_category_by_parent($pid,$row,$display=1){
|
||||
function get_document_category_by_parent($pid, $row, $display = 1)
|
||||
{
|
||||
$documentCategoryList = get_document_category_list();
|
||||
$x = 1;
|
||||
$tempArr = array();
|
||||
|
|
@ -242,12 +253,14 @@ function get_document_category_by_parent($pid,$row,$display=1){
|
|||
}
|
||||
return $tempArr;
|
||||
}
|
||||
|
||||
/**
|
||||
* 模板-获取上一篇和下一篇
|
||||
* $get=上一篇|下一篇
|
||||
* $cid=栏目分类id
|
||||
*/
|
||||
function tpl_get_prenext($get,$cid=false,$none){
|
||||
function tpl_get_prenext($get, $cid = false, $none)
|
||||
{
|
||||
//文档id
|
||||
$id = input('id');
|
||||
if (!$get) {
|
||||
|
|
@ -265,8 +278,7 @@ function tpl_get_prenext($get,$cid=false,$none){
|
|||
|
||||
if ($document) {
|
||||
$document['url'] = url('article/detail?id=' . $document['id'])->build();
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$document['id'] = false;
|
||||
$document['url'] = 'javascript:void(0)';
|
||||
$document['title'] = $none;
|
||||
|
|
@ -284,7 +296,8 @@ function tpl_get_prenext($get,$cid=false,$none){
|
|||
* $table=文章内容扩展表名,默认article
|
||||
* $where=自定义条件
|
||||
*/
|
||||
function tpl_get_list($orderby,$pagesize,$cid,$type,$table='article',$where=false,$display=1){
|
||||
function tpl_get_list($orderby, $pagesize, $cid, $type, $table = 'article', $where = false, $display = 1)
|
||||
{
|
||||
|
||||
$documentListModel = (new \app\common\model\Document())
|
||||
->alias('a')
|
||||
|
|
@ -308,8 +321,7 @@ function tpl_get_list($orderby,$pagesize,$cid,$type,$table='article',$where=fals
|
|||
$child = $dc['child'];
|
||||
if ($child) {
|
||||
$documentListModel = $documentListModel->where('a.category_id', 'in', "$cid,$child");
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$documentListModel = $documentListModel->where('a.category_id', $cid);
|
||||
}
|
||||
break;
|
||||
|
|
@ -342,8 +354,7 @@ function tpl_get_list($orderby,$pagesize,$cid,$type,$table='article',$where=fals
|
|||
$query = request()->query();
|
||||
if ($query) {
|
||||
$documentListModel = $documentListModel->paginate($pagesize, false, ['query' => getRouteQuery()]);
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$documentListModel = $documentListModel->paginate($pagesize);
|
||||
}
|
||||
$lists = [];
|
||||
|
|
@ -363,7 +374,8 @@ function tpl_get_list($orderby,$pagesize,$cid,$type,$table='article',$where=fals
|
|||
* 获得当前路由及参数列表
|
||||
* @return mixed
|
||||
*/
|
||||
function getRouteQuery(){
|
||||
function getRouteQuery()
|
||||
{
|
||||
$request = request();
|
||||
$queryArr = $request->param();
|
||||
$queryArr['s'] = $request->pathinfo();
|
||||
|
|
@ -373,14 +385,13 @@ function getRouteQuery(){
|
|||
/**
|
||||
* 根据栏目类型,生成栏目url
|
||||
*/
|
||||
function curl($item){
|
||||
function curl($item)
|
||||
{
|
||||
if ((int)$item['type'] == 0) {
|
||||
return url('article/lists?id=' . $item['id'])->build();
|
||||
}
|
||||
elseif((int)$item['type']==1){
|
||||
} elseif ((int)$item['type'] == 1) {
|
||||
return url('article/lists?id=' . $item['id'])->build();
|
||||
}
|
||||
elseif((int)$item['type']==2){
|
||||
} elseif ((int)$item['type'] == 2) {
|
||||
return $item['link_str'];
|
||||
}
|
||||
}
|
||||
|
|
@ -388,12 +399,12 @@ function curl($item){
|
|||
/**
|
||||
* 生成文章url
|
||||
*/
|
||||
function aurl($item){
|
||||
function aurl($item)
|
||||
{
|
||||
//根据栏目类型,生成栏目url
|
||||
if ($item['link_str']) {
|
||||
return $item['link_str'];
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
return url('article/detail?id=' . $item['id'])->build();
|
||||
}
|
||||
}
|
||||
|
|
@ -402,7 +413,8 @@ function aurl($item){
|
|||
/**
|
||||
* 模板-根据指定的文章id获取文章内容
|
||||
*/
|
||||
function tpl_get_article($id,$table){
|
||||
function tpl_get_article($id, $table)
|
||||
{
|
||||
$documentModel = \app\common\model\Document::alias('a')
|
||||
->join(config('database.prefix') . 'document_category b', 'a.category_id=b.id', 'LEFT')
|
||||
->join(config('database.prefix') . "document_$table c", 'a.id=c.id', 'LEFT')
|
||||
|
|
@ -430,7 +442,8 @@ function tpl_get_article($id,$table){
|
|||
* $type=读取数据的方式(son:'获取栏目下文章以及所有子孙分类文章',self:'获取栏目下文章',search:'获取关键字搜索的文章',where:'根据自定义条件获取文章(where语句)')
|
||||
* $where=自定义条件
|
||||
*/
|
||||
function tpl_get_article_list($cid,$row,$orderby,$table='article',$type='son',$where=false,$display=1,$ids=''){
|
||||
function tpl_get_article_list($cid, $row, $orderby, $table = 'article', $type = 'son', $where = false, $display = 1, $ids = '')
|
||||
{
|
||||
|
||||
$documentListModel = \app\common\model\Document::alias('a')
|
||||
->join(config('database.prefix') . 'document_category b', 'a.category_id=b.id', 'LEFT')
|
||||
|
|
@ -447,11 +460,10 @@ function tpl_get_article_list($cid,$row,$orderby,$table='article',$type='son',$w
|
|||
case 'find':
|
||||
//获取栏目下文章以及所有子孙分类文章
|
||||
$dc = get_document_category($cid);
|
||||
if (!empty($dc['child'])) {
|
||||
$child = $dc['child'];
|
||||
if($child){
|
||||
$documentListModel = $documentListModel->where('a.category_id', 'in', "$cid,$child");
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$documentListModel = $documentListModel->where('a.category_id', $cid);
|
||||
}
|
||||
break;
|
||||
|
|
@ -492,14 +504,16 @@ function tpl_get_article_list($cid,$row,$orderby,$table='article',$type='son',$w
|
|||
* $type=读取数据的方式(son:'获取栏目下文章以及所有子孙分类文章',self:'获取栏目下文章',search:'获取关键字搜索的文章',where:'根据自定义条件获取文章(where语句)')
|
||||
* $where=自定义条件
|
||||
*/
|
||||
function tpl_get_product_list($cid,$row,$orderby,$table='article',$type='son',$where=false,$display=1){
|
||||
function tpl_get_product_list($cid, $row, $orderby, $table = 'article', $type = 'son', $where = false, $display = 1)
|
||||
{
|
||||
return tpl_get_article_list($cid, $row, $orderby, 'product', $type, $where, $display);
|
||||
}
|
||||
|
||||
/**
|
||||
* 模板-友情链接
|
||||
*/
|
||||
function tpl_get_friend_link($type,$row){
|
||||
function tpl_get_friend_link($type, $row)
|
||||
{
|
||||
$flinkList = cache('DATA_FRIEND_LINK');
|
||||
if ($flinkList === null) {
|
||||
$flinkList = \app\common\model\FriendLink::where('status', 1)->order('sort asc')->limit($row)->select();
|
||||
|
|
@ -520,7 +534,8 @@ function tpl_get_friend_link($type,$row){
|
|||
/**
|
||||
* 模板-poster
|
||||
*/
|
||||
function tpl_get_banner($type,$row){
|
||||
function tpl_get_banner($type, $row)
|
||||
{
|
||||
$bannerList = cache('DATA_BANNER');
|
||||
if ($bannerList === null) {
|
||||
$bannerList = Db::name('slides')->where('status', 1)->order('sort asc')->limit($row)->select();
|
||||
|
|
@ -549,7 +564,8 @@ function tpl_get_banner($type,$row){
|
|||
* @author 李玉坤
|
||||
* @date 2021-07-26 23:24
|
||||
*/
|
||||
function tpl_get_advert($type,$row){
|
||||
function tpl_get_advert($type, $row)
|
||||
{
|
||||
$advertList = cache('DATA_BANNER');
|
||||
if ($advertList === null) {
|
||||
$advertList = Db::name('advert')->where('status', 1)->order('sort asc')->limit($row)->select();
|
||||
|
|
@ -568,8 +584,7 @@ function tpl_get_advert($type,$row){
|
|||
}
|
||||
|
||||
|
||||
if (!function_exists('web_config'))
|
||||
{
|
||||
if (!function_exists('web_config')) {
|
||||
/**
|
||||
* 获取系统配置值
|
||||
* @param string $formName
|
||||
|
|
@ -594,7 +609,8 @@ if (!function_exists('web_config'))
|
|||
/**
|
||||
* 模板-文章标签
|
||||
*/
|
||||
function tpl_get_tags_list($tags){
|
||||
function tpl_get_tags_list($tags)
|
||||
{
|
||||
if (!$tags) {
|
||||
return false;
|
||||
}
|
||||
|
|
@ -612,7 +628,8 @@ function tpl_get_tags_list($tags){
|
|||
/**
|
||||
* 模板-获取页面的面包屑导航
|
||||
*/
|
||||
function tpl_get_position($dc,$positionList=array()){
|
||||
function tpl_get_position($dc, $positionList = array())
|
||||
{
|
||||
array_push($positionList, $dc);
|
||||
if ($dc['pid'] == 0) {
|
||||
$htmlstr = '<a href="/">首页</a>';
|
||||
|
|
@ -662,6 +679,7 @@ function GetTopTypeimg($id=false)
|
|||
}
|
||||
return GetTopTypeimg($dc['pid']);
|
||||
}
|
||||
|
||||
//获取顶级栏目描述
|
||||
function GetTopDescription($id = false)
|
||||
{
|
||||
|
|
@ -673,6 +691,7 @@ function GetTopDescription($id=false)
|
|||
|
||||
return GetTopDescription($dc['pid']);
|
||||
}
|
||||
|
||||
//获取顶级英文名称
|
||||
function GetTopTypenameen($id = false)
|
||||
{
|
||||
|
|
@ -684,6 +703,7 @@ function GetTopTypenameen($id=false)
|
|||
|
||||
return GetTopTypenameen($dc['pid']);
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断当前页面是否在此栏目下
|
||||
* 主要用于菜单高亮
|
||||
|
|
@ -724,7 +744,8 @@ function IsActiveNav($curr_cid=false,$cid=false)
|
|||
|
||||
// 查看是否为手机端的方法
|
||||
//判断是手机登录还是电脑登录
|
||||
function ismobile() {
|
||||
function ismobile()
|
||||
{
|
||||
// 如果有HTTP_X_WAP_PROFILE则一定是移动设备
|
||||
if (isset ($_SERVER['HTTP_X_WAP_PROFILE']))
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class Article extends Base
|
|||
if(!is_file(config('view.view_path').'category/'.$listTmp)){
|
||||
$this->error('模板文件不存在!');
|
||||
}
|
||||
trace('列表页模板路径:'.config('view.view_path').'category/'.$listTmp,'debug');
|
||||
Log::info('列表页模板路径:'.config('view.view_path').'category/'.$listTmp);
|
||||
//文章兼容字段
|
||||
$dc['category_id']=$dc['id'];
|
||||
//判断seo标题是否存在
|
||||
|
|
@ -146,29 +146,6 @@ class Article extends Base
|
|||
return $this->fetch('article/'.$detailTmp);
|
||||
}
|
||||
|
||||
//自定义页面,可通过参数指定模板文件。完成完全自定义的文件输出。
|
||||
//可以输出html片段,甚至可以输出JSON
|
||||
//参数指定的模板文件必须位于模板文件夹下,且以content_开头,以.htm拓展名结尾
|
||||
public function content()
|
||||
{
|
||||
$zzField=input();
|
||||
if(!isset($zzField['tpl'])){
|
||||
$this->error('没有指定模板文件!');
|
||||
}
|
||||
//将参数传递到模板页面
|
||||
$this->assign('zzField',$zzField);
|
||||
//模板兼容性标签
|
||||
$this->assign('id',false);
|
||||
$this->assign('cid',false);
|
||||
//读取模板配置,获得模板后缀名
|
||||
$view_suffix=config('view.view_suffix');
|
||||
Log::info('详情页模板路径:'.config('view.view_path').'article/'.'content_'.$zzField['tpl'].'.'.$view_suffix);
|
||||
cache('curr_category_patent_id',false);
|
||||
$detailTmp = substr($detailTmp,0,strpos($detailTmp,'.'));
|
||||
return $this->fetch('article/'.$detailTmp);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
//文章标签页面
|
||||
public function tag()
|
||||
{
|
||||
|
|
@ -193,7 +170,8 @@ class Article extends Base
|
|||
//模板兼容性标签
|
||||
$this->assign('id',false);
|
||||
$this->assign('cid',false);
|
||||
return $this->fetch();
|
||||
$view_suffix=config('view.view_suffix');
|
||||
return $this->fetch('tag.'.$view_suffix);
|
||||
}
|
||||
|
||||
//搜索页面
|
||||
|
|
@ -219,6 +197,10 @@ class Article extends Base
|
|||
//模板兼容性标签
|
||||
$this->assign('id',false);
|
||||
$this->assign('cid',false);
|
||||
$template = config('view.view_path').'article/search.html';
|
||||
if(!is_file($template)){
|
||||
$this->error('模板文件不存在!');
|
||||
}
|
||||
return $this->fetch();
|
||||
}
|
||||
}
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
<html lang="zh">
|
||||
<head>
|
||||
<title>{$zzField['title']} - {:web_config("title")}</title>
|
||||
<meta name="keywords" content="{$zzField['keywords']}">
|
||||
<meta name="description" content="{$zzField['description']}">
|
||||
<meta name="keywords" content="{$zzField['keywords']}" />
|
||||
<meta name="description" content="{$zzField['description']}"/>
|
||||
|
||||
{include file="public/head" /}
|
||||
<link rel="stylesheet" href="__LIB__/nprogress/nprogress.min.css">
|
||||
|
|
@ -528,145 +528,24 @@
|
|||
</div>
|
||||
<div class="sidebar">
|
||||
<div class="sidebar-box-list">
|
||||
<div class="aside-box"><h2 class="widget-title">热门文章</h2>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">热门文章</h2>
|
||||
{zz:arclist row="8" orderby="view desc" type="where"}
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
1 </span>
|
||||
<span class="hot-post-widget-item-num">{$i}</span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-om-order-table/index1.html"> oracle-EBS甲骨文销售订单下单发放挑库发运(销售到出货全过程)主要相关表(多图)</a>
|
||||
<a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>{$field['create_time']}</div>
|
||||
<div>
|
||||
2020-12-09
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-om/index.html"> Oracle-OM-销售物流</a>
|
||||
<a href="#">{:cn_substr($field['category_title'],5)}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
2 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../decoration-erp/index.html"> 某家装公司项目管理软件系统的设计思路</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2021-03-24
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/talk/index.html"> 学习笔记</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
3 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oaworkflowapprove/index1.html"> 常见企业OA办公审批流、工作流实现层级审批、层层签核的方式</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2021-02-28
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/sql-server/index.html"> sql-server</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
4 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-pur-inventory-table/index1.html"> oracle-EBS-采购单创建接收检验入库经历主要表(多图)</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-13
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-pur-prod/index.html"> Oracle-PROD-采购生产</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
5 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-pl-sql-ap-podetial/index.html"> oracle-EBS-PL/sql AP 发票中匹配的po明细按发票</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2021-03-07
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-finance/index.html"> Oracle-Finance-财务</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
6 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-pl-sql-price-list/index.html"> oracle EBS PL/sql 查看销售订单的价目表Price List</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-13
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-pl-sql/index.html"> Oracle-PL/SQL</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
7 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-om-confirm-transferto-ar/index.html"> oracle-EBS-PL/sql查看销售订单已经确认出货,和过账到AR应收的订单行明细,查看物流操作时间</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-04
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-pl-sql/index.html"> Oracle-PL/SQL</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
8 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../sql-server-max-lineconverttocolumn/index.html"> SQL Server- 行列转换 行转列,多行转多列 – max 函数用法</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-07
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/sql-server/index.html"> sql-server</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/zz:arclist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -179,27 +179,25 @@
|
|||
<div class="post-turn-page-plane">
|
||||
<div class="post-turn-page post-turn-page-previous" style="background-image:url()">
|
||||
<div class="post-turn-page-main">
|
||||
{zz:prenext get="pre" cid="$zzField['category_id']"}
|
||||
<div>
|
||||
<a href="../oracle-ebs-pur-inventory-table/index1.html">oracle-EBS-采购单创建接收检验入库经历主要表(多图)</a>
|
||||
<a href="{:url('/index/article/detail')}?id={$field['id']}">{$field['title']}</a>
|
||||
</div>
|
||||
<div class="post-turn-page-link-pre">
|
||||
<a href="../oracle-ebs-pur-inventory-table/index1.html"><
|
||||
<上一篇></上一篇>
|
||||
</a>
|
||||
<a href="{:url('/index/article/detail')}?id={$field['id']}"><<上一篇></上一篇></a>
|
||||
</div>
|
||||
{/zz:prenext}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-turn-page post-turn-page-next"
|
||||
style="background-image:url(../wp-content/uploads/2020/12/oracleAP_Payments_GL_Voucher.png)">
|
||||
<div class="post-turn-page post-turn-page-next" style="background-image:url(../wp-content/uploads/2020/12/oracleAP_Payments_GL_Voucher.png)">
|
||||
{zz:prenext get="next" cid="$zzField['category_id']"}
|
||||
<div class="post-turn-page-main">
|
||||
<div>
|
||||
<a href="javascript:;">oracle-EBS-PL/sql AP GL总账付款凭证</a>
|
||||
</div>
|
||||
<a href="{:url('/index/article/detail')}?id={$field['id']}">{$field['title']}</a>
|
||||
<div class="post-turn-page-link-next">
|
||||
<a href="javascript:;">下一篇>></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/zz:prenext}
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
|
@ -528,145 +526,24 @@
|
|||
</div>
|
||||
<div class="sidebar">
|
||||
<div class="sidebar-box-list">
|
||||
<div class="aside-box"><h2 class="widget-title">热门文章</h2>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">热门文章</h2>
|
||||
{zz:arclist row="8" orderby="view desc" type="where"}
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
1 </span>
|
||||
<span class="hot-post-widget-item-num">{$i}</span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-om-order-table/index1.html"> oracle-EBS甲骨文销售订单下单发放挑库发运(销售到出货全过程)主要相关表(多图)</a>
|
||||
<a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>{$field['create_time']}</div>
|
||||
<div>
|
||||
2020-12-09
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-om/index.html"> Oracle-OM-销售物流</a>
|
||||
<a href="#">{:cn_substr($field['category_title'],5)}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
2 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../decoration-erp/index.html"> 某家装公司项目管理软件系统的设计思路</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2021-03-24
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/talk/index.html"> 学习笔记</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
3 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oaworkflowapprove/index1.html"> 常见企业OA办公审批流、工作流实现层级审批、层层签核的方式</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2021-02-28
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/sql-server/index.html"> sql-server</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
4 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-pur-inventory-table/index1.html"> oracle-EBS-采购单创建接收检验入库经历主要表(多图)</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-13
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-pur-prod/index.html"> Oracle-PROD-采购生产</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
5 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-pl-sql-ap-podetial/index.html"> oracle-EBS-PL/sql AP 发票中匹配的po明细按发票</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2021-03-07
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-finance/index.html"> Oracle-Finance-财务</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
6 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-pl-sql-price-list/index.html"> oracle EBS PL/sql 查看销售订单的价目表Price List</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-13
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-pl-sql/index.html"> Oracle-PL/SQL</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
7 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../oracle-ebs-om-confirm-transferto-ar/index.html"> oracle-EBS-PL/sql查看销售订单已经确认出货,和过账到AR应收的订单行明细,查看物流操作时间</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-04
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/oracle-pl-sql/index.html"> Oracle-PL/SQL</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">
|
||||
8 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../sql-server-max-lineconverttocolumn/index.html"> SQL Server- 行列转换 行转列,多行转多列 – max 函数用法</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>
|
||||
2020-12-07
|
||||
</div>
|
||||
<div>
|
||||
<a href="../category/sql-server/index.html"> sql-server</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/zz:arclist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,357 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<title>{$zzField['meta_title']} - {:web_config("title")}</title>
|
||||
<meta name="keywords" content="{$zzField['keywords']}" />
|
||||
<meta name="description" content="{$zzField['description']}" />
|
||||
{include file="public/head" /}
|
||||
|
||||
|
||||
<script type="text/javascript" src="__JS__/qrcode.min.js" id="corepress_jquery_qrcode-js"s></script>
|
||||
<script src="__JS__/jquery.lazyload.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script>NProgress.start();</script>
|
||||
<div id="app">
|
||||
{include file="public/header" /}
|
||||
<div class="top-divider"></div>
|
||||
<main class="container">
|
||||
<div class="html-main">
|
||||
<div class="post-main">
|
||||
<div class="post-list-page-plane">
|
||||
<div class="list-plane-title">
|
||||
<div>搜索内容:{$kw}</div>
|
||||
</div>
|
||||
<ul class="post-list">
|
||||
{zz:list pagesize="10" type="where"}
|
||||
<li class="post-item">
|
||||
<div class="post-item-container">
|
||||
<div class="post-item-thumbnail">
|
||||
<a href="{$field['url']}" target="_blank">
|
||||
<img src="__IMG__/loading.gif" data-original="{:file_cdn($field['cover_path'])}"/>
|
||||
</a>
|
||||
</div>
|
||||
<!-- tag链接等待完善-->
|
||||
{notempty name="$field['tags']"}
|
||||
<div class="post-item-tags ">
|
||||
<span class="cat-item">
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],15)}</a>
|
||||
</span>
|
||||
</div>
|
||||
{/notempty}
|
||||
<div class="post-item-main">
|
||||
<h2>
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content">
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],100)}</a>
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
<div class="post-item-meta-item">
|
||||
<span class="post-item-meta-author">
|
||||
<!-- <img alt="" src="__IMG__/corepress_avatar/1.jpg" srcset="__IMG__/corepress_avatar/1.jpg 2x" class="avatar avatar-24 photo post-item-avatar"-->
|
||||
<!-- height="24" width="24" loading="lazy"/>-->
|
||||
{$field['author']}
|
||||
</span>
|
||||
<span class="post-item-time">{$field['create_time']}</span>
|
||||
</div>
|
||||
<div class="item-post-meta-other">
|
||||
<span><i class="fas fa-eye" aria-hidden="true"></i>{$field['view']}</span>
|
||||
<!-- <span><i class="fas fa-comment-alt-lines"></i>0</span>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/zz:list}
|
||||
</ul>
|
||||
<div class="pages">
|
||||
<div class="fenye">
|
||||
{$pager|raw}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar">
|
||||
<div class="aside-box">
|
||||
<form class="search-form" action="{:url('/index/article/search')}" method="get" role="search">
|
||||
<div class="search-form-input-plane">
|
||||
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value="{$kw}"/>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" class="search-submit" value="">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">句子</h2>
|
||||
<div class="widget-sentence-placeholder widget-sentence-placeholder-jzmk">
|
||||
<ul>
|
||||
<li></li>
|
||||
<li></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
widget_sentence_load('djt', '.widget-sentence-placeholder-jzmk');
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">热门文章</h2>
|
||||
{zz:arclist row="6" type="where" orderby="view desc"}
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">{$i}</span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>{$field['create_time']}</div>
|
||||
<div>
|
||||
<a href="#">{:cn_substr($field['category_title'],5)}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/zz:arclist}
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">标签云</h2>
|
||||
<script src="__JS__/TagCloud.js"></script>
|
||||
<div class="corepress-tag-cloud">
|
||||
<div class="corepress-tag-container-tag1"></div>
|
||||
</div>
|
||||
<style>
|
||||
.corepress-tagcloud a {
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.corepress-tagcloud a:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.tagcloud--item {
|
||||
color: #fff;
|
||||
padding: 2px 4px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tagcloud--item:hover {
|
||||
opacity: 1 !important;
|
||||
z-index: 100 !important;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
var tag = TagCloud(
|
||||
".corepress-tag-container-tag1",
|
||||
JSON.parse(
|
||||
'[{"text":"WordPress","href":"https:\/\/www.lovestu.com\/tag\/wordpress"},{"text":"WordPress\u7248\u672c","href":"https:\/\/www.lovestu.com\/tag\/wordpress%e7%89%88%e6%9c%ac"},{"text":"\u4e3b\u9898","href":"https:\/\/www.lovestu.com\/tag\/%e4%b8%bb%e9%a2%98"},{"text":"\u4ee3\u7801","href":"https:\/\/www.lovestu.com\/tag\/code"},{"text":"\u4f7f\u7528\u6559\u7a0b","href":"https:\/\/www.lovestu.com\/tag\/tutorial"}]'
|
||||
),
|
||||
{},
|
||||
[
|
||||
"#67C23A",
|
||||
"#E6A23C",
|
||||
"#F56C6C",
|
||||
"#909399",
|
||||
"#CC9966",
|
||||
"#FF6666",
|
||||
"#99CCFF",
|
||||
"#FF9999",
|
||||
"#CC6633",
|
||||
]
|
||||
);
|
||||
</script>
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">最新评论</h2>
|
||||
<li>
|
||||
<div class="widger-comment-plane">
|
||||
<div class="widger-comment-info">
|
||||
<div class="widger-comment-user">
|
||||
<div class="widger-avatar">
|
||||
<img
|
||||
alt="黯然gg"
|
||||
src="../avatar/a817af1c94172733c4e559a236053976.jpg"
|
||||
srcset="
|
||||
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
|
||||
"
|
||||
class="avatar avatar-30 photo"
|
||||
height="30"
|
||||
width="30"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="widger-comment-name">黯然gg</div>
|
||||
</div>
|
||||
<div class="widger-comment-time">
|
||||
<span>7月17日</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widger-comment-excerpt">
|
||||
<p>
|
||||
哈哈我换你这个主题了,现在在友链首页了,大佬来个友链(我是不会告你我从十一点多搞到现在的)
|
||||
博客名称:阿...
|
||||
</p>
|
||||
</div>
|
||||
<p class="widger-comment-postlink">
|
||||
评论于
|
||||
<a href="../applylink.html" target="_blank">申请友情链接</a>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="widger-comment-plane">
|
||||
<div class="widger-comment-info">
|
||||
<div class="widger-comment-user">
|
||||
<div class="widger-avatar">
|
||||
<img
|
||||
alt="黑域博客"
|
||||
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
|
||||
srcset="
|
||||
https://sdn.geekzu.org/avatar/a19c6a43816e575771df29bc689efa17?s=60&d=mm&r=g 2x
|
||||
"
|
||||
class="avatar avatar-30 photo"
|
||||
height="30"
|
||||
width="30"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="widger-comment-name">黑域博客</div>
|
||||
</div>
|
||||
<div class="widger-comment-time">
|
||||
<span>7月16日</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widger-comment-excerpt">
|
||||
<p>哈哈,我什么时候能上优秀网站</p>
|
||||
</div>
|
||||
<p class="widger-comment-postlink">
|
||||
评论于
|
||||
<a href="../corepresswzzs.html" target="_blank"
|
||||
>CorePress主题优秀网站展示</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="widger-comment-plane">
|
||||
<div class="widger-comment-info">
|
||||
<div class="widger-comment-user">
|
||||
<div class="widger-avatar">
|
||||
<img
|
||||
alt="黯然gg"
|
||||
src="../avatar/a817af1c94172733c4e559a236053976.jpg"
|
||||
srcset="
|
||||
https://sdn.geekzu.org/avatar/a817af1c94172733c4e559a236053976?s=60&d=mm&r=g 2x
|
||||
"
|
||||
class="avatar avatar-30 photo"
|
||||
height="30"
|
||||
width="30"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="widger-comment-name">黯然gg</div>
|
||||
</div>
|
||||
<div class="widger-comment-time">
|
||||
<span>7月16日</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widger-comment-excerpt">
|
||||
<p>啊 必须要首页的嘛 我用的主题没有首页链接这个模块儿呀</p>
|
||||
</div>
|
||||
<p class="widger-comment-postlink">
|
||||
评论于
|
||||
<a href="../applylink.html" target="_blank">申请友情链接</a>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="widger-comment-plane">
|
||||
<div class="widger-comment-info">
|
||||
<div class="widger-comment-user">
|
||||
<div class="widger-avatar">
|
||||
<img
|
||||
alt="Xpower"
|
||||
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
|
||||
srcset="
|
||||
https://sdn.geekzu.org/avatar/d88fa0e5183fc60bce09df183aa52f13?s=60&d=mm&r=g 2x
|
||||
"
|
||||
class="avatar avatar-30 photo"
|
||||
height="30"
|
||||
width="30"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="widger-comment-name">Xpower</div>
|
||||
</div>
|
||||
<div class="widger-comment-time">
|
||||
<span>7月16日</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widger-comment-excerpt">
|
||||
<p>这模板可以</p>
|
||||
</div>
|
||||
<p class="widger-comment-postlink">
|
||||
评论于
|
||||
<a href="../shortcodeshow.html" target="_blank"
|
||||
>CorePress主题短代码演示</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="widger-comment-plane">
|
||||
<div class="widger-comment-info">
|
||||
<div class="widger-comment-user">
|
||||
<div class="widger-avatar">
|
||||
<img
|
||||
alt="雅魔窝"
|
||||
src="../avatar/a19c6a43816e575771df29bc689efa17.jpg"
|
||||
srcset="
|
||||
https://sdn.geekzu.org/avatar/6836e13db58b6cdca078095a09f95ac3?s=60&d=mm&r=g 2x
|
||||
"
|
||||
class="avatar avatar-30 photo"
|
||||
height="30"
|
||||
width="30"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="widger-comment-name">雅魔窝</div>
|
||||
</div>
|
||||
<div class="widger-comment-time">
|
||||
<span>7月16日</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widger-comment-excerpt">
|
||||
<p>
|
||||
适合wp高手使用,如果用做新手小白,可能还需要写更傻瓜式的教程。
|
||||
</p>
|
||||
</div>
|
||||
<p class="widger-comment-postlink">
|
||||
评论于
|
||||
<a href="../wordpresswwznltjzdyzd.html" target="_blank"
|
||||
>WordPress为文章目录添加自定义字段</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{include file="public/footer"/}
|
||||
<script src="__LIB__/highlight/init.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<div>{$zzField['title']}</div>
|
||||
</div>
|
||||
<ul class="post-list">
|
||||
{zz:list orderby="create_time desc" type="where"}
|
||||
{zz:list orderby="create_time desc" type="where" pagesize="10"}
|
||||
<li class="post-item">
|
||||
<div class="post-item-container">
|
||||
<div class="post-item-thumbnail">
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
{notempty name="$field['tags']"}
|
||||
<div class="post-item-tags ">
|
||||
<span class="cat-item">
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],15)}</a>
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['tags'],20)}</a>
|
||||
</span>
|
||||
</div>
|
||||
{/notempty}
|
||||
|
|
@ -44,8 +44,8 @@
|
|||
<h2>
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content">
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],40)}</a>
|
||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
|
||||
{:cn_substr($field['content'],100)}
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
<span class="post-item-time">{$field['create_time']}</span>
|
||||
</div>
|
||||
<div class="item-post-meta-other">
|
||||
<span><i class="fas fa-eye" aria-hidden="true"></i>{$zzField['view']}</span>
|
||||
<span><i class="fas fa-eye" aria-hidden="true"></i>{$field['view']}</span>
|
||||
<!-- <span><i class="fas fa-comment-alt-lines"></i>0</span>-->
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -77,33 +77,18 @@
|
|||
</div>
|
||||
<div class="sidebar">
|
||||
<div class="aside-box">
|
||||
<form
|
||||
class="search-form"
|
||||
action="https://www.lovestu.com"
|
||||
method="get"
|
||||
role="search"
|
||||
>
|
||||
<form class="search-form" action="{:url('/index/article/search')}" method="get" role="search">
|
||||
<div class="search-form-input-plane">
|
||||
<input
|
||||
type="text"
|
||||
class="search-keyword"
|
||||
name="s"
|
||||
placeholder="搜索内容"
|
||||
value=""
|
||||
/>
|
||||
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value=""/>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" class="search-submit" value="">
|
||||
搜索
|
||||
</button>
|
||||
<button type="submit" class="search-submit" value="">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">句子</h2>
|
||||
<div
|
||||
class="widget-sentence-placeholder widget-sentence-placeholder-jzmk"
|
||||
>
|
||||
<div class="widget-sentence-placeholder widget-sentence-placeholder-jzmk">
|
||||
<ul>
|
||||
<li></li>
|
||||
<li></li>
|
||||
|
|
@ -111,101 +96,28 @@
|
|||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
widget_sentence_load(
|
||||
"djt",
|
||||
".widget-sentence-placeholder-jzmk"
|
||||
);
|
||||
widget_sentence_load('djt', '.widget-sentence-placeholder-jzmk');
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">热门阅读</h2>
|
||||
{zz:arclist row="6" typeid="$id" orderby="view desc"}
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num"> 1 </span>
|
||||
<span class="hot-post-widget-item-num">{$i}</span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../corepress.html"> CorePress主题 v5.1.1</a>
|
||||
<a href="{$field['url']}">{:cn_substr($field['title'],15)}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>2021-07-12</div>
|
||||
<div>{$field['create_time']}</div>
|
||||
<div>
|
||||
<a href="php/wordpress.html"> wordpress</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num"> 2 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../odsz01.html"> OD修改软件文本字符串内容</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>2019-04-29</div>
|
||||
<div>
|
||||
<a href="asm/绿化破解.html"> 绿化破解</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num"> 3 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../corepresswzzs.html">
|
||||
CorePress主题优秀网站展示</a
|
||||
>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>2021-03-20</div>
|
||||
<div>
|
||||
<a href="php/wordpress.html"> wordpress</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num"> 4 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../uniappzdy.html"> uni-app 自定义组件</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>2019-06-08</div>
|
||||
<div>
|
||||
<a href="uniapp.html"> UniApp</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num"> 5 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../ollydbg.html"> OllyDbg官方版和增强版</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>2019-04-21</div>
|
||||
<div>
|
||||
<a href="soft.html"> 软件资源</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num"> 6 </span>
|
||||
<span class="hot-post-widget-item-title">
|
||||
<a href="../layuigettext.html"> layui 获取select值和文本</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="hot-post-widget-item-meta">
|
||||
<div>2019-08-08</div>
|
||||
<div>
|
||||
<a href="front.html"> 前端</a>
|
||||
<a href="#">{:cn_substr($field['category_title'],5)}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/zz:arclist}
|
||||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">标签云</h2>
|
||||
|
|
|
|||
|
|
@ -2,18 +2,22 @@
|
|||
<html lang="zh">
|
||||
<head>
|
||||
<title>{:web_config("title")}</title>
|
||||
<meta name="keywords" content="{:web_config("keywords")}">
|
||||
<meta name="description" content="{:web_config("description")}">
|
||||
<meta name="keywords" content="{:web_config(" keywords
|
||||
")}">
|
||||
<meta name="description" content="{:web_config(" description
|
||||
")}">
|
||||
{include file="public/head" /}
|
||||
<link rel="stylesheet" href="__LIB__/swiper/swiper.min.css">
|
||||
<script src="__LIB__/swiper/swiper.min.js"></script>
|
||||
<link rel="icon" href="{:web_config("logo")}" type="image/x-icon">
|
||||
<link rel="icon" href="{:web_config(" logo
|
||||
")}" type="image/x-icon">
|
||||
<style>
|
||||
:root {
|
||||
--Maincolor: #409EFF !important;
|
||||
--MaincolorHover: #409EFF !important;
|
||||
--fontSelectedColor: #3390ff !important;
|
||||
}
|
||||
|
||||
#nprogress .bar {
|
||||
background: var(--Maincolor) !important;
|
||||
}
|
||||
|
|
@ -107,12 +111,13 @@
|
|||
cat: $(this).attr('catid')
|
||||
}, function (data) {
|
||||
$('.post-list').html(data);
|
||||
$("img").lazyload({effect: "fadeIn"}); })
|
||||
$("img").lazyload({effect: "fadeIn"});
|
||||
})
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<ul class="post-list">
|
||||
{zz:list orderby="create_time desc" type="where"}
|
||||
{zz:list orderby="create_time desc" pagesize="10" type="where" }
|
||||
<li class="post-item ">
|
||||
<div class="post-item-container">
|
||||
<div class="post-item-thumbnail">
|
||||
|
|
@ -130,9 +135,11 @@
|
|||
<div class="post-item-main">
|
||||
<h2>
|
||||
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
|
||||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;" target="_blank">{:cn_substr($field['title'],20)}</a>
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['content'],40)}</div>
|
||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
|
||||
{:cn_substr($field['content'],100)}
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
<div class="post-item-meta-item">
|
||||
|
|
@ -144,8 +151,7 @@
|
|||
</div>
|
||||
<div class="item-post-meta-other">
|
||||
<span><i class="fas fa-eye" aria-hidden="true"></i>{$field['view']}</span>
|
||||
<!-- 评论数-->
|
||||
<!-- <span><i class="fas fa-comment-alt-lines"></i>{$field['view']}</span>-->
|
||||
<!-- <span><i class="fas fa-comment-alt-lines"></i>0</span>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -155,50 +161,26 @@
|
|||
{/zz:list}
|
||||
</ul>
|
||||
<div class="pages">
|
||||
<button class="index-load-more-btn"><i class="far fa-circle-notch"></i> 加载更多</button>
|
||||
<script>
|
||||
var paged = 2;
|
||||
var max_page =6;
|
||||
$('.index-load-more-btn').click(() => {
|
||||
var btn_cloass = '.index-load-more-btn';
|
||||
if (paged > max_page) {
|
||||
$(btn_cloass).text('到底啦');
|
||||
return;
|
||||
}
|
||||
$(btn_cloass).html('<i class="far fa-circle-notch fa-spin"></i> 加载中');
|
||||
$.post('https://www.lovestu.com/wp-admin/admin-ajax.php', {
|
||||
action: 'corepress_load_post',
|
||||
page: paged,
|
||||
cat: $('.index-tab-item-active').attr('catid')
|
||||
}, (data) => {
|
||||
|
||||
if (data.length == 0) {
|
||||
$(btn_cloass).html('<i class="far fa-circle-notch"></i> 到底啦');
|
||||
} else {
|
||||
$(btn_cloass).html('<i class="far fa-circle-notch"></i> 加载更多');
|
||||
}
|
||||
$('.post-list').append(data);
|
||||
$("img").lazyload({effect: "fadeIn"}); paged++;
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
<div class="fenye">
|
||||
{$pager|raw}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar">
|
||||
<div class="sidebar-box-list">
|
||||
<div class="aside-box">
|
||||
<form class="search-form" action="https://www.lovestu.com" method="get" role="search">
|
||||
<form class="search-form" action="{:url('/index/article/search')}" method="get" role="search">
|
||||
<div class="search-form-input-plane">
|
||||
<input type="text" class="search-keyword" name="s" placeholder="搜索内容" value="">
|
||||
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value=""/>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" class="search-submit" value="">搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="aside-box"><h2 class="widget-title">句子</h2>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">句子</h2>
|
||||
<div class="widget-sentence-placeholder widget-sentence-placeholder-jzmk">
|
||||
<ul>
|
||||
<li></li>
|
||||
|
|
@ -213,7 +195,7 @@
|
|||
</div>
|
||||
<div class="aside-box">
|
||||
<h2 class="widget-title">热门阅读</h2>
|
||||
{zz:arclist orderby="view desc" type="where"}
|
||||
{zz:arclist row="6" type="where" orderby="view desc"}
|
||||
<div class="hot-post-widget-item">
|
||||
<div>
|
||||
<span class="hot-post-widget-item-num">{$i}</span>
|
||||
|
|
@ -242,15 +224,18 @@
|
|||
color: #fff;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.corepress-tagcloud a:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.tagcloud--item {
|
||||
color: #fff;
|
||||
padding: 2px 4px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tagcloud--item:hover {
|
||||
opacity: 1 !important;
|
||||
z-index: 100 !important;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
</div>
|
||||
<div class="header-logo-plane">
|
||||
<div class="header-logo">
|
||||
<a href=""><img src="{:file_cdn(web_config('logo'))}" alt=""></a></div>
|
||||
<a href="/"><img src="{:file_cdn(web_config('logo'))}" alt=""></a></div>
|
||||
</div>
|
||||
<div class="mobile-search-btn" onclick="openSearch()">
|
||||
<i class="fa fa-search"></i>
|
||||
|
|
@ -45,9 +45,9 @@
|
|||
<div class="dialog-mask" onclick="closeSearch()"></div>
|
||||
<div class="dialog-plane">
|
||||
<h2>搜索内容</h2>
|
||||
<form class="search-form" action="{:url('/article/search')}" method="get" role="search">
|
||||
<form class="search-form" action="{:url('/index/article/search')}" method="get" role="search">
|
||||
<div class="search-form-input-plane">
|
||||
<input type="text" class="search-keyword" name="tag" placeholder="搜索内容" value="">
|
||||
<input type="text" class="search-keyword" name="kw" placeholder="搜索内容" value="">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" class="search-submit" value="">搜索</button>
|
||||
|
|
@ -58,7 +58,10 @@
|
|||
<div class="header-menu">
|
||||
<div class="menu-plane">
|
||||
<nav class="menu-header-plane">
|
||||
<ul id="menu-%e4%b8%8a%e6%96%b9%e5%af%bc%e8%88%aa%e6%a0%8f" class="menu-header-list">
|
||||
<ul id="menu-header-list" class="menu-header-list">
|
||||
<li id="menu-item-128" class="menu-item current_page_item menu-item-128">
|
||||
<a href="/" aria-current="page">首页</a>
|
||||
</li>
|
||||
{zz:channel type="top"}
|
||||
<li id="menu-item-{$field.id}" class="menu-item {notempty name="field['child']"}menu-item-has-children{/notempty} {:IsActiveNav($cid,$field['id'])?'current-menu-item':''} menu-item-{$field['id']}">
|
||||
{notempty name="field['child']"}
|
||||
|
|
@ -86,7 +89,6 @@
|
|||
</div>
|
||||
<span class="user-menu-main">
|
||||
<a href="login.html"><button class="login-btn-header">登录</button></a>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,150 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<link rel="icon" href="__IMG__/favicon.png" type="image/png">
|
||||
<title>{$zzField['title']}_{:web_config('WEB_SITE_TITLE')}</title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="__CSS__/bootstrap.css">
|
||||
<link rel="stylesheet" href="/template/default/vendors/linericon/style.css">
|
||||
<link rel="stylesheet" href="__CSS__/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="/template/default/vendors/owl-carousel/owl.carousel.min.css">
|
||||
<link rel="stylesheet" href="/template/default/vendors/lightbox/simpleLightbox.css">
|
||||
<link rel="stylesheet" href="/template/default/vendors/nice-select/css/nice-select.css">
|
||||
<link rel="stylesheet" href="/template/default/vendors/animate-css/animate.css">
|
||||
<!-- main css -->
|
||||
<link rel="stylesheet" href="__CSS__/style.css">
|
||||
<link rel="stylesheet" href="__CSS__/responsive.css">
|
||||
</head>
|
||||
<body>
|
||||
<!--================Header Menu Area =================-->
|
||||
{include file="template/default/head.html"}
|
||||
<!--================Header Menu Area =================-->
|
||||
<!--================Home Poster Area =================-->
|
||||
<section class="home_banner_area">
|
||||
<div class="banner_inner">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-5">
|
||||
<div class="banner_content">
|
||||
<h2>
|
||||
呼啦资源网<br>
|
||||
{:web_config('WEB_SITE_TITLE')}
|
||||
</h2>
|
||||
<p>
|
||||
{:cn_substr(html2text(:web_config('WEB_SITE_DESCRIPTION')),100)}...
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-7">
|
||||
<div class="home_right_img">
|
||||
<img class="img-fluid" src="__IMG__/banner/home-right.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--================End Home Poster Area =================-->
|
||||
|
||||
<!--================Blog Area =================-->
|
||||
<section class="blog_area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
<div class="blog_left_sidebar">
|
||||
|
||||
{zz:list pagesize="3"}
|
||||
<article class="row blog_item">
|
||||
<div class="col-md-3">
|
||||
<div class="blog_info text-right">
|
||||
<ul class="blog_meta list">
|
||||
<li><a>{$field['writer']}<i class="lnr lnr-user"></i></a></li>
|
||||
<li><a>{:MyDate('Y-m-d',$field['create_time'])}<i class="lnr lnr-calendar-full"></i></a></li>
|
||||
<li><a>{$field['view']}<i class="lnr lnr-eye"></i></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="blog_post">
|
||||
<img src="{$field['cover_path']}" alt="">
|
||||
<div class="blog_details">
|
||||
<a href="{$field['url']}">
|
||||
<h2>{$field['title']}</h2></a>
|
||||
<p>{:cn_substr($field['description'],400)}...</p>
|
||||
<a href="{$field['url']}" class="primary_btn"><span>查看更多</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{/zz:list}
|
||||
|
||||
<nav class="blog-pagination justify-content-center d-flex">
|
||||
{$pager}
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<div class="blog_right_sidebar">
|
||||
<aside class="single_sidebar_widget search_widget">
|
||||
<div class="input-group">
|
||||
<form action="{:url('Article/search')}" style="width: 100%;">
|
||||
<input type="text" value="{$kw}" name="kw" placeholder="输入关键字...回车键进行搜索" class="form-control" />
|
||||
</form>
|
||||
<!--<input type="text" class="form-control" placeholder="Search Posts">-->
|
||||
|
||||
</div><!-- /input-group -->
|
||||
<div class="br"></div>
|
||||
</aside>
|
||||
|
||||
<aside class="single_sidebar_widget popular_post_widget">
|
||||
<h3 class="widget_title">热点新闻</h3>
|
||||
|
||||
{zz:arclist row="4" typeid="85" orderby="create_time desc"}
|
||||
<div class="media post_item">
|
||||
<img src="__IMG__/blog/popular-post/post{$i}.jpg" alt="post">
|
||||
<div class="media-body">
|
||||
<a href="{$field['url']}"><h3>{:cn_substr($field['title'],15)}...</h3></a>
|
||||
<p>{:MyDate('Y-m-d',$field['create_time'])}</p>
|
||||
</div>
|
||||
</div>
|
||||
{/zz:arclist}
|
||||
|
||||
<div class="br"></div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--================Blog Area =================-->
|
||||
<style type="text/css">
|
||||
.footer_area {
|
||||
padding-top: 80px !important;
|
||||
}
|
||||
</style>
|
||||
<!--================Footer Area =================-->
|
||||
{include file="template/default/footer.html"}
|
||||
<!--================End Footer Area =================-->
|
||||
<!-- Optional JavaScript -->
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
<script src="__JS__/jquery-3.2.1.min.js"></script>
|
||||
<script src="__JS__/popper.js"></script>
|
||||
<script src="__JS__/bootstrap.min.js"></script>
|
||||
<script src="__JS__/stellar.js"></script>
|
||||
<script src="/template/default/vendors/lightbox/simpleLightbox.min.js"></script>
|
||||
<script src="/template/default/vendors/nice-select/js/jquery.nice-select.min.js"></script>
|
||||
<script src="/template/default/vendors/isotope/imagesloaded.pkgd.min.js"></script>
|
||||
<script src="/template/default/vendors/isotope/isotope-min.js"></script>
|
||||
<script src="/template/default/vendors/owl-carousel/owl.carousel.min.js"></script>
|
||||
<script src="__JS__/jquery.ajaxchimp.min.js"></script>
|
||||
<script src="__JS__/mail-script.js"></script>
|
||||
<script src="/template/default/vendors/counter-up/jquery.waypoints.min.js"></script>
|
||||
<script src="/template/default/vendors/counter-up/jquery.counterup.min.js"></script>
|
||||
<script src="__JS__/theme.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue