Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/list_all_customers.tpl
<p class="info_box" style="font-size:11px;">Legends: <img src="images/icons/user_delete.png" title="Delete Customer" align="absmiddle" /> Delete Customer <img src="images/icons/user_edit.png" title="Edit Customer" align="absmiddle" /> Edit Customer <img src="images/icons/email_delete.png" title="Delete from subscriber list" align="absmiddle"  /> Delete from subscriber list <img src="images/icons/email_add.png" title="Add to subscriber list" align="absmiddle" /> Add to subscriber list<br />
</p>
{if $msg==""}{else}
<div id="msg_small">&nbsp;{$msg}</div><br />
{/if}
<table width="700" border="0" cellpadding="5" bgcolor="#E6F2FF" id="irForm">
  <tr class="section_header">
  	<td width="120" align="center"><strong>Name</strong></td>
    <td align="center"><strong>Business Name</strong></td>
    <td align="center"><strong>Address</strong></td>
    <td align="center"><strong>Contact No</strong></td>
    <td align="center"><strong>Email</strong></td>
    <td width="70" align="center"><strong>Actions</strong></td>
  </tr>
  {section name=all_customer_list loop=$all_customer_list}
  <tr>
    <td valign="top" bgcolor="#FFFFFF">{$all_customer_list[all_customer_list].customer_name}</td>
    <td valign="top" bgcolor="#FFFFFF">{$all_customer_list[all_customer_list].business_name}</td>
    <td valign="top" bgcolor="#FFFFFF">{$all_customer_list[all_customer_list].customer_address}, {$all_customer_list[all_customer_list].customer_suburb}, {$all_customer_list[all_customer_list].customer_state}, {$all_customer_list[all_customer_list].customer_postcode} - {$all_customer_list[all_customer_list].customer_country}</td>
    <td valign="top" bgcolor="#FFFFFF">Mobile: {$all_customer_list[all_customer_list].customer_mobile}<br />
    Phone: {$all_customer_list[all_customer_list].customer_phone}</td>
    <td valign="top" bgcolor="#FFFFFF">{$all_customer_list[all_customer_list].email_address}</td>
    <td valign="top" bgcolor="#FFFFFF"><a href="javascript:deleteCustomer({$all_customer_list[all_customer_list].customer_id});"><img src="images/icons/user_delete.png" title="Delete" /></a>&nbsp;&nbsp;<a href="edit_customer.php?customer_id={$all_customer_list[all_customer_list].customer_id}"><img src="images/icons/user_edit.png" title="Edit" alt="Edit this customer" /></a>{if $all_customer_list[all_customer_list].mailing_list=="yes"}&nbsp;&nbsp;<a href="javascript:updateSubscriberList('{$all_customer_list[all_customer_list].customer_id}','{$all_customer_list[all_customer_list].email_address}', 'delete');"><img src="images/icons/email_delete.png" title="Delete from subscriber list" alt="Delete from subscriber list" /></a>{else}&nbsp;&nbsp;<a href="javascript:updateSubscriberList('{$all_customer_list[all_customer_list].customer_id}','{$all_customer_list[all_customer_list].email_address}', 'add');"><img src="images/icons/email_add.png" title="Add to subscriber list" alt="Add to subscriber list" /></a>
    
    {/if}</td>
  </tr>
  {/section}
</table>


Return current item: Simple PHP Shopping cart - asaancart