index.html.php 785 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. $this->styles($this->html->style("/css/signup.css"));
  3. ?>
  4. <?php
  5. if (isset($key))
  6. {
  7. echo "Confirmation Link: <a href=\"<?=$link ?>/<?=$key->key ?>\"> Link </a>";
  8. }
  9. else
  10. {
  11. $template = '<tr{:wrap}><td>{:label}</td><td>{:input}</td><td>{:error}</td></tr>';
  12. ?>
  13. <?= $this->flashMessage->output(); ?>
  14. <div id="signup">
  15. <?= $this->form->create($user); ?>
  16. <table>
  17. <?= $this->form->field('username',
  18. array('template' => $template, 'id' => 's_username')) ?>
  19. <?= $this->form->field('newpass',
  20. array('template' => $template, 'id' => 's_password', 'label' => 'Password')) ?>
  21. <?= $this->form->field('email',
  22. array('template' => $template, 'id' => 's_email')) ?>
  23. </table>
  24. <?= $this->form->submit('Signup!'); ?>
  25. <?= $this->form->end(); ?>
  26. </div>
  27. <?php
  28. }
  29. ?>