Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/list_all_content_block.tpl
<h4>Select pages for this block</h4>
<p>Following table represents a list of content pages in your shopping cart. </p>
  {section name=page_list loop=$page_list}
  <div style="padding:5px; font-size:11px;">
      <div style="width:380px; float:left; {section name=pages_in_block loop=$pages_in_block}
        {if $page_list[page_list].page_id==$pages_in_block[pages_in_block].page_id}
        background-color:#EBEBEB;
        {/if}
       {/section}"><img src="images/icons/page.png" align="absmiddle" />&nbsp;{$page_list[page_list].page_title} </div><div style="width:20px; float:left; text-align:right;">
       <input type="checkbox" value="{$page_list[page_list].page_id}" id="page_to_add[]" name="page_to_add[]" {section name=pages_in_block loop=$pages_in_block}
        {if $page_list[page_list].page_id==$pages_in_block[pages_in_block].page_id}
        checked="checked"
        {/if}
       {/section} />
       </div>
       <div style="clear:both;></div>
   </div>
  {/section}
Return current item: Simple PHP Shopping cart - asaancart