POST TIME:2021-05-25 00:58
1.Update`dede_arctype`set 2.keywords=Conact(typename,',',typename,',','和内容相关的关键字,如:教程、新闻、资源等'), 3.description=Conact('本栏目主要是关于',typename,',',typename,',','和内容相关的关键字,如:教程、新闻、资源等','方面的内容'); |
1.for($i=1;$i<=$this->TotalPage;$i++) 2.{ 3. if($this->TotalPage>1){ 4. $this->Fields['tmptitle']=(empty($this->Fields['tmptitle'])?$this->Fields['title']:$this->Fields['tmptitle']); 5. $this->Fields['title']=$this->Fields['tmptitle']."($i)"; 6. } |
1.if($this->SplitPageField!=''&&isset($this->Fields[$this->SplitPageField])) 2.{ 3.$this->Fields[$this->SplitPageField]=$this->SplitFields[$pageNo-1]; 4.} |
1.if($this->SplitPageField!=''&&isset($this->Fields[$this->SplitPageField])) 2.{ 3.$this->Fields[$this->SplitPageField]=$this->SplitFields[$pageNo-1]; 4.$this->Fields['description']=trim(ereg_replace("[ ]",'',cn_substr(html2text($this->Fields[$this->SplitPageField]),200))); 5.} |
1.if($isdefault==-1) 2.{ 3.//动态 4.$reurl=$GLOBALS['cfg_phpurl']."/list.php?tid=".$typeid; 5.} 6.elseif($ispart==2) 7.{ 8.//跳转网址 9.$reurl=$typedir; 10.return$reurl; 11.} 12.else 13.{ 14.if($isdefault==0&&$ispart==0) 15.{ 16.$reurl=str_replace("{page}","1",$namerule2); 17.$reurl=str_replace("{tid}",$typeid,$reurl); 18.$reurl=str_replace("{typedir}",$typedir,$reurl); 19.}else{ 20.$reurl=$typedir.'/'.$defaultname; 21.} 22.} |
1.if($isdefault==-1) 2.{ 3.//动态 4.$reurl=$GLOBALS['cfg_phpurl']."/list.php?tid=".$typeid; 5.} 6.elseif($ispart==2) 7.{ 8.//跳转网址 9.$reurl=$typedir; 10.return$reurl; 11.} 12.else 13.{ 14.if($isdefault==0&&$ispart==0) 15.{ 16.$reurl=str_replace("{page}","1",$namerule2); 17.$reurl=str_replace("{tid}",$typeid,$reurl); 18.$reurl=str_replace("{typedir}",$typedir,$reurl); 19.}else{ 20.if(!isset($cfg_need_dfname)||$cfg_need_dfname=='N')$reurl=$typedir.'/'; 21.else$reurl=$typedir.'/'.$defaultname; 22.} 23.} |