Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.81 KB | None | 0 0
  1. // Labradoodle-360; Quick Register
  2. function template_quickregister()
  3. {
  4.  
  5.     // Globalize what we need...
  6.     global $scripturl, $context, $txt, $modSettings;
  7.  
  8.     echo '<div class="cat_bar" style="height: 28px; margin-bottom: -1px;">
  9.             <h3 class="catbg">Quick Register</h3>
  10.         </div>
  11.         <div class="roundframe">
  12.             <div class="innerframe">
  13.                 <div class="content">
  14.                     <form action="', $scripturl, '?action=register2" method="post" accept-charset="', $context['character_set'], '" name="registration" id="registration">
  15.                         <div style="width: 100%; border-bottom: 1px solid #ccc; color: #70A2FF; margin-bottom: 7px; font-weight: bold;">
  16.                             ', !empty($context['quick_register']['visual_verification']) ? '<div class="floatleft" style="width: 50%; text-align: left;">'. $txt['visual_verification']. '</div>' : '', '
  17.                             <div', !empty($context['quick_register']['visual_verification']) ? ' class="floatright" style="width: 50%; text-align: left;"' : ' style="text-align: left; width: 100%;"', '>', $txt['required_fields'], '</div>
  18.                             ', !empty($context['quick_register']['visual_verification']) ? '<br class="clear" />' : '', '
  19.                         </div>
  20.                         <div class="', !empty($context['quick_register']['visual_verification']) ? 'floatright' : 'floatleft', '" style="width: 60%;">
  21.                             <div style="margin-bottom: 6px;">
  22.                                 <label for="smf_autov_username"><strong>Username:</strong></label>
  23.                                     <input type="text" name="user" id="smf_autov_username" size="30" tabindex="', $context['tabindex']++, '" maxlength="25" class="input_text" />
  24.                                 <label for="smf_autov_reserve1"><strong>Email:</strong></label>
  25.                                     <input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" class="input_text" />
  26.                             </div>
  27.                             <div>
  28.                                 <label for="smf_autov_pwmain"><strong>Password:</strong></label>
  29.                                     <input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" class="input_password" />
  30.                                 <label for="smf_autov_pwverify"><strong>Confirm Password:</strong></label>
  31.                                     <input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" class="input_password" />
  32.                             </div>
  33.                         </div>
  34.                             ', !empty($context['quick_register']['visual_verification']) ? '<div class="floatleft" style="width: 40%; text-align: left;">'. template_control_verification($context['quick_register']['visual_verification_id'], 'all'). '</div>' : '', '
  35.                         <br class="clear" />
  36.                         <br />
  37.                         <div style="width: 100%; text-align: right;">
  38.                             <input type="submit" name="regSubmit" value="', $txt['register'], '" tabindex="', $context['tabindex']++, '" class="button_submit" />
  39.                         </div>
  40.                     </form>
  41.                 </div>
  42.             </div>
  43.         </div>
  44.     <span class="lowerframe"><span></span></span>';
  45.    
  46. }
  47. // End Labradoodle-360; Quick Register
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement