Fixed Index Page
This commit is contained in:
@@ -1,9 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/*
|
||||||
$db_host="joeyajames.powwebmysql.com"; // Host name
|
$db_host="joeyajames.powwebmysql.com"; // Host name
|
||||||
$db_username="f8lexception"; // Mysql username
|
$db_username="f8lexception"; // Mysql username
|
||||||
$db_password="Kim157"; // Mysql password
|
$db_password="Kim157"; // Mysql password
|
||||||
$db_name="f8lexception"; // Database name
|
$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.
|
// Connect to server and select database.
|
||||||
$db_connect = mysql_connect("$db_host", "$db_username", "$db_password")or die("cannot connect");
|
$db_connect = mysql_connect("$db_host", "$db_username", "$db_password")or die("cannot connect");
|
||||||
//mysql_select_db("$db_name")or die("cannot select DB");
|
//mysql_select_db("$db_name")or die("cannot select DB");
|
||||||
|
|||||||
6
f8l_exception/includes/inc_loggedin_text_menu.php
Normal file
6
f8l_exception/includes/inc_loggedin_text_menu.php
Normal 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>
|
||||||
@@ -11,6 +11,23 @@ session_start(); ?>
|
|||||||
<?php include 'includes/inc_header.php'; ?>
|
<?php include 'includes/inc_header.php'; ?>
|
||||||
<h1>Welcome to F8L Exception Online Bank!</h1><hr />
|
<h1>Welcome to F8L Exception Online Bank!</h1><hr />
|
||||||
</head>
|
</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>
|
<body>
|
||||||
|
|
||||||
<h3>Secure online banking with zero fees</h3>
|
<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.
|
<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>
|
It is free, quick and easy to set up an account, and you can access all your funds conveniently online.</p>
|
||||||
<br />
|
<br />
|
||||||
<?php
|
|
||||||
include 'includes/inc_text_menu.php';
|
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user