Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/objects/projectADDEDconfirm.php
<?php
$getGROUPS =	mysql_query("SELECT * FROM ath_groups"); //GET GROUPS
				
if (!$getGROUPS){
	echo("<p class=\"red\">adduserFORM.php COULD NOT GET GROUP INFO");
}
?>

<script language="JavaScript">
function check(){
	if (adduser.username.value == ""){
		window.alert("Username field cannot be left blank.");
		return false;
	}
	
	if (adduser.password.value != adduser.password_confirm.value){
		window.alert("Please make sure that Passwword and Password Confirmation are typed Correctly.");
		return false;
	}
	
	if (adduser.password.value == ""){
		window.alert("Password field cannot be left blank.");
		return false;
	}
}
</script>

	<body><p class="green">NEW PROJECT ADDED</p>
	<table width="500" border="0" cellspacing="0" cellpadding="2" bgcolor="white">
		<tr>
			<td class="form_right" bgcolor="#d3d3d3" width="150"></td>
			<td bgcolor="#d3d3d3" width="350"><?php echo($_POST["projectname"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" width="150"></td>
			<td width="350"><?php echo($_POST["shortdescription"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" bgcolor="#d3d3d3" width="150"></td>
			<td bgcolor="#d3d3d3" width="350"><?php echo($_POST["category"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" width="150"></td>
			<td width="350"><?php echo($_POST["keywords"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" valign="top" bgcolor="#d3d3d3" width="150">Contributor:</td>
			<td bgcolor="#d3d3d3" width="350"><?php echo($contributorNAME); ?></td>
		</tr>
		<tr>
			<td class="form_right" valign="top" width="150">Group:</td>
			<td width="350"><?php echo($groupNAME); ?></td>
		</tr>
		<tr>
			<td class="form_right" valign="top" bgcolor="#d3d3d3" width="150">Project details:</td>
			<td bgcolor="#d3d3d3" width="350"><?php echo($_POST["details"]); ?></td>
		</tr>
		<tr>
			<td class="form_right" bgcolor="#90ee90" width="150">&nbsp;</td>
			<td bgcolor="#90ee90" width="350">
				<form action="main.php" method="get" name="FormName">
					<input type="submit" name="addproject" value="Add Another Project" border="0"><input type="hidden" name="addproject" value="Add Project" border="0"><input type="hidden" name="act" value="addproject" border="0">
				</form>
			</td>
		</tr>
	</table>
</body>
Return current item: Athena Research Assistant