- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php0 L" V. b) n: q1 j- m7 t2 P1 d
修改行数:356行
5 Z4 B& S% b k5 [ G修改代码如下:
y( h$ a* `1 Z$ l//循环生成HTML文件
; ~) j" }. i; M9 Lelse; t8 |7 W8 S( F
{7 o+ A7 l5 q' G* o. M1 B! G) k( x
for($i=1;$i<=$this->TotalPage;$i++)
, r2 Q( }# [9 a, C( r{
- T5 M- m& `" q8 H4 [( C! V% z$tempTitle=$this->Fields['title'];//临时存储一个标题副本
* n f Q. \* e( n# J f/ q* qif($i>1)
9 t7 `, s% N+ \* {- ]) D- i- T{6 }2 q% ]- O8 d( ?% A8 h
$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;
; A9 ]2 y9 B* ^- i//为分页标题加上序号。$ c7 Z) k/ F- ]& ^% E' Y
$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号
/ P1 z; N' \2 f# v0 ~! ]/ h} G, o( ]1 a i/ Y
else
- ?/ N8 a8 G% t& x* {8 d8 `( S" @8 Q{
0 b* |: s& \# \$truefilename = $this->GetTruePath().$filename;
1 V, S" n; J* p}- v; T% l( w# T P. E
$this->ParseDMFields($i,1);
5 `+ c1 l4 C: E! Z) |$this->dtp->SaveTo($truefilename);0 k8 A" K/ `- C8 b2 J% N# f3 l
$this->Fields['title']=$tempTitle;//生成html,还原标题& ^1 U- Y- `* C% M/ K
}! I! e* m9 l# K9 V0 [# D2 x
} |
|