Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 rsolanki 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
6 ghuddy 5
'|                    User General                   |
2 rsolanki 6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
Response.Expires = 0
12
%>
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/config.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/_user_common.asp"-->
17
<%
18
'------------ ACCESS CONTROL ------------------
19
%>
20
<!--#include file="_access_control_general.asp"-->
21
<%
22
'------------ VARIABLE DEFINITION -------------
23
Dim sNode
24
Dim rsQry
25
'------------ CONSTANTS DECLARATION -----------
26
'------------ VARIABLE INIT -------------------
27
'------------ CONDITIONS ----------------------
28
'----------------------------------------------
29
%>
30
<%
31
'------------ RUN BEFORE PAGE RENDER ----------
32
Call GetUserDetails ( parUser_id, objUserCollector )
33
'----------------------------------------------
34
%>
35
<html>
36
<head>
37
<title>Access Manager</title>
38
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
39
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
40
<link href="scripts/access_manager.css" rel="stylesheet" type="text/css">
5295 dpurdie 41
<script language="JavaScript" src="scripts/common.js"></script>
2 rsolanki 42
</head>
43
 
44
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
45
<!-- HEADER ++++++++++++++++++++++ -->
46
<!--#include file="_header.asp"-->
47
<!-- +++++++++++++++++++++++++++++ -->
48
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
6 ghuddy 49
	<tr>
50
		<td width="1%" valign="top" background="images/bg_bage_pane.gif">
51
		<!-- TREE NAVIGATOR ++++++++++++++++++++++++++++++++++++++++++++ -->
52
		<!--#include file="_treeNavigator.asp"-->  
53
		<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
2 rsolanki 54
		</td>
6 ghuddy 55
		<td width="1" background="images/bg_drk_gray_border.gif"><img src="images/spacer.gif" width="1" height="600"></td>
56
		<td width="100%" valign="top">
57
			<table width="100%"  border="0" cellspacing="0" cellpadding="9">
58
				<tr>
59
					<td background="images/bg_drk_bage_pane.gif">
60
						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
61
							<tr>
62
								<td nowrap class="body_txt"></td>
63
								<td align="right" nowrap class="section_ttl"><%=PARENT_TITLE%></td>
64
							</tr>
65
						</table>
66
					</td>
67
				</tr>
68
				<tr>
69
					<td class="menu_crumbttl"><%Call RenderTitle ( objUserCollector )%></td>
70
				</tr>
71
				<tr>
72
					<td>
73
					<!-- DETAILS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
74
					<!-- TAB CONTROLS ++++++++++++++++++++++ -->
75
					<!--#include file="_tabs_definition.asp"-->
76
					<%
77
					Set objTabControl = New TabControl
78
					objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleMac/mac_style.html") ) ' Supply tab style definition
79
					objTabControl.TabStyle = "StyleMac"
80
					objTabControl.AddTabDefnition ( arrUserAccount )
81
					objTabControl.SelectByName ( "General" )
82
					objTabControl.Render ()
83
					%>
84
					<!-- END OF TAB CONTROLS +++++++++++++++ -->
85
						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
86
							<tr>
87
								<td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="500"></td>
88
								<td width="100%" valign="top">
89
									<table width="100%"  border="0" cellspacing="10" cellpadding="0">
90
										<tr>
91
											<td>
92
												<!-- TAB DETAILS +++++++++++++++++++++++++++++ -->
93
												<table border="0" align="left" bordercolor="#666666" bgcolor="#FFFFFF">
94
													<tr>
95
														<td class="body_row">User ID: </td>
96
														<td class="body_col"><%=Response.Write(objUserCollector("user_id"))%></td>
97
													</tr>
98
													<tr>
99
														<td class="body_row">Full Name: </td>
100
														<td class="body_col"><%=Response.Write(objUserCollector("full_name"))%></td>
101
													</tr>
102
													<tr>
103
														<td class="body_row">User Name: </td>
104
														<td class="body_col"><%=Response.Write(objUserCollector("user_name"))%></td>
105
													</tr>
106
													<tr>
107
														<td class="body_row">Domain: </td>
108
														<td class="body_col"><%=Response.Write(objUserCollector("domain"))%></td>
109
													</tr>
110
													<tr>
111
														<td class="body_row">Email: </td>
112
														<td class="body_col"><%=Response.Write(objUserCollector("user_email"))%></td>
113
													</tr>
114
												</table>
115
											</td>
116
										</tr>
5295 dpurdie 117
										<tr>
118
                                            <td>
5299 dpurdie 119
                                                <% If canActionControl("canEditUserDetails") Then%>
5295 dpurdie 120
			                                    <button class="form_btn" onclick="MM_openBrWindow('wEditAccount.asp?rmode=1&rfile=<%=SCRIPT_NAME%>&<%=objPMod.ComposeURL%>','EditAccount','scrollbars=yes,resizable=yes,width=600,height=350')">
121
                                                    Edit Details <%=LIMG_EDIT%>
122
                                                </button>
5299 dpurdie 123
                                                <%Else%>
124
			                                    <span class="form_btn_dis" >
125
                                                    Edit Details <%=LIMG_EDIT_OFF%>
126
                                                </span>
127
                                                <%End If%>
5295 dpurdie 128
                                            </td>
129
										</tr>
6 ghuddy 130
									</table>
131
								</td>
132
								<td width="1" background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
133
							</tr>
134
						</table>
135
						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
136
							<tr>
137
								<td background="images/bg_gray_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
138
							</tr>
139
						</table>
140
						<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
141
						<br>
142
					</td>
143
				</tr>
144
			</table>
145
		</td>
146
	</tr>
2 rsolanki 147
</table>
148
<!-- FOOTER ++++++++++++++++++++++ -->
149
<!--#include file="_footer.asp"-->
150
<!-- +++++++++++++++++++++++++++++ -->
151
</body>
152
</html>
153
<%
154
'------------ RUN AFTER PAGE RENDER -----------
155
'----------------------------------------------
156
%>
157
<!--#include file="common/globals_destructor.asp"-->