|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/mguerinweb/Offline_Archive/DBAdmin/ |
Upload File : |
<%
'1 Click DB Pop Up Zoom Text
'copyright 1997-2001 AccessHelp.net Custom Solutions
'
'This program and its source code is fully protected by
'international copyright laws and may not be used, altered
'or redistributed in any way contrary to its licensing.
'
'Redistribution and use in source and binary forms, with or without
'modification, are permitted provided that the following conditions are met:
'
'Redistributions of source code must retain the above copyright notice,
'this list of conditions and the following disclaimer.
'
'Redistributions in binary form must reproduce the above copyright notice,
'this list of conditions and the following disclaimer in the documentation
'and/or other materials provided with the distribution.
'
'Neither the name of 1 Click DB or AccessHelp.net nor the names of its
'contributors may be used to endorse or promote products derived from
'this software without specific prior written permission.
'
'THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
'AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
'IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
'ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
'LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
'CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
'SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
'INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
'CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
'ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
'POSSIBILITY OF SUCH DAMAGE.
'
'More Info via email to [email protected]
option explicit
response.buffer=true
dim strTextField
dim strCallingForm
strTextField = request.querystring("textfield")
strCallingForm = request.querystring("callingform")
Response.write ("<HTML><HEAD><TITLE>Edit Text</TITLE>")
Response.write (vbCRLF)
Response.write ("<SCRIPT LANGUAGE=""JavaScript"">" & vbCRLF)
REsponse.write ("<!--" & vbCRLF)
Response.write ("function writebacktext() { " & vbCRLF)
Response.write ("window.opener.document.forms[")
Response.write (strCallingForm & "].elements['" & strTextField)
Response.write ("'].value = document.forms[0].zoomtext.value;" & vbCRLF)
Response.write ("self.close();" & vbCRLF)
Response.write ("}" & vbCRLF)
Response.write ("function getzoomtext() { " & vbCRLF)
Response.write ("document.forms[0].zoomtext.value = window.opener.document.forms[")
Response.write (strCallingForm & "].elements['" & strTextField)
Response.write ("'].value;" & vbCRLF)
Response.write ("self.focus();" & vbCRLF)
Response.write ("}" & vbCRLF)
Response.write (" // -->" & vbCRLF)
Response.write ("</SCRIPT>" & vbCRLF)
Response.write ("<script LANGUAGE=""JavaScript"">" & vbCRLF)
REsponse.write (" <!--" & vbCRLF)
Response.write (" function acwstopError() {" & vbCRLF)
Response.write (" return true;" & vbCRLF)
Response.write (" }" & vbCRLF)
Response.write (" window.onerror = acwstopError;" & vbCRLF)
Response.write (" // -->" & vbCRLF)
Response.write ("</script>" & vbCRLF)
'Response.write ("<LINK rel=stylesheet type=""text/css"" href=""acwc.css"">" & vbCRLF )
%>
<STYLE>
A {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
color : #330066;
}
A:hover {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
color : #990000;
}
A.menu {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
color : #330066;
}
A.menu:hover {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
color : #330000;
background : #FFD700;
}
A.menu:visited {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
color : #330066;
}
BODY {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
scrollbar-base-color : #300066;
scrollbar-face-color : #666690;
scrollbar-shadow-color : Silver;
scrollbar-highlight-color : Silver;
scrollbar-3dlight-color : #ffffff;
scrollbar-darkshadow-color : Silver;
scrollbar-track-color : #CCCCCC;
scrollbar-arrow-color : #ffffff;
background : #FFFFFF;
margin : 10px;
}
P {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
}
TEXTAREA {
font-size : 10pt;
font-family : Tahoma, Arial, sans-serif;
}
</STYLE>
<%
Response.write ("</HEAD><BODY onLoad=""javascript:getzoomtext();""><CENTER>")
Response.write ("<FORM><TEXTAREA COLS=74 ROWS=20 Name=zoomtext></textarea></form>")
Response.write ("<A HREF="""" onClick=""javascript:writebacktext();"">Update</a>")
Response.write (" ")
Response.write ("<A HREF="""" onClick=""javascript:self.close();"">Cancel</a>")
Response.write ("</CENTER></BODY></HTML>")
%>