Показать сообщение отдельно
Старый 12.11.2002, 06:46     # 1
Teutscher
Junior Member
 
Регистрация: 11.07.2002
Адрес: Germany is my home
Сообщения: 57

Teutscher Путь к славе только начался
pamagati s scriptom

mne tut nado bi odnu progu skatat
a tam nado key ,umenja ewo netu koneschno
nu tak wot ja tam wasmatrell code i mne kascheza schto widno algaritm gde key proweraiza
moschet kto rasberoza i skaschet schto moschna sa key w westi??
adress:
http://www2.rhino3d.com/beta/download.asp

code:
We are sure there are bugs in Rhino 3.0 that we haven't found yet.<BR>
Please save your production work frequently - in both Rhino 2.0 and 3.0
format.
<P>
Find out <B><A HREF="new.asp">What's New</B></A> in Rhino 3.0 Beta 6.
<P>
Please be sure to read the <A HREF="http://www2.rhino3d.com/wip">Rhino 3.0 Overview</A> before downloading.

<SCRIPT LANGUAGE=JSCRIPT>
function submitcode()
{
if (document.all("email").value == "")
{
alert("Please enter your e-mail address.\n");
return false;
}
// check for valid e-mail address format
if (document.all("email").value.indexOf("@") == -1)
{
alert("The e-mail address '" + document.all("email").value + "' is not valid.\nPlease enter a valid e-mail address.\n\nYour unlock code cannot be e-mailed to you unless you enter your e-mail address!");
return false;
}
else
{
// make the format is xxx@xx.xx
index = document.all("email").value.indexOf("@");
index2 = document.all("email").value.indexOf(".", index);
if (index2 < index) {
alert("The e-mail address '" + document.all("email").value + "' is not valid.\nPlease enter a valid e-mail address.\n\nYour unlock code cannot be e-mailed to you unless you enter your e-mail address!");
return false;
}
}

if (document.all("email").value != document.all("email2").value)
{
alert("E-mail addresses do not match.\n\nPlease ensure your e-mail address is entered correctly\nby typing it the same twice.\n\nYou will not receive your Rhino 2.0 CD-Key\nunless you enter your e-mail address correctly.");
return false;
}

if ((document.all("CDKey1").value.length < 4) || (document.all("CDKey2").value.length < 4) || (document.all("CDKey3").value.length < 4))
{
alert("Please enter your CD-Key.");
return false;
}
return;
}
</SCRIPT>


<FORM NAME="Form" ACTION="/beta/download.asp" METHOD="post">
<TABLE HEIGHT=350><TR><TD VALIGN=TOP>
<TABLE WIDTH=500>
<TR HEIGHT=26><TD>
<FONT FACE=VERDANA SIZE=2>
<B>Enter e-mail address and CD-Key</B>
</TD>
<TD ALIGN=RIGHT>

<INPUT TYPE="submit" NAME="submit" VALUE="Next >" STYLE="width:65;height:25" onClick="return submitcode();">

<INPUT TYPE=HIDDEN NAME="redirect" VALUE="">

</TD>
</TR>
<TR>
<TD COLSPAN=2>
<FONT FACE=VERDANA SIZE=2>

<TABLE>
<TR>
<TD>e-mail:</TD>
<TD><INPUT TYPE="text" NAME="email" SIZE=35 MAXLENGTH=50></TD>
</TR>
<TR>
<TD>Confirm e-mail:</TD>
<TD><INPUT TYPE="text" NAME="email2" SIZE=35 MAXLENGTH=50></TD>
</TR>
<TR>
<TD>2.0 CD-Key:</TD>
<TD>
<SCRIPT LANGUAGE=JAVASCRIPT>
bBackspaceNextTime = 0;
function FixCase(oEvent, oField, oNextField, oPrevField)
{
window.status = oEvent.keyCode;

switch (oEvent.keyCode)
{
case (8): // backspace
{
if (oField.value.length == 0)
{
if (oPrevField && bBackspaceNextTime == 1) {
oPrevField.focus();
oPrevField.value = oPrevField.value.substring(0, oPrevField.value.length - 1);
bBackspaceNextTime = 0;
}
else {
bBackspaceNextTime = 1;
}
}
return;
}
case (9): // tab key
case (16): // tab key
case (46): // delete
case (37): // left arrow
case (38): // up arrow
case (39): // right arrow
case (40): // down arrow
{
return;
}
}

a = new Array(4);
for (i=0; i<4; i++) {
a[i] = oField.value.charAt(i).toUpperCase();
if (a[i] == "I") {
a[i] = "1";
}
if (a[i] == "O") {
a[i] = "0";
}
}

oField.value = a[0]+a[1]+a[2]+a[3];
if (oField.value.length > 3) {
if (oNextField) {
oNextField.focus();
if (oNextField != oField) {
oNextField.select();
}
}
bBackspaceNextTime = 1;
}
else {
bBackspaceNextTime = 0;
}
}

</SCRIPT>

<B><FONT FACE=VERDANA SIZE=2>RH20 - </FONT></B>
<INPUT maxLength=4 size=4 OnKeyUp="FixCase(event, this, document.all('CDKey2'), document.all('CDKey1'));" NAME=CDKey1 value=""> -
<INPUT maxLength=4 size=4 OnKeyUp="FixCase(event, this, document.all('CDKey3'), document.all('CDKey1'));" NAME=CDKey2 value=""> -
<INPUT maxLength=4 size=4 OnKeyUp="FixCase(event, this, document.all('CDKey3'), document.all('CDKey2'));" NAME=CDKey3 value="">
</TD>
</TR>
</TABLE>

</TD>
</TR>
</TABLE>
</TD></TR></TABLE>
</FORM>
http://www2.rhino3d.com/beta/download.asp
Teutscher вне форума