Exemplo n.º 1
0
 </tr>
 <tr>
     <td>Defence:</td>
     <td>' . numSelectBox('defence', $pokeInfo['def'], 1, MAX_STAT, 'style="width: 100px;"') . '</td>
 </tr>
 <tr>
     <td>Special Defence:</td>
     <td>' . numSelectBox('spdefence', $pokeInfo['spdef'], 1, MAX_STAT, 'style="width: 100px;"') . '</td>
 </tr>
 <tr>
     <td>HP:</td>
     <td>' . numSelectBox('hp', $pokeInfo['hp'], 1, MAX_STAT, 'style="width: 100px;"') . '</td>
 </tr>
 <tr>
     <td>Speed:</td>
     <td>' . numSelectBox('speed', $pokeInfo['speed'], 1, MAX_STAT, 'style="width: 100px;"') . '</td>
 </tr>
 <tr>
     <td>Move 1:</td>
     <td>' . moveSelectBox('move1', $pokeInfo['move1']) . '</td>
 </tr>
 <tr>
     <td>Move 2:</td>
     <td>' . moveSelectBox('move2', $pokeInfo['move2']) . '</td>
 </tr>
 <tr>
     <td>Move 3:</td>
     <td>' . moveSelectBox('move3', $pokeInfo['move3']) . '</td>
 </tr>
 <tr>
     <td>Move 4:</td>
Exemplo n.º 2
0
	        	</td>
	        </tr>
            <tr>
                <td>Pokemon Name:</td>
	        	<td>
	        		<input type="text" name="name" value="' . $smPokemon . '" onkeyup="document.getElementById(\'pPic\').src = \'../images/pokemon/\'+this.value+\'.png\';" /><br />
                    <img id="pPic" src="../images/pokemon/' . $smPokemon . '.png" /><br />
                    <span class="small">Pokemon <strong>must</strong> have a picture.</span>
	        	</td>
	        </tr>
            <tr>
                <td>Pokemon Level:</td>
	        	<td>
                    ' . numSelectBox('level', $smPokemonLevel, 1, 100, 'style="width: 100px;"') . '
	        	</td>
	        </tr>
            <tr>
            	<td>Chance:</td>
	        	<td>
	        		' . numSelectBox('chance', $smChance, 1, 100, 'style="width: 100px;"') . '<br />
                    <span class="small">The chance of fixing the<br />machine as a percentage.</span>
	        	</td>
	        </tr>
	        <tr>
	        	<td>&nbsp;</td>
	        	<td><input type="submit" name="save" value="Save" /></td>
	        </tr>
        </table>
    </form>
';
include '_footer.php';
Exemplo n.º 3
0
        <table class="pretty-table center">
            <tr>
                <th colspan="2">Edit Promo</th>
            </tr>
            <tr>
                <td>Pokemon Name:</td>
	        	<td>
	        		<input type="text" name="name" value="' . $pPokemon . '" onkeyup="document.getElementById(\'pPic\').src = \'../images/pokemon/\'+this.value+\'.png\';" /><br />
                    <img id="pPic" src="../images/pokemon/' . $pPokemon . '.png" /><br />
                    <span class="small">Pokemon <strong>must</strong> have a picture.</span>
	        	</td>
	        </tr>
            <tr>
                <td>Pokemon Level:</td>
	        	<td>
                    ' . numSelectBox('level', $pPokemonLevel, 1, 100, 'style="width: 100px;"') . '
	        	</td>
	        </tr>
            <tr>
                <td>Price in money:</td>
	        	<td>
	        		<input type="text" name="money" value="' . number_format($pCostMoney) . '" />
	        	</td>
	        </tr>
            <tr>
                <td>Price in tokens:</td>
            	<td>
	        		<input type="text" name="tokens" value="' . number_format($pCostTokens) . '" />
	        	</td>
	        </tr>
            <tr>