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

35 строки
1.5 KiB

  1. <?php /* Smarty version 2.6.16, created on 2007-03-23 17:55:19
  2. compiled from rss.tpl */ ?>
  3. <?php echo '<?xml'; ?>
  4. version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
  5. <rss version="2.0" xmlns:georss="http://georss.org/georss">
  6. <channel>
  7. <title>Search Results</title>
  8. <link></link>
  9. <description></description>
  10. <?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);
  11. if ($this->_foreach['applications']['total'] > 0):
  12. foreach ($_from as $this->_tpl_vars['application']):
  13. $this->_foreach['applications']['iteration']++;
  14. ?>
  15. <item>
  16. <guid><?php echo $this->_tpl_vars['application']->council_reference; ?>
  17. </guid>
  18. <georss:featurename><?php echo $this->_tpl_vars['application']->address; ?>
  19. </georss:featurename>
  20. <georss:point><?php echo $this->_tpl_vars['application']->lat; ?>
  21. <?php echo $this->_tpl_vars['application']->lon; ?>
  22. </georss:point>
  23. <description><?php echo $this->_tpl_vars['application']->description; ?>
  24. </description>
  25. <link><?php echo $this->_tpl_vars['application']->info_url; ?>
  26. </link>
  27. <comments><?php echo $this->_tpl_vars['application']->comment_url; ?>
  28. </comments>
  29. <pubDate><?php echo $this->_tpl_vars['application']->date_received; ?>
  30. </pubDate>
  31. </item>
  32. <?php endforeach; endif; unset($_from); ?>
  33. </channel>
  34. </rss>