Automatically exported from code.google.com/p/planningalerts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

%%D2^D26^D26D8BFE%%xml.tpl.php 2.8 KiB

18 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php /* Smarty version 2.6.16, created on 2007-04-04 21:36:10
  2. compiled from xml.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'xml.tpl', 6, false),)), $this); ?>
  5. <?php echo '<?xml'; ?>
  6. version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
  7. <planning>
  8. <authority_name>
  9. <?php echo ((is_array($_tmp=$this->_tpl_vars['authority_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  10. </authority_name>
  11. <authority_short_name>
  12. <?php echo ((is_array($_tmp=$this->_tpl_vars['authority_short_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  13. </authority_short_name>
  14. <applications>
  15. <?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);
  16. if ($this->_foreach['applications']['total'] > 0):
  17. foreach ($_from as $this->_tpl_vars['application']):
  18. $this->_foreach['applications']['iteration']++;
  19. ?>
  20. <application>
  21. <council_reference><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->council_reference)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  22. </council_reference>
  23. <address><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->address)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  24. </address>
  25. <postcode><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->postcode)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  26. </postcode>
  27. <description><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->description)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  28. </description>
  29. <info_url><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->info_url)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  30. </info_url>
  31. <comment_url><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->comment_url)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  32. </comment_url>
  33. <date_received><?php echo ((is_array($_tmp=$this->_tpl_vars['application']->date_received)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
  34. </date_received>
  35. </application>
  36. <?php endforeach; endif; unset($_from); ?>
  37. </applications>
  38. </planning>