Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/settings_form.tpl
{section name=store_settings loop=$store_settings}
<form method="post" action="settings.php" name="add_banner_form" enctype="multipart/form-data" id="irForm">
{if $msg==""}{else}
<div id="msg_small">{$msg}</div><br />

{/if}
<div id="demo" class="yui-navset">


    <ul class="yui-nav" style="font-size:11px;">
        <li class="selected"><a href="#tab1"><em>General Info</em></a></li>
        <li><a href="#tab2"><em>Store/Business Information</em></a></li>
        <li><a href="#tab3"><em>Tax / Currency</em></a></li>
        <li><a href="#tab4"><em>Password</em></a></li>
        <li><a href="#tab5"><em>Google Analytics</em></a></li>
    </ul>            
    <div class="yui-content" style="background-color:#F3F3F3">
      <div><table width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td colspan="2">&nbsp;</td>
    </tr>
  <tr>
    <td width="150">Store Title</td>
    <td><input id="store_title" name="store_title" type="text" class="irInput" value="{$store_settings[store_settings].store_title}" />
      <input id="store_id" name="store_id" type="hidden" value="{$store_settings[store_settings].store_id}" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td >&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" class="section_header">Owner Information</td>
    </tr>
  <tr>
    <td>Full Name</td>
    <td ><input id="o_fullname" name="o_fullname" type="text" class="irInput" value="{$store_settings[store_settings].o_fullname}" /></td>
  </tr>
  <tr>
    <td>Email Address</td>
    <td ><input id="o_email_address" name="o_email_address" type="text" class="irInput" value="{$store_settings[store_settings].o_email_address}" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td >&nbsp;</td>
  </tr>
</table></div>
<div><table width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td width="150">Business Name</td>
    <td ><input id="b_name" name="b_name" type="text" class="irInput" value="{$store_settings[store_settings].b_name}" /></td>
  </tr>
  <tr>
    <td width="153">ABN</td>
    <td  ><input id="b_abn" name="b_abn" type="text" class="irInput" value="{$store_settings[store_settings].b_abn}" /> Please enter your ABN (Australian Business Number)</td>
  </tr>
  <tr>
    <td width="153">Address</td>
    <td ><input id="b_address" name="b_address" type="text" class="irInput" value="{$store_settings[store_settings].b_address}" /></td>
  </tr>
  <tr>
    <td>Suburb</td>
    <td ><input id="b_suburb" name="b_suburb" type="text" class="irInput" value="{$store_settings[store_settings].b_suburb}" /></td>
  </tr>
  <tr>
    <td>State</td>
    <td ><input id="b_state" name="b_state" type="text" class="irInput" value="{$store_settings[store_settings].b_state}" /></td>
  </tr>
  <tr>
    <td>Country</td>
    <td ><input id="b_country" name="b_country" type="text" class="irInput" value="{$store_settings[store_settings].b_country}" readonly="readonly" /></td>
  </tr>
  <tr>
    <td>Phone</td>
    <td ><input id="b_phone" name="b_phone" type="text" class="irInput" value="{$store_settings[store_settings].b_phone}" /></td>
  </tr>
  <tr>
    <td>Fax</td>
    <td ><input id="b_fax" name="b_fax" type="text" class="irInput" value="{$store_settings[store_settings].b_fax}" /></td>
  </tr>
  <tr>
    <td>Email Address</td>
    <td ><input id="b_email_address" name="b_email_address" type="text" class="irInput" value="{$store_settings[store_settings].b_email_address}" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td >&nbsp;</td>
  </tr>
</table></div>
<div><table width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td width="150">Store Currency</td>
    <td ><select id="store_currency" name="store_currency">
    	{section name=store_currency loop=$store_currency}
        <option value="{$store_currency[store_currency].currency_code}" {if $store_currency[store_currency].currency_code==$store_settings[store_settings].currency} selected="selected"{/if} >{$store_currency[store_currency].currency_name}</option>
        {/section}
    </select>  
    </td>
    </tr>
  <tr>
    <td>Tax Rate</td>
    <td><input id="tax_rate" name="tax_rate" type="text" class="irInput" size="10" value="{$store_settings[store_settings].tax_rate}"  /> %</td>
  </tr>
</table></div>
<div><table width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td width="150">Old Password</td>
    <td >
      <input id="old_password" name="old_password" type="password" class="irInput" /></td>
  </tr>
  <tr>
    <td>New Password</td>
    <td ><input id="new_password" name="new_password" type="password" class="irInput" value="" /></td>
  </tr>
  <tr>
    <td>Re-type New Password</td>
    <td ><input id="password2" name="password2" type="password" class="irInput" value="" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td >&nbsp;</td>
  </tr>
</table></div>
<div><table width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2"><strong>Google Analytics</strong><br />
<p>With Google Analytics, you can gather, view, and analyze data about your website traffic. By embedding our basic JavaScript snippet into your pages, you see which content gets the most visits, average page views and time on site for visits, which ads are driving the most visitors to your site, and more. You can also use the simple administrative interface to set up goals and filters to control what data goes into your reports based on your business needs. The best part: this sophisticated, full-featured web analytics package is free.<br />

<br />
To create you free google analytics account please visit <a href="https://www.google.com/analytics/" target="_blank">https://www.google.com/analytics/</a></p></td>
    </td>
  </tr>
  <tr>
    <td>Account ID</td>
    <td ><input id="google_analytics_id" name="google_analytics_id" type="text" class="irInput" value="{$store_settings[store_settings].google_analytics_id}" /></td>
  </tr>
  
  <tr>
    <td>&nbsp;</td>
    <td >&nbsp;</td>
  </tr>
</table></div>
</div>
</div>
<br />
{literal}
<script>
(function() {
    var tabView = new YAHOO.widget.TabView('demo');

    YAHOO.log("The Form has finished loading; as you interact with it, you'll see log messages appearing here.", "info", "form");

})();


</script>
{/literal}
  <input name="btn_submit" id="btn_submit" type="submit" value="Save" class="irBtnSave" />
</form>
{/section}
Return current item: Simple PHP Shopping cart - asaancart