Update myTransactions.php
This commit is contained in:
parent
95983e695b
commit
c94dd23905
@ -1,11 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* Created by PhpStorm.
|
|
||||||
* User: Abhishek Sinha
|
|
||||||
* Date: 6/24/2017
|
|
||||||
* Time: 8:38 PM
|
|
||||||
*/
|
|
||||||
|
|
||||||
require_once '../includes/imp_files.php';
|
require_once '../includes/imp_files.php';
|
||||||
|
|
||||||
if (!checkLoginStatus()) {
|
if (!checkLoginStatus()) {
|
||||||
@ -18,9 +11,9 @@ if (isset($_POST['task']) && trim($_POST['task'])=='myTransactions') {
|
|||||||
$std->trade_list = array();
|
$std->trade_list = array();
|
||||||
$std->error = true;
|
$std->error = true;
|
||||||
|
|
||||||
if (isset($UserClass, $user_id)) {
|
if (isset($user_id)) {
|
||||||
|
|
||||||
$tradeList = $UserClass->displayUserTransaction($user_id, 0, 10);
|
$tradeList = displayUserTransaction($user_id, 0, 10);
|
||||||
|
|
||||||
$std->trade_list = $tradeList;
|
$std->trade_list = $tradeList;
|
||||||
$std->error = false;
|
$std->error = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user