<?php require "config.php";
$nav=$_GET['nav'];
header("Content-Disposition: attachment; filename=\"sensmotdire.$nav\";");
header("Content-Type: text/xml");
if ($nav == "src")
{
echo '<search
	version="7.1"
	name="sensmotdire"
	description="Conjuguer un verbe"
	action="' . $URL . 'redirect/"
	searchform="' . $URL . 'redirect/"
	method="GET"
	queryCharset="utf-8"
>
	<input name="sourceid" value="Mozilla-search">
	<input name="word" user>
</search>

<browser
	update="' . $URL . 'plugin_firefox.src"
	updateIcon="' . $URL . 'images/sensmotdire.png"
	updateCheckDays="7"
>
';
};
if ($nav == "xml")
{
echo '<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
	<ShortName>sensmotdire</ShortName>
	<Description>Conjuguer un verbe</Description>
	<InputEncoding>utf-8</InputEncoding>
	<Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wIEEjsAFV3aJgAAAB10RVh0Q29tbWVudABDcmVhdGVkIHdpdGggVGhlIEdJTVDvZCVuAAACO0lEQVQ4y6WTXUiTYRTHf++7dx8tK1wWVDNtYg0r+tAivdBKMsmLIkrwops+EGIQRF2IFRTYRQURBFFQF8JIKKG6iFRCiy40FYeEoib5haBzzlHqnG6ni70bvayueh7Ozf+c8zvn4TwH/vMoqZKosFgII6UQXQeOftj8HpgC9gLfQQklojWAu3BAhaxuTuUP8sQTY0MagKAQxo6faQlh+QF5LmhtAKoMNT9oDAvIvywG0o8ql6x5omQ++omQq5sTgOKrzNa7jUlvLCw3wMdPMBSEWG55TmzrKGKOIMnrwx9v4VBmjeNehgHgukg40eEv2EQfi3+kCo8JUoZHD6ktSyu/ZgBk30SoeHYbxEUTxUoMYTaeXNKGWLYwDpjUOOD1N1hKHci+llvAML6SlvUBoMkaBMgegaIA6cB+HTAwifY1mAKobAZF4GyHZWbMBF2H0xOu7YIKuNWEYNvZ8SoFsDsE5x/AtjB4CwBT0qUJCqAlAYzlB6bNSArkYQ1Ewek9Z5DHVE0DRnVA+52Zl101FcuNb5cgCpCcwZootClyeqoNQgsALFnhi80qQLvez4kruPsEouLl+HMByT5JODGywgt0joOfuqwYgtjnES475xD9TXkv6D1YZxLMEYHISj1nGp9uZKCqGrl/BPmsEDj6TvEb/oEgzNClAHhtLOwJs2rX6maYPwbADnonbuCZy7H0OFsjRUO1pd0F2APG5YvgA6AOqj1kdGoMCkwIhP6yEkGBSYHrK6BVAg5g7W8n2Ay7yS5tsAAAAABJRU5ErkJggg==</Image>
	<UpdateInterval>7</UpdateInterval>
	<UpdateUrl>' . $URL . 'sensmotdire.xml</UpdateUrl>
	<IconUpdateUrl>'. $URL . 'images/sensmotdire.png</IconUpdateUrl>
	<Url type="text/html" template="' . $URL . '{searchTerms}.html" />
	<Url type="application/x-suggestions+json" method="GET" template="' . $URL . 'autosuggest.php?input={searchTerms}&amp;firefox=yes" />
</OpenSearchDescription>';
};
?>
