Example #1
0
<?php
include('config.php');
include('functions.php');
include('classes/client.class.php');
include('classes/transaction.class.php');
include('classes/transactioncollection.class.php');

login();
if(!logged())
{
  include('login_header.php');
}
else
{
  $client = new Client();
  include($templates.'menu.html');
  $transactions = $client->getTransactions('completed');  
  include($templates.'show_completed.php');
  $transactions = $client->getTransactions('cancelled');  
  include($templates.'show_cancelled.php');
  include($templates.'footer.html');  
}

?>
Example #2
0
<?php
include('config.php');
include('functions.php');
include('classes/client.class.php');
include('classes/transaction.class.php');
include('classes/transactioncollection.class.php');

login();
if(!logged())
{
  include('login_header.php');
}
else
{
  $client = new Client();
  $transactions = $client->getTransactions('pending');
//var_dump($transactions);
  include('templates/menu.html');
  include('templates/show_pending.php');
  include('templates/footer.html');  
}

?>
Example #3
0
<?php
include('config.php');
include('functions.php');
include('classes/client.class.php');
include('classes/transaction.class.php');
include('classes/transactioncollection.class.php');

login();
if(!logged())
{
  include('login_header.php');
}
else
{
  $client = new Client();
  $transactions = $client->getTransactions('sell');

  include('templates/menu.html');
  include('templates/show_rejected.php');
}

?>