OverLord Shell

Path : G:/PleskVhosts/jaincensus.com/macciaweb.ultraliant.com/businessforum/
File Upload :
Current File : G:/PleskVhosts/jaincensus.com/macciaweb.ultraliant.com/businessforum/jobappladd_save.php

<?php
error_reporting(0);
session_start();
include("db/conn.php");
if(!isset($_SESSION['company_id']) || !isset($_SESSION['company_name'])){session_destroy();echo "login.php";exit;}

$aa=explode('~',$_POST['id']);
$data = array(
		//'compnayjob_id' => $aa[1],//pr key of  busdir_mst_companyjob
		//'jobprofile_id' => $aa[0],//pr key of  busdir_mst_jobprofile
		'shortlist'=> 'c',
		'inv_location' => $_POST['inv_location'],
		'dndt' =>date("Y-m-d H:i:s", strtotime($_POST['dndt'])),
		'inv_description' =>htmlentities(str_replace("'"," "," ".$_POST['inv_description']." "),ENT_QUOTES),
		'modifiedby' => $_SESSION['company_id'],
		'modifiedon' => date('Y-m-d H:i:s')
	);

$insertresult = dbRowUpdate('busdir_mst_jobapply', $data,'compnayjob_id = "'.$aa[1].'" and jobprofile_id = '.$aa[0].'');
	$insertresultarr = explode("-",$insertresult);
	if($insertresultarr[0]=='success'){
			
			$listjb=getData("busdir_mst_jobprofile", "company_id", "'".$aa[0]."'", NULL, NULL, "");
			//sending welcome email
			$to = $listjb['company_email'];
			$subject="MACCIA Business Network ";
			$headers  =  'From: business.maccia.org.in' . "\r\n"  .
											'Reply-To:' . "\r\n" .
											'MIME-Version: 1.0' . "\r\n" .
											'Content-type: text/html; charset=iso-8859-1' . "\r\n" .
											'X-Mailer: PHP/' . phpversion();
			$message="Congratulations, ".$listjb['company_name']."!!!  You have been  shortlisted by an organisation on MACCIA Business Network !!!<br><br>Please visit the following link in order to login into your account to see the Details<br><br><a href=\"http://business.maccia.org.in/login.php\" target=\"_blank\">http://business.maccia.org.in</a><br><br>Thank you for registering.<br><br>-------------------------------------------------------<br><strong>This is an automated message, please do not reply.</strong>";
		$mresponse = mail($to,$subject,$message,$headers);
		
			
	echo "Interview scheduled on '".date("Y-m-d H:i:s", strtotime($_POST['dndt']))."' at  '".$_POST['inv_location']."' ";
	
	}else {
	echo $insertresultarr[0]."....";
	}
?>

xRyukZ - Copyright 2k19