<div class="wrap about-wrap">

	<h1><?php esc_html_e( 'Get Your Free Addon!', 'awesome-support' ); ?></h1>

	<div class="about-text"><?php esc_html_e( 'Wanna get more out of Awesome Support, but not yet ready to spend the cash? Get one free addon today!', 'awesome-support' ); ?></div>

	<div class="changelog">

		<div class="row">
			<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
				<div class="about-body">
					<img src="<?php echo esc_url( WPAS_URL ); ?>assets/admin/images/custom-status.png" alt="<?php echo esc_html__( 'Improved Custom Fields', 'awesome-support' );?>">
				</div>
			</div>
			<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
				<div class="about-body">
					<h3><?php esc_attr_e( 'Custom Status', 'awesome-support' ); ?></h3>
					<p><?php esc_attr_e( 'Need more than the three default statuses?  Maybe you need to tag certain tickets for “Development” or  move them to certain support levels such as “Level 1” and “Level 2”.  With the Custom Status addon you can create the perfect set of ticket statuses for your organization.', 'awesome-support' ); ?></p>
					<p><a href="https://getawesomesupport.com/addons/custom-status/?utm_source=plugin&utm_medium=optin&utm_campaign=activation" target="_blank"><?php esc_attr_e( 'Read more about this addon on our site >', 'awesome-support' ); ?></a></p>
				</div>
			</div>
		</div>

		<h2><?php esc_html_e( 'How to Get Your Free Addon', 'awesome-support' ); ?></h2>
		<?php 
			// translators: %1$s is the URL to view the privacy policy, %2$s are additional attributes for the privacy policy link.
			$x_content = __( 'Getting your addon is dead simple: just subscribe to our newsletter and then you will get the free addon by e-mail. We will not spam you. We usually send out newsletters to talk about new features in Awesome Support, let you know when new or updated addons are being released and provide informative articles that show you how to use Awesome Support to its full potential. <a href="%1$s" %2$s>View our privacy policy</a>', 'awesome-support' );
		?>
		<p><?php echo sprintf( wp_kses_post( $x_content ), 'https://getawesomesupport.com/legal/privacy-policy/', 'target="_blank"' ) ; ?></p>

		<div id="wpas-mailchimp-signup-form-wrapper">
			<form action="<?php echo esc_url( add_query_arg( array( 'post_type' => 'ticket', 'page' => 'wpas-optin' ), admin_url( 'edit.php' ) ) ); ?>" method="post" id="wpas-mailchimp-signup-form" name="wpas-mailchimp-signup-form">
				<table class="form-table">
					<tr>
						<td class="row-title"><label for="mce-FNAME"><?php echo esc_html__( 'First Name', 'awesome-support' );?></label> <input type="text" value="" name="FNAME" class="medium-text" id="mce-FNAME"></td>
						<td class="row-title">
							<label for="mce-EMAIL"><?php echo esc_html__( 'Email Address', 'awesome-support' );?></label>
							<input type="email" value="" name="EMAIL" class="regular-text required email" id="mce-EMAIL">
							<input type="submit" value="<?php echo esc_html__( 'Subscribe', 'awesome-support' );?>" name="subscribe" id="mc-embedded-subscribe" class="button-secondary">
						</td>
					</tr>
				</table>
				<div style="position: absolute; left: -5000px;" aria-hidden="true">
					<input type="text" name="b_46ccfe899f0d2648a8b74454a_ad9db57f69" tabindex="-1" value="">
				</div>
				<div id="mce-responses" class="clear">
					<div class="wpas-alert-danger" id="wpas-mailchimp-signup-result-error" style="display:none;"><?php echo esc_html__( 'Error', 'awesome-support' );?></div>
					<div class="wpas-alert-success" id="wpas-mailchimp-signup-result-success" style="display:none; color: green;"><?php esc_html_e( 'Thanks for your subscription! You will need to confirm the double opt-in e-mail that you will receive in a coupe of minutes. After you confirmed it, you will receive the free addon directly in your inbox.', 'awesome-support' ); ?></div>
				</div>
			</form>
		</div>
	</div>

</div>