- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php1 e; B% S" Z$ r0 v/ U
修改行数:356行
% ?$ g$ {, P5 x+ B _% n: ?修改代码如下:
* A: v5 q* _7 s- u//循环生成HTML文件$ D" g/ ?% [# z; B6 O5 b9 s
else) w1 }! m# n# \$ ^( H' c2 U0 B
{; M. n7 w+ h+ |
for($i=1;$i<=$this->TotalPage;$i++)! ~ X+ i7 P, T& }8 `
{4 I2 q9 K% U' A' {% P8 L
$tempTitle=$this->Fields['title'];//临时存储一个标题副本" h, w( |% I$ N
if($i>1)0 T, y1 T( ^$ D* r
{+ G. w O9 X3 {) n& w
$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;0 k# I0 r! K" n9 U: h7 q
//为分页标题加上序号。) U5 ]) T) P# o' P& p: k
$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号$ R1 b( d9 w; a4 U- o9 G; L3 Q- O
}4 m* o, H3 y8 A$ R: S
else
8 K; R& K6 r* `- s( e* y; M R{
1 R& F$ G( a3 X4 V: M6 Z$ v$truefilename = $this->GetTruePath().$filename;
6 c" l8 ]# X% {: z}
1 c5 r4 a' n# }( ]9 N- q% @/ e$this->ParseDMFields($i,1);; C9 x+ T! m# T9 N
$this->dtp->SaveTo($truefilename);
S" x) q* I, S/ W& Q$this->Fields['title']=$tempTitle;//生成html,还原标题
4 M8 c' O! m: B+ c7 V% O* Y}- Z( V5 b: _+ w
} |
|