Location: PHPKode > projects > ERecruit > subject/Create_Account_Confrimation.php
<?
require("../fun/subject_functions.inc");
if (is_ust()){$isNon = "";}
else{ $isNon = "Non-";}


$title="Create Account(for ".$isNon. ORG_SHORT." Students/Staff) Confirmation";
function Confrimation($title){
	global $expprofile;
	global $PHP_SELF;
	global $isNon;
	
	head($title);
	?>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
 		<? 
 		$where = "index.php||Log In->Create_Account.php||Create Account(for ".$isNon .ORG_SHORT ." students/staff)->";
		$where .= basename($PHP_SELF)."||".$title;
		
		position("$where");
		 ?>
 		
              </table>
              <hr noshade align="center" width="98%" size="1">
              
	                    <div align="left" class="normal"><br>
                Account Created. We have the followings for your record.  Please read our <a href="./SignUpPolicy.php">Sign Up Policy</a> before you proceed. 
              </div>
              <form method="POST" name="form" action="upcomingexp.php">

                <table width="100%" border="0" cellspacing="1" cellpadding="3">
                  <tr> 
                    <td width="44%" class="normal" bgcolor="ffffcc">Your <font color="#000099">e-Recruit</font> 
                      Login Name :</td>
                    <td width="56%" bgcolor="ffffcc">&nbsp; </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal"> Your Password :</td>
                    <td width="56%">&nbsp; </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal" bgcolor="ffffcc"> Hint Question 
                      if You Forget Password :</td>
                    <td width="56%" bgcolor="ffffcc">&nbsp; </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal"> Answer to Hint Question :</td>
                    <td width="56%">&nbsp; </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal" bgcolor="ffffcc"> First Name(s) 
                      (e.g. Tai Man) : </td>
                    <td width="56%" class="normal" bgcolor="ffffcc"> 
                      <div align="left">Benjamin, Hak-Fung</div>
                    </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal"> Last Name (e.g. Chan ) :</td>
                    <td width="56%" class="normal"> 
                      <div align="left">Chiao </div>
                    </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal" bgcolor="ffffcc"> Sex :</td>
                    <td width="56%" bgcolor="ffffcc">&nbsp; </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="normal"> Phone No(s) (e.g. 97123456, 
                      23821234) :</td>
                    <td width="56%">&nbsp; </td>
                  </tr>
                  <tr bgcolor="ffffcc"> 
                    <td width="44%" class="normal"> Email Address (e.g. hide@address.com) 
                      : </td>
                    <td width="56%" class="normal"> 
                      <div align="left">hide@address.com </div>
                    </td>
                  </tr>
                  <tr> 
                    <td width="44%" class="tablerow">&nbsp;</td>
                    <td width="56%"> 
                      <div align="right"> 
                        <input type="submit" name="enter" value="Enter e-Recruit">
                      </div>
                    </td>
                  </tr>
                </table>

                </form>
<?
	foot();
}
?>

<?
  //-------------main-----------
//content($title);
  //----------------------------
?>

<?
if($loginName == ""){ warning("Please type in LoginName."); exit; }
if($password == ""){ warning("Please type in Password."); exit; }
if($retypepassword == ""){ warning("Please type in Retyped Password."); exit; }
if($password != $retypepassword ){ warning("Password and Retyped Password do not match."); exit; }
if($question == ""){ warning("Please type in Question."); exit; }
if($password == ""){ warning("Please type in Password."); exit; }
if($answer == ""){ warning("Please type in Answer."); exit; }
if($firstName == ""){ warning("Please type in First Name."); exit; }
if($lastName == ""){ warning("Please type in Last Name."); exit; }
if($sex == ""){ warning("Please select one sex."); exit; }
if($password == ""){ warning("Please type in Password."); exit; }
if($phone == ""){ warning("Please type in Phone Number."); exit; }
if($email == ""){ warning("Please type in email."); exit; }

if(isset($subjectprofile)){
	if(0){
		/*
		$condition = "$radio"."->"."$loginName";
			
		if(!checkexpid($condition)){
			warning("This experiment is not belong to you!");
			exit();	
		}
		
		
		if($adminaction== "View/Modify Experiment"){
			header("Location: ./View-Modify_Experiment.php?expid=$radio");
			exit();
		}
		else if($adminaction== "Delete Experiment"){
			header("Location: ./Delete_Exp.php?expid=$radio");
			exit();
		}
		else if($adminaction=="Session Management"){
			header("Location: ./Session_Management/index.php?expid=$radio");
			exit();
		}
		else{
			echo "testing";
			exit();
		}
		*/	
	}
	else{
		content($title);
	}
}else{
	warning("Sorry, please login first.");
}
	
	


?>
Return current item: ERecruit