aboutsummaryrefslogtreecommitdiff
path: root/h-source/Examples/Views/post/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Examples/Views/post/form.php')
-rwxr-xr-xh-source/Examples/Views/post/form.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/h-source/Examples/Views/post/form.php b/h-source/Examples/Views/post/form.php
new file mode 100755
index 0000000..5ef5aff
--- /dev/null
+++ b/h-source/Examples/Views/post/form.php
@@ -0,0 +1,28 @@
+<div class='mainMenu'>
+ <?php echo $topMenu;?>
+</div>
+
+<?php echo $notice; ?>
+
+<div>
+ <form action='<?php echo $action;?>' method='POST'>
+ <table>
+ <tr>
+ <td>Titolo:</td>
+ <td><input type='text' name='titolo' value='<?php echo $values['titolo'];?>'></td>
+ </tr>
+ <tr>
+ <td>Autore:</td>
+ <td><input type='text' name='autore' value='<?php echo $values['autore'];?>'></td>
+ </tr>
+ <tr>
+ <td>Titolo:</td>
+ <td><textarea name='testo'><?php echo $values['testo'];?></textarea></td>
+ </tr>
+ <?php echo $hidden;?>
+ <tr>
+ <td><input type='submit' name='<?php echo $submit;?>' value='salva'></td>
+ </tr>
+ </table>
+ </form>
+</div>