/app_old/membershipincludes/includes/popover_signup.form.php

  1. <div class='header' style='width: 750px'> 
  2. <h1><?php _e('Register or Login to purchase', 'membership'); ?></h1> 
  3. </div> 
  4. <div class='leftside'> 
  5. <p><?php _e('Enter your details below to create a new account.', 'membership'); ?></p> 
  6. <p class='error' id='reg-error'><?php _e('This is an error', 'membership'); ?></p> 
  7. <form id="reg-form" action="<?php echo get_permalink(); ?>" method="post"> 
  8. <div class=""> 
  9. <label><?php _e('Username', 'membership'); ?> <span>*</span></label> 
  10. <input type="text" value="<?php if(isset($_POST['user_login'])) echo esc_attr($_POST['user_login']); ?>" class="regtext" name="user_login" id='reg_user_login'> 
  11. </div> 
  12. <div class=""> 
  13. <label><?php _e('Email Address', 'membership'); ?> <span>*</span></label> 
  14. <input type="text" value="<?php if(isset($_POST['user_email'])) echo esc_attr($_POST['user_email']); ?>" class="regtext" name="user_email" id='reg_user_email'> 
  15. </div> 
  16. <div class=""> 
  17. <label><?php _e('Password', 'membership'); ?> <span>*</span></label> 
  18. <input type="password" autocomplete="off" class="regtext" name="password" id='reg_password'> 
  19. </div> 
  20.  
  21. <div class=""> 
  22. <label><?php _e('Confirm Password', 'membership'); ?> <span>*</span></label> 
  23. <input type="password" autocomplete="off" class="regtext" name="password2" id='reg_password2'> 
  24. </div> 
  25.  
  26. <?php do_action('membership_popover_extend_registration_form'); ?> 
  27.  
  28. <p><input type="submit" value="<?php _e('Register My Account »', 'membership'); ?>" class="button <?php echo apply_filters('membership_subscription_button_color', 'blue'); ?>" name="register"></p> 
  29. <input type="hidden" name="action" value="validatepage1" /> 
  30. <input type="hidden" name="subscription" value="<?php if(isset($_GET['subscription'])) echo (int) $_GET['subscription']; ?>" id='reg_subscription' /> 
  31. </form> 
  32. </div> 
  33. <div class='rightside'> 
  34. <p><?php _e("Login below if you're already registered.", 'membership'); ?></p> 
  35. <p class='error' id='login-error'><?php _e('This is an error', 'membership'); ?></p> 
  36. <form id="login-form" action="<?php echo get_permalink(); ?>" method="post"> 
  37. <div class=""> 
  38. <label><?php _e('Username', 'membership'); ?></label> 
  39. <input type="text" value="<?php if(isset($_POST['user_login'])) echo esc_attr($_POST['user_login']); ?>" class="regtext" name="user_login" id='login_user_login'> 
  40. </div> 
  41. <div class=""> 
  42. <label><?php _e('Password', 'membership'); ?></label> 
  43. <input type="password" autocomplete="off" class="regtext" name="password" id='login_password'> 
  44. </div> 
  45.  
  46. <?php do_action('membership_popover_extend_login_form'); ?> 
  47.  
  48. <p><input type="submit" value="<?php _e('Login »', 'membership'); ?>" class="button <?php echo apply_filters('membership_subscription_button_color', 'blue'); ?>" name="register"></p> 
  49. <input type="hidden" name="action" value="loginaccount" /> 
  50. <input type="hidden" name="subscription" value="<?php if(isset($_GET['subscription'])) echo (int) $_GET['subscription']; ?>" id='login_subscription' /> 
  51. </form> 
  52. </div> 
.