-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
511 lines (457 loc) · 34.5 KB
/
Copy pathindex.php
File metadata and controls
511 lines (457 loc) · 34.5 KB
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<link rel="icon" type="image/x-icon" href="assets/img/icon.png">
<title>Next Tech Machines</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/Kaushan%20Script.css">
<link rel="stylesheet" href="assets/css/Montserrat.css">
<link rel="stylesheet" href="assets/fonts/font-awesome.min.css">
<link rel="stylesheet" href="assets/fonts/ionicons.min.css">
<link rel="stylesheet" href="assets/css/aos.min.css">
<link rel="stylesheet" href="assets/css/Pretty-Footer-.css">
<link rel="stylesheet" href="assets/css/-Login-form-Page-BS4--Login-form-Page-BS4.css">
<link rel="stylesheet" href="assets/css/Login-Form-Basic-icons.css">
<link rel="stylesheet" href="assets/css/Ludens-basic-login.css">
<link rel="stylesheet" href="assets/css/untitled.css">
<script src="https://cdn.emailjs.com/sdk/2.3.2/email.min.js"></script>
</head>
<body id="page-top" data-bs-spy="scroll" data-bs-target="#mainNav" data-bs-offset="54">
<nav class="navbar navbar-dark navbar-expand-lg fixed-top bg-dark" id="mainNav">
<div class="container"><img src="assets/img/Group%201%20(1).png" width="143" height="42"><button data-bs-toggle="collapse" data-bs-target="#navbarResponsive" class="navbar-toggler navbar-toggler-right" type="button" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><i class="fa fa-bars"></i></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto text-uppercase">
<li class="nav-item"><a class="nav-link active" href="#">HOME</a></li>
<li class="nav-item"><a class="nav-link" href="product.php">PRODUCT</a></li>
<li class="nav-item"><a class="nav-link" href="about.html">About</a></li>
<li class="nav-item"><a class="nav-link" href="contact.html">Contact</a></li>
<li class="nav-item"><a class="nav-link" href="login.php">ADMIN</a></li>
</ul>
</div>
</div>
</nav>
<header class="masthead" style="background-image: url('assets/img/pxfuel88.jpg');">
<div class="container">
<div class="intro-text">
<div data-aos="fade-up" data-aos-duration="700" data-aos-once="true" id="blur" class="intro-heading text-uppercase" style="margin-bottom: 0;padding-top: 40px;padding-bottom: 40;">
<div class="intro-lead-in"><span><strong><span style="color: rgb(254, 87, 33); background-color: rgba(255, 255, 255, 0);">Machines for Generation!</span></strong></span></div><span style="padding-right: 0px;margin: 0px;margin-right: 1px;padding-left: 0px;padding-bottom: 0px;margin-bottom: 3px;margin-left: 0px;margin-top: 0px;"><strong><span style="background-color: rgba(255, 255, 255, 0);">Industrial Machines Supplier</span></strong></span>
<div class="intro-lead-in"><span style="font-size: 27px;"><span style="color: rgb(253, 86, 32); background-color: rgba(255, 255, 255, 0);">One Stop Place for CNC, VMC, TMC, HMC and other Machines…</span></span></div>
</div><a class="btn btn-primary btn-xl text-uppercase" role="button" href="#services"><span style="color: rgb(0, 0, 0);">GET IN TOUCH</span></a>
</div>
</div>
</header>
<section class="bg-light" id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="text-uppercase section-heading">PRODUCTS</h2>
<h3 class="text-muted section-subheading">We Cater Your Needs...</h3>
</div>
</div>
<div class="row">
<!-- <div class="col-sm-6 col-md-4 portfolio-item"><a class="portfolio-link" href="#portfolioModal1" data-bs-toggle="modal"> -->
<div class="col-sm-4 col-md-2 portfolio-item"><a class="portfolio-link" href="#portfolioModal1" data-bs-toggle="modal">
<div class="portfolio-hover">
<div class="portfolio-hover-content"><i class="fa fa-plus fa-3x"></i></div>
</div><img class="img-fluid" src="assets/img/products/CYNIC.png">
</a>
<div class="portfolio-caption">
<h4><strong><span style="color: rgb(26, 26, 26);">CYNIC SERIES</span></strong></h4>
<p class="text-muted"><span style="color: rgb(102, 102, 102);">CYNIC Series Machines have unrivalled cutting capability achieved by overwhelming Power!</span></p>
</div>
</div>
<div class="col-sm-4 col-md-2 portfolio-item"><a class="portfolio-link" href="#portfolioModal2" data-bs-toggle="modal">
<div class="portfolio-hover">
<div class="portfolio-hover-content"><i class="fa fa-plus fa-3x"></i></div>
</div><img class="img-fluid" src="assets/img/products/tmc.png" width="398" height="267">
</a>
<div class="portfolio-caption">
<h4><strong><span style="color: rgb(26, 26, 26);">TMC SERIES</span></strong></h4>
<p class="text-muted"><span style="color: rgb(102, 102, 102);">All MC Series Machines having unrivalled cutting capability achieved by overwhelming power!</span></p>
</div>
</div>
<div class="col-sm-4 col-md-2 portfolio-item"><a class="portfolio-link" href="#portfolioModal3" data-bs-toggle="modal">
<div class="portfolio-hover">
<div class="portfolio-hover-content"><i class="fa fa-plus fa-3x"></i></div>
</div><img class="img-fluid" src="assets/img/products/hmc.png">
</a>
<div class="portfolio-caption">
<h4><strong><span style="color: rgb(26, 26, 26);">HMC SERIES</span></strong></h4>
<p class="text-muted"><span style="color: rgb(102, 102, 102);">High Precision Grade Roller LM Guide ways With Medium Preloaded Extra Long Blocks.</span></p>
</div>
</div>
<div class="col-sm-4 col-md-2 portfolio-item"><a class="portfolio-link" href="#portfolioModal4" data-bs-toggle="modal">
<div class="portfolio-hover">
<div class="portfolio-hover-content"><i class="fa fa-plus fa-3x"></i></div>
</div><img class="img-fluid" src="assets/img/products/CLOBBER.png">
</a>
<div class="portfolio-caption">
<h4><strong><span style="color: rgb(26, 26, 26);">CLOBBER SERIES</span></strong></h4>
<p class="text-muted"><span style="color: rgb(102, 102, 102);">The CLOBBER Series Vertical Machining Centre Delivers Massive Cutting Versatility at your Working Place.</span></p>
</div>
</div>
<div class="col-sm-4 col-md-2 portfolio-item"><a class="portfolio-link" href="#portfolioModal5" data-bs-toggle="modal">
<div class="portfolio-hover">
<div class="portfolio-hover-content"><i class="fa fa-plus fa-3x"></i></div>
</div><img class="img-fluid" src="assets/img/products/vtl.png">
</a>
<div class="portfolio-caption">
<h4><strong><span style="color: rgb(26, 26, 26);">VTL SERIES</span></strong></h4>
<p class="text-muted"><span style="color: rgb(102, 102, 102);">The VTL Series having Ball Screw With C3 Class, Double Nut, Long Nut And Deep Groove With Zero Backlash</span></p>
</div>
</div>
<div class="col-sm-4 col-md-2 portfolio-item"><a class="portfolio-link" href="#portfolioModal6" data-bs-toggle="modal">
<div class="portfolio-hover">
<div class="portfolio-hover-content"><i class="fa fa-plus fa-3x"></i></div>
</div><img class="img-fluid" src="assets/img/products/DCMC.png">
</a>
<div class="portfolio-caption">
<h4><strong><span style="color: rgb(26, 26, 26);">DCMC SERIES</span></strong></h4>
<p class="text-muted"><span style="color: rgb(102, 102, 102);">DCMC Series having the Taiwan Make High Speed Rigid Spindle with P4 Class Angular Contact Ball Bearings</span></p>
</div>
</div>
<a class="btn btn-primary btn-xl text-uppercase" role="button" href="product.php" style="color: rgb(102,102,102);"><span style="color: rgb(0, 0, 0);">FIND MORE PRODUCTS</span></a>
</div>
</div>
</section>
<section id="services">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="text-uppercase section-heading">why choose us</h2>
<h3 class="text-muted section-subheading"></h3>
</div>
</div>
<div class="row text-center">
<div data-aos="fade-right" data-aos-duration="900" data-aos-once="true" class="col-md-4" style><span class="fa-stack fa-4x"><i class="fa fa-circle fa-stack-2x text-primary"></i><i class="fa fa-users fa-stack-1x fa-inverse"></i></span>
<h4 class="section-heading">20+ Years Experienced Team</h4>
<p class="text-muted">We are privileged to have sales team which having 20+ years experience experts understand your business's production processes and provide you best solution</p>
</div>
<div data-aos="fade-up" data-aos-delay="300" data-aos-duration="900" data-aos-once="true" class="col-md-4"><span class="fa-stack fa-4x"><i class="fa fa-circle fa-stack-2x text-primary" style="color: rgb(62,140,228);"></i><i class="fa fa-rupee fa-stack-1x fa-inverse"></i></span>
<h4 class="section-heading">Reasonable Price</h4>
<p class="text-muted">We take the time to understand your business's production processes, ensuring that we recommend the right machines to help you increase efficiency and reduce costs.</p>
</div>
<div data-aos="fade-left" data-aos-duration="900" data-aos-once="true" class="col-md-4"><span class="fa-stack fa-4x"><i class="fa fa-circle fa-stack-2x text-primary"></i><svg class="icon icon-tabler icon-tabler-package fa-stack-1x fa-inverse" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" style="height: 73px;width: 81px;margin: 26px;padding: 0px;">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3"></polyline>
<line x1="12" y1="12" x2="20" y2="7.5"></line>
<line x1="12" y1="12" x2="12" y2="21"></line>
<line x1="12" y1="12" x2="4" y2="7.5"></line>
<line x1="16" y1="5.25" x2="8" y2="9.75"></line>
</svg></span>
<h4 class="section-heading">Fast feature Delivery</h4>
<p class="text-muted">Under promise and Over Delivery is our success Mantra We Care your Production Growth and Deliver your machines on time by provide excellent after-sales service and maintenance support.</p>
</div>
</div>
</div>
</section>
<section id="about">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="text-uppercase">MILESTONE</h2>
<h3 class="text-muted section-subheading"></h3>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<ul class="list-group timeline">
<li class="list-group-item" data-aos="fade-right" data-aos-duration="900" data-aos-once="true">
<div class="timeline-image"><img class="rounded-circle img-fluid" src="assets/img/about/20230428090358_[fpdl.in]_building-concept-illustration_114360-4469.jpg" style="width: 146px;height: 147px;margin: 4px;padding: 2px;"></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 style="font-size: 16px;">FEB 2020 Company Established</h4>
<h4 class="subheading" style="font-size: 19px;">Started Journey in Machining Solutions</h4>
</div>
<div class="timeline-body">
<p class="text-muted">Focuses on establishing relationships with manufacturers. attend trade shows and industry events to network and build relationships.</p>
</div>
</div>
</li>
<li class="list-group-item timeline-inverted" data-aos="fade-left" data-aos-duration="900" data-aos-once="true">
<div class="timeline-image"><img class="rounded-circle img-fluid" src="assets/img/about/20230428090655_[fpdl.in]_green-hand-drawn-partnership-clipart_53876-115985.jpg" style="width: 146px;height: 147px;margin: 4px;padding: 2px;"></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 style="font-size: 16px;">May 2021 Launch of a new product line</h4>
<h4 class="subheading" style="font-size: 18px;">Associated with KTM Techno Solutions</h4>
</div>
<div class="timeline-body">
<p class="text-muted">Started a high energy exercise to provide a better customer experience and expanded our product line to meet customer demand.</p>
</div>
</div>
</li>
<li class="list-group-item" data-aos="fade-right" data-aos-duration="900" data-aos-once="true">
<div class="timeline-image"><img class="rounded-circle img-fluid" src="assets/img/about/Frame%201.png" style="width: 146px;height: 147px;margin: 4px;padding: 2px;"></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 style="font-size: 16px;">FEB 2022 New geographic market</h4>
<h4 class="subheading" style="font-size: 18px;">Started Scaling</h4>
</div>
<div class="timeline-body">
<p class="text-muted">Adopted High Efficiency CRM Tool for customer better service management and expanded working area from Local to Maharashtra</p>
</div>
</div>
</li>
<li class="list-group-item timeline-inverted" data-aos="fade-left" data-aos-duration="900" data-aos-once="true">
<div class="timeline-image"><img class="rounded-circle img-fluid" src="assets/img/about/Group%203.png" style="width: 146px;height: 147px;margin: 4px;padding: 2px;"></div>
<div class="timeline-panel">
<div class="timeline-heading">
<h4 style="font-size: 16px;">JAN 2023 Today</h4>
<h4 class="subheading" style="font-size: 18px;">Running</h4>
</div>
<div class="timeline-body">
<p class="text-muted">Started acquiring customer trust and counted among one of the leading machine dealer for Manufacturing Solutions</p>
</div>
</div>
</li>
<li class="list-group-item timeline-inverted" data-aos="fade-up" data-aos-duration="900" data-aos-once="true">
<div class="timeline-image">
<h4>Be Part<br> Of Our<br> Story!</h4>
</div>
</li>
</ul>
</div>
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="text-uppercase section-heading">Our Happy Clients</h2>
<h3 class="text-muted section-subheading">"Our success is measured by the smiles of our clients."</h3>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-3"><a href="#"><img class="img-fluid d-block mx-auto" src="assets/img/clients/gayatri.jpg"></a></div>
<div class="col-sm-6 col-md-3"><a href="#"><img class="img-fluid d-block mx-auto" src="assets/img/clients/febtech.png"></a></div>
<div class="col-sm-6 col-md-3"><a href="#"><img class="img-fluid d-block mx-auto" src="assets/img/clients/akshada.png"></a></div>
<div class="col-sm-6 col-md-3"><a href="#"><img class="img-fluid d-block mx-auto" src="assets/img/clients/sahil.png"></a></div>
</div>
</div>
</section>
<section id="contact" style="background-image: url('assets/img/map-image.png');">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="text-uppercase section-heading">Contact Us</h2>
<h3 class="text-muted section-subheading">Request A Quote</h3>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<form id="contactForm" name="contactForm">
<div class="row">
<div class="col-md-6">
<div class="form-group mb-3"><input class="form-control" type="text" id="name" placeholder="Your Name *" required=""><small class="form-text text-danger flex-grow-1 lead"></small></div>
<div class="form-group mb-3"><input class="form-control" type="email" id="email" placeholder="Your Email *" required=""><small class="form-text text-danger lead"></small></div>
<div class="form-group mb-3"><input class="form-control" type="tel" id="telp" placeholder="Your Phone *" required=""><small class="form-text text-danger lead"></small></div>
</div>
<div class="col-md-6">
<div class="form-group mb-3"><textarea class="form-control" id="message" placeholder="Your Message *" required=""></textarea><small class="form-text text-danger lead"></small></div>
</div>
<div class="w-100"></div>
<div class="col-lg-12 text-center">
<div id="success"></div><button class="btn btn-primary btn-xl text-uppercase" id="sendMessageButton" type="submit">Send Message</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<footer>
<div class="row">
<div class="col-sm-6 col-md-4 footer-navigation">
<!-- <h3><a href="#"><span style="color: rgb(202, 208, 219); background-color: rgb(36, 42, 54);"> Next Tech Machines</span></a></h3> -->
<h3><img src="assets/img/Group%201%20(1).png" width="200" height="60"></h3>
<p class="links"><a href="#">Home</a><strong> · </strong><a href="product.php">Product</a><strong> · </strong><a href="about.html">About</a><strong> · </strong><a href="contact.html">Contact</a><strong> · </strong><a href="login.php">Login</a></p>
<p class="company-name">NextTech Machines © 2023 </p>
</div>
<div class="col-sm-6 col-md-4 footer-contacts">
<div><span class="fa fa-map-marker footer-contacts-icon"> </span>
<p><span class="new-line-span"><span style="color: rgb(202, 208, 219); background-color: rgb(36, 42, 54);">Flat No. C-14</span><br><span style="color: rgb(202, 208, 219); background-color: rgb(36, 42, 54);">Sara Riddhi, Harsul,</span></span> Aurangabad</p>
</div>
<div><i class="fa fa-phone footer-contacts-icon"></i>
<p class="footer-center-info email text-start"><span style="font-weight: normal !important; color: rgb(202, 208, 219); background-color: rgb(36, 42, 54);">+91 9823573380</span></p>
</div>
<div><i class="fa fa-envelope footer-contacts-icon"></i>
<p> <a href="#" target="_blank"><br><span style="font-weight: normal !important; color: rgb(202, 208, 219); background-color: rgb(36, 42, 54);">info@nexttechmachine.com</span><br><br></a></p>
</div>
</div>
<div class="col-md-4 footer-about">
<h3>About Us</h3>
<p><br><span style="color: rgb(202, 208, 219); background-color: rgb(36, 42, 54);">We specialize in providing industrial machines for businesses of all sizes. With years of experience in the industry, we have established ourselves as a trusted provider of quality equipment that helps businesses to optimize their production processes and reduce costs.</span><br><br></p>
<div class="social-links social-icons"><a href="#"><i class="fa fa-facebook"></i></a><a href="#"><i class="fa fa-twitter"></i></a><a href="#"><i class="fa fa-linkedin"></i></a></div>
</div>
</div>
</footer>
<!-- ----------------------- modals---------------------------- -->
<?php
include("connection.php");
$query = "SELECT * FROM prod_tab";
$result = mysqli_query($con,$query);
while($row = mysqli_fetch_assoc($result))
{
echo'<div class="modal fade text-center portfolio-modal" role="dialog" tabindex="-1" id="'.$row['modid'].'" dat="'.$row['id'].'" datn="'.$row['name'].'">';
echo'<div class="modal-dialog modal-lg" role="document">';
echo'<div class="modal-content">';
echo'<div class="container">';
echo'<div class="row">';
echo'<div class="col-lg-8 mx-auto">';
echo'<div class="modal-body">';
echo'<h2 class="text-uppercase" style="font-size: 50px;"><span style="color: var(--ast-global-color-2); background-color: rgba(247, 248, 248, 0);">'.$row['name'].'</span></h2>';
echo'<p class="text-muted item-intro" style="font-size: 23px;"><a href="http://nexttechmachines.com/product-category/turning-machine/"><span style="color: rgb(0, 0, 0); background-color: rgb(247, 248, 248);">'.$row['class'].'</span></a></p><img class="img-fluid d-block mx-auto" src="assets/img/products/'.$row['img'].'">';
echo'<p style="font-size: 18px;text-align: justify;padding-right: 0px;transform: scale(1);backdrop-filter: blur(0px);-webkit-backdrop-filter: blur(0px);margin: -9px;"><strong><span style="color: rgb(0, 0, 0); background-color: rgba(255, 255, 255, 0);">Key Features</span></strong><br><br><br><span style="color: rgb(0, 0, 0); background-color: rgba(255, 255, 255, 0);">'.$row['feat'].'</span></p>';
// echo'<ul class="list-unstyled"></ul><a class="btn btn-primary" role="button" href="'.$row['pdf'].'" style="margin: 0px;margin-right: 14px;background: rgb(54,74,254);"><i class="fa fa-download"></i><span> Download Catalog</span></a><a href = "addq2.php?i='.$row['id'].'&n='.$row['name'].'" class="btn btn-success" role="button" style="background: #38c83e;color: rgb(255,255,255);border: 3px none rgb(0,0,0);"><i class="icon ion-ios-paper-outline"></i><span> Get Quotation</span></a><button class="btn btn-primary" type="button" data-bs-dismiss="modal" style="margin-left: 18px;color: rgb(232,232,232);background: rgb(227,39,39);"><i class="fa fa-times"></i><span> Close Project</span></button>';
echo'<ul class="list-unstyled"></ul><a class="btn btn-primary" role="button" href="'.$row['pdf'].'" style="margin: 0px;margin-right: 14px;background: rgb(54,74,254);"><i class="fa fa-download"></i><span> Download Catalog</span></a><button class="btn btn-primary" type="button" id="tgbt" data-bs-toggle="modal" data-bs-target="#formModal" data-bs-dismiss="modal" style="background: #38c83e;color: rgb(255,255,255);border: 3px none rgb(0,0,0);"><i class="icon ion-ios-paper-outline"></i><span> Get Quotation</span></button><button class="btn btn-primary" type="button" data-bs-dismiss="modal" style="margin-left: 18px;color: rgb(232,232,232);background: rgb(227,39,39);"><i class="fa fa-times"></i><span> Close Project</span></button>';
// <a href = 'addquery.php?i=$row[id]&n=$row[name]' class='btn btn-success' role="button" style="background: #38c83e;color: rgb(255,255,255);border: 3px none rgb(0,0,0);"><i class="icon ion-ios-paper-outline"></i><span> Get Quotation</span></a>
echo'</div>';
echo'</div>';
echo'</div>';
echo'</div>';
echo'</div>';
echo'</div>';
echo'</div>';
}
?>
<div class="modal fade" id="formModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Please Fill the Requirement details...</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="quotForm" name="quotForm" >
<!-- <form id="quotForm" name="quotForm" action="addquery.php" method="POST" enctype="multipart/form-data"> -->
<div class="form-group">
<div class="form-group mb-3"><label for="qname">Name :</label><input class="form-control" type="text" id="qname" name="qname" placeholder="Your Name *" required=""><small class="form-text text-danger flex-grow-1 lead"></small></div>
<div class="form-group mb-3"><label for="qemail">Email :</label><input class="form-control" type="email" id="qemail" name="qemail" placeholder="Your Email *" required=""><small class="form-text text-danger lead"></small></div>
<div class="form-group mb-3"><label for="qtel">Mob no :</label><input class="form-control" type="tel" id="qtel" name="qtel" placeholder="Your Phone *" required=""><small class="form-text text-danger lead"></small></div>
<div class="form-group mb-3"><label for="prodid">Product ID :</label><input type="text" class="form-control" id="prodid" name="prodid" readonly></div>
<div class="form-group mb-3"><label for="prodnm">Product Name :</label><input type="text" class="form-control" id="prodnm" name="prodnm" readonly></div>
<div class="form-group mb-3"><label for="loc">Location :</label><input class="form-control" type="text" id="loc" name="loc" placeholder="Your Location (CITY) *" required=""><small class="form-text text-danger flex-grow-1 lead"></small></div>
<div class="form-group mb-3"><label for="qty">Quantity :</label><input class="form-control" type="text" id="qty" name="qty" placeholder="Required Quantity *" required=""><small class="form-text text-danger flex-grow-1 lead"></small></div>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" name="submit" class="btn btn-primary" id="quotbtn" style="background-color: #fe5721 ;" >Get Quotation</button>
</div>
</form>
</div>
<div class="modal-footer">
<!-- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="submit" name="submit"class="btn btn-primary" id="quotbtn" style="background-color: #fe5721 ;">Get Quotation</button> -->
<!-- data-bs-dismiss="modal" -->
</div>
</div>
</div>
</div>
<script>
// $(document).ready(function() {
// $('tgbt').on('click', function() {
// var data = $('#portfolioModal4 .portfolio-caption h4').text();
// $('#exampleFormControlInput1').val(data);
// });
// });
// Get all the buttons inside modals with class "portfolio-modal"
const modalButtons = document.querySelectorAll('.portfolio-modal button');
// Add a click event listener to each modal button
modalButtons.forEach(button => {
button.addEventListener('click', function() {
// Get the ID of the parent modal
const pId = this.closest('.portfolio-modal').getAttribute('dat');
prodid.value=pId;
const pn = this.closest('.portfolio-modal').getAttribute('datn');
prodnm.value=pn;
});
});
</script>
<script type="text/javascript">
// Load the EmailJS library
window.onload = function () {
emailjs.init("suyogsabale111@gmail.com");
console.log("fun init");
// document.getElementById("quotbtn").onclick = getquot;
// console.log("getquot");
};
document.getElementById('quotbtn').addEventListener('click', (event)=> {
// console.log("fifif");
event.preventDefault();
console.log("fun2 called quot form");
// document.getElementById('quotbtn').addEventListener('onClick', function(event) {
// Get the user's inputs
const name2 = document.getElementById('qname').value;
const email2 = document.getElementById('qemail').value;
const tel2=document.getElementById('qtel').value;
const prodid = document.getElementById('prodid').value;
const prodnm = document.getElementById('prodnm').value;
const loc = document.getElementById('loc').value;
const qty = document.getElementById('qty').value;
const templateParams2 = {
name2: name2,
email2: email2,
tel2: tel2,
prodid:prodid,
prodnm:prodnm,
loc:loc,
qty:qty
};
console.log("Data: "+ JSON.stringify(templateParams2));
emailjs.send('service_een9ply', 'template_fkhebjs', templateParams2,'medk5Cz9L94vXLnMW')
.then((response)=>{
console.log('SUCCESS!', response.status, response.text);
alert('Your message has been sent successfully!');
document.getElementById('quotForm').reset();
}, (error)=> {
console.log('FAILED...',error);
alert('Oops! Something went wrong. Please try again later.');
});
});
// var adminmail = "php var session mail.
// Handle form submission
document.getElementById('contactForm').addEventListener('submit', function(event) {
// document.getElementById('sendMessageButton').addEventListener('onClick', function(event) {
event.preventDefault();
console.log("fifif contacct form");
// emailjs.init("suyogsabale111@gmail.com");
// Get the user's inputs
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const message = document.getElementById('message').value;
const telp=document.getElementById('telp').value;
const templateParams = {
name: name,
email: email,
telp: telp,
// adminmail:adminmail,
message: message
};
emailjs.send('service_een9ply', 'template_o6d2w01', templateParams,'medk5Cz9L94vXLnMW')
.then(function(response) {
console.log('SUCCESS!', response.status, response.text);
alert('Your message has been sent successfully!');
document.getElementById('contactForm').reset();
}, function(error) {
console.log('FAILED...', error);
alert('Oops! Something went wrong. Please try again later.');
});
});
// // Load the EmailJS library
// window.onload = function () {
// emailjs.init("suyogsabale111@gmail.com");
// console.log("fun called");
// };
/// Quotation Mail --------------------------------------------------------------------------------
// var adminmail = "php var session mail.
// Handle form submission
</script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/aos.min.js"></script>
<script src="assets/js/bs-init.js"></script>
<script src="assets/js/agency.js"></script>
</body>
</html>