Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/objects/groupADDEDconfirm.php
	<body><?php
	
	function printYESNO($value){ //CONVERT 0/1 VALUES INTO YES/NO
		if ($value == 0){
			echo("NO");
		}
		else{
			echo("YES");
		}
	}
	
	?>
	
	<!--<script language="JavaScript">
			var url;
			var height;
			var width;
			var specs;
			function openwin(url, width, height){
				specs = 'status,resizable,width=' + width + ',height=' + height + ',top=75,left=150'
				popupWin = window.open(url,'pop_tiny',specs);
				}
	</script>-->
	


	<p class="green">Group '<?php echo($_POST["groupname"]); ?>' has been added to your database.<br></p>
	<table width="450" border="0" cellspacing="0" cellpadding="3">
		<tr>
		<td colspan="2" align="center" width="356"><b>Members of this group can:</b></td>
	</tr>
		<tr>
			<td class="form_right" bgcolor="#d3d3d3" width="200">Add/Delete notes:</td>
			<td bgcolor="#d3d3d3" width="150"><?php printYESNO($_POST["addnotes"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" width="200">Add/Delete resources</td>
			<td width="150"><?php printYESNO($_POST["addresrc"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" bgcolor="#d3d3d3" width="200">Add/Delete projects:</td>
			<td bgcolor="#d3d3d3" width="150"><?php printYESNO($_POST["addprojects"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" width="200">Add items to Public Resource:</td>
			<td width="150"><?php printYESNO($_POST["addtopublic"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" bgcolor="#d3d3d3" width="200">Administrate: </td>
			<td bgcolor="#d3d3d3" width="150"><?php printYESNO($_POST["administrate"]); ?></td>
		</tr>
		<tr>
				<td class="form_right" width="200">Add/Delete users:</td>
				<td width="150"><?php printYESNO($_POST["addusers"]); ?></td>
			</tr>
		<tr>
				<td class="form_right" bgcolor="#d3d3d3" width="200">View user profiles:</td>
				<td bgcolor="#d3d3d3" width="150"><?php printYESNO($_POST["viewuserprofiles"]); ?></td>
			</tr>
		<tr>
			<td class="form_right" width="200">Add/Delete groups:</td>
			<td width="150"><?php printYESNO($_POST["addgroups"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" bgcolor="#d3d3d3" width="200">View other groups:</td>
			<td bgcolor="#d3d3d3" width="150"><?php printYESNO($_POST["viewgroups"]); ?></td>
		</tr>
		<tr height="10">
			<td align="center" width="200" height="10"></td>
			<td align="center" width="150" height="10"></td>
		</tr>
		<tr height="15">
			<td colspan="2" align="center" width="356" height="18"><a href="#" class="tiny" onclick='openwin('../popups/groupPERMISSIONS.php?gID=<?php echo($_POST["group"]); ?>', 350, 350);'>View Group Members</a></td>
		</tr>
		<tr height="10">
			<td align="center" width="200" height="10"></td>
			<td align="center" width="150" height="10"></td>
		</tr>
		<tr>
			<td colspan="2" align="center" bgcolor="#90ee90" width="356">
				<form action="main.php?act=addgroup" method="post" name="FormName">
					<input type="submit" name="submitButtonName" value="Add another group." border="0">
				</form>
			</td>
		</tr>
</table>
	<p></p>
</body></body>
Return current item: Athena Research Assistant