Following is the smarty arithmetic code I tried but it's not working:
{if $cur_page == 1} {assign var='i' value=1} {else} {assign var='i' value=$cur_page * 15 + 1} {/if}
Can someone please correct my code? If you want any other information regarding the issue please do let me know.