Exemplo n.º 1
0
		<script src="js/custom.js"></script>

<?php 
include "class.docket.php";
$obj = new docket();
?>
</head>
<?php 
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'edit') {
    $id = $_REQUEST['id'];
    $obj->docket();
    $obj->show($id);
}
if (isset($_POST['act']) == 'update') {
    $obj->docket();
    $obj->updatemail($id);
}
?>
<body>

<table align="left" style="float: left;
    margin-left: 150px; margin-right: 100px;">
<?php 
include_once 'include/menu.php';
?>

<form action="" method="post">
<input type="hidden" name="act" value="update">
<input type="hidden" name="id" value="<?php 
echo $obj->id;
?>