forked from Ramisha386/Lights-Camera-Action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_nav1.php
122 lines (87 loc) · 4.39 KB
/
_nav1.php
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!--/head-->
<header id="header">
<div class="container">
<div class="row">
<div class="col-sm-12 overflow">
<div class="social-icons pull-right">
<ul class="nav nav-pills">
<li><a href=""><i class="fa fa-facebook"></i></a></li>
<li><a href=""><i class="fa fa-twitter"></i></a></li>
<li><a href=""><i class="fa fa-google"></i></a></li>
<li><a href=""><i class="fa fa-dribbble"></i></a></li>
<li><a href=""><i class="fa fa-linkedin"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="menu-bar">
<ul>
<li class="active"><a href='http://localhost/302/homee.php'><i class="fa fa-home"></i></i> Home</a></li>
<li><a href="https://localhost/302/login_admin.php"><i class="fa fa-check"></i> Admin Login</a>
</li>
<li><a href='#'><i class="fa fa-play-circle" ></i> Showtime</a>
<div class="sub-menu-1">
<ul>
<li><a href="http://localhost/302/movies_2D.php"><i class="fa fa-check"></i> 2D</a></li>
<li><a href="http://localhost/302/movies_3D.php"><i class="fa fa-check"></i> 3D</a></li>
</ul>
</div>
</li>
<li><a href='#'><i class="fa fa-shopping-cart"></i> Concession</a>
<div class="sub-menu-1">
<ul>
<li><a href="http://localhost/302/portfolio.php"><i class="fa fa-cutlery"></i> Refreshments</a></li>
<li><a href="http://localhost/302/merch.php"><i class="fa fa-coffee"></i> Merchandise</a></li>
</ul>
</div>
</li>
<li><a href='http://localhost/302/registration.php'><i class="fa fa-user-plus"></i> Sign Up</a></li>
<li><a href='http://localhost/302/contact%20us.php'><i class="fa fa-phone"></i> Contact Us</a></li>
<li>
<?php
$count=0;
if(isset($_SESSION['cart']))
{
$count=count($_SESSION['cart']);
}
?>
<a href="myCart.php"><i class="fa fa-shopping-cart"></i> My Cart (<?php echo $count; ?>)</a>
</li>
</ul>
</div>
</header>
<!-----------hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh------------------->
<?php
//Oracle DB user name
$username = 'dbms';
// Oracle DB user password
$password = 'dbms';
// Oracle DB connection string
$connection_string = 'localhost/xe';
//Connect to an Oracle database
$connection = oci_connect(
$username,
$password,
$connection_string
);
if (!$connection)
echo 'Oops 🙁 connection failed';
else
$query = "SELECT * from membership";
$result = oci_parse($connection, $query);
oci_execute($result);
print "<table class = \"table table-responsive-md table-dark \">\n";
while ($row = oci_fetch_array($result, OCI_ASSOC + OCI_RETURN_NULLS)) {
print "<tr>\n";
foreach ($row as $item) {
print " <td>" . ($item !== null ? htmlentities($item, ENT_QUOTES) : " ") . "</td>\n";
}
print "</tr>\n";
}
print "</table>\n";
//print '</table>';
?>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>