diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-17 13:29:57 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-17 13:29:57 +0000 |
commit | 232aa1924c8c0f10d87b210b46c9f061af5c844c (patch) | |
tree | 2351f2aaff7ad244f60358954e4711692fb8aadc /h-source/Examples/Views/post | |
parent | a17e3e0495bee3705d3c1e5ead2db1a8359e64e9 (diff) |
added files
Diffstat (limited to 'h-source/Examples/Views/post')
-rwxr-xr-x | h-source/Examples/Views/post/form.php | 28 | ||||
-rw-r--r-- | h-source/Examples/Views/post/form_associate.php | 19 | ||||
-rwxr-xr-x | h-source/Examples/Views/post/header.php | 16 | ||||
-rwxr-xr-x | h-source/Examples/Views/post/modify.php | 1 | ||||
-rwxr-xr-x | h-source/Examples/Views/post/popup.php | 3 | ||||
-rwxr-xr-x | h-source/Examples/Views/post/view.php | 1 |
6 files changed, 68 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> diff --git a/h-source/Examples/Views/post/form_associate.php b/h-source/Examples/Views/post/form_associate.php new file mode 100644 index 0000000..5794153 --- /dev/null +++ b/h-source/Examples/Views/post/form_associate.php @@ -0,0 +1,19 @@ +<div class='mainMenu'> + <?php echo $menu;?> +</div> + +<?php echo $notice;?> + +<div> + <form action = '<?php echo $action;?>' method = 'POST'> + + <select name='id_arg'> + <?php foreach ($argomenti as $name => $value) {?> + <option value='<?php echo $value;?>'><?php echo $name;?></option> + <?php } ?> + </select> + <br /> + <input type='submit' name='associate' value='associate'> + <input type='submit' name='dissociate' value='dissociate'> + </form> +</div>
\ No newline at end of file diff --git a/h-source/Examples/Views/post/header.php b/h-source/Examples/Views/post/header.php new file mode 100755 index 0000000..606de2e --- /dev/null +++ b/h-source/Examples/Views/post/header.php @@ -0,0 +1,16 @@ +<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/popupmenu.css');?>"></style> +<link rel="stylesheet" type="text/css" href="<?php echo url::getRoot('public/css/form.css');?>"></style> + +</header> + +<body> + +<div id="container"> + diff --git a/h-source/Examples/Views/post/modify.php b/h-source/Examples/Views/post/modify.php new file mode 100755 index 0000000..dc948e1 --- /dev/null +++ b/h-source/Examples/Views/post/modify.php @@ -0,0 +1 @@ +<?php echo $form;?>
\ No newline at end of file diff --git a/h-source/Examples/Views/post/popup.php b/h-source/Examples/Views/post/popup.php new file mode 100755 index 0000000..ba543a4 --- /dev/null +++ b/h-source/Examples/Views/post/popup.php @@ -0,0 +1,3 @@ +<div class='verticalMenu'> + <?php echo $popup; ?> +</div>
\ No newline at end of file diff --git a/h-source/Examples/Views/post/view.php b/h-source/Examples/Views/post/view.php new file mode 100755 index 0000000..3f67f2f --- /dev/null +++ b/h-source/Examples/Views/post/view.php @@ -0,0 +1 @@ +<?php echo $scaffold;?> |