- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php7 J8 H& w! C. o% e
修改行数:356行/ P) G! {: ~; `# G" L9 c* t
修改代码如下:
: }5 W0 ?: d4 R Y' V//循环生成HTML文件
# H* s- _: m2 a2 n+ e3 i9 Qelse
: n P2 n1 ~4 S0 p; w# p M; j{
7 X, y% T, A" Sfor($i=1;$i<=$this->TotalPage;$i++)& N4 ]* g" M/ M6 u
{
! O* }- Z2 y( _0 g# q( N+ C$tempTitle=$this->Fields['title'];//临时存储一个标题副本- R; r! U: w' U4 ?+ m
if($i>1)& _: L# a$ J( n/ n
{2 V7 m) u) G% x6 l
$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName;
- o9 C0 z- t$ c$ i* O6 ?6 |//为分页标题加上序号。2 t N2 P H8 M4 l7 g5 n% q( s
$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号$ T+ W1 ^6 W) _+ {: a2 I1 R
}$ N3 f# O5 X& B1 G) p
else
_1 k a* x% {& [{
; V* n/ N3 D% X( a6 s- m2 b$truefilename = $this->GetTruePath().$filename;, b& z6 n1 ^5 `( D0 i5 a3 b
}3 X r7 ~' m- V" q S: l% f7 A- D
$this->ParseDMFields($i,1);
; L* _- o; j3 ]$this->dtp->SaveTo($truefilename);: i5 J& ? U3 P0 O; |# D. P
$this->Fields['title']=$tempTitle;//生成html,还原标题( @& z( A$ X7 c/ n( @# _! O, {0 G
}: S t0 n- P- B
} |
|