diff --git a/data/%%45^45E^45E480CD%%index.tpl.php b/data/%%45^45E^45E480CD%%index.tpl.php index c9b6145..4426c9f 100644 --- a/data/%%45^45E^45E480CD%%index.tpl.php +++ b/data/%%45^45E^45E480CD%%index.tpl.php @@ -1,4 +1,4 @@ - _tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array())); diff --git a/data/%%80^80A^80A14535%%confirmed.tpl.php b/data/%%80^80A^80A14535%%confirmed.tpl.php index a2148af..31fed9b 100644 --- a/data/%%80^80A^80A14535%%confirmed.tpl.php +++ b/data/%%80^80A^80A14535%%confirmed.tpl.php @@ -1,4 +1,4 @@ - array(array('modifier', 'upper', 'confirmed.tpl', 9, false),)), $this); ?> @@ -20,9 +20,21 @@ unset($_smarty_tpl_vars); m). If this alert doesn't cover everywhere you are interested in you can sign up for multiple alerts

-

- If you are interested in discussing local issues with your MP and other local people you can also join HearFromYourMP.com! -

+ + +
+ +

Are you a member of a local community email group or forum?

+

+ Help your neighbours find the group using by adding it to our sister site + GroupsNearYou.com +

+ +
_tpl_vars; diff --git a/data/%%D2^D26^D26D8BFE%%xml.tpl.php b/data/%%D2^D26^D26D8BFE%%xml.tpl.php index 8b2aa51..eb18887 100644 --- a/data/%%D2^D26^D26D8BFE%%xml.tpl.php +++ b/data/%%D2^D26^D26D8BFE%%xml.tpl.php @@ -1,4 +1,4 @@ - array(array('modifier', 'escape', 'xml.tpl', 6, false),)), $this); ?> diff --git a/data/%%F7^F7F^F7F34188%%header.tpl.php b/data/%%F7^F7F^F7F34188%%header.tpl.php index 23b17d5..d827f0b 100644 --- a/data/%%F7^F7F^F7F34188%%header.tpl.php +++ b/data/%%F7^F7F^F7F34188%%header.tpl.php @@ -1,4 +1,4 @@ - diff --git a/docs/css/main.css b/docs/css/main.css index 3cde851..03d4421 100644 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -95,4 +95,8 @@ a {color:#22579C;} #divFooter ul {border-top:dotted 1px #808080;padding-top:8px;padding-bottom:20px;} /* Buttons */ -input.button {font-family:georgia, serif;} \ No newline at end of file +input.button {font-family:georgia, serif;} + +/* Ad box */ +div.ad {border:solid 3px black;} +div.ad h4 {color:black;font-weight:bold;} \ No newline at end of file diff --git a/docs/include/scraper_support.php b/docs/include/scraper_support.php index 4ada89c..82f3e3e 100644 --- a/docs/include/scraper_support.php +++ b/docs/include/scraper_support.php @@ -299,13 +299,13 @@ function scrape_applications_islington ($search_url, $info_url_base, $comment_ur $url = "http://www.streetmap.co.uk/newsearch.srf?type=Postcode&name=" . $clean_postcode; - $headers = get_headers($url, 1); - $location = $headers["Location"]; - $location_regex = "/x=(\d*)&y=(\d*)&/"; + $headers = get_headers($url, 1); + $location = $headers["Location"]; + $location_regex = "/x=(\d*)&y=(\d*)&/"; - preg_match ($location_regex, $location, $matches); + preg_match ($location_regex, $location, $matches); - return array_slice ($matches, 1); + return array_slice ($matches, 1); } diff --git a/docs/templates/confirmed.tpl b/docs/templates/confirmed.tpl index 4699d23..9e84bf4 100644 --- a/docs/templates/confirmed.tpl +++ b/docs/templates/confirmed.tpl @@ -9,9 +9,21 @@ You will now receive email alerts for any planning applications we find near {$postcode|upper} (within approximately {$alert_area_size}m). If this alert doesn't cover everywhere you are interested in you can sign up for multiple alerts

-

- If you are interested in discussing local issues with your MP and other local people you can also join HearFromYourMP.com! -

+ + +
+ +

Are you a member of a local community email group or forum?

+

+ Help your neighbours find the group using by adding it to our sister site + GroupsNearYou.com +

+ +
{include file="footer.tpl"} \ No newline at end of file diff --git a/tools/application_mailer.php b/tools/application_mailer.php index e9802b4..b05f5f7 100644 --- a/tools/application_mailer.php +++ b/tools/application_mailer.php @@ -36,7 +36,7 @@ //Loop though users for ($i=0; $i < sizeof($user_results); $i++){ - + //Find applications for that user $sql = "select council_reference, address, postcode, description, info_tinyurl,