コード例 #1
0
ファイル: compotroll.php プロジェクト: relaismago/outils
<?php

require_once 'easyem_functions.php';
include "../top.php";
if (!userIsGuilde()) {
    die("<h1 style='color:red'>Vous n'avez pas accés à cette page !</h1>");
}
?>
<table width="80%" class='mh_tdborder' align='center' cellpadding='5' cellspacing='5'>
	<tr align='center'>
		<td  class="mh_tdpage">
			<h3>Mon CompoTroll actuel :</h3>
			<h3><?php 
echo getCompoTroll($_SESSION["AuthTroll"]);
?>
</h3>
		</td>	
	</tr>
	<tr align='center'>
		<td  class="mh_tdpage">
			<form action="update.php?type=compotroll" method="post">
				<span>Nom du monstre :</span>
				<select name="nom_monstre" onClick="getComposant('compotroll');" onKeyUp="getComposant('compotroll');">
					<option value="Abishaii Bleu">Abishaii Bleu</option>
					<option value="Abishaii Noir">Abishaii Noir</option>
					<option value="Abishaii Rouge">Abishaii Rouge</option>
					<option value="Abishaii Vert">Abishaii Vert</option>
					<option value="Ame-en-peine">Ame-en-peine</option>
					<option value="Amibe Géante">Amibe Géante</option>
					<option value="Anaconda des Catacombes">Anaconda des Catacombes</option>
					<option value="Ankheg">Ankheg</option>
コード例 #2
0
ファイル: view_recette.php プロジェクト: relaismago/outils
			<h1><?php 
echo utf8_decode($recette->getAttribute("nom"));
?>
</h1>				
		</td>
	</tr>
	<tr>
		<td  align="center" class='mh_tdpage' width='200px'>
			<h3 style='color:orange;'>CompoTroll</h3>
		</td>		
		<td class='mh_tdpage' align="center">		
			<h3 style='color:orange;'><?php 
if (isset($_SESSION["AuthTroll"])) {
    echo getCompoTroll($_SESSION["AuthTroll"]);
} else {
    echo getCompoTroll(0);
}
?>
</h3>				
		</td>
		<td class='mh_tdpage' align="center">		
			<h3><a href="compotroll.php"  style='color:orange;'>Votre CompoTroll</a></h3>				
		</td>		
	</tr>
	<?php 
echo getRecetteComposants($recette);
?>
</table>
<br/>
<table width="80%" class='mh_tdborder' align='center' cellspacing='5'>	
	<tr class='mh_tdtitre' align='center'>