Преглед на файлове

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

master
memespring преди 17 години
родител
ревизия
a41ffe5fc3
променени са 68 файла, в които са добавени 24 реда и са изтрити 23 реда
  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 Целия файл


CGI/Aylesbury Vale.cgi → cgi-bin/Aylesbury Vale.cgi Целия файл


CGI/Basildon.cgi → cgi-bin/Basildon.cgi Целия файл


CGI/Bath.cgi → cgi-bin/Bath.cgi Целия файл


CGI/Bexley.cgi → cgi-bin/Bexley.cgi Целия файл


CGI/Blaby.cgi → cgi-bin/Blaby.cgi Целия файл

@@ -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 Целия файл


CGI/Buckinghamshire.cgi → cgi-bin/Buckinghamshire.cgi Целия файл


CGI/Chelmsford.cgi → cgi-bin/Chelmsford.cgi Целия файл


CGI/Cherwell.cgi → cgi-bin/Cherwell.cgi Целия файл


CGI/City of London.cgi → cgi-bin/City of London.cgi Целия файл


CGI/Cornwall.cgi → cgi-bin/Cornwall.cgi Целия файл


CGI/Doncaster.cgi → cgi-bin/Doncaster.cgi Целия файл


CGI/Dundee.cgi → cgi-bin/Dundee.cgi Целия файл


CGI/East Devon.cgi → cgi-bin/East Devon.cgi Целия файл


CGI/Edinburgh.cgi → cgi-bin/Edinburgh.cgi Целия файл


CGI/Epsom and Ewell.cgi → cgi-bin/Epsom and Ewell.cgi Целия файл


CGI/Fenland.cgi → cgi-bin/Fenland.cgi Целия файл


CGI/Gedling.cgi → cgi-bin/Gedling.cgi Целия файл


CGI/Hammersmith and Fulham.cgi → cgi-bin/Hammersmith and Fulham.cgi Целия файл


CGI/Harrogate.cgi → cgi-bin/Harrogate.cgi Целия файл


CGI/Hart.cgi → cgi-bin/Hart.cgi Целия файл


CGI/Huntingdonshire.cgi → cgi-bin/Huntingdonshire.cgi Целия файл


CGI/Kerrier.cgi → cgi-bin/Kerrier.cgi Целия файл


CGI/Knowsley.cgi → cgi-bin/Knowsley.cgi Целия файл


CGI/Lancaster.cgi → cgi-bin/Lancaster.cgi Целия файл


CGI/Luton.cgi → cgi-bin/Luton.cgi Целия файл


CGI/Malvern Hills.cgi → cgi-bin/Malvern Hills.cgi Целия файл


CGI/Mid Devon.cgi → cgi-bin/Mid Devon.cgi Целия файл


CGI/Milton Keynes.cgi → cgi-bin/Milton Keynes.cgi Целия файл


CGI/North Tyneside.cgi → cgi-bin/North Tyneside.cgi Целия файл


CGI/Northumberland.cgi → cgi-bin/Northumberland.cgi Целия файл


CGI/Oadby and Wigston.cgi → cgi-bin/Oadby and Wigston.cgi Целия файл


CGI/Oswestry.cgi → cgi-bin/Oswestry.cgi Целия файл


CGI/Peterborough.cgi → cgi-bin/Peterborough.cgi Целия файл


CGI/PlanningUtils.py → cgi-bin/PlanningUtils.py Целия файл


CGI/Portsmouth.cgi → cgi-bin/Portsmouth.cgi Целия файл


CGI/PublicAccess.py → cgi-bin/PublicAccess.py Целия файл


CGI/README → cgi-bin/README Целия файл


CGI/Rushmoor.cgi → cgi-bin/Rushmoor.cgi Целия файл


CGI/Scarborough.cgi → cgi-bin/Scarborough.cgi Целия файл


CGI/Sevenoaks.cgi → cgi-bin/Sevenoaks.cgi Целия файл


CGI/South Bucks.cgi → cgi-bin/South Bucks.cgi Целия файл


CGI/South Ribble.cgi → cgi-bin/South Ribble.cgi Целия файл


CGI/South Staffordshire.cgi → cgi-bin/South Staffordshire.cgi Целия файл


CGI/SouthOxfordshire.cgi → cgi-bin/SouthOxfordshire.cgi Целия файл


CGI/SouthOxfordshireParser.py → cgi-bin/SouthOxfordshireParser.py Целия файл


CGI/Southampton.cgi → cgi-bin/Southampton.cgi Целия файл


CGI/Spelthorne.cgi → cgi-bin/Spelthorne.cgi Целия файл


CGI/Stevenage.cgi → cgi-bin/Stevenage.cgi Целия файл


CGI/Stockton-On-Tees.cgi → cgi-bin/Stockton-On-Tees.cgi Целия файл


CGI/Sunderland.cgi → cgi-bin/Sunderland.cgi Целия файл


CGI/Test Valley.cgi → cgi-bin/Test Valley.cgi Целия файл


CGI/Tonbridge.cgi → cgi-bin/Tonbridge.cgi Целия файл


CGI/Torbay.cgi → cgi-bin/Torbay.cgi Целия файл


CGI/Waveney.cgi → cgi-bin/Waveney.cgi Целия файл


CGI/West Lancashire.cgi → cgi-bin/West Lancashire.cgi Целия файл


CGI/West Norfolk.cgi → cgi-bin/West Norfolk.cgi Целия файл


CGI/Woking.cgi → cgi-bin/Woking.cgi Целия файл


CGI/York.cgi → cgi-bin/York.cgi Целия файл


+ 1
- 1
data/%%45^45E^45E480CD%%index.tpl.php Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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];


Зареждане…
Отказ
Запис