1. Counter function
Implement automatic counting function
{Counter start=0 skip=2 Print=false}
Parameter description:
Start: Start position
Skip: Step Order
Print: Whether you are currently printing
Demo5.html code Example
<!DOCTYPE HTML><HTML><Head><MetaCharSet= ' utf-8′><title></title></Head><Body><ul><Li>{Counter start=10 skip=3 print=false},aaaaaaaaaaa</Li><!–false will not display the label –><Li>{COUNTER},AAAAAAAAAAAAA</Li><Li>{COUNTER},AAAAAAAAAAAAAA</Li><Li>{COUNTER},AAAAAAAAAAAAAAA</Li></ul></Body></HTML>
2. Cycle Wheel Display function
Implementing a rotation of numeric values
Basic syntax:
<tr bgcolor= "{cycle values=" #eeeeee, #d0d0d0 ″} ">
Example code: Implementing an interlaced table color effect
Demo5.html Sample code:
<!DOCTYPE HTML><HTML><Head><MetaCharSet= ' utf-8′><title></title></Head><Body><TableBorder= ' 1′width= ' 500′><TRbgcolor= ' {cycleValues= "Red,blue,yellow"} '><TD>Number</TD><TD>Name</TD></TR><TRbgcolor= ' {cycleValues= "Red,blue,yellow"} '><TD>Number</TD><TD>Name</TD></TR><TRbgcolor= ' {cycleValues= "Red,blue,yellow"} '><TD>Number</TD><TD>Name</TD></TR><TRbgcolor= ' {cycleValues= "Red,blue,yellow"} '><TD>Number</TD><TD>Name</TD></TR><TRbgcolor= ' {cycleValues= "Red,blue,yellow"} '><TD>Number</TD><TD>Name</TD></TR></Table></Body></HTML>
Kill lui lei Dog---Smarty no:13 system Custom Function (plugins)