Location: PHPKode > projects > Kudos > nirap/verify.php


/* check Kudos Database to see if user is already in system */
$login_query="SELECT * FROM Employee WHERE EmpID='$username'";
$login=mysql_query($login_query, $kudos) or die($login_query);

// ($count_login == 1 &&

if ($count_login == 0 || $row_login['Validated']=="N") {
	// explode Common Name into first & last name pieces
	$empName = explode(" ", $fullname);

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
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" />
<div id="wrapper">
	<?php include ("includes/header_nav.html"); ?>
	<!-- end menu -->
	<div id="page">
		<div id="content">
			<h1 class="title">Final Step: Verification</h1>
			  <form name="verify" action="verify_update.php" method="post">
					<td><?php echo $username; ?></td>
					<td>First Name:</td>
					<td><input type="text" name="firstName" id="firstName" value="<?php echo $empName[0]; ?>"></td>
					<td>Last Name:</td>
					<td><input type="text" name="lastName" id="lastName" value="<?php echo $empName[1]; ?>"></td>
					<td><input type="text" name="email" id="email" value="Your e-Mail"></td>
			  <input type="hidden" name="username" value="<?php echo $username; ?>" />
              <?php if ($count_login==0) { ?>
              <input type="hidden" name="exist" value="N" />
              <?php } else { ?>
              <input type="hidden" name="exist" value="Y" />
              <?php } ?>
			  <input type="submit" name="Submit" value="Verify" />
		<!-- end content -->
		<div id="sidebar">
			<li id="submenu"> 
				  <p>Before your account is created, you must first verify that your information is correct.  Correct any mistakes found and contact your company's support personnel to update your information within all systems.</p>
		<!-- 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> -->
<?php } else {
header('Location:welcome.php'); } ?>
Return current item: Kudos