Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/shop/pages/review_order.tpl
<h2>Review Order</h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <img src="images/spacer.gif" height="1" width="700"></td>
  </tr>
  {if $error_msg!=""}
      <tr>
        <td><div id="msg_small" style="color:#FF0000; font-weight:bold">Please fill the following information<br />
<br />
{$error_msg}<br />
<br />
</div></td>
      </tr>{/if}
      
      <tr>
    <td>Purchaser: please enter your details here</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><form method="post" name="placeOrder" id="placeOrder" action="receipt2.php"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="100%" border="0" cellpadding="3" cellspacing="0">
      {if $msg!=""}
      <tr>
        <td colspan="2"><div id="msg_small">{$msg}</div></td>
      </tr>{/if}
      
      
      <tr>
        <td colspan="2" class="section_header">General Information</td>
      </tr>
      <tr>
        <td width="151">Customer Name*</td>
        <td width="815" ><input name="customer_name" type="text" id="customer_name" value="{$customer_name}" /></td>
      </tr>
      <tr>
        <td>Business/Company Name*</td>
        <td><input name="business_name" type="text" id="business_name" value="{$business_name}" /></td>
      </tr>
      <tr>
        <td>Email Address*</td>
        <td><input name="email_address" type="text" id="email_address" value="{$email_address}" /></td>
      </tr>
      <tr>
        <td>Mobile</td>
        <td><input name="customer_mobile" type="text" id="customer_mobile" value="{$mobile}"/></td>
      </tr>
      <tr>
        <td>Phone*</td>
        <td><input name="customer_phone" type="text" id="customer_phone" value="{$phone}"/></td>
      </tr>
      <tr>
    <td class="section_header" colspan="2">Shipping Address</td>
  </tr>
  <tr>
         <td width="151">Country*</td>
         <td><input id="s_customer_country" name="s_customer_country" type="hidden" value="{$shipToCountryName}" />
           {$shipToCountryName}</td>
       </tr>
       <tr>
         <td>State*</td>
         <td><input name="s_customer_state" type="hidden" id="s_customer_state" value="{$shipToState}"/>{$shipToState}</td>
       </tr>
       <tr>
         <td>City*</td>
         <td><input name="s_customer_city" type="hidden" id="s_customer_city" value="{$shipToCity}"/>{$shipToCity}</td>
       </tr>
       <tr>
         <td>postcode*</td>
         <td><input name="s_customer_postcode" type="hidden" id="s_customer_postcode" value="{$shipToZip}" size="10"/>{$shipToZip}</td>
       </tr>
       <tr>
         <td>Address*</td>
         <td><input type="hidden" name="s_customer_address" id="s_customer_address" />{$shipToStreet}<br />
{$shipToStreet2}
             </td>
       </tr>
       <tr>
         <td></td>
         <td>&nbsp;</td>
       </tr>
    </table></td>
      </tr>
      <tr>
        <td height="19">&nbsp;</td>
      </tr>
      <tr>
        <td height="24"><table width="100%" border="0" cellpadding="3" cellspacing="0">
          <tr>
            <td class="section_header" >Delivery instructions, comments or gift message</td>
          </tr>
          <tr>
            <td><textarea name="shipping_instructions" cols="40" rows="3" id="shipping_instructions" />{$shipping_instructions}</textarea></td>
          </tr>
          <tr>
            <td height="37">If you have any delivery instructions, comments or wish to add a message to a recipient, please enter these details here</td>
          </tr>
          <tr>
            <td><input type="checkbox" name="mailing_list" id="mailing_list" value="yes" />
              Subscribe to our newsletters.</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="19">&nbsp;</td>
      </tr>
      <tr>
        <td height="29" class="section_header">Item(s)s you are buying</td>
      </tr>
      <tr>
        <td height="29">{include file='shop/cart_items_review.tpl'}</td>
      </tr>
      <tr>
        <td height="29" class="section_header">Terms and conditions</td>
      </tr>
      <tr>
        <td height="48">Please read the following terms and conditions: {if $totalBlocks >0}
{section name=block2 loop=$block2}
<a href="page.php?page_name={$block2[block2].page_title}&page_id={$block2[block2].page_id}">{$block2[block2].page_title}</a>  {/section}
{/if}</td>
      </tr><tr>
        <td height="21">&nbsp;</td>
      </tr>
      <tr>
        <td height="29">{if $total_cart_items>0}      

        <input type="submit" name="Submit" id="button" value="Yes I agree with the above Terms and Conditions, PAY NOW" onclick="submitForm()"/>
        {else}
         <input type="submit" name="Submit" id="button" value="Yes I agree with the above Terms and Conditions, PAY NOW" onclick="submitForm()" disabled="disabled"/><br />
<br />
You have no items in your cart yet. <a href="{$site_url}">Click here</a> to continue shopping
    {/if}
          
                </td>
      </tr>
      <tr>
        <td height="29">&nbsp;</td>
      </tr>
      
    </table></form></td>
  </tr>
</table> 
Return current item: Simple PHP Shopping cart - asaancart