summaryrefslogtreecommitdiff
path: root/demos/blog/protected/Pages/Users/ViewUser.page
blob: 2dba6b77a89c00ea67e2c0cac3596e3a92ec484c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<com:TContent ID="Main">

<h2>User Profile</h2>

Username: <%= $this->CurrentUser->Name %>
<br/>

Full name: <%= $this->CurrentUser->FullName %>
<br/>

Email: <%= $this->CurrentUser->Email %>
<br/>

Privilege: <%= $this->CurrentUser->Role===0? 'User':'Administrator' %>
<br/>

Personal website: <%= $this->CurrentUser->Website %>
<br/>


</com:TContent>