| 1 |
<?php do_action('uwp_template_before', 'account'); ?> |
| 2 |
<div class="uwp-content-wrap"> |
| 3 |
<div class="uwp-account"> |
| 4 |
<?php |
| 5 |
if (isset($_GET['type'])) { |
| 6 |
$type = strip_tags(esc_sql($_GET['type'])); |
| 7 |
} else { |
| 8 |
$type = 'account'; |
| 9 |
} |
| 10 |
?> |
| 11 |
<div class="uwp-account-avatar"><?php echo get_avatar( get_current_user_id(), 100 ); ?></div> |
| 12 |
<?php do_action('uwp_template_form_title_before', 'account'); ?> |
| 13 |
<h2><?php echo apply_filters('uwp_account_page_title', __( 'Edit Account', 'userswp' ), $type); ?></h2> |
| 14 |
<?php do_action('uwp_template_form_title_after', 'account'); ?> |
| 15 |
<?php do_action('uwp_template_display_notices', 'account'); ?> |
| 16 |
<?php do_action('uwp_account_menu_display'); ?> |
| 17 |
<?php do_action('uwp_account_form_display', $type); ?> |
| 18 |
</div> |
| 19 |
</div> |
| 20 |
<?php do_action('uwp_template_after', 'account'); ?> |