<?php

header('Content-Type: text/html; charset=iso-8859-1');
require_once "../easyem_functions.php";
if ($_POST["type"] == "sortilege") {
    echo $_POST["nom"] ? getTanieresComposant('/Elements/Element[contains(@sortilege,"' . $_POST["nom"] . '")]') : getTanieresComposant();
}
if ($_POST["type"] == "mundidey") {
    echo $_POST["nom"] ? getTanieresComposant('/Elements/Element[contains(@mundidey,"' . $_POST["nom"] . '")]') : getTanieresComposant();
}
Exemple #2
0
    echo "<option value=\"" . utf8_decode($recette->getAttribute("nom")) . "\">" . utf8_decode($recette->getAttribute("nom")) . "</option>";
}
?>
			</select>
			<label for="mundidey">Mundidey :</label>
			<select id="mundidey" onChange="getComposantByMundidey();">
				<option value="0">Tous</option>
				<?php 
$xpath = new DOMXPATH(getEMRecettes());
foreach (array("du Hum ...", "du Phoenix", "de la Mouche", "du Dindon", "du Goblin", "du Démon", "de la Limace", "du Rat", "de l'Hydre", "du Ver", "du Fungus", "de la Vouivre", "du Gnu", "du Scarabée") as $mundidey) {
    echo '<option value="' . $mundidey . '">' . $mundidey . '</option>';
}
?>
			</select>			
		</td>	
	</tr>			
	<tr align="center">
		<td  class="mh_tdpage">
			<table id="composant_taniere" border="1"  cellpadding="5" cellspacing="5">
				<?php 
echo getTanieresComposant();
?>
			</table>	
		</td>	
	</tr>
    <tr class="mh_tdtitre" align="center">
		<td class="mh_tdpage"><a href="index.php" style="text-decoration:none;"><img src="img/flecheg.jpg" alt="back"/></a></td>
    </tr>  		
</table>
<?php 
include "../foot.php";