diff options
Diffstat (limited to 'h-source/Examples/Views')
-rwxr-xr-x | h-source/Examples/Views/footer.php | 3 | ||||
-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 | ||||
-rwxr-xr-x | h-source/Examples/Views/post2/form.php | 28 | ||||
-rwxr-xr-x | h-source/Examples/Views/post2/header.php | 30 | ||||
-rwxr-xr-x | h-source/Examples/Views/post2/modify.php | 1 | ||||
-rwxr-xr-x | h-source/Examples/Views/post2/view.php | 1 |
11 files changed, 131 insertions, 0 deletions
diff --git a/h-source/Examples/Views/footer.php b/h-source/Examples/Views/footer.php new file mode 100755 index 0000000..42e09f0 --- /dev/null +++ b/h-source/Examples/Views/footer.php @@ -0,0 +1,3 @@ +</div> <!--container--> +</body> +</html> 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;?> 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;?> |