﻿function SidebarProposer1() {
	document.write('<div id="proposer"><a href="/proposer-une-recette-orientale" >Proposer une recette</a></div>');
	document.write('<h3 id="titreDecouvrir"><span class="png">A découvrir</span></h3><div id="contenupub" class="contenu">');
}
function SidebarProposer2() {
	document.write('</div>');
}

function SidebarRecherche() {
	document.write('<h3 id="titreRecherche"><span class="png">Recherchez une recette</span></h3>');
	document.write('<div id="contenuRecherche" class="contenu2">');
	document.write('<form action="/recherche.php" method="post">');
	document.write('<div>');
	document.write('<input type="text" name="keywords" value="" /> <input type="submit" class="submit" value="Ok" />');
	document.write('<input type="hidden" name="keywords_titre" value="1" />');
	document.write('<input type="hidden" name="keywords_ingredients" value="1" />');
	document.write('<input type="hidden" name="keywords_preparation" value="1" />');
	document.write('<input type="hidden" name="keywords_commentaires" value="1" />');
	document.write('</div>');
	document.write('</form>');
	document.write('<p><a href="/recherche.php">Recherche avancée</a></p>');
	document.write('</div>');
}

function SidebarNewsletter() {
	document.write('<h3 id="titreNewsletter"><span class="png">Recevez notre Newsletter</span></h3>');
	document.write('<div id="contenuNewsletter" class="contenu2">');
	document.write('<form action="/newsletter.php" method="post">');
	document.write('<div><input type="text" name="email" value="" /> <input type="submit" class="submit" value="Ok" /></div>');
	document.write('<div>');
	document.write('<label for="format_1"><input type="radio" id="format_1" name="format" value="1" checked="checked" /> HTML</label>');
	document.write('<label for="format_0"><input type="radio" id="format_0" name="format" value="0" /> Texte</label>');
	document.write('</div></form></div>');
}

function PaysPub() {
	document.write('<h2>A votre service pour la cuisine:</h2>');
}
function IndexPubTransavia(){
	document.write('<p><center><div style="border: 2px solid rgb(0, 0, 0);">');
	document.write('<strong>Offre spéciale</strong>: Avec <strong>Transavia.com</strong>, envolez vous cet été, &#224; bas prix vers<br>');
	document.write('<a href="http://tracking.publicidees.com/clic.php?promoid=25221&progid=1071&partid=3493" target="_blank">Monastir</a><img src="http://tracking.publicidees.com/link.php?promoid=25221&progid=1071&partid=3493" height="1" width="1">, <a href="http://tracking.publicidees.com/clic.php?promoid=25222&progid=1071&partid=3493" target="_blank">Marrakech</a><img src="http://tracking.publicidees.com/link.php?promoid=25222&progid=1071&partid=3493" height="1" width="1">, <a href="http://tracking.publicidees.com/clic.php?promoid=25223&progid=1071&partid=3493" target="_blank">Djerba</a><img src="http://tracking.publicidees.com/link.php?promoid=25223&progid=1071&partid=3493" height="1" width="1">, <a href="http://tracking.publicidees.com/clic.php?promoid=25234&progid=1071&partid=3493" target="_blank">Agadir</a><img src="http://tracking.publicidees.com/link.php?promoid=25234&progid=1071&partid=3493" height="1" width="1">, <a href="http://tracking.publicidees.com/clic.php?promoid=25228&progid=1071&partid=3493" target="_blank">Ouarzazate</a><img src="http://tracking.publicidees.com/link.php?promoid=25228&progid=1071&partid=3493" height="1" width="1"> ou <a href="http://tracking.publicidees.com/clic.php?promoid=25235&progid=1071&partid=3493" target="_blank">Oudja</a><img src="http://tracking.publicidees.com/link.php?promoid=25235&progid=1071&partid=3493" height="1" width="1">');
	document.write('</div></center></p>');
}

function test() {
	document.write('<h2>Découvrez les recettes de cuisine d\'autres pays</h2>');
	document.write('<?php echo $html; ?>');
}

