-
Notifications
You must be signed in to change notification settings - Fork 0
/
geographic.php
55 lines (45 loc) · 1.42 KB
/
geographic.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
<?php include('php/database.php'); ?>
<?php include('php/query.php') ?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="header.css" />
<link rel="stylesheet" type="text/css" href="footer.css" />
<link rel="stylesheet" type="text/css" href="geographic.css" />
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false">
</script>
<?php
global $connection;
$connection = connectToDB();
global $queries;
$queries = new Query();
?>
<script type="text/javascript">
function initialize(){
alert('yo momma');
<?php include('php/geographicjavascript.php'); ?>
}
</script>
</head>
<body onload="initialize()">
<div id = "wrapper" class="shadow">
<div id = "header">
<?php include('header.php'); ?>
</div>
<div id="form">
<h2>Geographic Search</h2>
<?php include('php/advancedgeographic.php'); ?>
</div>
<p> Showing results for: <?php echo $textSearch; ?> </p>
<div id="map_canvas" style="width:1000px; height:500px"></div>
<!--
<form name='myform' action='test.php' method='POST'>
<input type="hidden" name='places' value='<?php //print_r(str_replace("'", "*", serialize($place))); ?>;' />
<input type='submit' name='map' value='map'>
</form>
-->
<div id = "footer">
<?php include('footer.php'); ?>
</div>
</div>
</body>
</html>