-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
65 lines (57 loc) · 1.56 KB
/
index.php
File metadata and controls
65 lines (57 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!-- sample page --> <!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Nixie+One' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Oleo+Script+Swash+Caps:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.php">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body style="margin-bottom:0px;margin-top:0px;">
<?php
$servername = "localhost";
$username = "carlgordon";
$password = "6190";
$dbname = "myDatabase";
$host = 'localhost';
$port = 3306;
session_start();
$ActiveUsername = $_SESSION['Username'];
$ActivePassword = $_SESSION['Password'];
$_SESSION['ID'] = "112233";
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}else
{
//echo "DSL CONN TRUE";
}
error_reporting(0);
// includes header
?>
<div style=" background:#2A035D;">
<?
//HEADER
include ("includes/header.php");
//WELCOME IMG BANNER
?>
<div style="max-width: 1208px;
margin:auto;">
<?
include ("includes/welcome.php");
//MAIN INDEX CONTENT
include ("includes/landing.php");
//FOOTER
?>
</div>
</div>
<?
include ("includes/footer.php");
?>
</div>
</body>
<script src="https://code.jquery.com/jquery.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js" ></script>
<script src="js/isotope-docs.min.js"></script>
</html>