-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomment.php
69 lines (68 loc) · 2.68 KB
/
comment.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
<?php
include('header.php');
?>
<!-- contact -->
<div class="address py-5" id="contact">
<div class="container py-xl-5 py-lg-3">
<div class="title text-center mb-5">
<h3 class="mb-2"><?php echo $user['site_name'];?> | Add Testimonials </h3>
<p>Ut enim ad minim veniam, quis nostrud ullam.</p>
</div>
<div class="row address-row">
<div class="col-lg-6 address-right">
<div class="address-info wow fadeInRight animated" data-wow-delay=".5s" style="cursor:pointer;">
<h4 class="mb-3">Address</h4>
<p><i class="fa fa-map-marker"></i> <?php echo $user['location'] ?></p>
</div>
<div class="address-info address-mdl wow fadeInRight animated" data-wow-delay=".7s" style="cursor:pointer;">
<h4 class="mb-3">Phone </h4>
<p><a href="tel:+<?php echo $user['phone'] ?>"><i class="fa fa-phone"></i> <?php echo $user['phone'] ?></a></p>
<p><a href="tel:+<?php echo $user['phone2'] ?>"><i class="fa fa-phone"></i> <?php echo $user['phone2'] ?></a></p>
</div>
<div class="address-info agileits-info wow fadeInRight animated" data-wow-delay=".6s" style="cursor:pointer;">
<h4 class="mb-3">Mail</h4>
<p>
<a href="mailto:<?php echo $user['email_address'] ?>"><i class="fa fa-envelope-open"></i> <?php echo $user['email_address'] ?></a>
</p>
<p>
<a href="mailto:<?php echo $user['email_address2'] ?>"><i class="fa fa-envelope-open"></i> <?php echo $user['email_address2'] ?></a>
</p>
</div>
</div>
<div class="col-lg-6 address-left mt-lg-0 mt-5">
<div class="address-grid" style="cursor:pointer;">
<h4 class="mb-3">Add comment</h4>
<form class="comment_form">
<div class="message text-center"></div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Name" name="name" id="commentname" required="" readonly>
</div>
<div class="form-group">
<textarea placeholder="Message" class="form-control" id="cmessage" name="message" required="" minlength="10"></textarea>
</div>
<button type="submit" id="commentBtn">
<span class="fa fa-spinner fa-spin comment_spinner" style="display:none"></span>
<span class="comment_text">send</span>
</button>
</form>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function()
{
if(localStorage.userid ==='' || localStorage.userid ===undefined)
{
window.location='login.php';
}
else
{
$('#commentname').val(localStorage.name);
$('.logged_in,.home-links').removeClass('d-none');
$('.addcart_btn').attr('disabled',false);
}
});
</script>
<?php include('footer.php') ?>