-
Notifications
You must be signed in to change notification settings - Fork 1
/
advert_loc.php
132 lines (122 loc) · 3.63 KB
/
advert_loc.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Adbhut Bharat — Advertisements</title>
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no" />
<link rel="icon" href="images/favicon.ico">
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="stylesheet" href="css/style.css">
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400i|Slabo+27px|Permanent+Marker|Cinzel|Satisfy|Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="header.css">
</head>
<body>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous">
</script>
<script type="text/javascript">
$(function(){
$("#header").load("header.html");
});
</script>
<header>
<div id="header"></div>
</header>
<?php
//$result is the array of locations being fetched
$result['state']='kashmir';
?>
<br><br><br>
<div class="content">
<div class="container_12">
<div class="banners">
<div class="grid_4">
<div class="banner">
<img src="images/k2.jpg" alt="">
<div class="label">
<div class="title">Kashmir</div>
<div class="price">from<span>Rs.40k</span></div>
<a href="advertisement.php?state=<?php echo $result['state']; ?>">Learn More</a>
</div>
</div>
</div>
<div class="grid_4" onmouseover ="show()">
<div class="banner">
<img src="images/rajasthan.png" alt="">
<div class="label" >
<div class="title">JAIPUR</div>
<div class="price">from<span>Rs.25k</span></div>
<a href="#">Learn More</a>
</div>
</div>
</div>
<div class="grid_4">
<div class="banner">
<img src="images/uttar_pradesh.png" alt="">
<div class="label">
<div class="title">VARANASI</div>
<div class="price">from<span>Rs 25k</span></div>
<a href="#">Learn More</a>
</div>
</div>
</div>
<div class="clear"></div>
<div class="grid_4">
<div class="banner">
<img src="images/kerela.png" alt="">
<div class="label">
<div class="title">KERELA</div>
<div class="price">from<span>Rs.30k</span></div>
<a href="#">Learn More</a>
</div>
</div>
</div>
<div class="grid_4">
<div class="banner">
<img src="images/agra.png" alt="">
<div class="label">
<div class="title">AGRA</div>
<div class="price">from<span>Rs.25k</span></div>
<a href="#">Learn More</a>
</div>
</div>
</div>
<div class="grid_4">
<div class="banner">
<img src="images/maharashtra.png" alt="">
<div class="label">
<div class="title">MUMBAI</div>
<div class="price">from<span>Rs.40k</span></div>
<a href="#">Learn More</a>
</div>
</div>
</div>
</div>
</div>
</div>
<br><br><br><br><br>
<script type="text/javascript">
function show($id){
data=document.getElementById('label'+id);
data.removeClass('hidden');
}
</script>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous">
</script>
<script type="text/javascript">
$(function(){
$("#footer").load("footer.html");
});
</script>
<footer>
<div id="footer"></div>
</footer>
</body>
</html>