smarty 逻辑运算符号

eq                               equal : 相等
neq                            not equal:不等于
gt                               greater than:大于
lt                                less than:小于
lte                              less than or equal:小于等于
gte                             great than or equal:大于等于
is even:                是偶数
is odd:                  是奇数
is not even:         不是偶数
is not odd                不是奇数
not:                         非
mod:                      取余
div by:                  被。。。除

posted @ 2011-01-06 20:44  tonySuen  阅读(1616)  评论(0编辑  收藏  举报