mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
TFS 1.0: House auction system
Would be great if somebody could test it out properly for me. :)
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<div class="sidebar">
|
||||
<h2>Search town list</h2>
|
||||
<div class="inner">
|
||||
<form action="houses.php" method="post">
|
||||
<form action="houses.php" method="<?php if ($config['TFSVersion'] !== 'TFS_10') echo "post"; else echo "get" ;?>">
|
||||
|
||||
Select town:<br>
|
||||
<select name="selected">
|
||||
<select name="<?php if ($config['TFSVersion'] !== 'TFS_10') echo "selected"; else echo "id" ;?>">
|
||||
<?php
|
||||
foreach ($config['towns'] as $id => $name) echo '<option value="'. $id .'">'. $name .'</option>';
|
||||
?>
|
||||
</select>
|
||||
<?php
|
||||
/* Form file */
|
||||
Token::create();
|
||||
if ($config['TFSVersion'] !== 'TFS_10') Token::create();
|
||||
?>
|
||||
<input type="submit" value="Fetch houses">
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user