Update `dede_arctype` set keywords=Conact(typename, ‘,’, typename, ‘,’, ‘和内容相关的关键字,如:教程、新闻、资源等’), description=Conact(’本栏目主要是关于’, typename, ‘,’, typename, ‘,’, ‘和内容相关的关键字,如:教程、新闻、资源等’, ‘方面的内容’); |
for($i=1;$i<=$this->TotalPage;$i++)
{ if($this->TotalPage > 1) { $this->Fields['tmptitle'] = (empty($this->Fields['tmptitle']) ? $this->Fields['title'] : $this->Fields
['tmptitle']);
$this->Fields['title'] = $this->Fields['tmptitle'].”($i)”; } |
if($this->SplitPageField!=” && isset($this->Fields[$this->SplitPageField])) { $this->Fields[$this->SplitPageField] = $this->SplitFields[$pageNo - 1]; } |
if($this->SplitPageField!=” && isset($this->Fields[$this->SplitPageField]))
{ $this->Fields[$this->SplitPageField] = $this->SplitFields[$pageNo - 1]; $this->Fields['description'] = trim(ereg_replace(”[\r\n\t]“, ‘ ‘, cn_substr(html2text($this->Fields[$this
->SplitPageField]), 200)));
} |
if($isdefault==-1) { //动态 $reurl = $GLOBALS['cfg_phpurl'].”/list.php?tid=”.$typeid; } else if($ispart==2) { //跳转网址 $reurl = $typedir; return $reurl; } else { if($isdefault==0 && $ispart==0) { $reurl = str_replace(”{page}”,”1″,$namerule2); $reurl = str_replace(”{tid}”,$typeid,$reurl); $reurl = str_replace(”{typedir}”,$typedir,$reurl); } else { $reurl = $typedir.’/’.$defaultname; } } |
if($isdefault==-1)
{ //动态 $reurl = $GLOBALS['cfg_phpurl'].”/list.php?tid=”.$typeid; } else if($ispart==2) { //跳转网址 $reurl = $typedir; return $reurl; } else { if($isdefault==0 && $ispart==0) { $reurl = str_replace(”{page}”,”1″,$namerule2); $reurl = str_replace(”{tid}”,$typeid,$reurl); $reurl = str_replace(”{typedir}”,$typedir,$reurl); } else { if(!isset($cfg_need_dfname) || $cfg_need_dfname==’N') $reurl = $typedir.’/'; else $reurl = $typedir.’/’.$defaultname; } } |