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.

%%45^45E^45E480CD%%index.tpl.php 4.1 KiB

17 年之前
17 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php /* Smarty version 2.6.16, created on 2007-04-05 19:15:39
  2. compiled from index.tpl */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7. ?>
  8. <form action="<?php echo $this->_tpl_vars['form_action']; ?>
  9. " method="post">
  10. <fieldset>
  11. <input type="hidden" name="_is_postback" value="1" />
  12. </fieldset>
  13. <p id="pBeta"><span>This site is in Beta (test) mode, so local authorities near you may not be included in alerts.</span></p>
  14. <ul id="ulSignup" class="form nobullets">
  15. <li id="liEmail">
  16. <label for="txtEmail"><span class="number">1</span> Enter your email address</label>
  17. <input type="text" class="textbox <?php if ($this->_tpl_vars['email_warn'] == true): ?>error<?php endif; ?>" id="txtEmail" name="txtEmail" value="<?php echo $this->_tpl_vars['email']; ?>
  18. " />
  19. </li>
  20. <li id="liPostcode">
  21. <label for="txtPostcode"><span class="number">2</span> Enter a postcode</label>
  22. <input type="text" class="textbox <?php if ($this->_tpl_vars['postcode_warn'] == true): ?>error<?php endif; ?>" id="txtPostcode" name="txtPostcode" value="<?php echo $this->_tpl_vars['postcode']; ?>
  23. " />
  24. <small>e.g. SW9 8JX</small>
  25. </li>
  26. <li id="liAlertArea">
  27. <p id="pAlertArea"><span class="number">3</span> Choose what size area would you like to receive alerts for</p>
  28. <fieldset>
  29. <ul id="ulAlertArea" class="form nobullets">
  30. <li>
  31. <input type="radio" id="radAlertAreaSize_street" name="radAlertAreaSize" value="s" <?php if ($this->_tpl_vars['alert_area_size'] == s): ?>checked="checked"<?php endif; ?> />
  32. <label for="radAlertAreaSize_street">My street (approximately <?php echo $this->_tpl_vars['small_zone_size']; ?>
  33. m)</label> <small><a href="javascript:previewMap('s');">view on a map (new window)</a></small>
  34. </li>
  35. <li>
  36. <input type="radio" id="radAlertAreaSize_neihgbourhood" name="radAlertAreaSize" value="m" <?php if ($this->_tpl_vars['alert_area_size'] == m): ?>checked="checked"<?php endif; ?> />
  37. <label for="radAlertAreaSize_neihgbourhood">My neighbourhood (approximately <?php echo $this->_tpl_vars['medium_zone_size']; ?>
  38. m)</label> <small><a href="javascript:previewMap('m');">view on a map (new window)</a></small>
  39. </li>
  40. <li>
  41. <input type="radio" id="radAlertAreaSize_town" name="radAlertAreaSize" value="l" <?php if ($this->_tpl_vars['alert_area_size'] == l): ?>checked="checked"<?php endif; ?> />
  42. <label for="radAlertAreaSize_town">Wider area (approximately <?php echo $this->_tpl_vars['large_zone_size']; ?>
  43. m)</label> <small><a href="javascript:previewMap('l');">view on a map (new window)</a></small>
  44. </li>
  45. <li>
  46. <noscript><fieldset>Note: viewing the alert area on a map requires javascript</fieldset></noscript>
  47. </li>
  48. </ul>
  49. </fieldset>
  50. </li>
  51. <li id="liSignup"><input type="submit" class="button" value="Create alert >>" /></li>
  52. </ul>
  53. </form>
  54. <div id="divSiteUpdates">
  55. <h4>Recent site updates</h4>
  56. <ul class="nobullets">
  57. <li><em>March 2007</em> Added an API and a few more councils (inc. Islington and Hackney)</li>
  58. <li><em>February 2007</em> Added loads more councils (inc. Camden and Tower Hamlets)</li>
  59. <li><em>December 2006</em> beta launch</li>
  60. </ul>
  61. </div>
  62. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  63. $this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
  64. $this->_tpl_vars = $_smarty_tpl_vars;
  65. unset($_smarty_tpl_vars);
  66. ?>