<div id="wrap_id_advice_537" >
		<section id="0_googleadwords" class="panel " style="display:none">
			<header class="panel-heading">
				<span class="icon-lightbulb"></span> Conseil du jour</header>
			<div class="panel-body" style="padding:0">
				<img class="img-responsive" src="https://api.prestashop.com/partner/tipsoftheday/img/logo-googleadwords.png" style="float:right; margin-left: 5px;">
				<img src="https://gamification.prestashop.com/api/getAdviceImg/537.png"/>
				<p><b>Améliorez facilement votre référencement sans vous ruiner!</b></p>
				<p>En choisissant les annonces au coût par clic (CPC), vous prédéfinissez votre budget et payez seulement quand vous avez des visites ! Lancez une campagne avec <b>75€ offerts pour 25€ dépensés !</b></p>
				<span class="text-right" style="float:right">
					<a class="btn btn-default" target="_blank" href="https://gamification.prestashop.com/get_advice_link.php?id_advice=537&url=http%3A%2F%2Fwww.google.com%2Fintl%2Ffr%2Fads%2Fget%2Fprestashop75%2Findex.html%3Futm_source%3Dback-office%26utm_medium%3Dtipoftheday%26utm_campaign%3Dpartenariats%26utm_content%3Dgoogleadwords">Commencez maintenant !</a>
				</span>
			</div>
		</section>
		<section id="1_googleadwords" class="panel " style="display:none">
			<header class="panel-heading">
				<span class="icon-lightbulb"></span> Conseil du jour</header>
			<div class="panel-body" style="padding:0">
				<img class="img-responsive" src="https://api.prestashop.com/partner/tipsoftheday/img/logo-googleadwords.png" style="float:right; margin-left: 5px;">
				<img src="https://gamification.prestashop.com/api/getAdviceImg/537.png"/>
				<p><b>Que recherchent vos clients dans Google pour vous trouver?</b></p>
				<p>Répondez à cette question et choisissez des mots clé spécifiques pour vos annonces : touchez des visiteurs hautement qualifiés ! Profitez de <b>75€ avec ce code promo*</b>: <div id="totd_gadword_code" style="font-size: 15px;"></div></p>
				<span class="text-right" style="float:right">
					<a class="btn btn-default" target="_blank" href="https://gamification.prestashop.com/get_advice_link.php?id_advice=537&url=http%3A%2F%2Fwww.google.com%2Fintl%2Ffr%2Fads%2Fget%2Fprestashop75%2Findex.html%3Futm_source%3Dback-office%26utm_medium%3Dtipoftheday%26utm_campaign%3Dpartenariats%26utm_content%3Dgoogleadwords">Commencez maintenant !</a>
				</span>
			</div>
		</section>
		<section id="2_googleadwords" class="panel " style="display:none">
			<header class="panel-heading">
				<span class="icon-lightbulb"></span> Conseil du jour</header>
			<div class="panel-body" style="padding:0">
				<img class="img-responsive" src="https://api.prestashop.com/partner/tipsoftheday/img/logo-googleadwords.png" style="float:right; margin-left: 5px;">
				<img src="https://gamification.prestashop.com/api/getAdviceImg/537.png"/>
				<p><b>Lancez-vous dans le SEM!</b></p>
				<p>Augmentez votre visibilité sur Google en lançant une campagne AdWords et attirez des clients potentiels qualifiés vers votre boutique. Profitez de <b>75€ offerts pour 25€ dépensés !</b></p>
				<span class="text-right" style="float:right">
					<a class="btn btn-default" target="_blank" href="https://gamification.prestashop.com/get_advice_link.php?id_advice=537&url=http%3A%2F%2Fwww.google.com%2Fintl%2Ffr%2Fads%2Fget%2Fprestashop75%2Findex.html%3Futm_source%3Dback-office%26utm_medium%3Dtipoftheday%26utm_campaign%3Dpartenariats%26utm_content%3Dgoogleadwords">Commencez maintenant !</a>
				</span>
			</div>
		</section>
			<script>
				$(document).ready( function () {
					var rand_section = rand(2);

					if (typeof country_iso_code != 'undefined' && typeof _PS_VERSION_ != 'undefined' && rand_section == 1)
								{
									var totd_hostname = window.location.hostname;
									var test_hostanme_patt = new RegExp(/^172\.16\.|^192\.168\.|^10\.|^127\.|^localhost|\.local$/);
									if (test_hostanme_patt.test(totd_hostname) === false)
									{
										$.get('https://gamification.prestashop.com/get_campaign.php', {iso_country: country_iso_code, campaign: 'gadwords', ps_version: _PS_VERSION_, host: totd_hostname}, function(response){
											try {
												var error = response.error;
											    var code = response.code;
											    if (!error){
											    	$('#totd_gadword_code').text(code);
											    	$('#'+rand_section+'_googleadwords').show();
											    }
											    else
											   		$('#0_googleadwords').show();
											}
											catch(err) {
											   $('#0_googleadwords').show();
											}

										}).fail(function(){
											$('#0_googleadwords').show();
										});
									}
									else
										$('#0_googleadwords').show();
								}
								else if (rand_section == 1)
									$('#0_googleadwords').show();
								else
									$('#'+rand_section+'_googleadwords').show();	
				});
				
				function rand(nbr){
				   return Math.floor(Math.random()*(nbr+1));
				}
			</script>
			</div>