热门标签:咸阳销售外呼系统企数外呼系统能用多久宁夏怎么申请400电话兰州智能语音电销机器人功能常用地图标注范围点离线电子地图标注软件注册外呼回拨系统图片为什么外呼系统需要预存话费呢办理400电话一年多少钱Rem==上一篇== Rem================================================================ Rem= 参数说明: Rem= pid当前ID,prame:栏目前辍(如一般web_news表,字段时一般为wn_**,prame就代表wn) Rem= ptable(表前辍.如一般表名是:站点名_表名(shenzhe_news) ptable:就代表shenzhe) Rem= 说明:采用上面命名法,可使该过程达到通用 Rem=============================================================== Function GetPre(pid,prame,ptable) id = prame"_id" title = prame"_title" table = "city_"ptable url = "show_"ptable sql = "SELECT TOP 1 "id","title" FROM "table" WHERE "id""pid" ORDER BY "id" DESC" set rs = Conn.Execute(sql) If rs.eof or rs.bof Then pre = "上一篇:没有新闻了" Else pre = "a href="url".asp?"id"="rs(0)">"rs(1)"/a>" End If GetPre = pre End Function
Rem = 下一篇 Rem============= Rem= 参数函意和上过程一样 Rem========== Function GetNext(nid,nrame,ntable) id = nrame"_id" title = nrame"_title" table = "city_"ntable url = "show_"ntable sql = "SELECT TOP 1 "id","title" FROM "table" WHERE "id">"nid" ORDER BY "id" " set rs = Conn.Execute(sql) If rs.eof or rs.bof Then nnext = "下一篇:没有新闻了" Else nnext = "a href="url".asp?"id"="rs(0)">下一篇:"rs(1)"/a>" End If GetNext = nnext End Function