예제 #1
0
echo lang_get('signup_done_title');
?>
</b><br />
		<?php 
echo "[{$f_username} - {$f_email}] ";
?>
	</td>
</tr>
<tr>
	<td>
		<br />
		<?php 
echo lang_get('password_emailed_msg');
?>
		<br /><br />
		<?php 
echo lang_get('no_reponse_msg');
?>
		<br /><br />
	</td>
</tr>
</table>
<br />
<?php 
print_bracket_link('login_page.php', lang_get('proceed'));
?>
</div>

<?php 
html_page_bottom1a(__FILE__);
예제 #2
0
function html_page_bottom1($p_file = null)
{
    if (!db_is_connected()) {
        return;
    }
    if (config_get('show_footer_menu')) {
        print '<br />';
        print_menu();
    }
    html_page_bottom1a($p_file);
}
예제 #3
0
current_user_ensure_unprotected();
# Only allow users to delete their own accounts if allow_account_delete = ON or
# the user has permission to manage user accounts.
if (OFF == config_get('allow_account_delete') && !access_has_global_level(config_get('manage_user_threshold'))) {
    print_header_redirect('account_page.php');
}
# check that we are not deleting the last administrator account
$t_admin_threshold = config_get_global('admin_site_threshold');
if (current_user_is_administrator() && user_count_level($t_admin_threshold) <= 1) {
    trigger_error(ERROR_USER_CHANGE_LAST_ADMIN, ERROR);
}
helper_ensure_confirmed(lang_get('confirm_delete_msg'), lang_get('delete_account_button'));
form_security_purge('account_delete');
$t_user_id = auth_get_current_user_id();
auth_logout();
user_delete($t_user_id);
html_page_top1();
html_page_top2a();
?>

<br />
<div align="center">
<?php 
echo lang_get('account_removed_msg') . '<br />';
print_bracket_link(config_get('logout_redirect_page'), lang_get('proceed'));
?>
</div>

<?php 
html_page_bottom1a();
예제 #4
0
/**
 * Print the part of the page that comes below the page content
 * $p_file should always be the __FILE__ variable. This is passed to show source
 * @param string $p_file should always be the __FILE__ variable. This is passed to show source
 * @return null
 */
function html_page_bottom1($p_file = null)
{
    if (!db_is_connected()) {
        return;
    }
    event_signal('EVENT_LAYOUT_CONTENT_END');
    echo '</div>', "\n";
    if (config_get('show_footer_menu')) {
        echo '<br />';
        print_menu();
    }
    html_page_bottom1a($p_file);
}