-
Notifications
You must be signed in to change notification settings - Fork 0
/
cashless_insurance.php
170 lines (144 loc) · 5.72 KB
/
cashless_insurance.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
<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
require './PHPMailer/src/Exception.php';
require './PHPMailer/src/PHPMailer.php';
require './PHPMailer/src/SMTP.php';
if (isset($_POST['submit'])) {
# code...
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$mail = new PHPMailer(true);
try {
$mail->isSMTP();
$mail->Host = 'smtp.gmail.com';
$mail->Port = 587;
$mail->SMTPAuth = true;
$mail->Username = '[email protected]
';
$mail->Password = 'i like it';
$mail->SMTPSecure = 'tls';
$mail->setFrom('[email protected]
','Gemini Automobiles');
$mail->addAddress("[email protected]");
$mail->addReplyTo('[email protected]
');
$mail->isHTML(true);
$mail->Subject = "complaint of " . $name;
$mail->Body = $message;
$mail->send();
} catch (Exception $e) {
echo "message was not sent", $mail->ErrorInfo;
}
$mailme = new PHPMailer(true);
try {
$mailme->isSMTP();
$mailme->Host = 'smtp.gmail.com';
$mailme->Port = 587;
$mailme->SMTPAuth = true;
$mailme->Username = '[email protected]
';
$mailme->Password = 'i like it';
$mailme->SMTPSecure = 'tls';
$mailme->setFrom('[email protected]
','Gemini Automobiles');
$mailme->addAddress($email);
$mailme->addReplyTo('[email protected]
');
$mailme->isHTML(true);
$mailme->Subject = "hello " . $name;
$mailme->Body = 'Thank you ' .$name. ' for reaching us. we will look into your complaint as soon as possible';
$mailme->send();
} catch (Exception $e) {
echo "message was not sent", $mail->ErrorInfo;
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Other services</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="services.css">
<style>
.row{
font-family: 'Roboto';
font-size: 120%;
}
</style>
</head>
<div class="topnav container-fluid" id="myTopnav" style="position: sticky; top: 0">
<a href="./home.php">Home</a>
<a href="./services.php">Services</a>
<a href="./cashless_insurance.php">Cashless Insurance</a>
<a href="./gallery.php">Gallery</a>
<a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="responsive_bar()">☰</a>
</div>
<script>
function responsive_bar() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
<body>
<div class="container">
<header><h2><i class="fas fa-tag"></i>
Cashless <span class="head_name">Insurance</span></h2></header>
<p>Gemini Automobile is approved by Castrol India Ltd. as Castrol Pitstop/Nippon Paints as Nippon Paint Express/Bosch India Ltd. as Express Car Services. Gemini Automobiles is specialized in all types of major/minor repairs in mechanical/accidental claims/Specialized painting supported by Nippon Paints/Electrical/AC/Alighment Jobs/Bosch genuine spaires in all Indian cars running on-road as on today.
</p><hr>
<h3 style="color: #00802b; padding-top: 0.5%" class="abc">PREFERED WORKSHOP</h3>
<div class="container" id="list-of-services" style="padding-right: 4%; padding-left: 4%; padding-top: 1%; font-family: Josefin Sans">
<div class="row">
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i> ICICI LOMBARD GENERAL INSURANCE CO. LTD.</div>
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
UNIVERSAL SOMPO GENERAL INSURANCE CO.</div>
</div>
<div class="row">
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
L & T GENERAL INSURANCE CO. LTD.</div>
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
ROYAL SUNDARAM GENERAL INSURANCE CO.</div>
</div>
<div class="row">
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
BHARTI AXA GENERAL INSURANCE CO.</div>
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
RELIANCE GENERAL INSURANCE CO. LTD.</div>
</div>
<div class="row">
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
LIBERTY VIDEOCON GENERAL INSURANCE CO.</div>
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
SHRIRAM GENERAL INSURANCE CO. LTD.</div>
</div>
<div class="row">
<div class="col-6"><i class="fa fa-plus-circle" aria-hidden="true"></i>
CHOLA MS GENERAL INSURANCE CO.</div>
<div class="col-6"></div>
</div>
</div>
</div><br>
<footer>
<div class="container-fluid" id="footer">
<div class="container" id="footer-container">
<img src="final-logo.png" class="footer-logo"><br>
<h3 class="footer-head">Contact Us</h3>
<form method="post" action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) ?>">
<input type="text" name="name" class="inputs" placeholder="Enter your name" style=""> *<br><br>
<input type="text" name="email" class="inputs" placeholder="Enter your email"> *<br><br>
<label>Comment<br><textarea name="message" placeholder="Describe your query here" class="inputs"></textarea></label><br><br>
<input type="submit" name="submit" value="submit" class="button">
</form>
copyright(c) 2019. Nitin Sahu. All rights Reserved. <font class="font">Developed by <a href = "https://github.com/globefire">Nitin</a></font>
</div>
</div>
</footer>
</body>
</html>