Guest User

Untitled

a guest
Jul 6th, 2018
197
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a href="{$mybb->settings['bburl']}/member.php?action=login">{$lang->welcome_login}</a>
  2. <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>
  3. <!-- Continuation of div(class="upper") as opened in the header template -->
  4. <span class="welcome">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }); return false;" class="login">{$lang->welcome_login}</a> <a href="{$mybb->settings['bburl']}/member.php?action=register" class="register">{$lang->welcome_register}</a></span>
  5. </div>
  6. </div>
  7. <div class="modal" id="quick_login" style="display: none;">
  8. <form method="post" action="{$mybb->settings['bburl']}/member.php">
  9. <input name="action" type="hidden" value="do_login" />
  10. <input name="url" type="hidden" value="" />
  11. <input name="quick_login" type="hidden" value="1" />
  12. <input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
  13. <table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" class="tborder">
  14. <tr>
  15. <td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
  16. </tr>
  17. {$loginform}
  18. </table>
  19. </form>
  20. </div>
  21. <script type="text/javascript">
  22. $("#quick_login input[name='url']").val($(location).attr('href'));
  23. </script>
RAW Paste Data