/
footer.php
68 lines (50 loc) · 1.78 KB
/
footer.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
<div class="span5">
<?php
// Display a Single Flickr Photo That is 275 Wide
$FlickrSearch = $where; // Just doing where
$DisplayCount = 1;
$RandomCount = 100; // choose from random of potentially 50 images
$width = 275;
$flickr = new flickrphotos($FlickrKey);
$photo = $flickr->displayFlickr($FlickrKey,$what,$where,$DisplayCount,$RandomCount, $width);
echo $photo;
?>
<br />
<?php
// Display a Web Ad that is 300 x 250
$adid = 1;
$publisher = 'citysearch';
$citygridad = new citygridads($publishercode);
$displayad = $citygridad->display_web_ad_300_250($adid,$publisher,$what,$where);
echo $displayad;
?>
<br />
<?php
// Display a Single Flickr Photo That is 275 Wide
$FlickrSearch = $where; // Just doing where
$DisplayCount = 1;
$RandomCount = 100; // choose from random of potentially 50 images
$width = 275;
$flickr = new flickrphotos($FlickrKey);
$photo = $flickr->displayFlickr($FlickrKey,$what,$where,$DisplayCount,$RandomCount, $width);
echo $photo;
?>
</div>
</div>
<footer>
</footer>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1119465-69']);
_gaq.push(['_setDomainName', 'hyp3rl0cal.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>