MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/local/frontpage/currentversion/admin/1033/pwdmgr.htm
<HTML dir="ltr">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" name="CharsetDefinition"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta name="Version" content= "5.0.2.2634" > 
<TITLE>Change Password</TITLE>
<link rel="stylesheet" type="text/css" href="/_vti_bin/_vti_adm/1033/webadmin.css"> 
<script language="Javascript">

function    Visascii(ch)
{
    return (!(ch.charCodeAt(0) & 0x80)); 
}

function Visspace(ch) 
{
    return (ch.charCodeAt(0) == 32) || ((9 <= ch.charCodeAt(0)) && (ch.charCodeAt(0) <= 13)); 
}

function stripWS(str)
{
    var b = 0;
    var e = str.length;
    while (str.charAt(b) && (Visascii(str.charAt(b)) && Visspace(str.charAt(b))))
        b++;
    while ((b < e) && (Visascii(str.charAt(e-1)) && Visspace(str.charAt(e-1))))
        e--;
    return ((b>=e)?"":str.substring(b, e ));
}

var L_NoFieldEmpty_TEXT = " field can't be empty.";
function CheckForEmptyField(text_orig,field_name)
{
    var text = stripWS(text_orig);
    if (text.length == 0)
    {
        alert(field_name + L_NoFieldEmpty_TEXT);
        return false;
    }
    return (true);
}

function CheckForEmptyFieldNoAlert(text_orig)
{
    var text = stripWS(text_orig);
    if (text.length == 0)
    {
        return false;
    }
    return (true);
}

var L_WrongEmailName1_TEXT = "The e-mail address specified in the ";
var L_WrongEmailName2_TEXT = " box is not complete. Please type a complete e-mail address, in the format name@domain.";
var L_TextWithoutSpaces1_TEXT="You must enter text without spaces in field ";

function CheckForAtSighInEmailName(text_orig,field_name)
{
    var text = stripWS(text_orig);
    if (!CheckForEmptyField(text_orig,field_name)) return false;
    var indexAt = 0;
    var countAt = 0;
    var countSpace = 0;
    var len = text.length;
    while(len--)
    {
        if (text.charAt(len) == '@') 
        {
            indexAt = len;
            countAt++;
        }  
        if (text.charAt(len) == ' ')
            countSpace ++;

    }    
    if ((countAt == 0) ||
        (indexAt == 0) ||
        (indexAt == (text.length-1))
        )
    {
        alert(L_WrongEmailName1_TEXT + field_name + L_WrongEmailName2_TEXT);
        return false;
    }    

    if (countSpace !=0 )
    {
        alert(L_TextWithoutSpaces1_TEXT + field_name);
        return false;

    }
    return (true);
}

var L_msg_TEXT="Your passwords do not match.\nPlease, re-enter and confirm password.";
var L_passwordEmpty_TEXT = "The new password cannot be blank.\nPlease enter a password.";
var L_oldpasswordEmpty_TEXT = "The old password cannot be blank.\nPlease enter old password.";
var L_helplink_text="1033";

function checkpassword()
{

    var oldpwd = stripWS(document.forms.frm.oldpassword.value);
    if (oldpwd.length == 0)
    {
        alert(L_oldpasswordEmpty_TEXT);
        return;
    }

    var pwd = stripWS(document.forms.frm.password.value);
    if (pwd.length == 0)
    {
        alert(L_passwordEmpty_TEXT);
        return;
    }
    if (document.forms.frm.newpasswordc.value == document.forms.frm.password.value)
    {
        document.forms.frm.submit();
        return;
    }
    alert(L_msg_TEXT);
    document.forms.frm.newpasswordc.value = "";
    document.forms.frm.password.value = "";

}
function prefill()
{
    document.forms.frm.oldpassword.focus();
}
function HelpWindow(strHelpUrl)
{
    var url = "help/" + L_helplink_text+strHelpUrl;
    var wndHelp = window.open(url, "MSOWSHELP", "width=187,height=500,menubar,scrollbars,toolbar,resizable");
}

</script>
</HEAD>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#000000" link="#1B55FB" vlink="#BB1CFF" alink="#FF1C2C"  onload="javascript:prefill();"> 

<form action=fpadmcgi.exe method=post name=frm  onSubmit="javascript:{return false;};">
<input type="hidden" name="operation" value="users">
<input type="hidden" name="command" value="changepassword">
<input type="hidden" name="username" value="<ows:var type=curr_cntx name=current_user></ows:var>">
<input type="hidden" name="page" value="pwdmgr.htm">
<input type="hidden" name="nextpage" 
 <ows:if type=parameter name=ReturnPage condition=equal result=>
 value="home"
 </ows:if>
 <ows:if type=parameter name=ReturnPage condition=notequal result=>
 value="<ows:var type=parameter name=ReturnPage></ows:var>"
 </ows:if>
>
<input type="hidden" name=ReturnPage value="<ows:var type=parameter name=ReturnPage>">

<table border="0" width="100%" height="100%" cellpadding=0 cellspacing=0 class=main>
 <tr>
  <td width=100% valign=top colspan=6>
   <table width=100% border="0" class="ms-bannerframe" cellpadding=3 cellspacing=0>
    <tr>
     <td nowrap valign="middle" align="left"><img alt="Logo" src="/_vti_bin/offlogo.gif" width="28" height="28" id=Image1></td>
     <td nowrap class="ms-banner" align=left height=34>
      <a ID=Home ACCESSKEY=O href="../../" id=home1><ID ID=Home2>Home</ID></a>
        <font size="2" color="#FFFFFF">|</font>
        <ows:if type=global name=hascollabsupport condition=equal result=true>
           <ID><a ACCESSKEY=P href="javascript:HelpWindow('/collab/wsapSbst.htm');" ID=Help ><ID ID=Help2Collab>Help</ID></a></ID>
        </ows:if>
        <ows:if type=global name=hascollabsupport condition=notequal result=true>
           <ID><a ACCESSKEY=P href="javascript:HelpWindow('/publish/wsaextr6.htm');" ID=Help ><ID ID=Help2Publish>Help</ID></a></ID>
        </ows:if>
     </td>
     <td width=99%>&nbsp;</td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>
  <td valign=top class="leftbar" colspan=4>
   <table width=100% border="0" class="TitleArea" cellpadding=3>
    <tr>
     <td style="padding-bottom: 0px">
      <table width=100% cellpadding=0 cellspacing=0 border="0">
       <tr>
        <td align=center valign=top nowrap width="105" height="40">
          <img alt="Icon" src="/_vti_bin/settings.gif" width="43" height="43" id=icon_alt>
        </td> 
        <td width=27>&nbsp;</td> 
        <td nowrap> 
         <table cellpadding=0 cellspacing=0 border="0"> 
          <tr> 
           <td ID=AdminPageTitle nowrap class="PageTitle">Change Password</td> 
          </tr> 
         </table> 
        </td> 
       </tr> 
      </table> 
      <table cellpadding=0 cellspacing=0 border=0 width=100%> 
       <tr> 
        <td height=5 colspan=5><img src="/_vti_bin/blank.gif" width="1" height="1"></td> 
       </tr> 
       <tr> 
        <td class="SectionLine" height=2 colspan=5><img src="/_vti_bin/blank.gif" width="1" height="1"></td> 
       </tr> 
      </table> 
     </td> 
     <td width=1px></td> 
    </tr> 
   </table> 
  </td> 
 </tr> 
 <tr valign=top>
  <TD height=100% class=ms-nav> <TABLE height=100% class=ms-navframe CELLPADDING=0 CELLSPACING=4 border="0" width=133px> <tr valign=top> <td width=100%>&nbsp;</td> <td class=ms-verticaldots>&nbsp;</td> </tr> </TABLE> </TD> 
  <td valign=top height="100%" width="100%">
   <table class=propertysheet border="0" cellspacing="0" cellpadding="4">
    <TR>
     <TD  valign=top class=PropertySheet ID=DescriptionText>Use this page to change your password. 
     </TD>
     <td width=1px></td> 
    </TR>
    <TR>
     <td><img src="/_vti_bin/blank.gif" width="1" height="1"></td> 
    </TR>
    <TR>
	 <td>
	  <table border="0" cellspacing="0" cellpadding="0">
	   <tr>
	   <ows:if type=error name=all condition=notequal result=>
	    <td><IMG src="/_vti_bin/warn_lg.gif"></td>
		<td>&nbsp;</td>
        <TD class="err" id=ErrorMessage colspan=2><ows:var type=error name=all></ows:var></TD>
	   </ows:if> 
	   </tr>
	  </table>
	 </td>
    </TR>
    <tr><td><table cellpadding=4 border="0">
    <tr>
     <td id=diidUserName class="DescriptionText">User name:</td>
     <td><!--usernamevisual--></td>
    </tr>
    <tr>
     <td id=diidOldPass class="DescriptionText">Old password:</td>
     <td class="DescriptionText">
     <input type="password" name="oldpassword" size="56" 

         maxlength="256">

     </td>
    </tr>
    <tr>
     <td id=diidNewPass class="DescriptionText">New password:</td>
     <td class="DescriptionText"><input type="password" name="password" size="56" 

         maxlength="256">

     </td>
    </tr>
    <tr>
     <td id=diidConfirmPass class="DescriptionText">Confirm new password:</td>
     <td class="DescriptionText">
     <input type="password" name="newpasswordc" size="56" maxlength="256">
     </td>
    </tr>
    <tr>
     <td>&nbsp;</td>
     <td align=right ID=diidSubmitsection>
     <input type="button" value="Change" onClick="javascript:checkpassword();" ID=Changebtn>
     </td>
    </tr>
    </table></td></tr>
   </table>
  </td>
 </tr>
</table>

</form>

</BODY>
</HTML>