-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeader.php
131 lines (119 loc) · 4.84 KB
/
Header.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
123
124
125
126
127
128
129
130
131
<!-- Start Header -->
<div class="header">
<div class="header-top">
<div class="wrap">
<div class="header-top-left">
<p>Support: +91-0000000000</p>
</div>
<div class="header-top-right">
<?php
if(isset($_SESSION['userid']) and isset($_SESSION['username']))
{
echo "Welcome ".$_SESSION['username'];
echo ' <a href="index.php?page=8" > </i>[My Account</a>';
echo ' <a href="index.php?Logout=Logout" > </i>[Sign Out]]</a>';
}
else
{
?>
<ul>
<li class="login">
<div id="loginContainer">
<a href="index.php?page=7"><span><i class="fa fa-lock"></i>Login</span></a>
</div>
</li>
<li><a href="index.php?page=6" ><i class="fa fa-sign-in"></i>Sign Up</a></li>
</ul>
<?php
}
?>
</div>
<div class="clear"></div>
</div>
</div>
<div class="header-logo-nav">
<div class="navbar navbar-inverse navbar-static-top nav-bg" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="logo" style="padding-top:10px;font-size:30px;color:#fff;"> Secure Online File Storage</div>
<div class="clear"></div>
</div>
<div class="collapse navbar-collapse">
<ul class=" menu nav navbar-nav">
<li class="active"><a href="index.php">Home</a></li>
<li><a href="index.php?page=2">About</a></li>
<li><a href="index.php?page=3">Solutions</a></li>
<li><a href="index.php?page=4">Support</a></li>
<li><a href="index.php?page=5">Contact Us</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<div class="clear"></div>
</div>
<?php
if(!isset($_GET["page"]) || $_GET["page"]==1 || $_GET["page"]==0)
{
?>
<div class="header-banner">
<!-- Carousel ================================================== -->
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div class="wrap">
<div class="carousel-inner">
<div class="item active">
<div class="row">
<div class="col-md-6">
<div class="banner-desc">
<h2>Get the right storage for you app.</h2>
<ul>
<li><span><i class="fa fa-chevron-right"></i>more than 12,3456 clients trust us</span></li>
<li><span><i class="fa fa-chevron-right"></i>24/7 support</span></li>
<li><span><i class="fa fa-chevron-right"></i>performance, reliability, security</span></li>
<li><span><i class="fa fa-chevron-right"></i>Flexible contracts</span></li>
</ul>
</div>
</div>
<div class="col-md-6">
<div class="banner-img">
<img src="images/devices.png" alt="First slide" />
</div>
</div>
</div>
</div>
<div class="item">
<div class="row">
<div class="col-md-6">
<div class="banner-img">
<img src="images/devices.png" alt="First slide" />
</div>
</div>
<div class="col-md-6">
<div class="banner-desc">
<h2>Get the right storage for you app.</h2>
<ul>
<li><span><i class="fa fa-chevron-right"></i>more than 12,3456 clients trust us</span></li>
<li><span><i class="fa fa-chevron-right"></i>24/7 support</span></li>
<li><span><i class="fa fa-chevron-right"></i>performance, reliability, security</span></li>
<li><span><i class="fa fa-chevron-right"></i>Flexible contracts</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<a class="left carousel-control left-arrow" href="#myCarousel" data-slide="prev"><span><i class="fa fa-chevron-left"></i></span></a>
<a class="right carousel-control right-arrow" href="#myCarousel" data-slide="next"><span><i class="fa fa-chevron-right"></i></span></a>
</div><!-- /.carousel -->
</div>
<?php
}
?>
</div>
<!-- End Header -->