Skip to content

Instantly share code, notes, and snippets.

@mugs
Created July 8, 2010 01:28
Show Gist options
  • Save mugs/467529 to your computer and use it in GitHub Desktop.
Save mugs/467529 to your computer and use it in GitHub Desktop.
<html><head><title>Enter Play</title></head>
<body>
<form action='http://www.boardgamegeek.com/geekplay.php' method='GET'>
<input type='hidden' name='action' value='save'>
<input type='hidden' name='version' id='quickplay_version' value='2'>
<input type='hidden' name='objecttype' id='quickplay_objecttype' value='thing'>
<input type='hidden' name='playid' id='quickplay_playid' value=''>
<input type='hidden' name='action' id='quickplay_action' value='save'>
Date: <input type='text' name='playdate' value='<?= date('Y-m-d') ?>'>
<br>Quantity: <input type='text' name='quantity' value='1'>
<br>Location: <input type='text' name='location' value='Home'>
<br>Game:
<select name='objectid'>
<option value='7865'>10 Days in Africa</option>
<option value='7866'>10 Days in the USA</option>
<option value='37296'>Yahtzee FFA</option>
<option value='50'>Lost Cities</option>
<option value='9209'>Ticket to Ride</option>
<option value='14996'>Ticket to Ride: Europe</option>
<option value='116'>Gillotine</option>
<option value='8217'>San Juan</option>
<option value='15318'>Palazzo</option>
<option value='2842'>TransAmerica</option>
<option value='27364'>Caylus Magna Carta</option>
<option value='9217'>Saint Petersburg</option>
<option value='36218'>Dominion</option>
</select>
<table>
<tr>
<th>Player</td>
<th>Name</td>
<th>Username</td>
<th>Score</td>
<th>Win</td>
<th>New</td>
</td>
<tr>
<td>
Player 1
</td>
<td>
<input type='text' name='players[1][name]' value='Brandon'>
</td>
<td>
<input type='text' name='players[1][username]' value='mugs'>
</td>
<td>
<input type='text' name='players[1][score]' value=''>
</td>
<td>
<input type='checkbox' name='players[1][win]' id='players[1][win]' value=1 ><label for='players[1][win]'>Win</label>
</td>
<td>
<input type='checkbox' name='players[1][new]' id='players[1][new]' value=1 ><label for='players[1][new]'>New</label>
</td>
</tr>
<tr>
<td>
Player 2
</td>
<td>
<input type='text' name='players[2][name]' value='Jenni'>
</td>
<td>
<input type='text' name='players[2][username]' value='jenvw23'>
</td>
<td>
<input type='text' name='players[2][score]' value=''>
</td>
<td>
<input type='checkbox' name='players[2][win]' id='players[2][win]' value=1 ><label for='players[2][win]'>Win</label>
</td>
<td>
<input type='checkbox' name='players[2][new]' id='players[2][new]' value=1 ><label for='players[2][new]'>New</label>
</td>
</tr>
<!--
<tr>
<td>
Player 3
</td>
<td>
<input type='text' name='players[3][name]' value=''>
</td>
<td>
<input type='text' name='players[3][username]' value=''>
</td>
<td>
<input type='text' name='players[3][score]' value=''>
</td>
<td>
<input type='checkbox' name='players[3][win]' id='players[3][win]' value=1 ><label for='players[3][win]'>Win</label>
</td>
<td>
<input type='checkbox' name='players[3][new]' id='players[3][new]' value=1 ><label for='players[3][new]'>New</label>
</td>
</tr>
<tr>
<td>
Player 4
</td>
<td>
<input type='text' name='players[4][name]' value=''>
</td>
<td>
<input type='text' name='players[4][username]' value=''>
</td>
<td>
<input type='text' name='players[4][score]' value=''>
</td>
<td>
<input type='checkbox' name='players[4][win]' id='players[4][win]' value=1 ><label for='players[4][win]'>Win</label>
</td>
<td>
<input type='checkbox' name='players[4][new]' id='players[4][new]' value=1 ><label for='players[4][new]'>New</label>
</td>
</tr>
<tr>
<td>
Player 5
</td>
<td>
<input type='text' name='players[5][name]' value=''>
</td>
<td>
<input type='text' name='players[5][username]' value=''>
</td>
<td>
<input type='text' name='players[5][score]' value=''>
</td>
<td>
<input type='checkbox' name='players[5][win]' id='players[5][win]' value=1 ><label for='players[5][win]'>Win</label>
</td>
<td>
<input type='checkbox' name='players[5][new]' id='players[5][new]' value=1 ><label for='players[5][new]'>New</label>
</td>
</tr>
<tr>
<td>
Player 6
</td>
<td>
<input type='text' name='players[6][name]' value=''>
</td>
<td>
<input type='text' name='players[6][username]' value=''>
</td>
<td>
<input type='text' name='players[6][score]' value=''>
</td>
<td>
<input type='checkbox' name='players[6][win]' id='players[6][win]' value=1 ><label for='players[6][win]'>Win</label>
</td>
<td>
<input type='checkbox' name='players[6][new]' id='players[6][new]' value=1 ><label for='players[6][new]'>New</label>
</td>
</tr>-->
</table>
<input name='B1' type='submit' value='Submit'>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment