单选按钮检测

来源:互联网 发布:linux reboot失效 编辑:程序博客网 时间:2024/05/01 22:35


<script language="javascript">
function checkform(){

if (document.form1.os1.value=="")
{
alert("Pleas Enter Your Character Name!");
document.form1.os1.focus();
return false;
}


MeetTime=document.form1.Year.value+"-"+document.form1.Month.value+"-"+document.form1.Day.value+"   "+document.form1.Hour.value+":"+document.form1.Minutes.value;

if (document.form1.Country[0].checked)
{
document.form1.amount.value=document.form1.amount1.value;
document.form1.currency_code.value="USD";
document.form1.item_name.value="Gold in RuneScape2 ON "+MeetTime+document.form1.Zone.value;
}
else
{
document.form1.amount.value=document.form1.amount2.value;
document.form1.currency_code.value="GBP";
document.form1.item_name.value="Gold in RuneScape2 ON";
document.form1.item_name.value="Gold in RuneScape2 ON "+MeetTime+document.form1.Zone.value;
}

}
</script>

<TABLE cellSpacing=0 cellPadding=0 width=760 align=center bgColor=#cccccc
border=0 height="1517">
  <TR>
    <TD bgcolor="#FFFFFF" width="760" height="142" >
 <!-- #include file="Head.asp" -->
 
 </TD></TR>
  <TR>
    <TD height=490 bgcolor="#5C320E" width="760"><TABLE height=468 cellSpacing=0 cellPadding=0 bgColor=#ECCF95 border=0>
        <TBODY>
        <TR>
          <TD colSpan=2 bgcolor="#8A502D" width="840" height="11">
            <DIV align=center>
              <p align="left"></DIV></TD></TR>
        <tr>
          <TD colSpan=2 bgcolor="#ECCF95" width="840" height="1">
            <p align="center"><b> 
            </b>
          </TD>
        </tr>
        <tr>
          <TD bgcolor="#ECCF95" width="56" height="233">
   <p> </TD> 
          <TD bgcolor="#ECCF95" width="784" height="233">
            <p align="center" style="line-height: 100%; margin-top: 0; margin-bottom: 0">
             <p align="left" style="line-height: 100%; margin-top: 0; margin-bottom: 0"><strong><u><span lang="EN-US" style="color: blue"><font size="4">Product       
   information:</font></span></u></strong>
   <p style="line-height: 150%; margin-top: 0; margin-bottom: 0">
            <span lang="EN-US"><font size="3" face="Comic Sans MS">You       
   offer here for the time, which we need to gain      
   <font color="#FF0000">
   Gold</font><span lang="EN-US" style="font-family: Arial; color: #8A502D">
   </span>
            in       
   the Wonderful World of <font color="#FF0000">RuneScape 2</font>.&nbsp;We       
   can equip you&nbsp; with this financial       
   means, to help you and your friends to adventure together, to fight       
   against in battlegrounds, to forge alliances, and compete with       
   enemies for power and glory.&nbsp;</font></span></p>      
          </TD> 
        </tr>
        <TR>
          <TD width="8" height=228>
            <p align="right">
            <b><font color="#800000" size="4" face="Arial">&nbsp;</font></b></p>
            <p> </p>
            <p> </p>
          </TD>
          <TD width="1040" height=228>
            <FORM id="form1" name="form1" onSubmit="javascript:return checkform();" action="https://www.paypal.com/cgi-bin/webscr" method="post">
   
            <TABLE class=style1 cellPadding=5 width=634 align=center height="187">
              <TBODY>
              <TR vAlign=center>
                <TD align=right bgColor=#ffffff colSpan=2 height=21>
                  <DIV align=center><b><font face="Arial" size="2" color="#009300">Select     
                    Quantity and Click </font><font face="Arial" size="2" color="#008000">BuyNow</font><font face="Arial" size="2" color="#009300">. Make rich playing life come ture!</font></b></DIV></TD></TR>
     <TR vAlign=center bgColor=#ffffff>
                <TD align=right width=87 height="25"><b><font face="Arial" size="2">Country:</font></b></TD>
                <TD width=519 height="25">
<input name="Country" type="radio" onClick="form1.amount2.style.display='none';form1.amount1.style.display='';form1.Zone.value='EST';" value="US" checked>
US
<input name="Country" type="radio" value="UK" onClick="form1.amount1.style.display='none';form1.amount2.style.display='';form1.Zone.value='GMT';">
UK</TD>
     </TR>
      <tr>
                <TD align=right width=87 bgcolor="#FFFFCC" height="19">
    <b><font face="Arial" size="2">
                Quantity:</font></b></TD>
                <TD width=519 bgcolor="#FFFFCC" height="19">
               
 <SELECT name="amount1" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #29415a; FONT-FAMILY: Arial;display:yes" size=1 >
      <OPTION value=9.69>美国货币</OPTION>
       <OPTION value=9.69 >1,000,000 (GBP 9.69)</OPTION>
       <OPTION value=14.49 >1,500,000 (GBP 14.49)</OPTION>
       <OPTION value=18.99>2,000,000 (GBP 18.99)</OPTION>
                  <option value="26.99">3,000,000 (GBP 26.99)</option>
                  <option value="36.99">4,000,000 (GBP 36.99)</option>
                </SELECT>
    
  <SELECT name="amount2" style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #29415a; FONT-FAMILY: Arial;display:none" size=1 >
    <OPTION value=9.69>英国货币</OPTION>
    <OPTION value=14.49>1,500,000 (GBP 14.49)</OPTION>
    <OPTION value=18.99>2,000,000 (GBP 18.99)</OPTION>
                <option value="26.99">3,000,000 (GBP 26.99)</option>
                <option value="36.99">4,000,000 (GBP 36.99)</option>
                </SELECT></TD>
              </tr>
              <TR vAlign=center bgColor=#ffffff>
                <TD align=right width=87 height="25"><b><font face="Arial" size="2">Character:</font></b></TD>
                <TD width=519 height="25">
                <font size="2" face="Arial">
    <INPUT style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #29415a; FONT-FAMILY: Arial"
                  maxLength=200 name="os1" id="os1"></font> </TD></TR>
        <tr>
          <TD align=right bgcolor="#FFFFCC" height="19">Zone:</TD>
          <TD bgcolor="#FFFFCC" height="19"><input name="Zone" type="text" id="Zone" value="EST" readonly />
           </TD>
           </tr>
        <tr>
          <TD align=right bgcolor="#FFFFCC" height="19">Date:</TD>
          <TD bgcolor="#FFFFCC" height="19">Year
      <select name="HYear" id="Year">
      <%for i=year(now()) to year(now())+4%>
                    <option value="<%=i%>"><%=i%></option>
    <%next%>
                  </select>
      Month
      <select name="Month" id="Month">
      <%for i=1 to 12%>
     
                    <option value="<%=i%>" <%if month(now())=i then response.Write("selected")%> ><%=i%></option>
    <%next%>
                  </select>
      Day
      <select name="Day" id="Day">
      <%for i=0 to 31%>
                    <option value="<%=i%>" <%if day(now())=i then response.Write("selected")%>><%=i%></option>
    <%next%>
                  </select>&nbsp;</TD>
           </tr>
        <tr>
                <TD align=right width=87 bgcolor="#FFFFCC" height="19">
    <b><font face="Arial" size="2">
                 Time:</font></b></TD>
                <TD width=519 bgcolor="#FFFFCC" height="19"><label>
                 
      Hour
                  <select name="Hour" id="Hour">
      <%for i=0 to 23%>
                    <option value="<%=i%>"><%=i%></option>
    <%next%>
                  </select>
                  Minutes
                  <select name="Minutes" id="Minutes">
      <%for i=0 to 59%>
                    <option value="<%=i%>"><%=i%></option>
    <%next%>
                  </select>
                </label></TD>
              </tr>
              <TR align=middle bgColor=#c5d19b>
                <TD colSpan=2 bgcolor="#FFFFCC" height="20">
                 
      <INPUT type=hidden value="Faction" name="on0" id="on0" >
                  <INPUT type=hidden value="Character" name="on1" id="on1" >
                  <input type=image   height=23 onClick="return checkform();" alt="Make payments with PayPal - it's fast, free and secure!"  width=68 src="Images/x-click-but23.gif" border=0 name="submit" id="submit">
      <INPUT type=hidden value="测试数值" name="amount" id="amount">
      <INPUT type=hidden value="测试数值" name="currency_code" id="currency_code">
      <INPUT type=hidden value="测试数值" name="item_name" id="item_name">
                  <INPUT type=hidden value=969 name="item_number" id="item_number">    
      <INPUT type=hidden value=1   name="no_note" id="no_note">
                  <INPUT type=hidden value=2  name="no_shipping" id="no_shipping">        
                  <INPUT type=hidden value="_xclick" name="cmd" id="cmd">
      <INPUT type=hidden value="bill@gamesavor.com" name="business" id="business">                  </TD>
      </TR>
    </TBODY>
   </TABLE>
            </FORM>
   
   
   
   
   </TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD  bgcolor="#ECCF95" width="760">
      <TABLE cellSpacing=5 cellPadding=5 width="100%" border=0>
        <TBODY>
        <TR>
          <TD class=style4 bgcolor="#ECCF95" width="23">
              <b> 
          </b>
          </TD>
          <TD class=style4 bgcolor="#ECCF95" width="740">
              <p style="line-height: 100%"><span lang="EN-US" style="FONT-FAMILY: Arial; font-weight:700"><u><span style="font-weight: 700" lang="EN-US"><font color="#0000ff" size="3">Notice    
              and Payment:</font></span></u></span><br>   
              <font size="3" face="Comic Sans MS">Please notice to include the following   
              information with Paypal note, as it will delay the delivery time   
              if not properly included.<font color="#ff0000"><br>  
              </font><font color="#009300">* User Name<br>
              * When will you online</font><font color="#ff0000"><br>
              * Please notice to provide your shipping address when making the
              payment. </font><font color="#FF0000">First </font><font color="#0000FF">click
              on the &quot;provide shipping address&quot; option, then Select
              the address.</font> &nbsp;</font></p>
              <p style="line-height: 150%; margin-top: 0; margin-bottom: 0"><u><span lang="EN-US" style="font-weight: 700"><font color="#0000ff" size="3" face="Arial">Delivery:<o:p>
              &nbsp;</font></span>  
              </u></p>
              <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font face="Comic Sans MS" size="3"><span lang="EN-US">After we have    
              received your payment, we will deliver the gold to you in&nbsp;1-6    
              hours, through face-to-face    
              trade system, at east bank of varrock.<o:p>&nbsp; Nevertheless</o:p>, we will finish it much faster.  
              <font color="#0000ff">We 
              guarantee fast delivery and perfect service!</font><span style="mso-font-kerning: 0pt"><o:p>
              </span></span><span lang="EN-US" style="font-weight: 700">
              &nbsp;</span></font></p>
              <p style="line-height: 100%"><u><span lang="EN-US" style="font-weight: 700"><font color="#0000ff" size="3" face="Arial">Problem    
    Solving:<o:p>
          &nbsp;</font></span>  
                </u>
              <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="3" face="Comic Sans MS">If    
    the delivery does not reach you within&nbsp;6 hours after we have    
    received your payment,&nbsp; please don't hesitate to contact us   
              as soon as possible.</font></p>  
    <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="3"><font face="Comic Sans MS">For the    
    delayed delivery made by us,&nbsp; we will return your payment back or provide you extra gold as    
    compensation.<o:p> 
                </font><b>    
                &nbsp;</b></font></p>
    <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>
              <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><u>
          <span lang="EN-US" style="font-weight: 700"><font color="#0000ff" size="3" face="Arial">Contact   
          Us:</font></span></u></p>
              <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="2" face="Arial"><o:p> 
              </font><font size="3" face="Comic Sans MS"> Should you have any  
    question, suggestion, praise or complaint, we are for you here  
    24hours:</font></p>
           <p style="line-height: 100%; margin-left: 8; margin-top: 0; margin-bottom: 0" align="center"><b><font size="2" face="Arial">
          <img border="0" src="http://www.gamesavor.com/images/GAMESAVOR-Contact-Info.jpg" width="270" height="146"></font></b></p>  
      <p style="line-height: 100%; margin-left: 8; margin-top: 0; margin-bottom: 0"><font size="2"> </font></p>  
    <p style="line-height: 100%"><span lang="EN-US"><font size="3" face="Comic Sans MS">For    
    further information please contact us , you will find    
    never-ending service of <span style="color: red">Gold</span> and&nbsp;   
    <span style="color: #FF0000">P</span><span style="color: red">ower-leveling</span>.</font></span></p>
    <p style="line-height: 100%"> </p>
    <p align="center" style="line-height: 100%">
    <span lang="EN-US" style="font-size: 18.0pt">
                <font face="Arial">
    Thanks for Looking and Happy Playing!</font></span></p>   
    <p style="line-height: 100%; margin-left: 8; margin-top: 0; margin-bottom: 0" align="center"> </p>  
          </TD>
        </TR>
        </TBODY></TABLE>
  
 </TD></TR>
  <TR>
    <TD  bgcolor="#ECCF95" width="760">  
<DIV align=center>
          <p>Copyright 2001-2005 <a href='http://www.gamesavor.com/index.asp'>wow gold</a>|<a  href='http://www.gamesavor.com/index.asp'>world of warcraft gold</a>|<a  href='http://www.gamesavor.com/index.asp'>WOW Gold Cheap wow</a>|<a  href='http://www.gamesavor.com/index.asp'>sell WOW Gold Cheap wow</a>|<a  href='http://www.gamesavor.com/index.asp'>world of warcraft gold fast</a>|<a  href='http://www.gamesavor.com/index.asp'>WOW Gold Cheap wow swap</a>|<a  href='http://www.gamesavor.com/index.asp'>real world of warcraft gold</a> </p>
      </DIV>
 </TD></TR></TABLE>

原创粉丝点击