{foreach from=$comments item=oComment name=commentlist}
<li id="postComment_{$oComment.seq}" class="commentItem{if !$smarty.foreach.commentlist.last} dot01{/if}">
{math equation="iteration + (2 * (page-1))" iteration=$smarty.foreach.commentlist.iteration page=$page assign=rank}
{/foreach}
<li id="postComment_{$oComment.seq}" class="commentItem{if !$smarty.foreach.commentlist.last} dot01{/if}">
{math equation="iteration + (2 * (page-1))" iteration=$smarty.foreach.commentlist.iteration page=$page assign=rank}
{/foreach}
'PROGRAMMING > PHP' 카테고리의 다른 글
htmlspecialchars, htmlspecialchars_decode (0) | 2009.11.05 |
---|---|
mb_strlen (0) | 2009.11.02 |
HTTP_REFERER (0) | 2009.09.07 |
[PHP] ImageGif/ImageJPEG/ImagePNG (0) | 2009.08.19 |
centos php 5.1 버젼 json 설치하기 (0) | 2009.08.06 |