Location: PHPKode > projects > Quick.Cart - free and simple to use shopping cart script > templates/admin/payments_shipping.tpl
<!-- BEGIN PAYMENTS_TITLE -->
<h1>$lang['Payment_methods']<a href="$config['manual_link']instruction#12" title="$lang[Manual]" target="_blank"></a></h1>
<form action="" method="get" id="search" onsubmit="return false;">
  <fieldset>
    <input type="text" name="sPhrase" value="$lang[search]" class="input" size="50" onkeyup="listTableSearch( this, 'list', 1 )" onfocus="if(this.value=='$lang[search]')this.value=''" />
  </fieldset>
</form>
<!-- END PAYMENTS_TITLE -->

<!-- BEGIN PAYMENTS -->
<form action="?p=$p" method="post">
  <fieldset>
    <table id="list" class="payments" cellspacing="1">
      <thead>
        <tr>
          <td class="id">$lang['Id']</td>
          <td class="name">$lang['Name']</td>
          <td class="status">$lang['Active']</td>
          <td class="options">&nbsp;</td>
        </tr>
      </thead>
      <tbody><!-- START LIST -->
        <tr class="l$aData[iStyle]">
          <td class="id">
            $aData[iId]
          </td>
          <td class="name">
            <a href="?p=$aActions[f]-form&amp;iId=$aData[iId]">$aData[sName]</a>
          </td>
          <td class="status">
            $aData[sStatus]
          </td>
          <td class="options">
            <a href="?p=$aActions[f]-form&amp;iId=$aData[iId]"><img src="$config[dir_templates]admin/img/ico_edit.gif" alt="$lang['edit']" title="$lang['edit']" /></a>
            <a href="?p=$aActions[f]-delete&amp;iId=$aData[iId]" onclick="return del( );"><img src="$config[dir_templates]admin/img/ico_del.gif" alt="$lang['delete']" title="$lang['delete']"/></a>  
          </td>
        </tr><!-- END LIST -->
      </tbody>
    </table>
  </fieldset>
</form>
<!-- END PAYMENTS -->

<!-- BEGIN SHIPPING_TITLE -->
<h1>$lang['Shipping']<a href="$config['manual_link']instruction#13" title="$lang[Manual]" target="_blank"></a></h1>
<form action="" method="get" id="search" onsubmit="return false;">
  <fieldset>
    <input type="text" name="sPhrase" value="$lang[search]" class="input" size="50" onkeyup="listTableSearch( this, 'list', 1 )" onfocus="if(this.value=='$lang[search]')this.value=''" />
  </fieldset>
</form>
<!-- END SHIPPING_TITLE -->

<!-- BEGIN SHIPPING -->
<form action="?p=$p" method="post">
  <fieldset>
    <table id="list" class="shipping" cellspacing="1">
      <thead>
        <tr>
          <td class="id">$lang['Id']</td>
          <td class="name">$lang['Name']</td>
          <td class="status">$lang['Active']</td>
          <td class="price">$lang['Price']</td>
          <td class="payments">$lang['Payment_methods']</td>
          <td class="options">&nbsp;</td>
        </tr>
      </thead>
      <tbody><!-- START LIST -->
        <tr class="l$aData[iStyle]">
          <td class="id">
            $aData[iId]
          </td>
          <td class="name">
            <a href="?p=$aActions[f]-form&amp;iId=$aData[iId]">$aData[sName]</a>
          </td>
          <td class="status">
            $aData[sStatus]
          </td>
          <td class="price">
            $aData[fPrice]
          </td>
          <td class="payments">
            $aData[sPayments]
          </td>
          <td class="options">
            <a href="?p=$aActions[f]-form&amp;iId=$aData[iId]"><img src="$config[dir_templates]admin/img/ico_edit.gif" alt="$lang['edit']" title="$lang['edit']" /></a>
            <a href="?p=$aActions[f]-delete&amp;iId=$aData[iId]" onclick="return del( );"><img src="$config[dir_templates]admin/img/ico_del.gif" alt="$lang['delete']" title="$lang['delete']"/></a>  
          </td>
        </tr><!-- END LIST -->
      </tbody>
    </table>
  </fieldset>
</form>
<!-- END SHIPPING -->

<!-- BEGIN PAYMENTS_FORM -->
<h1>$lang['Edit_payment_method']<a href="$config['manual_link']instruction#12" title="$lang[Manual]" target="_blank"></a></h1>
<form action="?p=$p" method="post" id="mainForm" onsubmit="return checkForm( this );">
  <fieldset id="type2">
    <input type="hidden" name="iId" value="$aData[iId]" />
    <input type="hidden" name="iType" value="1" />
    <table cellspacing="1" class="mainTable" id="payment">
      <thead>
        <tr class="save">
          <th colspan="3">
            <input type="submit" value="$lang['save_list'] &raquo;" name="sOptionList" />
            <input type="submit" value="$lang['save'] &raquo;" name="sOption" />
          </th>
        </tr>
      </thead>
      <tfoot>
        <tr class="save">
          <th colspan="3">
            <input type="submit" value="$lang['save_list'] &raquo;" name="sOptionList" />
            <input type="submit" value="$lang['save'] &raquo;" name="sOption" />
          </th>
        </tr>
      </tfoot>
      <tbody>
        <tr class="l0">
          <th>$lang[Name]</th>
          <td><input type="text" name="sName" value="$aData[sName]" class="input" size="50" maxlength="40" alt="simple" /></td>
        </tr>
        <tr class="l1">
          <th>
            $lang[Status]
          </th>
          <td>
            $sStatusBox
          </td>
        </tr>
        <tr class="end">
          <td colspan="2">&nbsp;</td>
        </tr>
      </tbody>
    </table>
  </fieldset>
</form>
<!-- END PAYMENTS_FORM -->

<!-- BEGIN SHIPPING_PAYMENTS -->
<thead>
  <tr>
    <td></td>
    <td>$lang[Name]</td>
    <td>$lang[Price]</td>
  </tr>
</thead>
<tbody><!-- START LIST -->
  <tr>
    <td><input type="checkbox" name="aPayments[$aData[iId]]" <!-- IF:START CHECKED -->checked="checked"<!-- IF:END CHECKED --> value="1" onclick="changeInputStatus( this, 'aPayments$aData[iId]' )" /></td>
    <td><b>$aData[sName]</b></td>
    <td> 
      <input type="text" name="aPaymentsPrices[$aData[iId]]" value="$aData[mPrice]" class="inputr<!-- IF:START DISABLE --> inputrd<!-- IF:END DISABLE -->" size="10" id="aPayments$aData[iId]" />
      $lang[example] 10, -10, 10%
    </td>
  </tr><!-- END LIST -->
</tbody>
<!-- END SHIPPING_PAYMENTS -->

<!-- BEGIN SHIPPING_FORM -->
<h1>$lang[Edit_shipping_method]<a href="$config['manual_link']instruction#13" title="$lang[Manual]" target="_blank"></a></h1>
<form action="?p=$p" method="post" id="mainForm" name="form" onsubmit="return checkForm( this );">
  <fieldset id="type2">
    <input type="hidden" name="iId" value="$aData[iId]" />
    <input type="hidden" name="iType" value="2" />
    <table cellspacing="1" class="mainTable" id="shipping">
      <thead>
        <tr class="save">
          <th colspan="3">
            <input type="submit" value="$lang['save_list'] &raquo;" name="sOptionList" />
            <input type="submit" value="$lang['save'] &raquo;" name="sOption" />
          </th>
        </tr>
      </thead>
      <tfoot>
        <tr class="save">
          <th colspan="3">
            <input type="submit" value="$lang['save_list'] &raquo;" name="sOptionList" />
            <input type="submit" value="$lang['save'] &raquo;" name="sOption" />
          </th>
        </tr>
      </tfoot>
      <!-- name start -->
      <tr class="l0">
        <th>
          $lang['Name']
        </th>
        <td>
          <input type="text" name="sName" value="$aData[sName]" size="30" maxlength="30" class="input" alt="simple" />
        </td>
        <td rowspan="4" class="tabs">
          <div id="tabs">
            <ul id="tabsNames">
              <!-- tabs start -->
              <li class="tabPayments"><a href="#more" onclick="displayTab( 'tabPayments' )">$lang['Payment_methods']</a></li>
              <!-- tabs end -->
            </ul>
            <div id="tabsForms">
              <!-- tabs list start -->
              <table class="tab" id="tabPayments">
                $sPaymentsList
                <!-- tab payments -->
              </table>
              <!-- tabs list end -->
            </div>
          </div>
        </td>
      </tr>
      <!-- name end -->
      <!-- price start -->
      <tr class="l1">
        <th>
          $lang[Price]
        </th>
        <td>
          <input type="text" name="fPrice" value="$aData[fPrice]" class="inputr" size="10" alt="float" /> $config[currency_symbol]
        </td>
      </tr>
      <!-- price end -->
      <tr class="l0">
        <th>
          $lang[Status]
        </th>
        <td>
          $sStatusBox
        </td>
      </tr>
      <tr class="end">
        <td colspan="2">&nbsp;</td>
      </tr>
    </table>
  </fieldset>
  <script type="text/javascript">
  <!--
  AddOnload( getTabsArray );
  AddOnload( checkSelectedTab );
  //-->
  </script>
</form>
<!-- END SHIPPING_FORM -->
Return current item: Quick.Cart - free and simple to use shopping cart script