- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php1 E5 V Y4 u$ `) l5 |
修改行数:356行. x3 t1 k9 x9 F2 `, X1 |* Y9 v- x
修改代码如下:
0 U# f# E9 _, Q" M/ j- _+ z//循环生成HTML文件
' U1 l( c% D( t4 x7 p* _1 {else
% S% R8 L. ?7 {* b! e{; t2 I# u7 r1 A3 ?( V
for($i=1;$i<=$this->TotalPage;$i++)& H# ~" ?" M/ o
{
; O) A( \' O7 D$ N) N! a$tempTitle=$this->Fields['title'];//临时存储一个标题副本$ y0 s$ F q8 q$ c/ m {8 ^7 ?
if($i>1)
: v3 A" t6 E! x4 ~{
( q4 m3 O1 c% V+ W0 E8 ^( P$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;
# B. @4 ?8 Y( i//为分页标题加上序号。
8 z; k- W6 E" t+ Y" Z$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号
* H" l* c$ Q& N# A2 e}
* `" b: x( D( ?) r9 z& c" ]else
* X5 D6 _0 P. Q% Z# k' j4 X{. }0 m, {( ^$ s3 Z
$truefilename = $this->GetTruePath().$filename;
- o8 k/ C2 K9 m- F$ X6 ~}- V$ G$ X5 }$ z! K& Z" f8 Z
$this->ParseDMFields($i,1);& D7 u6 Z' Z- x+ O V
$this->dtp->SaveTo($truefilename);3 \; i" ?2 e4 B6 f
$this->Fields['title']=$tempTitle;//生成html,还原标题
& z4 B' U V+ n7 `* B3 d' L}- W9 [9 J1 s: g* S# P
} |
|