Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/objects/userADDEDconfirm.php
	<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>
	
	<body><?php

	$postID = $_POST["group"];
	
	$getGROUPname = mysql_query("SELECT * FROM ath_groups WHERE ath_groups_id=$postID");
	$GROUPname = mysql_fetch_array($getGROUPname);
	?>

	<p class="green">User '<?php echo($_POST["username"]); ?>' has been added to your database.</p><br>
	<table width="400" border="0" cellspacing="0" cellpadding="3">
		<tr>
				<td class="form_right" bgcolor="#d3d3d3" width="150">User Name:</td>
				<td bgcolor="#d3d3d3"><?php echo($_POST["username"]); ?></td>
			</tr>
		<tr>
				<td class="form_right" width="150">Password:</td>
				<td><?php echo("NOT SHOWN"); ?></td>
			</tr>
			<tr>
				<td class="form_right" bgcolor="#d3d3d3" width="150">Group:</td>
				<td bgcolor="#d3d3d3"><?php echo($GROUPname["ath_groups_name"]); ?> <a href="#" class="tiny" onClick="openwin('../popups/groupPERMISSIONS.php?gID=<?php echo($_POST["group"]); ?>', 350, 350);">View Permissions</a></td>
			</tr>
			<tr>
				<td class="form_right" width="150">Real Name:</td>
				<td><?php echo($_POST["name"]); ?></td>
			</tr>
			<tr>
				<td class="form_right" bgcolor="#d3d3d3" width="150">E-mail:</td>
				<td bgcolor="#d3d3d3"><?php echo($_POST["email"]); ?></td>
			</tr>
			<tr>
				<td class="form_right" width="150">Student #:</td>
				<td><?php echo($_POST["studentnum"]); ?></td>
			</tr>
			<tr>
				<td class="form_right" bgcolor="#d3d3d3" width="150">Address:</td>
				<td bgcolor="#d3d3d3"><?php echo($_POST["address"]); ?></td>
			</tr>
			<tr>
				<td class="form_right" width="150">Phone:</td>
				<td><?php echo($_POST["phone"]); ?></td>
			</tr>
		<tr>
			<td class="form_right" valign="top" bgcolor="#d3d3d3" width="150">Can add resources to other projects in the group:</td>
			<td valign="top" bgcolor="#d3d3d3"><?php
					 if ($_POST["canaddtogroup"] == 0){
					 	echo("NO");
					 }
					 else{
					 	echo("YES");
					 }
					?></td>
		</tr>
		<tr>
				<td class="form_right" width="150">Activated: </td>
				<td>
					<?php
					 if ($_POST["activate"] == 0){
					 	echo("NO");
					 }
					 else{
					 	echo("YES");
					 }
					?>
				</td>
			</tr>
	<tr>
		<td class="form_right" width="150"></td>
		<td valign="top"></td>
	</tr>
	<tr height="15">
		<td align="center" height="15"></td>
		<td align="center" height="15"></td>
	</tr>
	<tr>
			<td colspan="2" align="center" bgcolor="#90ee90">
				<form action="main.php?act=adduser" method="post" name="FormName">
					<input type="submit" name="submitButtonName" value="Add another user." border="0"><input type="hidden" name="group" value='<?php echo($_POST["group"]); ?>' border="0">
				</form>
			</td>
		</tr>
</table></body>
Return current item: Athena Research Assistant