Browse Source

move CGI to cgi-bin so its teh same as the live server

master
memespring 17 years ago
parent
commit
a41ffe5fc3
68 changed files with 24 additions and 23 deletions
  1. +0
    -0
      cgi-bin/Angus.cgi
  2. +0
    -0
      cgi-bin/Aylesbury Vale.cgi
  3. +0
    -0
      cgi-bin/Basildon.cgi
  4. +0
    -0
      cgi-bin/Bath.cgi
  5. +0
    -0
      cgi-bin/Bexley.cgi
  6. +1
    -1
      cgi-bin/Blaby.cgi
  7. +0
    -0
      cgi-bin/Bristol.cgi
  8. +0
    -0
      cgi-bin/Buckinghamshire.cgi
  9. +0
    -0
      cgi-bin/Chelmsford.cgi
  10. +0
    -0
      cgi-bin/Cherwell.cgi
  11. +0
    -0
      cgi-bin/City of London.cgi
  12. +0
    -0
      cgi-bin/Cornwall.cgi
  13. +0
    -0
      cgi-bin/Doncaster.cgi
  14. +0
    -0
      cgi-bin/Dundee.cgi
  15. +0
    -0
      cgi-bin/East Devon.cgi
  16. +0
    -0
      cgi-bin/Edinburgh.cgi
  17. +0
    -0
      cgi-bin/Epsom and Ewell.cgi
  18. +0
    -0
      cgi-bin/Fenland.cgi
  19. +0
    -0
      cgi-bin/Gedling.cgi
  20. +0
    -0
      cgi-bin/Hammersmith and Fulham.cgi
  21. +0
    -0
      cgi-bin/Harrogate.cgi
  22. +0
    -0
      cgi-bin/Hart.cgi
  23. +0
    -0
      cgi-bin/Huntingdonshire.cgi
  24. +0
    -0
      cgi-bin/Kerrier.cgi
  25. +0
    -0
      cgi-bin/Knowsley.cgi
  26. +0
    -0
      cgi-bin/Lancaster.cgi
  27. +0
    -0
      cgi-bin/Luton.cgi
  28. +0
    -0
      cgi-bin/Malvern Hills.cgi
  29. +0
    -0
      cgi-bin/Mid Devon.cgi
  30. +0
    -0
      cgi-bin/Milton Keynes.cgi
  31. +0
    -0
      cgi-bin/North Tyneside.cgi
  32. +0
    -0
      cgi-bin/Northumberland.cgi
  33. +0
    -0
      cgi-bin/Oadby and Wigston.cgi
  34. +0
    -0
      cgi-bin/Oswestry.cgi
  35. +0
    -0
      cgi-bin/Peterborough.cgi
  36. +0
    -0
      cgi-bin/PlanningUtils.py
  37. +0
    -0
      cgi-bin/Portsmouth.cgi
  38. +0
    -0
      cgi-bin/PublicAccess.py
  39. +0
    -0
      cgi-bin/README
  40. +0
    -0
      cgi-bin/Rushmoor.cgi
  41. +0
    -0
      cgi-bin/Scarborough.cgi
  42. +0
    -0
      cgi-bin/Sevenoaks.cgi
  43. +0
    -0
      cgi-bin/South Bucks.cgi
  44. +0
    -0
      cgi-bin/South Ribble.cgi
  45. +0
    -0
      cgi-bin/South Staffordshire.cgi
  46. +0
    -0
      cgi-bin/SouthOxfordshire.cgi
  47. +0
    -0
      cgi-bin/SouthOxfordshireParser.py
  48. +0
    -0
      cgi-bin/Southampton.cgi
  49. +0
    -0
      cgi-bin/Spelthorne.cgi
  50. +0
    -0
      cgi-bin/Stevenage.cgi
  51. +0
    -0
      cgi-bin/Stockton-On-Tees.cgi
  52. +0
    -0
      cgi-bin/Sunderland.cgi
  53. +0
    -0
      cgi-bin/Test Valley.cgi
  54. +0
    -0
      cgi-bin/Tonbridge.cgi
  55. +0
    -0
      cgi-bin/Torbay.cgi
  56. +0
    -0
      cgi-bin/Waveney.cgi
  57. +0
    -0
      cgi-bin/West Lancashire.cgi
  58. +0
    -0
      cgi-bin/West Norfolk.cgi
  59. +0
    -0
      cgi-bin/Woking.cgi
  60. +0
    -0
      cgi-bin/York.cgi
  61. +1
    -1
      data/%%45^45E^45E480CD%%index.tpl.php
  62. +1
    -1
      data/%%6D^6DB^6DB28CFA%%about.tpl.php
  63. +13
    -13
      data/%%AD^AD7^AD71B708%%rss.tpl.php
  64. +1
    -1
      data/%%D2^D26^D26D8BFE%%xml.tpl.php
  65. +1
    -1
      data/%%F7^F7F^F7F34188%%header.tpl.php
  66. +2
    -0
      docs/templates/alert_email_text.tpl
  67. +2
    -2
      docs/templates/getinvolved.tpl
  68. +2
    -3
      tools/application_mailer.php

CGI/Angus.cgi → cgi-bin/Angus.cgi View File


CGI/Aylesbury Vale.cgi → cgi-bin/Aylesbury Vale.cgi View File


CGI/Basildon.cgi → cgi-bin/Basildon.cgi View File


CGI/Bath.cgi → cgi-bin/Bath.cgi View File


CGI/Bexley.cgi → cgi-bin/Bexley.cgi View File


CGI/Blaby.cgi → cgi-bin/Blaby.cgi View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/opt/local/bin/python

# This is the parser for Blaby District Council.
# it is generated from the file CGITemplate

CGI/Bristol.cgi → cgi-bin/Bristol.cgi View File


CGI/Buckinghamshire.cgi → cgi-bin/Buckinghamshire.cgi View File


CGI/Chelmsford.cgi → cgi-bin/Chelmsford.cgi View File


CGI/Cherwell.cgi → cgi-bin/Cherwell.cgi View File


CGI/City of London.cgi → cgi-bin/City of London.cgi View File


CGI/Cornwall.cgi → cgi-bin/Cornwall.cgi View File


CGI/Doncaster.cgi → cgi-bin/Doncaster.cgi View File


CGI/Dundee.cgi → cgi-bin/Dundee.cgi View File


CGI/East Devon.cgi → cgi-bin/East Devon.cgi View File


CGI/Edinburgh.cgi → cgi-bin/Edinburgh.cgi View File


CGI/Epsom and Ewell.cgi → cgi-bin/Epsom and Ewell.cgi View File


CGI/Fenland.cgi → cgi-bin/Fenland.cgi View File


CGI/Gedling.cgi → cgi-bin/Gedling.cgi View File


CGI/Hammersmith and Fulham.cgi → cgi-bin/Hammersmith and Fulham.cgi View File


CGI/Harrogate.cgi → cgi-bin/Harrogate.cgi View File


CGI/Hart.cgi → cgi-bin/Hart.cgi View File


CGI/Huntingdonshire.cgi → cgi-bin/Huntingdonshire.cgi View File


CGI/Kerrier.cgi → cgi-bin/Kerrier.cgi View File


CGI/Knowsley.cgi → cgi-bin/Knowsley.cgi View File


CGI/Lancaster.cgi → cgi-bin/Lancaster.cgi View File


CGI/Luton.cgi → cgi-bin/Luton.cgi View File


CGI/Malvern Hills.cgi → cgi-bin/Malvern Hills.cgi View File


CGI/Mid Devon.cgi → cgi-bin/Mid Devon.cgi View File


CGI/Milton Keynes.cgi → cgi-bin/Milton Keynes.cgi View File


CGI/North Tyneside.cgi → cgi-bin/North Tyneside.cgi View File


CGI/Northumberland.cgi → cgi-bin/Northumberland.cgi View File


CGI/Oadby and Wigston.cgi → cgi-bin/Oadby and Wigston.cgi View File


CGI/Oswestry.cgi → cgi-bin/Oswestry.cgi View File


CGI/Peterborough.cgi → cgi-bin/Peterborough.cgi View File


CGI/PlanningUtils.py → cgi-bin/PlanningUtils.py View File


CGI/Portsmouth.cgi → cgi-bin/Portsmouth.cgi View File


CGI/PublicAccess.py → cgi-bin/PublicAccess.py View File


CGI/README → cgi-bin/README View File


CGI/Rushmoor.cgi → cgi-bin/Rushmoor.cgi View File


CGI/Scarborough.cgi → cgi-bin/Scarborough.cgi View File


CGI/Sevenoaks.cgi → cgi-bin/Sevenoaks.cgi View File


CGI/South Bucks.cgi → cgi-bin/South Bucks.cgi View File


CGI/South Ribble.cgi → cgi-bin/South Ribble.cgi View File


CGI/South Staffordshire.cgi → cgi-bin/South Staffordshire.cgi View File


CGI/SouthOxfordshire.cgi → cgi-bin/SouthOxfordshire.cgi View File


CGI/SouthOxfordshireParser.py → cgi-bin/SouthOxfordshireParser.py View File


CGI/Southampton.cgi → cgi-bin/Southampton.cgi View File


CGI/Spelthorne.cgi → cgi-bin/Spelthorne.cgi View File


CGI/Stevenage.cgi → cgi-bin/Stevenage.cgi View File


CGI/Stockton-On-Tees.cgi → cgi-bin/Stockton-On-Tees.cgi View File


CGI/Sunderland.cgi → cgi-bin/Sunderland.cgi View File


CGI/Test Valley.cgi → cgi-bin/Test Valley.cgi View File


CGI/Tonbridge.cgi → cgi-bin/Tonbridge.cgi View File


CGI/Torbay.cgi → cgi-bin/Torbay.cgi View File


CGI/Waveney.cgi → cgi-bin/Waveney.cgi View File


CGI/West Lancashire.cgi → cgi-bin/West Lancashire.cgi View File


CGI/West Norfolk.cgi → cgi-bin/West Norfolk.cgi View File


CGI/Woking.cgi → cgi-bin/Woking.cgi View File


CGI/York.cgi → cgi-bin/York.cgi View File


+ 1
- 1
data/%%45^45E^45E480CD%%index.tpl.php View File

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-03-24 11:12:43
<?php /* Smarty version 2.6.16, created on 2007-04-05 19:15:39
compiled from index.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 1
- 1
data/%%6D^6DB^6DB28CFA%%about.tpl.php View File

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-03-24 11:12:32
<?php /* Smarty version 2.6.16, created on 2007-04-05 19:16:12
compiled from about.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));


+ 13
- 13
data/%%AD^AD7^AD71B708%%rss.tpl.php View File

@@ -1,12 +1,12 @@
<?php /* Smarty version 2.6.16, created on 2007-03-23 17:55:19
<?php /* Smarty version 2.6.16, created on 2007-04-07 17:19:50
compiled from rss.tpl */ ?>
<?php echo '<?xml'; ?>
version="1.0" encoding="UTF-8"<?php echo '?>'; ?>

<rss version="2.0" xmlns:georss="http://georss.org/georss">
<rss version="2.0" xmlns:georss="http://www.georss.org/georss">
<channel>
<title>Search Results</title>
<link></link>
<title>PlanningAlerts.com</title>
<link>http://www.planningalerts.com/</link>
<description></description>
<?php $_from = ($this->_tpl_vars['applications']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['applications'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['applications']['total'] > 0):
@@ -14,21 +14,21 @@ if ($this->_foreach['applications']['total'] > 0):
$this->_foreach['applications']['iteration']++;
?>
<item>
<guid><?php echo $this->_tpl_vars['application']->council_reference; ?>
<title><?php echo $this->_tpl_vars['application']->address; ?>
</title>
<guid isPermaLink="false"><?php echo $this->_tpl_vars['application']->council_reference; ?>
</guid>
<georss:featurename><?php echo $this->_tpl_vars['application']->address; ?>
</georss:featurename>
<georss:point><?php echo $this->_tpl_vars['application']->lat; ?>
<?php echo $this->_tpl_vars['application']->lon; ?>
</georss:point>
<description><?php echo $this->_tpl_vars['application']->description; ?>
</description>
<link><?php echo $this->_tpl_vars['application']->info_url; ?>
</link>
<comments><?php echo $this->_tpl_vars['application']->comment_url; ?>
</comments>
<pubDate><?php echo $this->_tpl_vars['application']->date_received; ?>
</pubDate>
<description><![CDATA[<?php echo $this->_tpl_vars['application']->description; ?>
]]></description>
<link><![CDATA[<?php echo $this->_tpl_vars['application']->info_url; ?>
]]></link>
<comments><![CDATA[<?php echo $this->_tpl_vars['application']->comment_url; ?>
]]></comments>
</item>
<?php endforeach; endif; unset($_from); ?>
</channel>

+ 1
- 1
data/%%D2^D26^D26D8BFE%%xml.tpl.php View File

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-03-24 10:15:51
<?php /* Smarty version 2.6.16, created on 2007-04-04 21:36:10
compiled from xml.tpl */ ?>
<?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); ?>


+ 1
- 1
data/%%F7^F7F^F7F34188%%header.tpl.php View File

@@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.16, created on 2007-03-24 11:13:47
<?php /* Smarty version 2.6.16, created on 2007-04-05 19:16:12
compiled from header.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


+ 2
- 0
docs/templates/alert_email_text.tpl View File

@@ -18,7 +18,9 @@
--------------------------------------
PlanningAlerts.com is a free service run by volunteers
To stop receiving these emails click here: {$base_url}/unsubscribe.php?cid={$confirm_id}

{/textformat}

+ 2
- 2
docs/templates/getinvolved.tpl View File

@@ -4,7 +4,7 @@

<h3>I am a programmer and want to add my local authority</h3>
<p>
You can help by writing a <a href="http://en.wikipedia.org/wiki/Screen_scraping">screen scraper</a> for your local authority that was can import into plannignalerts.com. There are only 2 criteria for the screen scraper:
You can help by writing a <a href="http://en.wikipedia.org/wiki/Screen_scraping">screen scraper</a> for your local authority that was can import into planningalerts.com. There are only 2 criteria for the screen scraper:
</p>
<ol>
<li>That it can output data in the following format: <a href="http://www.planningalerts.com/lambeth.xml">http://www.planningalerts.com/lambeth.xml</a></li>
@@ -23,4 +23,4 @@
</p>
{include file="footer.tpl"}
{include file="footer.tpl"}

+ 2
- 3
tools/application_mailer.php View File

@@ -45,8 +45,7 @@
inner join authority on application.authority_id = authority.authority_id
where date_scraped > " . $db->quote(mysql_date(time() - (24 * 60 * 60))) .
" and (application.x > " . $user_results[$i][3] . " and application.x < " . $user_results[$i][5] . ")
and (application.y > " . $user_results[$i][4] . " and application.y < " . $user_results[$i][6] .
and (application.y <> 0 and application.y <> 0 ")";
and (application.y > " . $user_results[$i][4] . " and application.y < " . $user_results[$i][6] . ") and (application.y <> 0 and application.y <> 0 )";

$application_results = $db->getAll($sql);

@@ -58,7 +57,7 @@
//Setup applications array (bit pikey this)
$applications = array();
for ($ii=0; $ii < sizeof($application_results); $ii++){
print_r($application_results);
$application = new application();
$application->council_reference = $application_results[$ii][0];
$application->address = $application_results[$ii][1];


Loading…
Cancel
Save