Location: PHPKode > projects > Kudos > nirap/update_groups.php
<?php
require_once('includes/kudos.php');
require_once('includes/kudos_cookie.php');

$query = "SELECT GroupID, GroupName FROM Team WHERE Admin='$employee';";
$result = mysql_query($query, $kudos) or die(mysql_error());
$team = mysql_fetch_assoc($result);
$total = mysql_num_rows($result);
 
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Title      : The Island
Version    : 1.0
Released   : 20070612
Description: A two-column, fixed-width, blue-themed template that can be easily converted into a blog theme.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>KUDOS!  :::  Employee Recognition System</title>
  <link href="style/default.css" rel="stylesheet" type="text/css" /></head>
<body>
<div id="wrapper">
	<?php include ("includes/header_nav.html"); ?>
	<!-- end menu -->
	<div id="page">
		<div id="content">
			<h1 class="title">Groups</h1>
			  <p>
			  <?php if($total==0) {
			  echo "You have not created any groups.  To create a group, enter a group name in the box on the right.";} else { ?>
			<table>
			<tr><td><strong>Group Name&nbsp;&nbsp;</strong></td><td><strong>Employees&nbsp;&nbsp;</strong></td><td><strong>Categories&nbsp;&nbsp;</strong></td><td><strong>Milestones&nbsp;&nbsp;</strong></td></tr>
			<?php do { ?>
			<tr>
				<td><?php echo $team['GroupName']; ?></td>
				<td><center>
				  <a href="update_group_emp.php?GroupID=<?php echo $team['GroupID'];?>">Edit</a>
				  </center>				</td>
				<td><center>
				  <a href="update_group_cat.php?GroupID=<?php echo $team['GroupID'];?>">Edit</a>
				  </center>				</td>
				<td><center>
				  <a href="update_group_mvms.php?GroupID=<?php echo $team['GroupID'];?>">Edit</a>
				  </center>				</td>
			</tr>
			<?php } while ($team = mysql_fetch_assoc($result)); }?></table>
			</p>
		</div>
		<!-- end content -->
		<div id="sidebar">
			<h2>Updating Groups</h2>
			<p>
			This section allows you to make changes to your groups.  You can add and remove group members, select new categories or remove categories from your group, and update point and milestone values.
			</p>
			<p><br />These changes will be made available to your group immediately.</p>
		</div>
<div id="sidebar"></div>
		<!-- end sidebar -->
		<div style="clear: both;">&nbsp;</div>
  </div>
	<!-- end page -->
	<div id="footer">
		<p id="legal">Copyright &copy; 2008 National Instruments. All Rights Reserved.</p>
		 
	</div>
	<!-- end footer -->
</div>
<!-- end wrapper -->
</body>
</html>
<!--Template Copyright &copy; 2007 The Island. All Rights Reserved. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a> -->
Return current item: Kudos