-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkcbeers.php
77 lines (56 loc) · 3.02 KB
/
kcbeers.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
<?php
ini_set("error_log", "./logs/BeerErrors.log");
include './php/HTFunctions.php';
include('./php/header.php' );
$pageDetails = new kcbeerclass();
?>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
<script src="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
<meta http-equiv="refresh" content="0; URL='./index.php'" />
</head>
<body>
<?php
include('./php/menu.php' );
?>
<table width="100%">
<tr valign=top >
<td width="2%"><br /><br />
</td>
<td width="39%">
<!-- <a class="twitter-timeline" href="https://twitter.com/KCHopTalk/kc-bars-clubs-pubs" data-widget-id="330729628186591233">Tweets from @KCHopTalk/kc-bars-clubs-pubs</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> -->
<table class="Advertise">
<thead>
<th><b>Get Listed On <br />KC Hop Talk</b></th>
</thead>
<tbody>
<tr><td align="middle">Place your location for Craft Beers on our Map.</td></tr>
</tbody>
<tfoot>
<tr><td><?php GetEmailLink('james@kchoptalk.com'); ?>
</td></tr>
</tfoot>
</table>
</td>
<td align="left" width="60%">
<div align="center">
<!-- <iframe width="100%" height="800px" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?near=Kansas+City,+MO&geocode=CXTAuVw0WbADFU6dVAIdedhc-imXmemvXvfAhzGiUapq5iWFVQ&q=Beer&f=l&hl=en&sll=39.099726,-94.578567&sspn=0.768387,1.271667&ie=UTF8&hq=Beer&hnear=&t=m&fll=39.050119,-94.586792&fspn=0.768932,1.271667&st=114169040791935232566&rq=1&ev=zo&split=1&ll=39.051185,-94.586792&spn=1.279761,1.645203&z=9&output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?near=Kansas+City,+MO&geocode=CXTAuVw0WbADFU6dVAIdedhc-imXmemvXvfAhzGiUapq5iWFVQ&q=Beer&f=l&hl=en&sll=39.099726,-94.578567&sspn=0.768387,1.271667&ie=UTF8&hq=Beer&hnear=&t=m&fll=39.050119,-94.586792&fspn=0.768932,1.271667&st=114169040791935232566&rq=1&ev=zo&split=1&ll=39.051185,-94.586792&spn=1.279761,1.645203&z=9&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small> -->
<div id="map" style="width: 800px; height: 600px"></div>
<script>
var map = L.map('map').setView([39.09972, -94.578333], 10);
L.tileLayer( 'https://' + '{s}.tiles.mapbox.com/' + 'v3/{id}/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: 'Map data © <a href="http://openstreetmap.org/"> OpenStreetMap </a> ' +
'KC Breweries © <a href="http://kchoptalk.com">KC Hop Talk</a>',
id: 'examples.map-i875mjb7'
}).addTo(map);
</script>
</div>
</td>
<td align="right" width="1%">
</td>
</tr>
</table>
<?php
$pageDetails->page_footer();
?>