Automatically exported from code.google.com/p/planningalerts
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

17 лет назад
18 лет назад
17 лет назад
18 лет назад
18 лет назад
18 лет назад
17 лет назад
18 лет назад
18 лет назад
123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php /* Smarty version 2.6.16, created on 2007-06-16 16:51:50
  2. compiled from rss.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'rss.tpl', 12, false),)), $this); ?>
  5. <?php echo '<?xml'; ?>
  6. version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
  7. <rss version="2.0" xmlns:georss="http://www.georss.org/georss">
  8. <channel>
  9. <title>PlanningAlerts.com</title>
  10. <link>http://www.planningalerts.com/</link>
  11. <description></description>
  12. <?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);
  13. if ($this->_foreach['applications']['total'] > 0):
  14. foreach ($_from as $this->_tpl_vars['application']):
  15. $this->_foreach['applications']['iteration']++;
  16. ?>
  17. <item>
  18. <title><?php echo $this->_tpl_vars['application']->address; ?>
  19. </title>
  20. <pubDate><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->date_scraped)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%a, %B %e, %Y") : smarty_modifier_date_format($_tmp, "%a, %B %e, %Y")); ?>
  21. </pubDate>
  22. <guid isPermaLink="false"><?php echo $this->_tpl_vars['application']->council_reference; ?>
  23. </guid>
  24. <georss:featurename><?php echo $this->_tpl_vars['application']->address; ?>
  25. </georss:featurename>
  26. <georss:point><?php echo $this->_tpl_vars['application']->lat; ?>
  27. <?php echo $this->_tpl_vars['application']->lon; ?>
  28. </georss:point>
  29. <description><![CDATA[<?php echo $this->_tpl_vars['application']->description; ?>
  30. ]]></description>
  31. <link><![CDATA[<?php echo $this->_tpl_vars['application']->info_url; ?>
  32. ]]></link>
  33. <comments><![CDATA[<?php echo $this->_tpl_vars['application']->comment_url; ?>
  34. ]]></comments>
  35. </item>
  36. <?php endforeach; endif; unset($_from); ?>
  37. </channel>
  38. </rss>