index.php
1 |
<?php
|
---|---|
2 |
include('login-validation.php'); |
3 |
?>
|
4 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
6 |
<head>
|
7 |
<script src="jukebox/jquery.js"></script> |
8 |
<script type="text/javascript" src="jukebox/jquery.easing.1.3.js"></script> |
9 |
<script type="text/javascript" src="jukebox/Bpopup.js"></script> |
10 |
<script type="text/javascript" src="jukebox/jquery.nivo.slider.js"></script> |
11 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
12 |
<link rel="stylesheet" href="jukebox/style.css" type="text/css" media="screen"/> |
13 |
<link rel="stylesheet" href="jukebox/nivo-slider.css" type="text/css" media="screen"/> |
14 |
<title>JukeBox DB</title> |
15 |
</head>
|
16 |
<body>
|
17 |
<div id="page" align="center"> |
18 |
<div id="pagecontent"> |
19 |
<div class="backcolor"> |
20 |
<?php
|
21 |
include('head.php'); |
22 |
include('bar.php'); |
23 |
include_once('sql_connection2.php'); |
24 |
$problem=connectdb2();
|
25 |
?>
|
26 |
<div id="rightcontent"> |
27 |
<?php
|
28 |
include('rightbar.php'); |
29 |
?>
|
30 |
</div>
|
31 |
|
32 |
<div id="leftcontent"> |
33 |
<?php
|
34 |
include('top-event-element.php'); |
35 |
include('top-artists.php'); |
36 |
include('borntoday-element.php'); |
37 |
?>
|
38 |
</div>
|
39 |
|
40 |
<?php
|
41 |
closedb2($con);
|
42 |
include("footer.php"); |
43 |
?>
|
44 |
|
45 |
</div>
|
46 |
</div>
|
47 |
</div>
|
48 |
</div>
|
49 |
</body>
|
50 |
</html>
|
51 |
<?php
|
52 |
if(!empty($problem)) echo "<script>window.alert('$problem')</script>"; |
53 |
?>
|