コード例 #1
0
ファイル: index.php プロジェクト: TCS13/SWCPM
    ?>
	<!--Form for submitting new deposits-->
	<form method="POST" action="index.php?mode=submit">
	    <table>
		<tr>
		    <td>Name:</td><td><input type="hidden" name="pid" value="<?php 
    echo $pid;
    ?>
"/><input type="text" name="who" size="50"/></td>
		</tr>
		<tr>
		    <td>Choose mat type:</td>
		    <td>
			<select name="mat" id="planet" value="type">
			    <?php 
    echo \planets::generateMatOptions();
    ?>
			</select>
		    </td>
		</tr>
		<tr>
		    <td>Size of deposit:</td><td><input type="text" name="size" size="50"/></td>
		</tr>
		<tr>
		    <td>Surface X:</td><td><input type="text" name="surfX" size="50"/></td>
		</tr>
		<tr>
		    <td>Surface Y:</td><td><input type="text" name="surfY" size="50"/></td>
		</tr>
		<tr>
		    <td colspan="2" align="center"><input type="submit" size="50" name="Submit" value="Submit"/></td>