* GNU General Public License for more details. * * @category PayIntelligent * @package ratepay * @copyright (C) 2012 PayIntelligent GmbH <http://www.payintelligent.de/> * @license GPLv2 */ /** * RatePAY logging template, displays the XML */ require_once 'includes/application_top.php'; require_once '../lang/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php'; require_once '../includes/classes/ratepay/helpers/Data.php'; require_once '../includes/classes/ratepay/helpers/Db.php'; require_once '../includes/classes/ratepay/helpers/Globals.php'; rpGlobals::hasParam('id') ? $log = rpDb::getLogEntry(rpGlobals::getParam('id')) : die('Page not allowed!'); ?> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> <?php require DIR_WS_INCLUDES . 'header.php'; ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?> " valign="top">
* @category PayIntelligent * @package ratepay * @copyright (C) 2012 PayIntelligent GmbH <http://www.payintelligent.de/> * @license GPLv2 */ /** * RatePAY order template, displays the deliver/cancel, refund, credit and histroy panel */ require_once 'includes/application_top.php'; require_once '../lang/' . $_SESSION['language'] . '/admin/modules/payment/ratepay.php'; require_once '../includes/classes/ratepay/helpers/Data.php'; require_once '../includes/classes/ratepay/helpers/Db.php'; require_once '../includes/classes/ratepay/helpers/Session.php'; require_once '../includes/classes/ratepay/helpers/Globals.php'; require_once 'includes/classes/order.php'; $orderId = rpGlobals::hasParam('oID') ? rpGlobals::getParam('oID') : die('Missing param: "oID"'); $order = new order($orderId); $lang = $_SESSION['language']; $basketAmount = rpData::getBasketAmount($order, $orderId); $allItems = rpDb::getRpItems($orderId); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?> > <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?> ">
<td> <table border="0" width="100%" cellspacing="0" cellpadding="2" height="40"> <tr> <td class="pageHeading"><?php echo RATEPAY_ADMIN_LOGGING; ?> </td> </tr> <tr> <td><img width="100%" height="1" border="0" alt="" src="images/pixel_black.gif"></td> </tr> </table> </td> </tr> <?php if (rpGlobals::hasParam('success')) { ?> <tr> <td class="messageStackSuccess"> <img border="0" title="" alt="" src="images/icons/success.gif"> <?php echo RATEPAY_ADMIN_LOGGING_DELETE_SUCCESS; ?> </td> </tr> <?php } ?> <tr> <td> <form method="post" action="<?php
/** * Retrieve the logging logical * * @return string */ public static function getLoggingLogical() { $logicals = array('desc' => 'asc', 'asc' => 'desc'); $logical = 'desc'; if (rpGlobals::hasParam('logical')) { $logical = $logicals[rpGlobals::getParam('logical')]; } return $logical; }