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_PASSWORD', ''); | ||||
|     define('DB_DATABASE', 'mibew'); | ||||
|     //Connect to mysql server
 | ||||
| 	mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); | ||||
| 	if(!$link) { | ||||
| 		die('Failed to connect to server: ' . mysql_error()); | ||||
| 	} | ||||
| ------------------- | ||||
| //Maynot be needed it is deleteable, not sure if it's needed for profile page.
 | ||||
|  $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); | ||||
| $db = mysql_select_db(DB_DATABASE); | ||||
| $result = mysql_query("SELECT * FROM members") or die(mysql_error()); | ||||
| 
 | ||||
| 	//Select database
 | ||||
| 	$db = mysql_select_db(DB_DATABASE); | ||||
| 	if(!$db) { | ||||
| 		die("Unable to select database"); | ||||
| 	} | ||||
| ?>
 | ||||
| @ -6,7 +6,7 @@ | ||||
| <link href="libs/loginmodule.css" rel="stylesheet" type="text/css" /> | ||||
| </head> | ||||
| <body> | ||||
| <h1>Welcome</h1> | ||||
| <h1>Welcome </h1> | ||||
| <a href="member-profile.php">My Profile</a> |<a href="payware.php">Payware</a>| <a href="downloads.php">Downloads</a>| <a href="features.php">Features</a> |  | ||||
| <a href="ticket.php">Ticket Support</a> |<a href="logout.php">Logout</a> | ||||
| <p></p> | ||||
| @ -1,29 +1,28 @@ | ||||
| <?php | ||||
| 	require_once('auth.php'); | ||||
| 	require('libs/menu.php'); | ||||
|     require('libs/config.php'); | ||||
|   $_POST['email'] | ||||
|  require('libs/config.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> | ||||
|       <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> | ||||
|       <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="lname" /></td> | ||||
|       <td><input name="city" type="text" class="textfield" id="lname" /></td> | ||||
|     </tr><tr> | ||||
|       <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> | ||||
|       <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> | ||||
|       <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> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user