-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcustomer_services.php
197 lines (174 loc) · 8.59 KB
/
customer_services.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" sizes="16x16" href="images/honda_logo_red.png">
<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/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/slideshow.css">
<script src="https://code.getmdl.io/1.2.1/material.min.js"></script>
<link rel="stylesheet" href="css/material.indigo.min.css">
<!-- Material Design icon font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/vanisha-honda.css">
<script src="js/index.js"></script>
<style type="text/css">
tr{
border-bottom: 1px solid #E4E5E7;
}
.collapsible-header{
color:gray;
}
.serv,.serv:hover,.serv:visited,.serv:active,.serv:focus{
text-decoration: none;
}
</style>
</head>
<body style="background-color:#E4E5E7;overflow-x:hidden">
<?php
$url_types_subtypes = 'https://vanisha-honda.herokuapp.com/get_vehicle_types_subtypes/?access_token=YbZtBg6XuWWbZ39R3BIn9Mb1XOn7uy';
$options_types_subtypes = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'GET',
),
);
$context_types_subtypes = stream_context_create($options_types_subtypes);
$output_types_subtypes = file_get_contents($url_types_subtypes, false,$context_types_subtypes);
/*var_dump($output_types_subtypes);*/
$arr_types_subtypes = json_decode($output_types_subtypes,true);
?>
<div style="" class="demo-layout-transparent mdl-layout mdl-js-layout">
<header style="background-color:#F1524B;height:110px;-webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important; /* Chrome and Safari */
-moz-box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important; /* Firefox 3.6 */
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important;" class="mdl-layout__header mdl-layout__header--transparent">
<div class="mdl-layout__header-row" style="margin-top:4.5%">
<!-- Title -->
<img style="margin-top:-3.8%;margin-left:30px;" src="images/honda_logo_white.png" width="60" height="60"></img>
<span style="margin-left:1%;font-size:20px;" class="mdl-layout-title">Vanisha Honda</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation -->
<nav class="mdl-navigation">
<a class="mdl-navigation__link homonhov" href="index.php" id="menu" style="line-height:35px;">HOME</a>
<div class="mdl-navigation__link dropdown homonhov" style="line-height:35px;">
<a href="#" class="btn dropdown-toggle" id="menu" data-toggle="dropdown">PRODUCTS<!-- <span class="caret"></span> --></a>
<ul class="dropdown-menu">
<li>
<?php for($x=0;$x<count($arr_types_subtypes);$x++){?>
<a class="trigger right-caret" id="service"><?php echo $arr_types_subtypes[$x]['vehicle_type'] ?></a>
<ul class="dropdown-menu sub-menu">
<?php for($y=0;$y<count($arr_types_subtypes[$x]['subtype']);$y++){?>
<li id="service"><a href="product_detail.php?v_id=<?php echo $arr_types_subtypes[$x]['subtype'][$y]['v_id'] ?>"><?php echo $arr_types_subtypes[$x]['subtype'][$y]['vehicle'] ?></a></li>
<?php } ?>
</ul>
<?php } ?>
</li>
</ul>
</div>
<div class="mdl-navigation__link dropdown homonhov" style="line-height:35px;">
<a href="#" class="btn dropdown-toggle" id="menu" data-toggle="dropdown">SERVICES<!-- <span class="caret"></span> --></a>
<ul id="ul_service" class="dropdown-menu">
<li><a href="book_service.php" id="service">Book Servicing</a></li>
<li><a href="insurance.php" id="service">Renew Insurance</a></li>
<li><a href="finance.php" id="service">Get Finance</a></li>
</ul>
</div>
<a class="mdl-navigation__link homonhov" href="enquiry.php" id="menu" style="line-height:35px;">CONTACT US</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Vanisha Honda</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="index.php"><i class="material-icons">home</i>Home</a>
<a class="mdl-navigation__link" href="product_types.php"><i class="material-icons">directions_bike</i>Products</a>
<a class="mdl-navigation__link" href="customer_services.php"><i class="material-icons">build</i>Services</a>
<a class="mdl-navigation__link" href="enquiry.php"><i class="material-icons">contact_phone</i>Contact Us</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="mdl-layout" style="background-color:white;margin-top:1%;text-align:center">
<div style="margin-top:5.5%;">
<div style="text-align:center;margin-bottom:13%" class="col-sm-4">
<div class="row">
<a class="serv" href="book_service.php">
<img style="width:200px;height:200px" src="images/book_servicing.png"></img>
<p style="margin-top:-30%;color:white;font-size:25px">Book Servicing</p>
</a>
</div>
</div>
<div style="text-align:center;margin-bottom:5%" class="col-sm-4">
<div class="row">
<a class="serv" href="insurance.php">
<img style="width:200px;height:200px" src="images/Insurance.png"></img>
<p style="margin-top:-30%;color:white;font-size:25px">Insurance <br>Renewal</p>
</a>
</div>
</div>
<div style="text-align:center;margin-bottom:5%" class="col-sm-4">
<div class="row">
<a class="serv" href="finance.php">
<img style="width:200px;height:200px" src="images/Finance.png"></img>
<p style="margin-top:-30%;color:white;font-size:25px">Get Finance</p>
</a>
</div>
</div>
</div>
</div>
<div style="background-color:#607D8B;border-bottom:1px solid #688491;margin-top:1%" class="mdl-mini-footer">
<div class="col-sm-1" style="color:white;">
</div>
<div class="col-sm-3" style="color:white;">
<div style="margin-top:5%">
<img width="60" height="60" src="images/honda_logo_red.png"></img>
<h5 style="margin-top:-6%;margin-left:25%">Vanisha Honda</h5>
</div>
</div>
<div class="col-sm-5" style="color:#FFFFFF">
<ul id="ul1">
<li><a style="color:#FFFFFF" href="index.php">HOME</a></li>
<li><a style="color:#FFFFFF" href="product_types.php">PRODUCTS</a></li>
<li><a style="color:#FFFFFF" href="customer_services.php">SERVICES</a></li>
<li><a style="color:#FFFFFF" href="enquiry.php">CONTACT US</a></li>
</ul>
</div>
<div class="col-sm-2" style="color:#FFFFFF;text-align:right">
<ul id="ul2">
<li><a href="https://twitter.com/" target="_blank">
<img src="images/twitter.png" /></a></li>
<li><a href="https://www.facebook.com/" target="_blank"><img src="images/facebook.png"></img></a></li>
<li><a href="https://plus.google.com/" target="_blank">
<img src="images/google-plus.png"></img></a></li>
</ul>
</div>
<div class="col-sm-1">
</div>
</div>
<div style="background-color:#607D8B;margint-top:5%;border-bottom:1px solid #688491" class="mdl-mini-footer">
<div class="col-sm-1" style="color:#FFFFFF;">
</div>
<div class="col-sm-3" style="color:#FFFFFF;margin-top:3%">
<ul id="ul3" style="list-style: none;margin-left:-14%;font:italic 13px Roboto,sans-serif;">
<li>+91-9987654321</li>
<li>+91-8314208821</li>
<li>info@vanishahonda.com</li>
</ul>
</div>
<div class="col-sm-2" style="color:#FFFFFF">
</div>
<div class="col-sm-5" style="color:#97A8B0;text-align:right">
<ul id="ul4" style="margin-top:17%">
<li>PRIVACY POLICY</li>
<li style="margin-left:10%">TERMS AND CONDITIONS</li>
</ul>
</div>
<div class="col-sm-1">
</div>
</div>
</main>
</body>
</html>