Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
- </head>
- <link rel="stylesheet" href="Main.css">
- <body bgcolor="DarkGray" onload ="ShowPasswordetails('')">
- <table border="0" width="100" cellspacing="2" cellpadding="2">
- <tr onmouseover='m_over(this)' onmouseout='m_out(this)' onclick='m_passwordclick()' >
- <td name='tdpassword' id='tdpassword'>Change Password</td>
- </tr>
- <tr onmouseover='m_over(this)' onmouseout='m_out(this)' onclick='m_homeclick()'>
- <td name='tdhome' id='tdhome'>Home</td>
- </tr>
- </table>
- </body>
- <script language="jscript">
- function m_over(x)
- {
- x.style.color ="red"
- window.event.srcElement.style.cursor = "hand";
- }
- function m_out(x)
- {
- x.style.color ="black"
- window.event.srcElement.style.cursor = "default";
- }
- </script>
- <script language="vbscript">
- SUB m_Probationclick()
- ON ERROR RESUME NEXT
- tdjas.style.color = "darkblue"
- tdadult.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- parent.top.location.href = "../Jasasp/main.asp"
- END SUB
- SUB m_CourtClick()
- ON ERROR RESUME NEXT
- tdcourt.style.color = "darkblue"
- tdjas.style.color = "black"
- tdadult.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- parent.top.location.href = "../CourtAsp/main.asp"
- END SUB
- SUB m_GroupAdminclick()
- ON ERROR RESUME NEXT
- tdcourt.style.color = "black"
- tdjas.style.color = "black"
- tdadult.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- tdgroupadmin.style.color = "darkblue"
- parent.top.location.href = "../JASAsp/Address/AddressResults.asp"
- END SUB
- SUB m_AdultProbationclick()
- ON ERROR RESUME NEXT
- tdadult.style.color = "darkblue"
- tdjas.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- parent.top.location.href = "../AdultAsp/main.asp"
- END SUB
- SUB m_AdultProbationUpdateclick()
- ON ERROR RESUME NEXT
- tdadultupdate.style.color = "darkblue"
- tdadult.style.color = "black"
- tdjas.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- parent.top.location.href = "../AdultUpdate/main.asp"
- END SUB
- SUB m_JASUpdateclick()
- ON ERROR RESUME NEXT
- tdjasupdate.style.color = "darkblue"
- tdadult.style.color = "black"
- tdjas.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdadultupdate.style.color = "black"
- parent.top.location.href = "../JASUpdate/main.asp"
- END SUB
- SUB m_passwordclick()
- ON ERROR RESUME NEXT
- tdpassword.style.color = "darkblue"
- tdjas.style.color = "black"
- tdadult.style.color = "black"
- tdhome.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- parent.RightMain.location.href = "../Administrator/Adminforall.asp"
- END SUB
- SUB m_Adminclick()
- ON ERROR RESUME NEXT
- tdcourt.style.color = "black"
- tdjas.style.color = "black"
- tdadult.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- tdgroupadmin.style.color = "black"
- tdgroupadmin.style.color = "darkblue"
- parent.top.location.href = "../Administrator/main.asp"
- END SUB
- SUB m_Devclick()
- ON ERROR RESUME NEXT
- tdcourt.style.color = "black"
- tdjas.style.color = "black"
- tdadult.style.color = "black"
- tdhome.style.color = "black"
- tdpassword.style.color = "black"
- tdjasupdate.style.color = "black"
- tdadultupdate.style.color = "black"
- tdgroupadmin.style.color = "black"
- tdgroupadmin.style.color = "black"
- tddev.style.color = "darkblue"
- parent.top.location.href = "../Dev/main.asp"
- END SUB
- SUB m_homeclick()
- parent.location.href ="login.asp"
- END SUB
- SUB ShowPasswordetails(strdays)
- ON ERROR RESUME NEXT
- IF CINT(strdays) = 0 THEN
- Msgbox ("Your Password expires today")
- ELSEIF CINT(strdays) =1 THEN
- Msgbox ("Password expires in one Day")
- ELSEIF CINT(strdays) <6 THEN
- Msgbox ("Password expires in " & strdays & " Days")
- END IF
- END SUB
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement