<?php
/* ------------------------------------------------------------------------------------
*  COPYRIGHT AND TRADEMARK NOTICE
*  Copyright 2008-2024 Arnan de Gans. All Rights Reserved.
*  ADROTATE is a registered trademark of Arnan de Gans.

*  COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
*  By using this code you agree to indemnify Arnan de Gans from any
*  liability that might arise from its use.
------------------------------------------------------------------------------------ */
?>

<div id="dashboard-widgets-wrap">
	<div id="dashboard-widgets" class="metabox-holder">
		<div id="left-column" class="ajdg-postbox-container">

			<div class="ajdg-postbox">
				<h2><?php _e("Getting help with AdRotate Banner Manager", 'adrotate'); ?></h2>
				<div id="news" class="ajdg-postbox-content">
					<p><img src="<?php echo plugins_url('/images/icon-support.png', dirname(__FILE__)); ?>" class="alignleft pro-image" /><?php _e("Is something not working the way you expect it to? If you need help you can check the manuals and guides on my website. There is a lot of information on the support forum asked by other users. Chances are your question has already been asked and answered or if not, I am always happy to help!", 'adrotate'); ?></p>

					<p><a href="https://ajdg.solutions/support/adrotate-manuals/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><strong><?php _e("AdRotate Banner Manager manuals and guides", 'adrotate'); ?></strong></a><br /><em><?php _e("Take a look at the AdRotate Manuals.", 'adrotate'); ?> <a href="https://ajdg.solutions/support/adrotate-manuals/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><?php _e("Find answers", 'adrotate'); ?> &raquo;</a></em></p>
					<p><a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><strong><?php _e("AdRotate support forum", 'adrotate'); ?></strong></a><br /><em><?php _e("Ask anything about AdRotate Banner Manager on my support forum.", 'adrotate'); ?> <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><?php _e("Ask your question", 'adrotate'); ?> &raquo;</a></em></p>
					<p><a href="https://ajdg.solutions/product/support-ticket/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><strong><?php _e("Premium ticket support", 'adrotate'); ?></strong></a><br /><em><?php _e("Buy a priority support ticket for private and quick assistance.", 'adrotate'); ?> <a href="https://ajdg.solutions/product/support-ticket/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><?php _e("More information", 'adrotate'); ?> &raquo;</a></em></p>
					<p><a href="https://support.ajdg.net/" target="_blank"><strong><?php _e("Report security issues", 'adrotate'); ?></strong></a><br /><em><?php _e("Found a security flaw?", 'adrotate'); ?> <a href="https://support.ajdg.net/" target="_blank"><?php _e("Please report it", 'adrotate'); ?> &raquo;</a></em></p>
				</div>
			</div>

			<div class="ajdg-postbox">
				<h2><?php _e("Plugins and services", 'adrotate'); ?></h2>
				<div id="stats" class="ajdg-postbox-content">
					<table width="100%">
						<tr>
							<td width="33.33%">
								<div class="ajdg-sales-widget" style="display: inline-block;">
									<a href="https://ajdg.solutions/product/adrotate-pro-single/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/monetize-your-site.jpg", dirname(__FILE__)); ?>" alt="AdRotate Professional" width="228" height="120"></div></a>
									<a href="https://ajdg.solutions/product/adrotate-pro-single/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="title"><?php _e("AdRotate Professional", 'adrotate'); ?></div></a>
									<div class="sub_title"><?php _e("All the features you need!", 'adrotate'); ?></div>
									<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/adrotate-pro-single/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><?php _e("Buy now", 'adrotate'); ?></a></div>
									<hr>
									<div class="description"><?php _e("Turn up your advertising management to 11 with AdRotate Pro and benefit from the many extra features.", 'adrotate'); ?></div>
								</div>
							</td>
							<td width="33.33%">
								<div class="ajdg-sales-widget" style="display: inline-block;">
									<a href="https://ajdg.solutions/product/adrotate-html5-setup-service/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/html5-service.jpg", dirname(__FILE__)); ?>" alt="HTML5 Advert setup" width="228" height="120"></div></a>
									<a href="https://ajdg.solutions/product/adrotate-html5-setup-service/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="title"><?php _e("HTML5 Advert setup", 'adrotate'); ?></div></a>
									<div class="sub_title"><?php _e("Professional service", 'adrotate'); ?></div>
									<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/product/adrotate-html5-setup-service/?mtm_campaign=adrotatepro&mtm_keyword=info_page" target="_blank"><?php _e("Learn more", 'adrotate'); ?></a></div>
									<hr>
									<div class="description"><?php _e("Do you have a HTML5 advert but can’t get it to work in AdRotate Banner Manager? I’ll help you out!", 'adrotate'); ?></div>
								</div>							
							</td>
							<td>
								<div class="ajdg-sales-widget" style="display: inline-block;">
									<a href="https://ajdg.solutions/plugins/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/more-plugins.jpg", dirname(__FILE__)); ?>" alt="AJdG Solutions Plugins" width="228" height="120"></div></a>
									<a href="https://ajdg.solutions/plugins/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="title"><?php _e("All my plugins", 'adrotate'); ?></div></a>
									<div class="sub_title"><?php _e("WordPress", 'adrotate'); ?></div>
									<div class="cta"><a role="button" class="cta_button" href="https://ajdg.solutions/plugins/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><?php _e("View all plugins", 'adrotate'); ?></a></div>
									<hr>
									<div class="description"><?php _e("Cool plugins that improve WooCommerce online store; faster checkout, no checkout, payment stats and more!", 'adrotate'); ?></div>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</div>

		</div>
		<div id="right-column" class="ajdg-postbox-container">

			<div class="ajdg-postbox">
				<h2><?php _e("Ticket Support is available in AdRotate Professional", 'adrotate'); ?></h2>
				<div id="support" class="ajdg-postbox-content">
					<form name="request" id="post" method="post" action="admin.php?page=adrotate">
						<p><img src="<?php echo plugins_url('/images/icon-contact.png', dirname(__FILE__)); ?>" class="alignleft pro-image" />&raquo; <?php _e("Premium support always has priority!", 'adrotate'); ?><br />&raquo; <?php _e("No queuing up on the forum...", 'adrotate'); ?><br />&raquo; <?php _e("Using this form includes all the technical information for a quick solution.", 'adrotate'); ?><br />&raquo; <?php _e("Available in AdRotate Professional!", 'adrotate'); ?></p>

						<p><strong><?php _e("Your name:", 'adrotate'); ?></strong><br /><input tabindex="1" name="ajdg_support_username" type="text" class="search-input" style="width:100%;" value="<?php echo $current_user->display_name; ?>" autocomplete="off" disabled /></p>
						<p><strong><?php _e("Your Email Address:", 'adrotate'); ?></strong><br /><input tabindex="1" name="ajdg_support_email" type="text" class="search-input" style="width:100%;" value="<?php echo $current_user->user_email; ?>" autocomplete="off" disabled /></p>
						<p><strong><?php _e("Subject:", 'adrotate'); ?></strong><br /><input tabindex="2" name="ajdg_support_subject" type="text" class="search-input" style="width:100%;" value="" autocomplete="off" disabled /></p>
						<p><strong><?php _e("Problem description / Question:", 'adrotate'); ?></strong><br /><textarea tabindex="3" name="ajdg_support_message" style="width:100%; height:100px;" disabled></textarea></p>

						<p><label for="ajdg_support_advert"><strong><?php _e("Advert I need help with:", 'adrotate'); ?></strong> 
							<select tabindex="4" name="ajdg_support_advert" disabled>
						        <option value="0" disabled>-- <?php _e("Optionally select an advert", 'adrotate'); ?> --</option>
						</select> <span class="ajdg-tooltip">[?]<span class="ajdg-tooltiptext ajdg-tooltip-top"><?php _e("Selecting an advert will include the ad settings for Arnan to test on his website. Does not include group or schedule data.", 'adrotate'); ?></span></span></label></p>
						<p><input tabindex="5" name="ajdg_support_account" type="checkbox" disabled /> <?php _e("Please log in to my website and take a look.", 'adrotate'); ?> <span class="ajdg-tooltip">[?]<span class="ajdg-tooltiptext ajdg-tooltip-top"><?php _e("Checking this option will create a (temporary) account for Arnan to log in and take a look at your setup.", 'adrotate'); ?></span></span></p>

						<p><strong><?php _e("When you send this form the following data will be submitted:", 'adrotate'); ?></strong><br/>
						<em><?php _e("Your name, Account email address, Your website url and some basic WordPress information will be included with the message.", 'adrotate'); ?><br /><?php _e("This information is treated as confidential and is mandatory.", 'adrotate'); ?></em></p>

						<p class="submit">
							<input tabindex="6" type="submit" name="adrotate_support_submit" class="button-primary" value="<?php _e("Get Help", 'adrotate'); ?>" disabled />&nbsp;&nbsp;&nbsp;<em><?php _e("Premium Support is available in AdRotate Pro!", 'adrotate'); ?></em>
						</p>

					</form>
				</div>
			</div>

		</div>
	</div>
</div>