<?php

if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}

global $user_email, $userpackname, $packlastdate, $productpagelink,$username,$fbbttm_helperobj,$fbbttm_messagetype;



do_action( 'fbbttm_email_header' );

$messageword = ($fbbttm_messagetype=='1')? 'is expire ' : 'was expired';
?>
<div>
	<h3><?php echo esc_html__('Order renew remainder','foodboxbooker');?></h3>
	<?php /* translators: %s: Customer username */ ?>
	<p><?php printf( esc_html__( 'Hi %s,', 'foodboxbooker' ),  esc_html($username) ) ; ?></p>
	<?php   /* translators: 1: package info, 2: package  date */ ?>
	<p><?php printf( esc_html__( 'Just to let you know — your package %1$s on #%2$s, please renew your package to continue service: ', 'foodboxbooker' ), esc_html( $messageword ),  esc_html($packlastdate ) ); ?></p>
	<p><?php printf( esc_html__( 'Please follow below link and select your package plan ', 'foodboxbooker' )); ?></p>
	<p><a class="link" href="<?php echo esc_url(  $productpagelink   );?>"><?php echo esc_html__( 'Click here ', 'foodboxbooker' );?></a>
	</p>

</div>
<?php
do_action( 'fbbttm_email_footer' );
?>