postmove
<?php
include 'preamble.php';
// read file to get necessary information
$MoveList = explode($MoveDelimiter, $MoveData);
$MovePieces = explode("|", $MoveList[$_GET["Id"]]);
$MoveHash = md5($MoveList[$_GET["Id"]]);
if ($_GET["H"] !== $MoveHash) {
echo "Internal Error - Move Hash does not agree with Move Index. <a href=\"movedb.php?T=$DefTeam&P=$DefPlayer\">Click Here</a> to get back to main page and try again<p>";
exit(2);
}
?>
<html>
<head>
<title>MW Move Banker</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000">
<center>
<FORM METHOD="post" ACTION=<?php echo $GameEngineURL; ?>>
<FONT FACE="arial">
<CENTER>Hi <?php echo "<b>".$MovePieces[0]."</b>. Capturing ".FindSquare($MovePieces[0], $MovePieces[3], $MovePieces[7]);?>.<br>Check move before entering. Your offset is <?php echo $Deflts["LatOff"][$MovePieces[0]]." ".$Deflts["LonOff"][$MovePieces[0]];?></CENTER>
</FONT>
<P>
<FONT FACE="arial">
<TABLE BORDER=0 CELLSPACING=0>
<TR>
<TD><B>Found at Latitude:</B></TD>
<TD><INPUT Type=text size=1 NAME="Found at Latitude Hemisphere" value=<?php echo $MovePieces[1];?>>
</TD>
<TD ALIGN=RIGHT><INPUT Type=text size=1 NAME="Found at Latitude Degrees" value=<?php echo $MovePieces[2];?>>
</TD>
<TD>°</TD>
<TD><INPUT Type=text size=2 NAME="Found at Latitude Minutes" value=<?php echo $MovePieces[3];?>>
</TD>
<TD><B>.</B></TD>
<TD><INPUT TYPE=TEXT SIZE=6 NAME="Found at Latitude Fraction of a Minute" value=<?php echo $MovePieces[4];?>></TD>
<TD WIDTH=400> </TD>
</TR>
<TR>
<TD ALIGN=RIGHT><B>and Longitude:</B></TD>
<TD><INPUT Type=text size=1 NAME="Found at Longitude Hemisphere" value=<?php echo $MovePieces[5];?>>
</TD>
<TD ALIGN=RIGHT><INPUT Type=text size=2 NAME="Found at Longitude Degrees" value=<?php echo $MovePieces[6];?>>
</TD>
<TD>°</TD>
<TD><INPUT Type=text size=2 NAME="Found at Longitude Minutes" value=<?php echo $MovePieces[7];?>>
</TD>
<TD><B>.</B></TD>
<TD><INPUT TYPE=TEXT SIZE=6 NAME="Found at Longitude Fraction of a Minute" value=<?php echo $MovePieces[8];?>></TD>
<TD> </TD>
</TR>
<TR>
<TD><B>Description:</B><BR>
with enough detail<BR>
to 'prove' your visit
</TD>
<TD COLSPAN=7><TEXTAREA ROWS=6 COLS=60 NAME="Found at Description"><?php echo $MovePieces[10];?></TEXTAREA></TD>
</TR>
<TR><TD> </TD></TR>
<TR>
<TD><B>Moved to Latitude:</B></TD>
<TD><INPUT Type=text size=1 NAME="Moved to Latitude Hemisphere" value=<?php echo $MovePieces[11];?>>
</TD>
<TD ALIGN=RIGHT><INPUT Type=text size=1 NAME="Moved to Latitude Degrees" value=<?php echo $MovePieces[12];?>>
</TD>
<TD>°</TD>
<TD><INPUT Type=text size=2 NAME="Moved to Latitude Minutes" value=<?php echo $MovePieces[13];?>>
</TD>
<TD><B>.</B></TD>
<TD><INPUT TYPE=TEXT SIZE=6 NAME="Moved to Latitude Fraction of a Minute" value=<?php echo $MovePieces[14];?>></TD>
<TD>"Random" will move flag automatically.</TD>
</TR>
<TR>
<TD ALIGN=RIGHT><B>and Longitude:</B></TD>
<TD><INPUT Type=text size=1 NAME="Moved to Longitude Hemisphere" value=<?php echo $MovePieces[15];?>>
</TD>
<TD ALIGN=RIGHT><INPUT Type=text size=2 NAME="Moved to Longitude Degrees" value=<?php echo $MovePieces[16];?>>
</TD>
<TD>°</TD>
<TD><INPUT Type=text size=2 NAME="Moved to Longitude Minutes" value=<?php echo $MovePieces[17];?>>
</TD>
<TD><B>.</B></TD>
<TD><INPUT TYPE=TEXT SIZE=6 NAME="Moved to Longitude Fraction of a Minute" value=<?php echo $MovePieces[18];?>></TD>
<TD>Replace with a number to specify a flag position.</TD>
</TR>
<TR>
<TD><B>Description:</B><BR>
with enough detail<BR>
to 'prove' your visit
</TD>
<TD COLSPAN=7><TEXTAREA ROWS=6 COLS=60 NAME="Moved to Description"><?php echo $MovePieces[19];?></TEXTAREA></TD>
</TR>
<TR>
<TD COLSPAN=8>
<CENTER><BR>
<INPUT TYPE=SUBMIT NAME="add_this_record" VALUE="Capture this Flag">
</CENTER>
</TD>
</TR>
</TABLE>
</FONT>
<P>
</FONT>
<input type="hidden" name="user_search" value="">
<input type="hidden" name="user_add" value="">
<input type="hidden" name="user_modify" value="">
<input type="hidden" name="user_delete" value="">
<input type="hidden" name="SqLatH" value="N">
<input type="hidden" name="SqLonH" value="W">
<input type="hidden" name="SqLat" value=0>
<input type="hidden" name="SqLon" value=0>
</FORM>
</center>
<p>
<div align="left">
<table border="0" cellpadding="4" cellspacing="4" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1" bgcolor="#6699cc">
<tr>
<td>
<p align="left"><font color="#FFFFFF" face="Verdana" size="2">Note: <br>
1. This is not the real MinuteWar move submission form, but you should be able to submit a move from here as if it were.<br>
2. You can edit any field before clicking "Capture this Flag".<br>
3. When you click "Capture this Flag", your move will be immediately submitted to the Game Engine.
</font></td>
</tr>
</table>
</div>
</body>
</html>