| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/xfcadmin/ |
Upload File : |
<?php
include ('adm.config.php');
include ('adm.header.php');
//echo '<div class="row">';
//echo 'General Account/Profile Settings <br />';
//echo 'Enable/Disable (Private Video, Custom Videos, Special Requests) <br />';
//echo 'If enabled; Define description texts and schedule for Private Video, Prices for Custom Videos... <br />';
//echo ' <br />';
//echo '</div>';
// purchasedItems($xfcadmin, $memberID, $status, $itemType, $pageNumber, $numResults)
$pageDisplay = 5;
if(isset($_GET['v'])) {
$pageView = addslashes($_GET['v']);
} else {
$pageView = "pending";
}
if(isset($_GET['t']) && is_numeric($_GET['t'])) {
$pageType = addslashes($_GET['t']);
} else {
$pageType = 0;
}
if(isset($_GET['p']) && is_numeric($_GET['p'])) {
$pageNumber = addslashes($_GET['p']);
} else {
$pageNumber = 1;
}
$getCount = purchasedItems($userDetails->xfcadmin,$userDetails->model_id,$pageView,$pageType,1,9999,1);
/*
if($pageNumber > ceil($getCount/$pageDisplay)) {
$pageNumber = 1;
}
*/
$getPagination = paginateStuff("adm.accounting.php","v=".$pageView,$pageNumber,$getCount,$pageDisplay,"all");
$getResults = purchasedItems($userDetails->xfcadmin,$userDetails->model_id,$pageView,$pageType,$pageNumber,$pageDisplay,0);
?>
<div class="row">
<div class="large-12 columns">
<div class="panel">
<h4>Accounting...</h4>
<a href="adm.accounting.php?v=pending">Pending</a><a href="adm.accounting.php?v=payable">Payable</a><a href="adm.accounting.php?v=paid">Paid</a><a href="adm.accounting.php?v=all">All Purchases</a>
<?php echo $getPagination; ?>
<div class="row">
<div class="large-12 columns">
<div class="large-2 columns">ID#</div>
<div class="large-2 columns">Date</div>
<div class="large-2 columns">Status</div>
<div class="large-2 columns">Price</div>
<div class="large-4 columns">Item Description</div>
</div>
</div>
<?php
foreach($getResults AS $row) {
?>
<div class="row">
<div class="large-12 columns">
<div class="large-2 columns"><?php echo $row->transactionID; ?></div>
<div class="large-2 columns"><?php echo $row->purchaseDate; ?></div>
<div class="large-2 columns"><?php echo $row->status; ?></div>
<div class="large-2 columns">$<?php echo $row->itemPrice; ?></div>
<div class="large-4 columns"><?php echo $row->title; ?></div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
<?php
include ('adm.footer.php');
?>