|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/abtechsci/quickcart/templates/admin/ |
Upload File : |
<?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"> </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
?>