-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
265 lines (227 loc) · 8.78 KB
/
index.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html lang="en"><title>MAHAVINAYAK ROADLINES</title>
<!-- Add Bootstrap Links -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<style>
input[type=submit] {
background-color: #4CAF50;
border: none;
color: white;
padding: 16px 32px;
text-decoration: none;
margin: 4px 2px;
cursor: pointer;
}
body,h1,h2,h3,h4,h5 {font-family: "Poppins", sans-serif}
body {font-size:16px;}
.w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer}
.w3-half img:hover{opacity:1}
.tab1 {
tab-size: 2;
}
.w3-button
{
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.sidepanel {
height: 500px; /* Specify a height */
width: 0; /* 0 width - change this with JavaScript */
position: fixed; /* Stay in place */
z-index: 0; /* Stay on top */
down: 20;
left: 0;
background-color: w3-green; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 60px; /* Place content 60px from the top */
transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
margin-bottom: 10%;
}
/* The sidepanel links */
.sidepanel a {
padding: 4px 4px 4px 16px;
text-decoration: none;
font-size: 20px;
color: white;
display: block;
transition: 0.3s;
down: 10;
margin-bottom: 4%;
}
/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
color: white;
}
/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
position: absolute;
down: 10;
right: 25px;
font-size: 36px;
margin-bottom: 50px;
}
/* Style the button that is used to open the sidepanel */
.openbtn {
font-size: 18px;
cursor: pointer;
background-color: white;
color: black;
padding: 10px 15px;
border: none;
}
.openbtn:hover {
background-color: green;
}
</style>
<body>
<form align="right" name="form1" method="post" action="logout.php">
<label>
<input name="submit2" type="submit" id="submit2" value="Logout">
</label>
</form>
<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-green w3-collapse w3-top w3-large w3-padding" style="z-index:3;width:300px;font-weight:bold;" id="mySidebar"><br>
<a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-hide-large w3-display-topleft" style="width:100%;font-size:22px">Close Menu</a>
<div class="w3-container">
<h3 class="w3-padding-100"><b>
</div>
<div class="w3-bar-block">
<br>
<div id="mySidepanel" class="sidepanel">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#" > </a>
<a href="#showcase" onclick="window.location.href='dbc.php'" class="w3-hover-white">Add Accounts</a>
<a href="#services" onclick="window.location.href='editnew.php'" class="w3-hover-white">Edit Accounts</a>
<a href="#designers" onclick="window.location.href='view.php'" class=" w3-hover-white">View</a>
<a href="#packages" onclick="window.location.href='cb.php'" class=" w3-hover-white">Company Balance</a>
<a href="#contact" onclick="window.location.href='addv.html'" class="w3-hover-white">Add Vehicle name</a>
<a href="#contact1" onclick="window.location.href='addc.html'"class="w3-bar-item w3-button w3-hover-white">Add Company name</a>
<a href="#contact2" onclick="window.location.href='removevehicle.php'"class="w3-bar-item w3-button w3-hover-white">Remove Vehicle name</a>
<a href="#contact2" onclick="window.location.href='deletecompany.php'"class="w3-bar-item w3-button w3-hover-white">Remove Company name</a>
<a href="#contact2" onclick="window.location.href='user.php'"class="w3-bar-item w3-button w3-hover-white">Users</a>
</div>
<br>
<button class="openbtn" onclick="openNav()">☰ Menu</button>
</div>
</nav>
<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-hide-large w3-red w3-xlarge w3-padding">
<a href="javascript:void(0)" class="w3-button w3-red w3-margin-right" onclick="w3_open()">☰</a>
<span>Company Name</span>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:340px;margin-right:40px">
<!-- Header -->
<div class="w3-container" style="margin-top:50px" id="showcase">
<h1 class="w3-xxxlarge"><b>Welcome to Mahavinayak Roadlines</b></h1><br>
<h3 class="w3-xxlarge w3-text-green"><b>India's No.1 truck services</b></h3>
<hr style="width:50px;border:5px solid green" class="w3-round">
</div>
<!-- Photo grid (modal) -->
<div class="w3-row-padding">
<div class="w3-half">
Warehousing Facility in Goa & Mumbai<br><br>
Total Logistic Services<br><br>
Door to Door service
</div>
<div class="w3-half">
Mumbai Goa Daily Service<br><br>
MOST Reasonable rates <br><br>
Fast delivery
</div>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" style="padding-top:0" onclick="this.style.display='none'">
<span class="w3-button w3-black w3-xxlarge w3-display-topright">×</span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption"></p>
</div>
</div>
<!-- Services -->
<div class="w3-container" id="services" style="margin-top:75px">
<h1 class="w3-xxlarge w3-text-green"><b>Services</b></h1>
<hr style="width:50px;border:5px solid green" class="w3-round">
<p>We are a India's no1 transport service that focus on the fast and safe delivery of the goods. </p>
<p>Covering all modes of transport, we provide you with the services you need to meet your customers' demands. Based on your business need, our team can suggest the most effective and efficient service available. At the heart of our service is our commitment to customers service and quality. With 60 years experience delivering excellence, our focus has always been solely on not letting our customers down.
Think together. Move together. Success together.
</p>
</div>
<!-- Designers -->
<div class="w3-container" id="designers" style="margin-top:75px">
<h1 class="w3-xxxlarge w3-text-red"><b>Designers.</b></h1>
<hr style="width:50px;border:5px solid red" class="w3-round">
<p>The best team in the world.</p>
</div>
<!-- The Team -->
<div class="w3-row-padding w3-grayscale">
<div class="w3-col m4 w3-margin-bottom">
<div class="w3-light-grey">
<div class="w3-container">
<h3>Tanmay Nayak </h3>
<p class="w3-opacity">CEO & Founder</p>
</div>
</div>
</div>
<div class="w3-col m4 w3-margin-bottom">
<div class="w3-light-grey">
<div class="w3-container">
<h3>Mihir Shetty</h3>
<p class="w3-opacity">Designer</p>
</div>
</div>
</div>
<div class="w3-col m4 w3-margin-bottom">
<div class="w3-light-grey">
<div class="w3-container">
<h3>Lloyd Kasal</h3>
<p class="w3-opacity">Architect</p>
</div>
</div>
</div>
</div>
<!-- Packages / Pricing Tables -->
<!-- End page content -->
</div>
<!-- W3.CSS Container -->
<div class="w3-light-grey w3-container w3-padding-32" style="margin-top:75px;padding-right:58px"><p class="w3-right"><a href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS" target="_blank" class="w3-hover-opacity"></a></p></div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
function openNav() {
document.getElementById("mySidepanel").style.width = "250px";
}
/* Set the width of the sidebar to 0 (hide it) */
function closeNav() {
document.getElementById("mySidepanel").style.width = "0";
}
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
</script>
</body>
</html>