Beispiel #1
0
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Update Client</title>
		<link rel="stylesheet" href="css/custom.css" />
		<link rel="stylesheet" href="css/menu.css" />
		<script src="js/jquery-1.8.3.min.js"></script>
		<script src="js/custom.js"></script>
		<?php 
include "class.docket.php";
$obj = new docket();
?>
	</head>
	<?php 
if ($_GET['action'] == 'edit') {
    $id = $_GET['id'];
    $obj->edit_client($id);
}
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'delete') {
    $id = $_REQUEST['id'];
    $obj->delete_client($id);
}
?>
	<body>
		<?php 
include_once 'include/menu.php';
?>
		<div class="content">

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