else
{
for($i=1;$i<=$this->TotalPage;$i++)
{
$tempTitle=$this->Fields['title'];//临时存储一个标题副本
if($i>1)
{
$truefilename = $this->GetTruePath().$fileFirst."_".$i.".".$this->ShortName;
|
$this->Fields['title'] = $this->Fields['title'].'('.$i.')';//在标题后面多加个序号
}
else
{
$truefilename = $this->GetTruePath().$filename;
}
$this->ParseDMFields($i,1);
$this->dtp->SaveTo($truefilename);
$this->Fields['title']=$tempTitle;//生成html,还原标题
}
}
|
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!
转载请注明: 给Dedecms文章列表分页标题加上序号