$ordersql = ''; if($this->ChannelType< 0 ||$this->ChannelTypeid< 0){ if($orderby=="id"){ $ordersql="order by arc.aid desc"; }else if($orderby=="senddate"){ $ordersql="order by arc.senddate desc"; }else{ $ordersql=" order by arc.click desc"; } }else{ if($orderby=="senddate") { $ordersql=" order by arc.senddate desc"; } else if($orderby=="pubdate") { $ordersql=" order by arc.pubdate desc"; } else if($orderby=="id") { $ordersql=" order by arc.id desc"; } else { $ordersql=" order by arc.click desc"; } } |
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!
转载请注明: dede源码织梦模板下载搜索结果按点击排序的代码教程