- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php! T+ G3 Z5 H) s: x X4 J& d# p) P
修改行数:356行
, e/ m6 X( |5 L0 w+ |修改代码如下:
! U& ?& L/ q: @8 |- a/ l//循环生成HTML文件$ o! ?/ Y+ |! v6 N
else1 w: s* ^4 H- [) O/ X% q2 y. `
{
, Y5 j8 E9 d2 ?0 Bfor($i=1;$i<=$this->TotalPage;$i++)
0 m) s9 g1 G/ \, Q% [! ?; F) B{
. i% _& {+ R# n& q* W$tempTitle=$this->Fields['title'];//临时存储一个标题副本
1 d, v$ F' g! _3 w$ p( E3 Jif($i>1) V6 M* |6 U. E4 F8 I' x
{( `2 s' \) p4 K" l0 y
$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;, r+ N5 g9 { d1 ~: B4 ?
//为分页标题加上序号。
1 B2 K+ m0 L! S# |( \$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号
' b8 f0 P) C& b$ P1 s: [ u}) G0 X2 A5 v! f. ^ D P. ~
else# O3 O+ l: a# @7 r$ I9 [
{
7 p2 E0 d# I9 U0 |$truefilename = $this->GetTruePath().$filename;
( ^6 B5 `; U( i: F}, ?* d: k' m$ o* Y4 f3 |5 L
$this->ParseDMFields($i,1);
. \/ P0 P" S. H$this->dtp->SaveTo($truefilename);
& k9 P# U: f5 d& |$this->Fields['title']=$tempTitle;//生成html,还原标题, P M( `1 d; {$ [
}3 k3 `6 R: C* C1 I
} |
|