<?php
/* ------------------------------------------------------------------------------------
*  COPYRIGHT AND TRADEMARK NOTICE
*  Copyright 2008-2023 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 class="ajdg-postbox-title"><?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 it 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('View knowledgebase', '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 Banner Manager support forum', 'adrotate'); ?></strong></a><br /><em><?php _e('Ask anything about AdRotate here on the wordpress.org forum.', 'adrotate'); ?> <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><?php _e('View topics', '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 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 class="ajdg-postbox-title"><?php _e('Plugins and services', 'adrotate'); ?></h2>
				<div id="stats" class="ajdg-postbox-content">
					<table width="100%">
						<tr>
							<td width="33%">
								<div class="ajdg-sales-widget" style="display: inline-block; margin-right:2%;">
									<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('WordPress Plugin', '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">Only &euro; 39,-</a></div>
									<hr>
									<div class="description"><?php _e('Place Adsense Ads and any other kind of advert on your WordPress and ClassicPress website.', 'adrotate'); ?></div>
								</div>
							</td>
							<td width="33%">
								<div class="ajdg-sales-widget" style="display: inline-block; margin-right:2%;">
									<a href="https://ajdg.solutions/product/wordpress-maintenance-and-updates/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="header"><img src="<?php echo plugins_url("/images/offers/wordpress-maintenance.jpg", dirname(__FILE__)); ?>" alt="WordPress Maintenance" width="228" height="120"></div></a>
									<a href="https://ajdg.solutions/product/wordpress-maintenance-and-updates/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank"><div class="title"><?php _e('WP Maintenance', '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/wordpress-maintenance-and-updates/?mtm_campaign=adrotate&mtm_keyword=adrotate_support_page" target="_blank">Starting at &euro; 22,50</a></div>
									<hr>
									<div class="description"><?php _e('Get all the latest updates for WordPress and plugins. Maintenance, delete spam and clean up files.', '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 and ClassicPress', '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">View now</a></div>
									<hr>
									<div class="description"><?php _e('Plugins for WordPres, ClassicPress, WooCommerce, Classic Commerce and bbPress.', 'adrotate'); ?></div>
								</div>
							</td>
						</tr>
					</table>
					<em><small><?php _e('Prices shown in Euros, your bank will convert your local currency to Euros for free.', 'adrotate'); ?></small></em>
				</div>
			</div>

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

			<div class="ajdg-postbox">
				<h2 class="ajdg-postbox-title"><?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">
						        <option value="0" disabled>-- <?php _e('Optionally select an advert', 'adrotate'); ?> --</option>
						</select> <span class="ajdg-tooltip">[?]<span class="ajdg-tooltiptext ajdg-tooltip-top">Selecting an advert will include the ad settings for Arnan to test on his website. Does not include group or schedule data.</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">Checking this option will create a (temporary) account for Arnan to log in and take a look at your setup.</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>

<div class="clear"></div>
<p><?php echo adrotate_trademark(); ?></p>
