mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@538 c66351dc-e62f-0410-b875-e3a5c0b9693f
		
			
				
	
	
		
			76 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 	session_start();
 | |
| ?>
 | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | |
| <html xmlns="http://www.w3.org/1999/xhtml">
 | |
| <head>
 | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 | |
| <title>Login Form</title>
 | |
| <link href="loginmodule.css" rel="stylesheet" type="text/css" />
 | |
| </head>
 | |
| <body>
 | |
| <?php
 | |
| 	if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >0 ) {
 | |
| 		echo '<ul class="err">';
 | |
| 		foreach($_SESSION['ERRMSG_ARR'] as $msg) { ?>
 | |
| 			 <div align="center" ><font color="red" <? echo '<li>',$msg,'</li>'; ?> </div> </font> <?
 | |
| 		}
 | |
| 		echo '</ul>';
 | |
| 		unset($_SESSION['ERRMSG_ARR']);
 | |
| 	}
 | |
| 	
 | |
| ?>
 | |
| 
 | |
| <form id="loginForm" name="loginForm" method="post" action="register-exec.php">
 | |
|   <table width="300" border="0" align="center" cellpadding="2" cellspacing="0">
 | |
|     <tr>
 | |
|       <th>First Name </th>
 | |
|       <td><input name="fname" type="text" class="textfield" id="fname" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th>Last Name </th>
 | |
|       <td><input name="lname" type="text" class="textfield" id="lname" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th>City </th>
 | |
|       <td><input name="city" type="text" class="textfield" id="city" /></td>
 | |
|     </tr>
 | |
|       <tr>
 | |
|       <th>State </th>
 | |
|       <td><input name="state" type="text" class="textfield" id="state" /></td>
 | |
|     </tr>
 | |
|      <tr>
 | |
|       <th>Country </th>
 | |
|       <td><input name="country" type="text" class="textfield" id="country" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th>Phone </th>
 | |
|       <td><input name="phone" type="text" class="textfield" id="phone" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th>Email </th>
 | |
|       <td><input name="email" type="text" class="textfield" id="email" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th width="124">Login</th>
 | |
|       <td width="168"><input name="login" type="text" class="textfield" id="login" /></td>
 | |
|     </tr>
 | |
|    
 | |
|     <tr>
 | |
|       <th>Password</th>
 | |
|       <td><input name="password" type="password" class="textfield" id="password" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th>Confirm Password </th>
 | |
|       <td><input name="cpassword" type="password" class="textfield" id="cpassword" /></td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <td> </td>
 | |
|       <td><input type="submit" name="Submit" value="Register" /></td>
 | |
|       
 | |
|     </tr>
 | |
|   </table>
 | |
| </form>
 | |
| </body>
 | |
| </html>
 |