1$this->dsql->FreeResult("al");
1if($artlist==''){2$artlist='<li style="background-color:#f5f5f5; height:50px;padding: 12px 0 0 5px;font-size: 16px;">抱歉,暂无<span style="background-color:#ffffff;color:#dd201a;"><strong>';3$artlist .= $this->Keyword;4$artlist .= '</strong></span><span style="color: black;">的搜索结果。</span><span style="color: black;">请尝试其他关键词的搜索,如:织梦模板...</span></li>';5}
1else if($tagname=="pagelist"){2$list_len = trim($ctag->GetAtt("listsize"));3if($list_len=="")4{5$list_len = 3;6}7$this->dtp->Assign($tagid,$this->GetPageListDM($list_len));8}
1else if($tagname=="itemcount"){2$list_len = trim($ctag->GetAtt("listsize"));3if($list_len=="")4{5$list_len = 3;6}7$this->dtp->Assign($tagid,$this->GetItemsCountDM($list_len));8}
1/**2* 获得当前的页面文件的url3*4* @access public5* @return string6*/
01//————02//搜索输出总量03//————04function GetItemsCountDM($list_len){05global $oldkeyword;06$pagenow = ($this->PageNo-1) * 10 + 1;07$pagenows = $this->PageNo*10; //当结果超过限制时,重设结果页数08if($this->TotalResult > $this->SearchMaxRc)09{10$totalpage = ceil($this->SearchMaxRc/$this->PageSize);11}12$plist .= $this->TotalResult;13return $plist;14}
内容却是丰富 参考一下pangzig评论Re:dedecms搜索没有结果如何在搜索结果页添加友好提示
这个值得关注学习一下zhugefx评论Re:dedecms搜索没有结果如何在搜索结果页添加友好提示
昵称*
验证码
技术支持
直接说出您的需求!切记!带上资源连接与问题!
正常工作日:2小时内反应 法定节假日:4小时内反应
首页
充值
切换
客服
内容却是丰富 参考一下
pangzig评论Re:dedecms搜索没有结果如何在搜索结果页添加友好提示
这个值得关注学习一下
zhugefx评论Re:dedecms搜索没有结果如何在搜索结果页添加友好提示