咨询热线:400-993-9391

OCP国际认证

发布时间:2012-11-03 信息来源: 浏览次数:34354
getRecord("SELECT * FROM cn_news WHERE cid =$cid and id=$nextid"); if (!$nextnews[0]['id']=="") $nexttt="下一篇:".$nextnews[0]['title'].""; break; } if ($nextnews[0]['id']=="") $nexttt="下一篇:无"; /***********下翻页ID判断 结束*************/ /***********上翻页ID判断 开始*************/ for ($previd=$id-1; $previd>0; $previd=$previd-1) { $prevnews = $dbConn->getRecord("SELECT * FROM cn_news WHERE cid =$cid and id=$previd"); if (!$prevnews[0]['id']=="") $prevtt="上一篇:".$prevnews[0]['title'].""; break; } if ($prevnews[0]['id']=="") $prevtt="上一篇:无"; /***********上翻页ID判断 结束*************/ ?>