-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrecent-financings.php
94 lines (89 loc) · 3.32 KB
/
recent-financings.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
About MS&F | Commercial Real Estate Lending
</title><?php include 'css_js.php'; ?>
<link href="/css/properties.css" rel="stylesheet" type="text/css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-66442825-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="financeBody">
<div id="wrapper">
<?php include_once('header.php'); ?>
<div id="contentWrapper">
<h1>
Recent Financings
</h1>
<ul id="propertyLinks">
<li>
<a href="#all" style="font-weight: bold">ALL</a>
</li>
<li>|
</li>
<li>
<a href="#multi-family">Multi-Family</a>
</li>
<li>|
</li>
<li>
<a href="#retail">Retail</a>
</li>
<li>|
</li>
<li>
<a href="#office">Office</a>
</li>
<li>|
</li>
<li>
<a href="#industrial">Industrial</a>
</li>
<li>|
</li>
</ul>
<br>
<br>
<div id="recent-financings"></div>
</div>
</div>
<?php include_once('footer.php'); ?>
<script type="text/javascript" src="/js/jquery.lightbox_me.js"></script>
<script type="text/javascript">
$(document).ready(function($) {
// Handle filtering on anchor tags
$('a[href^="#"]').click(function() {
// Set my link to bold, others to plain
$('#propertyLinks a').css('font-weight', 'normal');
$(this).css('font-weight', 'bold');
var filter = $(this).attr('href').substr(1);
if (filter === 'all') {
$('div.listing').show();
}
else {
$('div.listing').hide();
$('div.listing.' + filter).show();
}
});
// Configure lightbox events
$('#recent-financings').on('click', 'a.lightbox-link', function() {
var detailsBoxId = $(this).attr('href');
$(detailsBoxId).lightbox_me({'closeSelector' : detailsBoxId + ' p.closeBox'});
});
// Get properties content
$.get('/msf/properties/recent/100', function(data) {
if (data) {
$('#recent-financings').html(data);
}
});
});
</script>
</body>
</html>