Exemple #1
0
include "class.docket.php";
$obj = new docket();
?>
<style>
            #addEmail {background: none repeat scroll 0 0 #000000;color: #FFFFFF;padding: 3px;cursor: pointer;}
            .removeEmail {background: none repeat scroll 0 0 #8d8d8d;color: #FFFFFF;padding: 3px;cursor: pointer;}
        </style>
	</head>
	<?php 
if ($_GET['action'] == 'edit') {
    $id = $_GET['id'];
    $obj->edit_user($id);
}
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'delete') {
    $id = $_REQUEST['id'];
    $obj->delete_user($id);
}
?>
	<body>
		<?php 
include_once 'include/menu.php';
?>
		<div class="content">

			<div class="welcome">
				<h3>Welcome <?php 
echo $_SESSION['username'];
?>
!
				</h3>
			</div>