Location: PHPKode > projects > Kudos > nirap/update_groups.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
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">
  <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>
<div id="wrapper">
	<?php include ("includes/header_nav.html"); ?>
	<!-- end menu -->
	<div id="page">
		<div id="content">
			<h1 class="title">Groups</h1>
			  <?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 { ?>
			<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 { ?>
				<td><?php echo $team['GroupName']; ?></td>
				  <a href="update_group_emp.php?GroupID=<?php echo $team['GroupID'];?>">Edit</a>
				  </center>				</td>
				  <a href="update_group_cat.php?GroupID=<?php echo $team['GroupID'];?>">Edit</a>
				  </center>				</td>
				  <a href="update_group_mvms.php?GroupID=<?php echo $team['GroupID'];?>">Edit</a>
				  </center>				</td>
			<?php } while ($team = mysql_fetch_assoc($result)); }?></table>
		<!-- end content -->
		<div id="sidebar">
			<h2>Updating Groups</h2>
			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><br />These changes will be made available to your group immediately.</p>
<div id="sidebar"></div>
		<!-- end sidebar -->
		<div style="clear: both;">&nbsp;</div>
	<!-- end page -->
	<div id="footer">
		<p id="legal">Copyright &copy; 2008 National Instruments. All Rights Reserved.</p>
	<!-- end footer -->
<!-- end wrapper -->
<!--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