zoukankan      html  css  js  c++  java
  • 帝国 万能标签 ecmsinfo 读取数据,从指定 行开始读取。

    [ecmsinfo]'1',6,0,0,0,1,0,'id not in (select t.id from (select * from d_ecms_news order by newstime desc limit 0,12) as t)','newstime desc'[/ecmsinfo]

    这个调用方法漏掉了 栏目ID为1 的信息 这个条件我的栏目为非终极栏目,它的子栏目Id为 2,3,4,5

    所以 调用方法应该改为

    [ecmsinfo]'1',6,0,0,0,1,0,'id not in (select t.id from (select * from d_ecms_news where classid in(2,3,4,5) order by newstime desc limit 0,12) as t)','newstime desc'[/ecmsinfo]

    这里的12 是指不读取前12条记录,从第13条开始读取。 

  • 相关阅读:
    小猫爬山
    方格取数
    Bash 脚本编程
    树链剖分学习笔记
    输入输出优化
    没有上司的舞会
    线性dp 之 麻烦的聚餐
    飞翔
    挖地雷
    The Prices
  • 原文地址:https://www.cnblogs.com/surplus/p/14542017.html
Copyright © 2011-2022 走看看