/
user_home_page.php
37 lines (29 loc) · 1.16 KB
/
user_home_page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
# phpWebNotes - a php based note addition system
# Copyright (C) 2000-2002 Webnotes Team - webnotes-devel@sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the files README and LICENSE for details
# --------------------------------------------------------
# $Id: user_home_page.php,v 1.1 2002/09/18 12:33:31 vboctor Exp $
# --------------------------------------------------------
require_once( 'core' . DIRECTORY_SEPARATOR . 'api.php' );
login_cookie_check();
access_ensure_check_action( ACTION_USERS_EDIT_OWN );
$row = user_get_info( user_where_current() );
extract( $row, EXTR_PREFIX_ALL, "v" );
print_html_top();
print_head_top();
print_title( $g_window_title );
print_css( $g_css_inc_file );
print_head_bottom();
print_body_top();
print_header( $g_page_title );
print_top_page( $g_top_page_inc );
print_admin_menu();
$t_access_level = enum_get_element( 'access_levels', $v_access_level );
echo "<p>Logged in as $v_username ($t_access_level)</p>";
print_bottom_page( $g_bottom_page_inc );
print_footer( __FILE__ );
print_body_bottom();
print_html_bottom();
?>