<link rel="stylesheet" href="common/header.css" type="text/css">
<link rel="stylesheet" href="common/style.css" type="text/css">
"http://www.w3.org/TR/html4/loose.dtd">
******** language="javascript" type="text/javascript">
// Back button/link
function doBack() {
history.back(1);
}
// Back button/link
function back() {
history.back(1);
}
// Delete item function uses generic form as name of form to submit
function confirmDelete(action,id) {
if (confirm("The user will be deleted permanantly, do you want to continue?")) {
document.form.oid.value=id;
document.form.action.value=action;
document.form.submit();
}
}
function confirmItemDelete(action,id) {
if (confirm("The Item will be deleted permanantly, do you want to continue?")) {
document.form.itemOid.value=id;
document.form.action.value=action;
document.form.submit();
}
}
// confirms kickiing/logging out of user from system
function confirmUserKick(formName, oidValue) {
if (confirm("Are you sure you want to LOGOUT this user? ")) {
var theForm = document.getElementById(formName);
var userName = document.getElementById('userName');
theForm.userName.value = oidValue;
theForm.submit();
return true;
} else
return false;
}
// generic search popup window
function search() {
var searchtext = prompt("Please enter the name of the user to search for");
if (searchtext!=null && searchtext!="") {
document.form.searchtext.value=searchtext;
document.form.action.value='searchtext';
document.form.submit();
}
}
// page refresh
function refresh() {
document.form.searchtext.value="";
document.form.submit();
}
// form submit
function submitFormNoParams() {
document.form.submit();
}
// form submit
function submitFormWithActionParam(action) {
document.form.action.value=action;
document.form.submit();
}
// form submit
function submitForm(bname,task) {
var bname=document.getElementById(bname);
bname.disabled='true';
var action = document.getElementById('action');
action.value = task;
document.form.submit();
}
function pageLoading() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}else {
if (document.layers) { // Netscape 4
document.hidepage.visibility = 'hidden';
} else { // IE 4
document.all.hidepage.style.visibility = 'hidden';
}
}
}
function PopUpWindow(url,windowname,width,height,scroll,rez,tool,menu,loc,horz,vert) {
if(vert=='top') {
wint = 0;
}
if(vert=='middle') {
wint = (screen.height - height) / 2;
}
if(vert=='bottom') {
wint = (screen.height - height);
}
if(horz=='center') {
winl = (screen.width - width) / 2;
popupwindow =
************(url,windowname,
'width='+width+',height='+height+',screenX='+winl+',screenY='+wint+',left='+winl+',top='+wint+',scrollbars='+scroll+',resizable=
'+rez+',toolbar='+tool+',menubar='+menu+',location='+loc);
popupwindow.focus();
}
else {
if(horz=='left') {
var winl = 0;
popupwindow =
************(url,windowname,
'width='+width+',height='+height+',screenX='+winl+',screenY='+wint+',left='+winl+',top='+wint+',scrollbars='+scroll+',resizable=
'+rez+',toolbar='+tool+',menubar='+menu+',location='+loc);
popupwindow.focus();
}
if(horz=='right') {
winl = (screen.width - width);
popupwindow =
************(url,windowname,
'width='+width+',height='+height+',screenX='+winl+',screenY='+wint+',left='+winl+',top='+wint+',scrollbars='+scroll+',resizable=
'+rez+',toolbar='+tool+',menubar='+menu+',location='+loc);
popupwindow.focus();
}
}
}
*********>
******** language="JavaScript1.2">
function focusUN() {
document.loginform.userName.focus();
}
*********>
<!-- Display Error messages-->
<table height="100%" width="100%"><tbody><tr><td align="center" height="100%" valign="center" width="100%">
[IMG]http://www.mrexcel.com/forum/images/ele.jpg[/IMG]
[B]Olifants (b20091013) [/B]
<form name="loginform" method="post" action="loginServlet">
<input name="action" value="Login" type="hidden">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="20%"><tbody><tr><td height="29" nowrap="nowrap">User Name</td><td><input name="userName" value="" size="20" type="text"></td></tr><tr><td height="29">Password</td><td><input name="userPassword" value="" size="20" type="password"></td></tr><tr><td height="29">
</td><td align="center">
<input name="action" value="Login" type="submit"><input>
type="reset" value="Cancel" *******="focusUN()"></td></tr></tbody></table>
</form>
******** language="JavaScript1.2">
document.loginform.userName.focus();
*********>
</td></tr></tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr> <td class="admin_title_td">[B]Current online users: List[/B]
</td></tr></tbody></table>
<hr noshade="noshade" size="2">
<table border="0" width="100%"><tbody> <tr> <th class="admin_heading_th" width="9%">
</th><th class="admin_heading_th" align="middle" width="20%">User Full Name</th><th class="admin_heading_th" align="middle" width="13%">Client IP</th><th class="admin_heading_th" align="middle" width="15%">Time Logged-in</th><th class="admin_heading_th" align="middle" width="28%">Logged-on to</th></tr><tr> <td class="admin_info_td" width="9%">
[U]Kick[/U]
</td><td class="admin_info_td" align="left" width="20%">Hannes Van der Merwe </td><td class="admin_info_td" align="left" width="13%">172.16.11.61</td><td class="admin_info_td" align="left" width="15%">2010-03-10 15:22:13.0</td><td class="admin_info_td" align="left" width="28%">mtcolifants</td></tr> <tr> <td class="admin_info_td" width="9%">
[U]Kick[/U]
</td><td class="admin_info_td" align="left" width="20%">Harry Bothma </td><td class="admin_info_td" align="left" width="13%">192.168.32.22</td><td class="admin_info_td" align="left" width="15%">2010-03-10 15:13:09.0</td><td class="admin_info_td" align="left" width="28%">mtcolifants</td></tr> </tbody> </table>
<form name="inputForm" action="adminServlet" method="post">
<input name="action" value="loginKick" type="hidden">
<input name="userName" value="" type="hidden">
</form>