<pre>
<?
	include('_functions2.php');

	// getStuffTest();
	// $milliseconds = round(microtime(true) * 1000);
	// echo $milliseconds;
	// echo "\n";
	// echo microtime(true);


// echo test();
	// trackEmail2( '551101X551102X551103' );
	// trackEmail2( '55yy' );

	$data = resendEmailData('0E9BA043-23CB-B003-C984-7623E01D2534');
	printRecord( $data['cert'] );

	echo "\n\n___________________________________________________\n\n";
	
	
	printRecord( $data['group'] );

	echo json_encode($data,JSON_UNESCAPED_UNICODE);


// 	emailCustomer($data['guid'], $group['email'], $data['orderid'], $count, $group['first'], $group['last'], NULL, $data['emailfrom'], $data['emailmessage'], $data['dvalue'], $data['tip'], $data['emailtype'])

// (n)  id = 2246
// (dt) date_created = 1575755086, '2019-12-07 16:44:46'
// (dt) date_modified = 1575747886, '2019-12-07 14:44:46'
// (s)  guid = '0E9BA043-23CB-B003-C984-7623E01D2534'
// (n)  orderid = 5511
// (s)  groupid = 'FD2BFA9C-91F5-BD85-D871-A651BBF5AB40'
// (nl) transferid = NULL
// (n)  label = 551101
// (s)  dvalue = 'One Hour Swedish Massage'
// (nl) del = NULL
// (n)  used = 0
// (n)  status = 0
// (n)  cardtype = 3
// (n)  tip = 0
// (n)  emailtype = 1
// (s)  emailfrom = 'jessica'
// (s)  emailmessage = 'enjoy'
// (n)  epoch = 1575755085.9212


// ___________________________________________________

// (n)  id = 920
// (dt) date_created = 1575755086, '2019-12-07 16:44:46'
// (dt) date_modified = 1575747886, '2019-12-07 14:44:46'
// (s)  guid = 'FD2BFA9C-91F5-BD85-D871-A651BBF5AB40'
// (n)  orderid = 5511
// (nl) transferid = NULL
// (s)  first = 'Scott'
// (s)  last = 'Reph'
// (s)  email = 'scott.reph@gmail.com'
// (n)  label = 1
// (s)  dvalue = 'One Hour Swedish Massage'
// (n)  status = 0
// (n)  esend = 1
// (n)  cardtype = 3
// (n)  tip = 0
// (n)  gift = 1
// (n)  del = 0





?>
</pre>