if ($_GET['error']=='user_not_found') {
?>
Username or password
}
?>
is invalid. |
|
include('console/boot.php'); if ($_SESSION['user_id']) { if ($_SESSION['admin_access']) { header('Location: admin.php'); } else { header("Location: blog.php"); } exit; } $sql = "select name,value from data where name='mp_address' or name='mp_phone'"; $result = mysql_query($sql) or die($sql.mysql_error()); $rows = mysql_num_rows($result); if ($rows) { while ($row=mysql_fetch_assoc($result)) { $mp_data[$row['name']] = $row['value']; } } mysql_free_result($result); $sql = "select `text` from blocks where name='login_text'"; $result = mysql_query($sql) or die($sql.mysql_error()); $rows = mysql_num_rows($result); if ($rows) { $row = mysql_fetch_assoc($result); $content = $row['text']; } mysql_free_result($result); ?>
if ($_GET['error']=='user_not_found') {
?>
Username or password
}
?>
is invalid. |
|