Make a summary of the logical operation symbols for Smarty templates for later use.
EQ Equal: Equal
NEQ not equal: Not equal to
GT greater than: greater than
Lt less than: smaller than
LTE lesser than or equal: less than or equal to
GTE great than or equal: greater than or equal to
is even: an even number
Is odd: it is odd
Is isn't even: not even
Is isn't odd not an odd number
Not: Non-
MoD: Finding the modulus and taking the remainder
Div by: ... Except
&& and: and
|| Or: OR
Is (not) div by can be divisible by a number, for example: {if $smarty. Get.age is div by 3} ... {/if}
is [not] even whether it is an even number, for example: $a is "not" even by $b i.e. ($a/$b)% 2 = = 0,
Is "not" odd is odd, for example: $a is not odd by $b i.e. ($a/$b)% 2! = 0
{if $_global_password} is determined that the variable is not present ....
{if $_global_password!== '} is a judgment variable etc. not equal to null ....
The IF statement and the IF in Smarty must appear in pairs of/if. You can use the else and elseif clauses.
The templates use EQ, NE, neq, GT, LT, LTE, Le, GTE, GE, is even, is odd, is not even, is not odd, not, MoD, div by, even by, odd by, = =,! =, >, <, <=, >= These logical operation symbols must be and variables or constants with the empty open.
Smarty the logical operation symbol of the template to do a little summary