|
|
|
вопрос по Smarty - {cycle}
|
|||
|---|---|---|---|
|
#18+
Здравствуйте! вот в документации по Smarty есть пример {section name=rows loop=$data} <tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}"> <td>{$data[rows]}</td> </tr> {/section} а как сделать что бы две строчки были одним цветом, а третья другим цветом? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.12.2008, 18:56 |
|
||
|
|

start [/forum/topic.php?fid=22&gotonew=1&tid=1455404]: |
0ms |
get settings: |
9ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
172ms |
get topic data: |
11ms |
get first new msg: |
6ms |
get forum data: |
3ms |
get page messages: |
59ms |
get tp. blocked users: |
2ms |
| others: | 210ms |
| total: | 500ms |

| 0 / 0 |
