Fixed Index Page

This commit is contained in:
ry1015
2014-11-13 10:35:17 -08:00
parent 5484e11ef1
commit ee3353bc47
3 changed files with 30 additions and 3 deletions

View File

@@ -1,9 +1,16 @@
<?php
/*
$db_host="joeyajames.powwebmysql.com"; // Host name
$db_username="f8lexception"; // Mysql username
$db_password="Kim157"; // Mysql password
$db_name="f8lexception"; // Database name
*/
$db_host = 'localhost';
$db_name = 'f8lexception';
$db_username = 'f8lexception';
$db_password = 'Kim157';
$appname = 'F8L Bank ';
// Connect to server and select database.
$db_connect = mysql_connect("$db_host", "$db_username", "$db_password")or die("cannot connect");
//mysql_select_db("$db_name")or die("cannot select DB");

View File

@@ -0,0 +1,6 @@
<a href="http://www.joe-james.net/f8l_exception/index.php">Home</a> |
<a href="http://www.joe-james.net/f8l_exception/new_customer.php">New Customer</a> |
<a href="http://www.joe-james.net/f8l_exception/login.php">Login</a> |
<a href="http://www.joe-james.net/f8l_exception/reset_password.php">Reset Password</a> |
<br />
<a href="http://www.joe-james.net/f8l_exception/admin.php">Admin</a>

View File

@@ -11,6 +11,23 @@ session_start(); ?>
<?php include 'includes/inc_header.php'; ?>
<h1>Welcome to F8L Exception Online Bank!</h1><hr />
</head>
<?php
if (isset($_SESSION['user'])){
$user = $_SESSION['user'];
$loggedin = TRUE;
$userstr = " ($user)";
} else {
$loggedin = FALSE;
}
if ($loggedin){
include 'includes/inc_text_menu.php';
} else {
include 'includes/inc_loggedin_text_menu.php';
}
?>
<body>
<h3>Secure online banking with zero fees</h3>
@@ -18,6 +35,3 @@ session_start(); ?>
<p>What? You're looking for a secure and reliable online bank to stash your cash in that won't bury you with fees? The F8L Exception Online Bank has it all.
It is free, quick and easy to set up an account, and you can access all your funds conveniently online.</p>
<br />
<?php
include 'includes/inc_text_menu.php';
?>