Ejemplo n.º 1
0
 *
 * @category  PayIntelligent
 * @package   ratepay
 * @copyright (C) 2012 PayIntelligent GmbH  <http://www.payintelligent.de/>
 * @license   GPLv2
 */
/**
 * RatePAY log overview, displays all log entrys
 */
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';
$logs = rpGlobals::hasParam('orderby') ? rpDb::getLogEntrys(rpGlobals::getParam('orderby')) : rpDb::getLogEntrys();
$logical = rpData::getLoggingLogical();
?>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/general.js"></script>
<!-- header //-->
<?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;
?>
Ejemplo n.º 2
0
 /**
  * Retrieve all log entrys
  *
  * @param string $orderBy
  * @return array
  */
 public static function getLogEntrys($orderBy = 'date')
 {
     $sql = 'SELECT * FROM ratepay_log ORDER BY ' . xtc_db_input($orderBy) . ' ' . rpData::getLoggingLogical();
     return xtc_db_query($sql);
 }