<?php

	$out_link_utm='?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin';

	$links = array(
		0	=>	array(
			'text'	=>	__('Test your URLs on the Facebook Debugger', 'wd-fb-og'),
			'url'	=>	'https://developers.facebook.com/tools/debug',
		),
		5	=>	array(
			'text'	=>	__('Test your URLs on the Twitter Card validator', 'wd-fb-og'),
			'url'	=>	'https://cards-dev.twitter.com/validator',
		),
		10	=>	array(
			'text'	=>	__('About the Open Graph Protocol (on Facebook)', 'wd-fb-og'),
			'url'	=>	'https://developers.facebook.com/docs/opengraph/',
		),
		20	=>	array(
			'text'	=>	__('The Open Graph Protocol (official website)', 'wd-fb-og'),
			'url'	=>	'http://ogp.me/',
		),
		25	=>	array(
			'text'	=>	__('About Twitter Cards', 'wd-fb-og'),
			'url'	=>	'https://dev.twitter.com/cards/getting-started',
		),
		30	=>	array(
			'text'	=>	__('Plugin official URL', 'wd-fb-og'),
			'url'	=>	'http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/'.$out_link_utm,
		),
		40	=>	array(
			'text'	=>	__('Author\'s website: Webdados', 'wd-fb-og'),
			'url'	=>	'http://www.webdados.pt/'.$out_link_utm,
		),
		50	=>	array(
			'text'	=>	__('Author\'s Facebook page: Webdados', 'wd-fb-og'),
			'url'	=>	'http://www.facebook.com/Webdados',
		),
		60	=>	array(
			'text'	=>	__('Author\'s Twitter account: @Wonderm00n<br/>(Webdados founder)', 'wd-fb-og'),
			'url'	=>	'http://twitter.com/wonderm00n',
		),
	);

?>
<div class="postbox-container webdados_fb_admin_right">

		<div id="poststuff">

			<div class="postbox">
				<h3 class="hndle"><?php _e('About this plugin', 'wd-fb-og');?></h3>
				<div class="inside">
					<h4><?php _e('Support forum', 'wd-fb-og'); ?>:</h4>
					<p><a href="https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags" target="_blank">WordPress.org</a></p>
					<h4><?php _e('Premium technical support or custom WordPress development', 'wd-fb-og'); ?>:</h4>
					<p id="webdadoslink"><a href="http://www.webdados.pt/contactos/<?php echo esc_attr($out_link_utm); ?>" title="<?php echo esc_attr(sprintf(__('Please contact %s', 'wd-fb-og'), 'Webdados')); ?>" target="_blank"><img src="<?php echo plugins_url('webdados.png', __FILE__); ?>"/></a></p>
					<h4><?php _e('Please rate our plugin at WordPress.org', 'wd-fb-og'); ?>:</h4>
					<a href="https://wordpress.org/support/view/plugin-reviews/wonderm00ns-simple-facebook-open-graph-tags?filter=5#postform" target="_blank" style="text-align: center; display: block;">
						<div class="star-rating"><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div><div class="star star-full"></div></div>
					</a>
				</div>
			</div>

			<div class="postbox">
				<h3 class="hndle"><?php _e('Useful links', 'wd-fb-og');?></h3>
				<div class="inside">
					<ul>
						<?php foreach($links as $link) { ?>
							<li>- <a href="<?php echo $link['url']; ?>" target="_blank"><?php echo $link['text']; ?></a></li>
						<?php } ?>
					</ul>
				</div>
			</div>

			<div id="webdados_fb_open_graph_donation" class="postbox">
				<h3 class="hndle"><?php _e('Donate', 'wd-fb-og');?></h3>
				<div class="inside">
					<p><?php _e('If you find this plugin useful and want to make a contribution towards future development please consider making a small, or big ;-), donation.', 'wd-fb-og');?></p>
					<center><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
						<input type="hidden" name="cmd" value="_donations">
						<input type="hidden" name="business" value="wonderm00n@gmail.com">
						<input type="hidden" name="lc" value="PT">
						<input type="hidden" name="item_name" value="Marco Almeida (Wonderm00n)">
						<input type="hidden" name="item_number" value="facebook_open_graph_plugin">
						<input type="hidden" name="currency_code" value="USD">
						<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
						<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
						<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
					</form></center>
				</div>
			</div>
			
		</div>

</div>