- 注册时间
- 2009-12-25
- 最后登录
- 2021-7-10
- 在线时间
- 3302 小时
- 阅读权限
- 200
- 积分
- 10
- 帖子
- 13416
- 精华
- 1
- UID
- 2036
  
|
修改文件:/include/arc.archives.class.php: C6 ^1 `6 `& t- \ k
修改行数:356行
% Y) `; P# o. {修改代码如下:, c {% @7 m c
//循环生成HTML文件
' c( o4 C0 K& c( m5 R6 ]: r* Qelse3 S$ A3 w) f8 b. M1 g3 m
{
' T7 y4 D% @* U' Z7 x% Efor($i=1;$i<=$this->TotalPage;$i++)
( e2 c( O4 a D. {5 Q* @ r{
( A' B# v7 t9 I1 ~: ^2 [2 p/ a$tempTitle=$this->Fields['title'];//临时存储一个标题副本
% D( z4 @% T/ |- {' y- `if($i>1)/ h2 o# E6 C7 C3 X' z3 f
{
0 {: R# l+ n5 D4 u' D$truefilename = $this->GetTruePath().$fileFirst.”_”.$i.”.”.$this->ShortName; D; v* h7 u7 h6 ?2 v
//为分页标题加上序号。 K P7 n- M! q
$this->Fields['title'] = $this->Fields['title'].’(‘.$i.’)';//在标题后面多加个序号/ Z! ^6 t/ q+ p3 e! K, U
}
+ ]0 ^1 ~2 V* felse& U, ?; n* j, ~2 P- l% [( X
{
0 U& ?$ \/ u, q6 @$truefilename = $this->GetTruePath().$filename;: s8 |4 Z" U5 p) P: G. o. D
}
8 q! B& R; m4 Y7 |$this->ParseDMFields($i,1);8 I6 v$ p: ]; s. ^! a
$this->dtp->SaveTo($truefilename);5 @% G3 E7 J/ s, w
$this->Fields['title']=$tempTitle;//生成html,还原标题
5 V7 R1 t5 \/ `; g" z}
& P R, S6 N! Q4 z} |
|