Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 13.5 KB
{"ts":1354219139108,"silentsave":true,"restoring":false,"patch":[[]],"length":0}
{"contributors":[],"silentsave":false,"ts":1354219139823,"patch":[[{"diffs":[[1,"<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <title>L&I Property History</title>\r\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0\">\r\n\t<meta charset=\"utf-8\">\r\n\t<link rel=\"stylesheet\" href=\"//code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css\" />\r\n\t<link rel=\"stylesheet\" href=\"css/styles.css\" />\r\n\r\n\t<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js\"></script>\r\n\t<script src=\"js/jquery.mobile.router.min.js\"></script>\r\n\t<script src=\"//code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js\"></script>\r\n\t<script src=\"//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js\"></script>\r\n\t<script src=\"js/phillyapi.js\"></script>\r\n\t<script src=\"js/script.js\"></script>\r\n\t<script type=\"text/javascript\">\r\n\tvar _gaq = _gaq || [];\r\n\t//_gaq.push(['_setAccount', 'UA-35850648-1']);\r\n\t//_gaq.push(['_trackPageview']);\r\n\t(function() {\r\n\tvar ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\r\n\tga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r\n\tvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\r\n\t})();\r\n\t</script>\r\n</head>\r\n<body>\r\n\r\n\t<div data-role=\"page\" id=\"search\">\r\n\t\t<div data-role=\"content\">\r\n\t\t\t<h2>L&I Property History</h2>\r\n\t\t\t<form action=\"#summary\">\r\n\t\t\t\t<label for=\"address\" class=\"ui-hidden-accessible\">Address</label>\r\n\t\t\t\t<input type=\"text\" name=\"address\" placeholder=\"Address\">\r\n\t\t\t\t<button type=\"submit\" data-theme=\"b\">Search</button>\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div data-role=\"page\" id=\"summary\">\r\n\t\t<div data-role=\"content\"></div>\r\n\t\t<div data-role=\"footer\" data-theme=\"b\" data-position=\"fixed\" data-id=\"main-footer\">\r\n\t\t\t<a href=\"#\" data-icon=\"arrow-l\" data-rel=\"back\" data-inline=\"true\">Search</a>\r\n\t\t</div>\r\n\t</div>\r\n\t\r\n\t<div data-role=\"page\" id=\"details\">\r\n\t\t<div data-role=\"content\"></div>\r\n\t\t<div data-role=\"footer\" data-theme=\"b\" data-position=\"fixed\" data-id=\"main-footer\">\r\n\t\t\t<a href=\"#\" data-icon=\"arrow-l\" data-rel=\"back\" data-inline=\"true\">Search Results</a>\r\n\t\t</div>\r\n\t</div>\r\n\t\r\n\t<script type=\"text/template\" id=\"template-summary\">\r\n\t\t<h2><%= address %></h2>\r\n\t\t<ul data-role=\"listview\">\r\n\t\t<% if(data.permits !== undefined) { %>\r\n\t\t\t<li data-role=\"list-divider\">Permits <span class=\"ui-li-count\"><%= data.permits.length %></span></li>\r\n\t\t\t<% _.each(data.permits, function(permit) { %>\r\n\t\t\t<li><a href=\"#details?entity=<%= permit.entity %>&eid=<%= permit.permit_number%>\"><%= permit.permit_number %>: <%= permit.permit_type_name %></a></li>\r\n\t\t\t<% }); %>\r\n\t\t<% } %>\r\n\t\t\r\n\t\t<% if(data.licenses !== undefined) { %>\r\n\t\t\t<li data-role=\"list-divider\">Licenses <span class=\"ui-li-count\"><%= data.licenses.length %></span></li>\r\n\t\t\t<% _.each(data.licenses, function(license) { %>\r\n\t\t\t<li><a href=\"#details?entity=<%= license.entity %>&eid=<%= license.license_number%>\"><%= license.license_number %>: <%= license.license_type_name %></a></li>\r\n\t\t\t<% }); %>\r\n\t\t<% } %>\r\n\t\t\r\n\t\t<% if(data.cases !== undefined) { %>\r\n\t\t\t<li data-role=\"list-divider\">Violations <span class=\"ui-li-count\"><%= data.cases.length %></span></li>\r\n\t\t\t<% _.each(data.cases, function(_case) { %>\r\n\t\t\t<li><a href=\"#details?entity=<%= _case.entity %>&eid=<%= _case.case_number%>\"><%= _case.case_number %>: <%= _case.violations.length %> Violations</a></li>\r\n\t\t\t<% }); %>\r\n\t\t<% } %>\r\n\t\t\r\n\t\t<% if(data.appeals !== undefined) { %>\r\n\t\t\t<li data-role=\"list-divider\">Appeals <span class=\"ui-li-count\"><%= data.appeals.length %></span></li>\r\n\t\t\t<% _.each(data.appeals, function(appeal) { %>\r\n\t\t\t<li><a href=\"#details?entity=<%= appeal.entity %>&eid=<%= appeal.appeal_number%>\"><%= appeal.appeal_number %>: <%= appeal.appeal_type_name %></a></li>\r\n\t\t\t<% }); %>\r\n\t\t<% } %>\r\n\t\t</ul>\r\n\t</script>\r\n\t\r\n\t<script type=\"text/template\" id=\"template-details-permit\">\r\n\t\t<h2>Permit Details</h2>\r\n\t\t<dl title=\"Permit Details\">\r\n\t\t\t<dt>Permit Number</dt>\r\n\t\t\t<dd><%= data.permit_number %></dd>\r\n\t\t\t<dt>Application Type</dt>\r\n\t\t\t<dd><%= data.application_description %></dd>\r\n\t\t\t<dt>Permit Type</dt>\r\n\t\t\t<dd><%= data.permit_type_name %></dd>\r\n\t\t\t<dt>Status</dt>\r\n\t\t\t<dd><%= data.status %></dd>\r\n\t\t\t<dt>Date Issued</dt>\r\n\t\t\t<dd><%= display_date(data.issued_datetime) %></dd>\r\n\t\t\t<dt>Last Updated</dt>\r\n\t\t\t<dd><%= display_date(data.updated_datetime) %></dd>\r\n\t\t\t<dt>Work Description</dt>\r\n\t\t\t<dd><%= data.work_description %></dd>\r\n\t\t\t<% if(data.pri_contact_company_name || data.pri_contact_first_name || data.pri_contact_last_name || data.pri_contact_address1) { %>\r\n\t\t\t<dt>Contact Information</dt>\r\n\t\t\t<dd>\r\n\t\t\t\t<address>\r\n\t\t\t\t<%= data.pri_contact_company_name ? data.pri_contact_company_name + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_first_name ? data.pri_contact_first_name + \" \" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_last_name ? data.pri_contact_last_name + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_address1 ? data.pri_contact_address1 + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_address2 ? data.pri_contact_address2 + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_city ? data.pri_contact_city + \", \" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_state ? data.pri_contact_state + \" \" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_zip ? data.pri_contact_zip : \"\" %>\r\n\t\t\t\t</address>\r\n\t\t\t</dd>\r\n\t\t\t<dt>Contact Type</dt>\r\n\t\t\t<dd><%= data.pri_contact_type %></dd>\r\n\t\t\t<% } %>\r\n\t\t\t<% if(data.contractor_name || data.contractor_address1) { %>\r\n\t\t\t<dt>Contractor Information</dt>\r\n\t\t\t<dd>\r\n\t\t\t\t<address>\r\n\t\t\t\t<%= data.contractor_name ? data.contractor_name + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.contractor_address1 ? data.contractor_address1 + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.contractor_address2 ? data.contractor_address2 + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.contractor_city ? data.contractor_city + \", \" : \"\" %>\r\n\t\t\t\t<%= data.contractor_state ? data.contractor_state + \" \" : \"\" %>\r\n\t\t\t\t<%= data.contractor_zip ? data.contractor_zip : \"\" %>\r\n\t\t\t\t</address>\r\n\t\t\t</dd>\r\n\t\t\t<% } %>\r\n\t\t</dl>\r\n\t</script>\r\n\t\r\n\t<script type=\"text/template\" id=\"template-details-license\">\r\n\t\t<h2>License Details</h2>\r\n\t\t<dl title=\"License Details\">\r\n\t\t\t<dt>License Number</dt>\r\n\t\t\t<dd><%= data.license_number %></dd>\r\n\t\t\t<dt>License Type</dt>\r\n\t\t\t<dd><%= data.license_type_name %></dd>\r\n\t\t\t<dt>Status</dt>\r\n\t\t\t<dd><%= data.status %></dd>\r\n\t\t\t<dt>Date Issued</dt>\r\n\t\t\t<dd><%= display_date(data.issued_datetime) %></dd>\r\n\t\t\t<dt>Expiration Date</dt>\r\n\t\t\t<dd>Last Day of <%= data.expires_month %><%= data.expires_year %></dd>\r\n\t\t\t<% if(data.pri_contact_company_name || data.pri_contact_first_name || data.pri_contact_last_name || data.pri_contact_address1) { %>\r\n\t\t\t<dt>Contact Information</dt>\r\n\t\t\t<dd>\r\n\t\t\t\t<address>\r\n\t\t\t\t<%= data.pri_contact_company_name ? data.pri_contact_company_name + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_first_name ? data.pri_contact_first_name + \" \" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_last_name ? data.pri_contact_last_name + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_address1 ? data.pri_contact_address1 + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_address2 ? data.pri_contact_address2 + \"<br>\" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_city ? data.pri_contact_city + \", \" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_state ? data.pri_contact_state + \" \" : \"\" %>\r\n\t\t\t\t<%= data.pri_contact_zip ? data.pri_contact_zip : \"\" %>\r\n\t\t\t\t</address>\r\n\t\t\t</dd>\r\n\t\t\t<dt>Contact Type</dt>\r\n\t\t\t<dd><%= data.pri_contact_type %></dd>\r\n\t\t\t<% } %>\r\n\t\t</dl>\r\n\t</script>\r\n\t\r\n\t<script type=\"text/template\" id=\"template-details-case\">\r\n\t\t<h2>Case Details</h2>\r\n\t\t<dl title=\"Case Details\">\r\n\t\t\t<dt>Case Number</dt>\r\n\t\t\t<dd><%= data.case_number %></dd>\r\n\t\t\t<dt>Case Group</dt>\r\n\t\t\t<dd><%= data.case_type %></dd>\r\n\t\t\t<dt>Case Location</dt>\r\n\t\t\t<dd><%= data.case_location %></dd>\r\n\t\t\t<dt>Date Added</dt>\r\n\t\t\t<dd><%= display_date(data.added_datetime) %></dd>\r\n\t\t\t<dt>Date Updated</dt>\r\n\t\t\t<dd><%= display_date(data.updated_datetime) %></dd>\r\n\t\t\t<dt>Status</dt>\r\n\t\t\t<dd><%= data.resolution %></dd>\r\n\t\t\t<dt>Resolution Date</dt>\r\n\t\t\t<dd><%= display_date(data.resolution_datetime) %></dd>\r\n\t\t\t<dt>Priority</dt>\r\n\t\t\t<dd><%= data.priority %></dd>\t\t\t\r\n\t\t</dl>\r\n\t\t\r\n\t\t<% if( ! _.isEmpty(data.violationdetails)) { %>\r\n\t\t\t<h2>Violations</h2>\r\n\t\t\t<div data-role=\"collapsible-set\">\r\n\t\t\t<% _.each(data.violationdetails, function(violation) { %>\r\n\t\t\t\t<div data-role=\"collapsible\">\r\n\t\t\t\t\t<h3><%= violation.violation_code %></h3>\r\n\t\t\t\t\t<dl>\r\n\t\t\t\t\t\t<dt>Code</dt>\r\n\t\t\t\t\t\t<dd><%= violation.violation_code %></dd>\r\n\t\t\t\t\t\t<dt>Type</dt>\r\n\t\t\t\t\t\t<dd><%= violation.violation_code_description %></dd>\r\n\t\t\t\t\t\t<dt>Date</dt>\r\n\t\t\t\t\t\t<dd><%= display_date(violation.violation_datetime) %></dd>\r\n\t\t\t\t\t\t<dt>Status</dt>\r\n\t\t\t\t\t\t<dd><%= violation.violation_status %></dd>\r\n\t\t\t\t\t\t<dt>Location</dt>\r\n\t\t\t\t\t\t<dd><%= violation.violation_location %></dd>\r\n\t\t\t\t\t</dl>\r\n\t\t\t\t</div>\r\n\t\t\t<% }); %>\r\n\t\t\t</div>\r\n\t\t<% } %>\r\n\t</script>\r\n\t\r\n\t<script type=\"text/template\" id=\"template-details-appeal\">\r\n\t\t<h2>Appeal Details</h2>\r\n\t\t<dl title=\"Appeal Details\">\r\n\t\t\t<dt>Appeal Number</dt>\r\n\t\t\t<dd><%= data.appeal_number %></dd>\r\n\t\t\t<dt>Grounds</dt>\r\n\t\t\t<dd><%= data.grounds %></dd>\r\n\t\t\t<dt>Primary Applicant</dt>\r\n\t\t\t<dd><%= data.primary_applicant %></dd>\r\n\t\t\t<dt>Capacity</dt>\r\n\t\t\t<dd><%= data.capacity %></dd>\r\n\t\t\t<dt>Permit Number</dt>\r\n\t\t\t<dd><%= data.permit_number %></dd>\t\t\t\r\n\t\t</dl>\r\n\t\t\r\n\t\t<% if( ! _.isEmpty(data.hearingdecisions)) { %>\r\n\t\t\t<h2>Hearing Decisions History</h2>\r\n\t\t\t<div data-role=\"collapsible-set\">\r\n\t\t\t<% _.each(data.hearingdecisions, function(item) { %>\r\n\t\t\t\t<div data-role=\"collapsible\">\r\n\t\t\t\t\t<h3><%= display_date(item.decision_datetime) %></h3>\r\n\t\t\t\t\t<dl>\r\n\t\t\t\t\t\t<dt>Date</dt>\r\n\t\t\t\t\t\t<dd><%= display_date(item.decision_datetime) %></dd>\r\n\t\t\t\t\t\t<dt>Decision</dt>\r\n\t\t\t\t\t\t<dd><%= item.decision %></dd>\r\n\t\t\t\t\t\t<dt>Proviso</dt>\r\n\t\t\t\t\t\t<dd><%= item.proviso %></dd>\r\n\t\t\t\t\t</dl>\r\n\t\t\t\t</div>\r\n\t\t\t<% }); %>\r\n\t\t\t</div>\r\n\t\t\t<br>\r\n\t\t<% } %>\r\n\t\t\r\n\t\t<% if( ! _.isEmpty(data.courtdetails)) { %>\r\n\t\t\t<h2>Court History</h2>\r\n\t\t\t<div data-role=\"collapsible-set\">\r\n\t\t\t<% _.each(data.courtdetails, function(item) { %>\r\n\t\t\t\t<div data-role=\"collapsible\">\r\n\t\t\t\t\t<h3><%= display_date(item.court_action_datetime) %></h3>\r\n\t\t\t\t\t<dl>\r\n\t\t\t\t\t\t<dt>Court Case No</dt>\r\n\t\t\t\t\t\t<dd><%= item.court_case_number %></dd>\r\n\t\t\t\t\t\t<dt>Court Action</dt>\r\n\t\t\t\t\t\t<dd><%= item.court_action %></dd>\r\n\t\t\t\t\t\t<dt>Action Date</dt>\r\n\t\t\t\t\t\t<dd><%= display_date(item.court_action_datetime) %></dd>\r\n\t\t\t\t\t\t<dt>Court Result</dt>\r\n\t\t\t\t\t\t<dd><%= item.court_result %></dd>\r\n\t\t\t\t\t\t<dt>Proviso</dt>\r\n\t\t\t\t\t\t<dd><%= item.court_proviso %></dd>\r\n\t\t\t\t\t</dl>\r\n\t\t\t\t</div>\r\n\t\t\t<% }); %>\r\n\t\t\t</div>\r\n\t\t<% } %>\r\n\t</script>\r\n\t\r\n\t<script type=\"text/template\" id=\"template-details-error\">\r\n\t\t<h2>Error</h2>\r\n\t\t<%= errorMsg %>\r\n\t\t<br>\r\n\t\t<% if(xhr && xhr.status !== undefined && xhr.statusText !== undefined) { %>\r\n\t\t\t(<%= xhr.status %> <%= xhr.statusText %>)\r\n\t\t<% } %>\r\n\t</script>\r\n\t\r\n\t<script type=\"text/javascript\">\r\n\t// Google Analytics\r\n\t$('[data-role=page]').live('pageshow', function (event, ui) {\r\n\t\ttry {\r\n\t\t\t_gaq.push(['_setAccount', 'UA-35850648-1']);\r\n\t\t\thash = location.hash;\r\n\t\t\tif (hash) _gaq.push(['_trackPageview', hash.substr(1)]);\r\n\t\t\telse _gaq.push(['_trackPageview']);\r\n\t\t} catch(err) {\r\n\t\t}\r\n\t});\r\n\t// Muscula JS error logging\r\n\twindow.Muscula = { settings:{logId:\"jRrwCAC-QlhRab\", suppressErrors: false, branding: 'none'}};\r\n\t(function () {\r\n\t\tvar m = document.createElement('script'); m.type = 'text/javascript'; m.async = true;\r\n\t\tm.src = (window.location.protocol == 'https:' ? 'https:' : 'http:') +\r\n\t\t '//musculahq.appspot.com/Muscula.js';\r\n\t\tvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(m, s);\r\n\t\twindow.Muscula.run=function(c){eval(c);window.Muscula.run=function(){};};\r\n\t\twindow.Muscula.errors=[];window.onerror=function(){window.Muscula.errors.push(arguments);\r\n\t\treturn window.Muscula.settings.suppressErrors===undefined;}\r\n\t})();\r\n\t</script>\r\n</body>\r\n</html>"]],"start1":0,"start2":0,"length1":0,"length2":11827}]],"length":11827,"saved":false}
Something went wrong with that request. Please try again.