diff --git a/site/login/login/libs/config.php b/site/login/login/libs/config.php index 58738cb4..f0edaa6b 100644 --- a/site/login/login/libs/config.php +++ b/site/login/login/libs/config.php @@ -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"); - } ?> \ No newline at end of file diff --git a/site/login/login/libs/menu.php b/site/login/login/libs/menu.php index 9d6f3fb8..2df1aa95 100644 --- a/site/login/login/libs/menu.php +++ b/site/login/login/libs/menu.php @@ -6,7 +6,7 @@ -

Welcome

+

Welcome

My Profile |Payware| Downloads| Features | Ticket Support |Logout

\ No newline at end of file diff --git a/site/login/login/member-profile.php b/site/login/login/member-profile.php index 13bfe74c..e7b9864a 100644 --- a/site/login/login/member-profile.php +++ b/site/login/login/member-profile.php @@ -1,29 +1,28 @@ - + - + - + - + - + - +
First Name
Last Name
City
State
Country
Email