Location: PHPKode > projects > Quick.Cart - free and simple to use shopping cart script > templates/admin/payments.php
<?php
if( !defined( 'ADMIN_PAGE' ) )
  exit;

$oOrder = new OrdersAdmin( );

require_once DIR_TEMPLATES.'admin/_header.php'; // include headers
require_once DIR_TEMPLATES.'admin/_menu.php'; // include menu

if( isset( $sOption ) ){
  echo '<div id="msg">'.$lang['Operation_completed'].'</div>';
}
?>
<h1><?php echo $lang['Payment_methods']; ?><a href="<?php echo $config['manual_link']; ?>instruction#1.19" title="<?php echo $lang['Manual']; ?>" target="_blank"></a></h1>
<form action="" method="get" id="search" onsubmit="return false;">
  <fieldset>
    <input type="text" name="sPhrase" value="<?php echo $lang['search']; ?>" class="input" size="50" onkeyup="listTableSearch( this, 'list', 1 )" onfocus="if(this.value=='<?php echo $lang['search']; ?>')this.value=''" />
  </fieldset>
</form>
<?php
// get list of payments
$sPaymentsList = $oOrder->listPaymentsShippingAdmin( 1 );

// display payments in the table list
if( isset( $sPaymentsList ) ){
  ?>
  <table id="list" class="payments" cellspacing="1">
    <thead>
      <tr>
        <td class="id"><?php echo $lang['Id']; ?></td>
        <td class="name"><?php echo $lang['Name']; ?></td>
        <td class="status"><?php echo $lang['Active']; ?></td>
        <td class="options">&nbsp;</td>
      </tr>
    </thead>
    <tbody>
      <?php echo $sPaymentsList; ?>
    </tbody>
  </table>
  <?php
}
else{
  echo '<div id="msg" class="error">'.$lang['Data_not_found'].'</div>';
}

require_once DIR_TEMPLATES.'admin/_footer.php'; // include footer
?>
Return current item: Quick.Cart - free and simple to use shopping cart script