- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.222.182.195
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/puertode/public_html/mesa/include/client/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/puertode/public_html/mesa/include/client/knowledgebase.inc.php
<?php
if(!defined('OSTCLIENTINC')) die('Access Denied');

?>
<?php
if($_REQUEST['q'] || $_REQUEST['cid'] || $_REQUEST['topicId']) { //Search
    $faqs = FAQ::allPublic()
        ->annotate(array(
            'attachment_count'=>SqlAggregate::COUNT('attachments'),
            'topic_count'=>SqlAggregate::COUNT('topics')
        ))
        ->order_by('question');

    if ($_REQUEST['cid'])
        $faqs->filter(array('category_id'=>$_REQUEST['cid']));

    if ($_REQUEST['topicId'])
        $faqs->filter(array('topics__topic_id'=>$_REQUEST['topicId']));

    if ($_REQUEST['q'])
        $faqs->filter(Q::all(array(
            Q::ANY(array(
                'question__contains'=>$_REQUEST['q'],
                'answer__contains'=>$_REQUEST['q'],
                'keywords__contains'=>$_REQUEST['q'],
                'category__name__contains'=>$_REQUEST['q'],
                'category__description__contains'=>$_REQUEST['q'],
            ))
        )));

    include CLIENTINC_DIR . 'kb-search.inc.php';

} else { //Category Listing.
    include CLIENTINC_DIR . 'kb-categories.inc.php';
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit