<?php require_once('../Connections/oprmConn.php'); 
$user_email = $row_getTime['email_address'];
	$user_email1 = $row_getProj22['email_address'];
   $headers = 'MIME-Version: 1.0' . "\r\n";
       $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
       $headers .= "From: $SERVER_EMAIL" . "\r\n" ;
	$subject = " SS WEB TECHNOLOGIES. - Time sheet has been submitted successfully";
	$subject1 = " SS WEB TECHNOLOGIES. - $row_getTime[full_name]: Time sheet has been submitted"; 
	$body = "Hi $row_getTime[full_name],<";
	$body1 = "Hi admin,<";
$t1 = "br>
<br>
The New Timesheet submited By $row_getTime[full_name]. To View  recent timesheets 
		<a href='http://$_SERVER[HTTP_HOST]/RM/index.php'> Click here.</a>
<br>
	<br>
	Thanks,<br>
	SS WEB TECHNOLOGIES.";
	$t = "br><br> This is to inform you that your timesheet for week $row_getTime[task_week] has been submitted and waiting for Admin Approval <br><br>
	Thanks,<br>
	SS WEB TECHNOLOGIES.";
$body .= $t;
	$body1 .= $t1;
	mail($user_email, $subject, $body, $headers);
		mail($ADMIN_EMAIL, $subject1, $body1, $headers);
?>