mirror of
				https://github.com/Mibew/tray.git
				synced 2025-10-03 00:03:34 +03:00 
			
		
		
		
	:) few things updated
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@542 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
		
							parent
							
								
									95f18e0e0d
								
							
						
					
					
						commit
						cfec643833
					
				| @ -3,15 +3,10 @@ | |||||||
|     define('DB_USER', 'root'); |     define('DB_USER', 'root'); | ||||||
|     define('DB_PASSWORD', ''); |     define('DB_PASSWORD', ''); | ||||||
|     define('DB_DATABASE', 'mibew'); |     define('DB_DATABASE', 'mibew'); | ||||||
|     //Connect to mysql server
 | ------------------- | ||||||
| 	mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); | //Maynot be needed it is deleteable, not sure if it's needed for profile page.
 | ||||||
| 	if(!$link) { |  $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); | ||||||
| 		die('Failed to connect to server: ' . mysql_error()); |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	//Select database
 |  | ||||||
| $db = mysql_select_db(DB_DATABASE); | $db = mysql_select_db(DB_DATABASE); | ||||||
| 	if(!$db) { | $result = mysql_query("SELECT * FROM members") or die(mysql_error()); | ||||||
| 		die("Unable to select database"); | 
 | ||||||
| 	} |  | ||||||
| ?>
 | ?>
 | ||||||
| @ -1,29 +1,28 @@ | |||||||
| <?php | <?php | ||||||
| 	require_once('auth.php'); | 	require_once('auth.php'); | ||||||
| 	require('libs/menu.php'); | 	require('libs/menu.php'); | ||||||
|     require('libs/config.php'); |  require('libs/config.php') | ||||||
|   $_POST['email'] |  | ||||||
| ?>
 | ?>
 | ||||||
| 
 | 
 | ||||||
| <table width="300" border="0" align="center" cellpadding="2" cellspacing="0"> | <table width="300" border="0" align="center" cellpadding="2" cellspacing="0"> | ||||||
|     <tr> |     <tr> | ||||||
|       <th>First Name </th> |       <th>First Name </th> | ||||||
|       <td><input name="$fname" type="text" class="textfield" id="fname" /></td> |       <td><input name="fname" type="text" class="textfield" id="fname" /></td> | ||||||
|     </tr> |     </tr> | ||||||
|     <tr> |     <tr> | ||||||
|       <th>Last Name </th> |       <th>Last Name </th> | ||||||
|       <td><input name="$lname" type="text" class="textfield" id="lname" /></td> |       <td><input name="lname" type="text" class="textfield" id="lname" /></td> | ||||||
|     </tr> |     </tr> | ||||||
|     <tr> |     <tr> | ||||||
|       <th>City </th> |       <th>City </th> | ||||||
|       <td><input name="$city" type="text" class="textfield" id="lname" /></td> |       <td><input name="city" type="text" class="textfield" id="lname" /></td> | ||||||
|     </tr><tr> |     </tr><tr> | ||||||
|       <th>State </th> |       <th>State </th> | ||||||
|       <td><input name="$state" type="text" class="textfield" id="lname" /></td> |       <td><input name="state" type="text" class="textfield" id="lname" /></td> | ||||||
|     </tr><tr> |     </tr><tr> | ||||||
|       <th>Country </th> |       <th>Country </th> | ||||||
|       <td><input name="$country" type="text" class="textfield" id="lname" /></td> |       <td><input name="country" type="text" class="textfield" id="lname" /></td> | ||||||
|     </tr><tr> |     </tr><tr> | ||||||
|       <th>Email </th> |       <th>Email </th> | ||||||
|       <td><input name="$email" type="text" class="textfield" id="lname" /></td> |       <td><input name="email" type="text" class="textfield" id="lname" /></td> | ||||||
|     </tr> |     </tr> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user