aboutsummaryrefslogtreecommitdiff
path: root/h-source/Examples/Views/post2
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Examples/Views/post2')
-rwxr-xr-xh-source/Examples/Views/post2/form.php28
-rwxr-xr-xh-source/Examples/Views/post2/header.php30
-rwxr-xr-xh-source/Examples/Views/post2/modify.php1
-rwxr-xr-xh-source/Examples/Views/post2/view.php1
4 files changed, 60 insertions, 0 deletions
diff --git a/h-source/Examples/Views/post2/form.php b/h-source/Examples/Views/post2/form.php
new file mode 100755
index 0000000..5ef5aff
--- /dev/null
+++ b/h-source/Examples/Views/post2/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>
diff --git a/h-source/Examples/Views/post2/header.php b/h-source/Examples/Views/post2/header.php
new file mode 100755
index 0000000..0d9a131
--- /dev/null
+++ b/h-source/Examples/Views/post2/header.php
@@ -0,0 +1,30 @@
+<html>
+
+<header>
+
+<title>prova</title>
+<link rel="stylesheet" type="text/css" href="<?php echo url::getRoot('public/css/style.css');?>"></style>
+<link rel="stylesheet" type="text/css" href="<?php echo url::getRoot('public/css/mainmenu.css');?>"></style>
+<link rel="stylesheet" type="text/css" href="<?php echo url::getRoot('public/css/form.css');?>"></style>
+<script type="text/javascript" src="<?php echo url::getRoot('external/jquery/jquery-1.3.2.js');?>"></script>
+
+<script>
+$(document).ready(function(){
+
+ $("ul#menuBlock li").mouseover(function () {
+ $(this).children().css({'display' : 'block'});
+ });
+
+ $("ul#menuBlock li").mouseout(function () {
+ $('ul#menuBlock li ul').css({'display' : 'none'});
+ });
+
+});
+</script>
+
+</header>
+
+<body>
+
+<div id="container">
+
diff --git a/h-source/Examples/Views/post2/modify.php b/h-source/Examples/Views/post2/modify.php
new file mode 100755
index 0000000..dc948e1
--- /dev/null
+++ b/h-source/Examples/Views/post2/modify.php
@@ -0,0 +1 @@
+<?php echo $form;?> \ No newline at end of file
diff --git a/h-source/Examples/Views/post2/view.php b/h-source/Examples/Views/post2/view.php
new file mode 100755
index 0000000..3f67f2f
--- /dev/null
+++ b/h-source/Examples/Views/post2/view.php
@@ -0,0 +1 @@
+<?php echo $scaffold;?>