- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php; @+ ~- p: Z) h% o( l2 G6 c
修改行数:356行5 _; ]/ W- T3 ~( ^# q; }& x, l- G
修改代码如下:
; \9 D) I8 ~) O6 q1 M% E- f, ?: t//循环生成HTML文件
8 e( F2 d0 ]- [& O( lelse
8 N: C, b, m1 N: Q# c{
R) v8 Z3 u% u5 Qfor($i=1;$i<=$this->TotalPage;$i++); D( V5 }$ b' Z, `6 {/ }6 k& I
{
$ z' W9 Q- ^2 Q- [' Y: g$tempTitle=$this->Fields['title'];//临时存储一个标题副本% `( V/ U& Q! I3 T5 _" ?
if($i>1)$ W) r2 ?8 Y8 p& {# m# c
{, P7 o& f7 V6 y- w
$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;! P ` Y* H% d4 k6 |4 k
//为分页标题加上序号。6 Q; Q7 i' K$ R) s# ^- h, e }( h
$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号7 P% {0 l0 I( P" Q7 i$ x
}" C9 K$ g) u3 q: W
else
2 f. X% S' Y* U! \$ ^1 o6 J{5 t$ K" M b w/ T/ ]) ?
$truefilename = $this->GetTruePath().$filename;7 x0 P7 a4 x* H3 Z/ ~
}
8 H" p# P8 }( |1 y$ T$this->ParseDMFields($i,1);
3 r) I3 g$ V N7 d+ ?$this->dtp->SaveTo($truefilename);9 f0 s% r/ ?; J6 A& A+ P
$this->Fields['title']=$tempTitle;//生成html,还原标题
( u5 w/ Q) L2 E# |- r# v}$ d: Q3 Q, a; `: ~$ w
} |
|