Browse Source

打磨分页,优化清理缓存功能

tags/6.3.0
叙述、别离 1 year ago
parent
commit
753efe8d86
9 changed files with 69 additions and 55 deletions
  1. +20
    -20
      src/admin/inc/inc_action_info.php
  2. +6
    -8
      src/admin/inc/inc_archives_all.php
  3. +18
    -1
      src/admin/sys_cache_up.php
  4. +1
    -1
      src/system/archive/freelist.class.php
  5. +7
    -8
      src/system/archive/listview.class.php
  6. +2
    -2
      src/system/archive/searchview.class.php
  7. +2
    -2
      src/system/archive/sglistview.class.php
  8. +11
    -11
      src/system/archive/specview.class.php
  9. +2
    -2
      src/system/archive/taglist.class.php

+ 20
- 20
src/admin/inc/inc_action_info.php View File

@@ -52,7 +52,7 @@ $actionSearch[0] = array(
) )
) )
); );
$actionSearch[2] = array(
$actionSearch[1] = array(
'title' => '附件管理', 'title' => '附件管理',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -67,7 +67,7 @@ $actionSearch[2] = array(
), ),
) )
); );
$actionSearch[3] = array(
$actionSearch[2] = array(
'title' => '文档模型', 'title' => '文档模型',
'soniterm' => array( 'soniterm' => array(
0 => DEDEBIZ_SAFE_MODE? null : array( 0 => DEDEBIZ_SAFE_MODE? null : array(
@@ -90,19 +90,19 @@ $actionSearch[3] = array(
'purview' => 'c_List', 'purview' => 'c_List',
'linkurl' => 'freelist_main.php' 'linkurl' => 'freelist_main.php'
), ),
3 => array(
4 => array(
'title' => '自定义文档属性', 'title' => '自定义文档属性',
'purview' => 'sys_Att', 'purview' => 'sys_Att',
'linkurl' => 'content_att.php' 'linkurl' => 'content_att.php'
), ),
4 => array(
5 => array(
'title' => '自定义表单管理', 'title' => '自定义表单管理',
'purview' => 'c_List', 'purview' => 'c_List',
'linkurl' => 'diy_main.php' 'linkurl' => 'diy_main.php'
), ),
) )
); );
$actionSearch[4] = array(
$actionSearch[3] = array(
'title' => '批量维护', 'title' => '批量维护',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -115,29 +115,29 @@ $actionSearch[4] = array(
'purview' => 'sys_ArcBatch', 'purview' => 'sys_ArcBatch',
'linkurl' => 'article_test_same.php' 'linkurl' => 'article_test_same.php'
), ),
3 => array(
2 => array(
'title' => '文档关键词维护', 'title' => '文档关键词维护',
'purview' => 'sys_Keyword', 'purview' => 'sys_Keyword',
'linkurl' => 'article_keywords_main.php' 'linkurl' => 'article_keywords_main.php'
), ),
4 => array(
3 => array(
'title' => '搜索关键词维护', 'title' => '搜索关键词维护',
'purview' => 'sys_Keyword', 'purview' => 'sys_Keyword',
'linkurl' => 'search_keywords_main.php?dopost=filemanager' 'linkurl' => 'search_keywords_main.php?dopost=filemanager'
), ),
5 => array(
4 => array(
'title' => '自动摘要分页', 'title' => '自动摘要分页',
'purview' => 'sys_Keyword', 'purview' => 'sys_Keyword',
'linkurl' => 'article_description_main.php' 'linkurl' => 'article_description_main.php'
), ),
6 => DEDEBIZ_SAFE_MODE? null : array(
5 => DEDEBIZ_SAFE_MODE? null : array(
'title' => '数据库字段替换', 'title' => '数据库字段替换',
'purview' => 'sys_ArcBatch', 'purview' => 'sys_ArcBatch',
'linkurl' => 'sys_data_replace.php' 'linkurl' => 'sys_data_replace.php'
), ),
) )
); );
$actionSearch[5] = array(
$actionSearch[4] = array(
'title' => '会员管理', 'title' => '会员管理',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -162,7 +162,7 @@ $actionSearch[5] = array(
), ),
) )
); );
$actionSearch[6] = array(
$actionSearch[5] = array(
'title' => '支付工具', 'title' => '支付工具',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -192,7 +192,7 @@ $actionSearch[6] = array(
), ),
) )
); );
$actionSearch[7] = array(
$actionSearch[6] = array(
'title' => '更新任务', 'title' => '更新任务',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -227,7 +227,7 @@ $actionSearch[7] = array(
), ),
) )
); );
$actionSearch[8] = DEDEBIZ_SAFE_MODE? null : array(
$actionSearch[7] = DEDEBIZ_SAFE_MODE? null : array(
'title' => '模板管理', 'title' => '模板管理',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -257,7 +257,7 @@ $actionSearch[8] = DEDEBIZ_SAFE_MODE? null : array(
), ),
) )
); );
$actionSearch[9] = array(
$actionSearch[8] = array(
'title' => '系统设置', 'title' => '系统设置',
'soniterm' => array( 'soniterm' => array(
0 => array( 0 => array(
@@ -280,32 +280,32 @@ $actionSearch[9] = array(
'purview' => 'sys_Log', 'purview' => 'sys_Log',
'linkurl' => 'log_list.php' 'linkurl' => 'log_list.php'
), ),
5 => array(
4 => array(
'title' => '图片水印设置', 'title' => '图片水印设置',
'purview' => 'sys_Edit', 'purview' => 'sys_Edit',
'linkurl' => 'sys_info_mark.php' 'linkurl' => 'sys_info_mark.php'
), ),
6 => array(
5 => array(
'title' => '软件下载设置', 'title' => '软件下载设置',
'purview' => 'sys_SoftConfig', 'purview' => 'sys_SoftConfig',
'linkurl' => 'soft_config.php' 'linkurl' => 'soft_config.php'
), ),
7 => DEDEBIZ_SAFE_MODE? null : array(
6 => DEDEBIZ_SAFE_MODE? null : array(
'title' => '数据库备份还原', 'title' => '数据库备份还原',
'purview' => 'sys_data', 'purview' => 'sys_data',
'linkurl' => 'sys_data.php' 'linkurl' => 'sys_data.php'
), ),
8 => DEDEBIZ_SAFE_MODE? null : array(
7 => DEDEBIZ_SAFE_MODE? null : array(
'title' => 'SQL命令工具', 'title' => 'SQL命令工具',
'purview' => 'sys_data', 'purview' => 'sys_data',
'linkurl' => 'sys_sql_query.php' 'linkurl' => 'sys_sql_query.php'
), ),
9 => array(
8 => array(
'title' => '文件扫描工具', 'title' => '文件扫描工具',
'purview' => 'sys_verifies', 'purview' => 'sys_verifies',
'linkurl' => 'sys_safetest.php' 'linkurl' => 'sys_safetest.php'
), ),
10 => array(
9 => array(
'title' => '系统修复工具', 'title' => '系统修复工具',
'purview' => 'sys_verifies', 'purview' => 'sys_verifies',
'linkurl' => 'sys_repair.php' 'linkurl' => 'sys_repair.php'


+ 6
- 8
src/admin/inc/inc_archives_all.php View File

@@ -18,10 +18,10 @@
function GetFormItem($ctag) function GetFormItem($ctag)
{ {
$fieldname = $ctag->GetName(); $fieldname = $ctag->GetName();
$formitem = "<table width=\"800\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
$formitem = "<table width=\"98%\" border=\"0\">
<tr> <tr>
<td width=\"80\">~name~</td>
<td width=\"720\">~form~</td>
<td width=\"120\">~name~</td>
<td>~form~</td>
</tr> </tr>
</table>\r\n"; </table>\r\n";
$innertext = trim($ctag->GetInnerText()); $innertext = trim($ctag->GetInnerText());
@@ -116,7 +116,6 @@ function GetFormItem($ctag)
return $formitem; return $formitem;
} }
} }

/** /**
* 处理不同类型的数据 * 处理不同类型的数据
* *
@@ -200,7 +199,6 @@ function GetFieldValue($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '')
return $dvalue; return $dvalue;
} }
} }

/** /**
* 获得带值的表单修改时用 * 获得带值的表单修改时用
* *
@@ -212,10 +210,10 @@ function GetFieldValue($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '')
function GetFormItemValue($ctag, $fvalue) function GetFormItemValue($ctag, $fvalue)
{ {
$fieldname = $ctag->GetName(); $fieldname = $ctag->GetName();
$formitem = "<table width=\"800\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
$formitem = "<table width=\"98%\" border=\"0\">
<tr> <tr>
<td width=\"80\">~name~</td>
<td width=\"720\">~form~</td>
<td width=\"120\">~name~</td>
<td>~form~</td>
</tr> </tr>
</table>\r\n"; </table>\r\n";
$innertext = trim($ctag->GetInnerText()); $innertext = trim($ctag->GetInnerText());


+ 18
- 1
src/admin/sys_cache_up.php View File

@@ -10,6 +10,20 @@
*/ */
require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_ArcBatch'); CheckPurview('sys_ArcBatch');
function clean_cachefiles($path) {
$list = array();
foreach (glob($path.'/*') as $item) {
if(is_dir($item)) {
$list = array_merge($list, clean_cachefiles($item));
} else {
$list[] = $item;
}
}
foreach ($list as $tmpfile) {
@unlink($tmpfile);
}
return true;
}
if (empty($dopost)) $dopost = ''; if (empty($dopost)) $dopost = '';
if (empty($step)) $step = 1; if (empty($step)) $step = 1;
if ($dopost == "ok") { if ($dopost == "ok") {
@@ -47,10 +61,13 @@ if ($dopost == "ok") {
$dsql->ExecuteNoneQuery("DELETE FROM `#@__statistics_detail` WHERE created_date < '$limit'"); $dsql->ExecuteNoneQuery("DELETE FROM `#@__statistics_detail` WHERE created_date < '$limit'");
$msg[] = "正在清理15天之前流量统计"; $msg[] = "正在清理15天之前流量统计";
$url = "sys_cache_up.php?dopost=ok&step=-1&uparc=$uparc"; $url = "sys_cache_up.php?dopost=ok&step=-1&uparc=$uparc";
clean_cachefiles("/../data/cache");
clean_cachefiles("/../data/tplcache");
clean_cachefiles("/../data/sessions");
if ($uparc == 1) { if ($uparc == 1) {
$url = "sys_cache_up.php?dopost=ok&step=9"; $url = "sys_cache_up.php?dopost=ok&step=9";
} }
ShowMsg(implode("<br/>",$msg),$url);
ShowMsg(implode("<br/>", $msg), $url);
exit(); exit();
} }
//修正错误文档 //修正错误文档


+ 1
- 1
src/system/archive/freelist.class.php View File

@@ -275,7 +275,7 @@ class FreeList
if (is_file($tmpdir."/".$tempfile)) { if (is_file($tmpdir."/".$tempfile)) {
$this->PartView->SetTemplet($tmpdir."/".$tempfile); $this->PartView->SetTemplet($tmpdir."/".$tempfile);
} else { } else {
$this->PartView->SetTemplet("这是没有使用模板的单独页", "string");
$this->PartView->SetTemplet("未使用单独页模板", "string");
$nmfa = 1; $nmfa = 1;
} }
} }


+ 7
- 8
src/system/archive/listview.class.php View File

@@ -391,8 +391,7 @@ class ListView
)); ));
} }
} }
}
}
/** /**
* GetAPIList * GetAPIList
* *
@@ -467,7 +466,7 @@ class ListView
if (preg_match('/hot|click|lastpost/', $orderby)) { if (preg_match('/hot|click|lastpost/', $orderby)) {
$query = "SELECT arc.*,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath,mb.uname,mb.face,mb.userid $addField FROM `#@__archives` arc LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id LEFT JOIN `#@__member` mb ON arc.mid=mb.mid $addJoin WHERE {$this->addSql} $filtersql $ordersql LIMIT $limitstart,$row"; $query = "SELECT arc.*,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath,mb.uname,mb.face,mb.userid $addField FROM `#@__archives` arc LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id LEFT JOIN `#@__member` mb ON arc.mid=mb.mid $addJoin WHERE {$this->addSql} $filtersql $ordersql LIMIT $limitstart,$row";
} }
//普通情况先从arctiny表查出id,然后按di查询速度非常快
//普通情况先从arctiny表查出id,然后按id查询速度非常快
else { else {
$t1 = ExecTime(); $t1 = ExecTime();
$ids = array(); $ids = array();
@@ -1034,15 +1033,15 @@ class ListView
$tnamerule = preg_replace("/^(.*)\//", '', $tnamerule); $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule);
//获得上页和首页的链接 //获得上页和首页的链接
if ($this->PageNo != 1) { if ($this->PageNo != 1) {
$prepage .= "<li class='page-item'><a class='page-link' href='".str_replace("{page}", $prepagenum, $tnamerule)."'>上页</a></li>";
$indexpage = "<li class='page-item'><a class='page-link' href='".str_replace("{page}", 1, $tnamerule)."'>首页</a></li>";
$prepage .= "<li class='page-item'><a href='".str_replace("{page}", $prepagenum, $tnamerule)."' class='page-link'>上页</a></li>";
$indexpage = "<li class='page-item'><a href='".str_replace("{page}", 1, $tnamerule)."' class='page-link'>首页</a></li>";
} else { } else {
$indexpage = "<li class='page-item'><span class='page-link'>首页</span></li>"; $indexpage = "<li class='page-item'><span class='page-link'>首页</span></li>";
} }
//下页和未页的链接 //下页和未页的链接
if ($this->PageNo != $totalpage && $totalpage > 1) { if ($this->PageNo != $totalpage && $totalpage > 1) {
$nextpage .= "<li class='page-item'><a class='page-link' href='".str_replace("{page}", $nextpagenum, $tnamerule)."'>下页</a></li>";
$endpage = "<li class='page-item'><a class='page-link' href='".str_replace("{page}", $totalpage, $tnamerule)."'>末页</a></li>";
$nextpage .= "<li class='page-item'><a href='".str_replace("{page}", $nextpagenum, $tnamerule)."' class='page-link'>下页</a></li>";
$endpage = "<li class='page-item'><a href='".str_replace("{page}", $totalpage, $tnamerule)."' class='page-link'>末页</a></li>";
} else { } else {
$endpage = "<li class='page-item'><span class='page-link'>末页</span></li>"; $endpage = "<li class='page-item'><span class='page-link'>末页</span></li>";
} }
@@ -1103,7 +1102,7 @@ class ListView
if ($j == $this->PageNo) { if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>"; $listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else { } else {
$listdd .= "<li class='page-item'><a class='page-link' href='".str_replace("{page}", $j, $tnamerule)."'>$j</a></li>";
$listdd .= "<li class='page-item'><a href='".str_replace("{page}", $j, $tnamerule)."' class='page-link'>$j</a></li>";
} }
} }
$plist = ''; $plist = '';


+ 2
- 2
src/system/archive/searchview.class.php View File

@@ -667,7 +667,7 @@ class SearchView
$prepage .= "<li class='page-item'><a href='".$purl."PageNo=$prepagenum' class='page-link'>上页</a></li>"; $prepage .= "<li class='page-item'><a href='".$purl."PageNo=$prepagenum' class='page-link'>上页</a></li>";
$indexpage = "<li class='page-item'><a href='".$purl."PageNo=1' class='page-link'>首页</a></li>"; $indexpage = "<li class='page-item'><a href='".$purl."PageNo=1' class='page-link'>首页</a></li>";
} else { } else {
$indexpage = "<li class='page-item disabled'><a class='page-link'>首页</a></li>";
$indexpage = "<li class='page-item'><a class='page-link'>首页</a></li>";
} }
if ($this->PageNo != $totalpage && $totalpage > 1) { if ($this->PageNo != $totalpage && $totalpage > 1) {
$nextpage .= "<li class='page-item'><a href='".$purl."PageNo=$nextpagenum' class='page-link'>下页</a></li>"; $nextpage .= "<li class='page-item'><a href='".$purl."PageNo=$nextpagenum' class='page-link'>下页</a></li>";
@@ -698,7 +698,7 @@ class SearchView
} }
} }
$plist = ''; $plist = '';
$plist .= "<form name='pagelist' action='".$this->GetCurUrl()."' class='d-flex'>$hidenform";
$plist .= "<form action='".$this->GetCurUrl()."' name='pagelist' class='d-flex'>$hidenform";
$plist .= preg_match('/info/i', $listitem)? $infos : ""; $plist .= preg_match('/info/i', $listitem)? $infos : "";
$plist .= preg_match('/index/i', $listitem)? $indexpage : ""; $plist .= preg_match('/index/i', $listitem)? $indexpage : "";
$plist .= preg_match('/pre/i', $listitem)? $prepage : ""; $plist .= preg_match('/pre/i', $listitem)? $prepage : "";


+ 2
- 2
src/system/archive/sglistview.class.php View File

@@ -896,7 +896,7 @@ class SgListView
if ($j == $this->PageNo) { if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>"; $listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else { } else {
$listdd .= "<li class='page-item'><a class='page-link' href='".str_replace("{page}", $j, $tnamerule)."'>".$j."</a></li>";
$listdd .= "<li class='page-item'><a href='".str_replace("{page}", $j, $tnamerule)."' class='page-link'>$j</a></li>";
} }
} }
$plist = ''; $plist = '';
@@ -997,7 +997,7 @@ class SgListView
if ($j == $this->PageNo) { if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>"; $listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else { } else {
$listdd .= "<li class='page-item'><a class='page-link' href='".$purl."PageNo=$j{$geturl}'>$j</a></li>";
$listdd .= "<li class='page-item'><a href='".$purl."PageNo=$j{$geturl}' class='page-link'>$j</a></li>";
} }
} }
$plist = $indexpage.$prepage.$listdd.$nextpage.$endpage; $plist = $indexpage.$prepage.$listdd.$nextpage.$endpage;


+ 11
- 11
src/system/archive/specview.class.php View File

@@ -439,25 +439,25 @@ class SpecView
} }
$totalpage = ceil($this->TotalResult / $this->pagesize); $totalpage = ceil($this->TotalResult / $this->pagesize);
if ($totalpage <= 1 && $this->TotalResult > 0) { if ($totalpage <= 1 && $this->TotalResult > 0) {
return "<span class='pageinfo'>1页".$this->TotalResult."条</span>";
return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>";
} }
if ($this->TotalResult == 0) { if ($this->TotalResult == 0) {
return "<span class='pageinfo'>0页".$this->TotalResult."条</span>";
return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>";
} }
$purl = $this->GetCurUrl(); $purl = $this->GetCurUrl();
$tnamerule = "spec_"; $tnamerule = "spec_";
//获得上页和下页的链接 //获得上页和下页的链接
if ($this->PageNo != 1) { if ($this->PageNo != 1) {
$prepage .= "<li><a href='".$tnamerule."$prepagenum".$GLOBALS['art_shortname']."'>上页</a></li>";
$indexpage = "<li><a href='".$tnamerule."1".$GLOBALS['art_shortname']."'>首页</a></li>";
$prepage .= "<li class='page-item'><a href='".$tnamerule."$prepagenum".$GLOBALS['art_shortname']."' class='page-link'>上页</a></li>";
$indexpage = "<li class='page-item'><a href='".$tnamerule."1".$GLOBALS['art_shortname']."' class='page-link'>首页</a></li>";
} else { } else {
$indexpage = "<li><a>首页</a></li>";
$indexpage = "<li class='page-item'><span class='page-link'>首页</span></li>";
} }
if ($this->PageNo != $totalpage && $totalpage > 1) { if ($this->PageNo != $totalpage && $totalpage > 1) {
$nextpage .= "<li><a href='".$tnamerule."$nextpagenum".$GLOBALS['art_shortname']."'>下页</a></li>";
$endpage = "<li><a href='".$tnamerule."$totalpage".$GLOBALS['art_shortname']."'>末页</a></li>";
$nextpage .= "<li class='page-item'><a href='".$tnamerule."$nextpagenum".$GLOBALS['art_shortname']."'>下页</a></li>";
$endpage = "<li class='page-item'><a href='".$tnamerule."$totalpage".$GLOBALS['art_shortname']."'>末页</a></li>";
} else { } else {
$endpage = "<li><a>末页</a></li>";
$endpage = "<li class='page-item'><span class='page-link'>末页</span></li>";
} }
//获得数字链接 //获得数字链接
$listdd = ''; $listdd = '';
@@ -476,9 +476,9 @@ class SpecView
} }
for ($j; $j <= $total_list; $j++) { for ($j; $j <= $total_list; $j++) {
if ($j == $this->PageNo) { if ($j == $this->PageNo) {
$listdd .= "<li class='thisclass'><a>$j</a></li>";
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else { } else {
$listdd .= "<li><a href='".$tnamerule."$j".$GLOBALS['art_shortname']."'>".$j."</a></li>";
$listdd .= "<li class='page-item'><a href='".$tnamerule."$j".$GLOBALS['art_shortname']."'class='page-link'>$j</a></li>";
} }
} }
$plist = $indexpage.$prepage.$listdd.$nextpage.$endpage; $plist = $indexpage.$prepage.$listdd.$nextpage.$endpage;
@@ -545,7 +545,7 @@ class SpecView
if ($j == $this->PageNo) { if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>"; $listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else { } else {
$listdd .= "<li class='page-item'><a href='".$purl."PageNo=$j'>$j</a></li>";
$listdd .= "<li class='page-item'><a href='".$purl."PageNo=$j'class='page-link'>$j</a></li>";
} }
} }
$plist = $indexpage.$prepage.$listdd.$nextpage.$endpage; $plist = $indexpage.$prepage.$listdd.$nextpage.$endpage;


+ 2
- 2
src/system/archive/taglist.class.php View File

@@ -448,7 +448,7 @@ class TagList
if ($j == $this->PageNo) { if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>"; $listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else { } else {
$listdd .= "<li class='page-item'><a class='page-link' href='".$purl."/$j/'>".$j."</a></li>";
$listdd .= "<li class='page-item'><a class='page-link' href='".$purl."/$j/'>$j</a></li>";
} }
} }
$plist = ''; $plist = '';
@@ -557,7 +557,7 @@ class TagList
if ($dir == "") $dir = str_replace("{cmspath}", "", $cfg_tags_dir); if ($dir == "") $dir = str_replace("{cmspath}", "", $cfg_tags_dir);
$this->tagsDir = $dir; $this->tagsDir = $dir;
} }
//生成静态Tag
//生成静态标签
function MakeHtml($startpage = 1, $makepagesize = 0) function MakeHtml($startpage = 1, $makepagesize = 0)
{ {
global $cfg_dir_purview, $envs, $cfg_tags_dir, $cfg_cmsurl; global $cfg_dir_purview, $envs, $cfg_tags_dir, $cfg_cmsurl;


Loading…
Cancel
Save