@@ -1,4 +1,4 @@ | |||||
<?php /* Smarty version 2.6.16, created on 2007-07-21 09:09:29 | |||||
<?php /* Smarty version 2.6.16, created on 2007-11-03 09:51:05 | |||||
compiled from index.tpl */ ?> | compiled from index.tpl */ ?> | ||||
<?php $_smarty_tpl_vars = $this->_tpl_vars; | <?php $_smarty_tpl_vars = $this->_tpl_vars; | ||||
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array())); | $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array())); | ||||
@@ -1,4 +1,4 @@ | |||||
<?php /* Smarty version 2.6.16, created on 2006-12-29 16:27:29 | |||||
<?php /* Smarty version 2.6.16, created on 2007-11-03 10:05:39 | |||||
compiled from confirmed.tpl */ ?> | compiled from confirmed.tpl */ ?> | ||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); | ||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'confirmed.tpl', 9, false),)), $this); ?> | smarty_core_load_plugins(array('plugins' => 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 <span class="highlight"><a href="/">you can sign up for multiple alerts</a></span> | m). If this alert doesn't cover everywhere you are interested in <span class="highlight"><a href="/">you can sign up for multiple alerts</a></span> | ||||
</p> | </p> | ||||
<p> | |||||
If you are interested in discussing local issues with your MP and other local people you can also join <a href="http://www.hearfromyourmp.com">HearFromYourMP.com</a>! | |||||
</p> | |||||
<!-- | |||||
<p> | |||||
If you are interested in discussing local issues with your MP and other local people you can also join <a href="http://www.hearfromyourmp.com">HearFromYourMP.com</a>! | |||||
</p> | |||||
--> | |||||
<div class="ad"> | |||||
<h4>Are you a member of a local community email group or forum?</h4> | |||||
<p> | |||||
Help your neighbours find the group using by adding it to our sister site | |||||
<a href="http://www.groupsnearyou.com/add/about/">GroupsNearYou.com</a> | |||||
</p> | |||||
</div> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
<?php $_smarty_tpl_vars = $this->_tpl_vars; | <?php $_smarty_tpl_vars = $this->_tpl_vars; | ||||
@@ -1,4 +1,4 @@ | |||||
<?php /* Smarty version 2.6.16, created on 2007-07-21 12:08:53 | |||||
<?php /* Smarty version 2.6.16, created on 2007-09-03 20:59:24 | |||||
compiled from xml.tpl */ ?> | compiled from xml.tpl */ ?> | ||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); | ||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'xml.tpl', 6, false),)), $this); ?> | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'xml.tpl', 6, false),)), $this); ?> | ||||
@@ -1,4 +1,4 @@ | |||||
<?php /* Smarty version 2.6.16, created on 2007-07-21 09:13:09 | |||||
<?php /* Smarty version 2.6.16, created on 2007-11-03 10:05:39 | |||||
compiled from header.tpl */ ?> | compiled from header.tpl */ ?> | ||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
@@ -95,4 +95,8 @@ a {color:#22579C;} | |||||
#divFooter ul {border-top:dotted 1px #808080;padding-top:8px;padding-bottom:20px;} | #divFooter ul {border-top:dotted 1px #808080;padding-top:8px;padding-bottom:20px;} | ||||
/* Buttons */ | /* Buttons */ | ||||
input.button {font-family:georgia, serif;} | |||||
input.button {font-family:georgia, serif;} | |||||
/* Ad box */ | |||||
div.ad {border:solid 3px black;} | |||||
div.ad h4 {color:black;font-weight:bold;} |
@@ -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; | $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); | |||||
} | } | ||||
@@ -9,9 +9,21 @@ | |||||
You will now receive email alerts for any planning applications we find near <strong>{$postcode|upper}</strong> (within approximately {$alert_area_size}m). If this alert doesn't cover everywhere you are interested in <span class="highlight"><a href="/">you can sign up for multiple alerts</a></span> | You will now receive email alerts for any planning applications we find near <strong>{$postcode|upper}</strong> (within approximately {$alert_area_size}m). If this alert doesn't cover everywhere you are interested in <span class="highlight"><a href="/">you can sign up for multiple alerts</a></span> | ||||
</p> | </p> | ||||
<p> | |||||
If you are interested in discussing local issues with your MP and other local people you can also join <a href="http://www.hearfromyourmp.com">HearFromYourMP.com</a>! | |||||
</p> | |||||
<!-- | |||||
<p> | |||||
If you are interested in discussing local issues with your MP and other local people you can also join <a href="http://www.hearfromyourmp.com">HearFromYourMP.com</a>! | |||||
</p> | |||||
--> | |||||
<div class="ad"> | |||||
<h4>Are you a member of a local community email group or forum?</h4> | |||||
<p> | |||||
Help your neighbours find the group using by adding it to our sister site | |||||
<a href="http://www.groupsnearyou.com/add/about/">GroupsNearYou.com</a> | |||||
</p> | |||||
</div> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
{include file="footer.tpl"} | {include file="footer.tpl"} |
@@ -36,7 +36,7 @@ | |||||
//Loop though users | //Loop though users | ||||
for ($i=0; $i < sizeof($user_results); $i++){ | for ($i=0; $i < sizeof($user_results); $i++){ | ||||
//Find applications for that user | //Find applications for that user | ||||
$sql = "select council_reference, address, | $sql = "select council_reference, address, | ||||
postcode, description, info_tinyurl, | postcode, description, info_tinyurl, | ||||